Unable to make calls..

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Unable to make calls..

Postby najim_mdn » Thu Mar 18, 2010 6:02 am

Hello
i have set up an IAX2 trunk between my vicidial and elastix server..
There are extensions starting from 1000000000 to 1000000015 (10 digits) in the elastix server and one agent phone with extension 201 in the vicidial server.
I created a campaign,lists and loaded the leads with above extensions. i can see the extensions in my dial hopper

MODIFY


Live Current Hopper List 2010-03-18 16:12:07

---------- TOTALS
Total leads in hopper right now: 7

---------- LEADS IN HOPPER
+------+--------+-----------+------------+------------+-------+--------+-------+--------+-------+
|ORDER |PRIORITY| LEAD ID | LIST ID | PHONE NUM | STATE | STATUS | COUNT | GMT | ALT |
+------+--------+-----------+------------+------------+-------+--------+-------+--------+-------+
| 0 | 0 | 60218 | 222 | 1000000003 | FL | NEW | 0 | -8.00 | NONE |
| 1 | 0 | 60219 | 222 | 1000000004 | FL | NEW | 0 | -8.00 | NONE |
| 2 | 0 | 60220 | 222 | 1000000005 | FL | NEW | 0 | -8.00 | NONE |
| 3 | 0 | 60221 | 222 | 1000000006 | NT | NEW | 0 | -8.00 | NONE |
| 4 | 0 | 60222 | 222 | 1000000007 | NS | NEW | 0 | -8.00 | NONE |
| 5 | 0 | 60223 | 222 | 1000000008 | FL | NEW | 0 | -8.00 | NONE |
| 6 | 0 | 60224 | 222 | 1000000009 | FL | NEW | 0 | -8.00 | NONE |
+------+--------+-----------+------------+------------+-------+--------+-------+--------+-------+


but when i login as an agent, and do the DIAL NEXT NUMBER
the agent screen shows LIVE CALL but the phone doesnt ring.

My CLI messages show

[Mar 18 16:13:10] > Channel SIP/201-0821df20 was answered.
[Mar 18 16:13:10] -- Executing [8600051@default:1] MeetMe("SIP/201-0821df20", "8600051|F") in new stack
[Mar 18 16:13:10] == Parsing '/etc/asterisk/meetme.conf': [Mar 18 16:13:10] Found
[Mar 18 16:13:10] == Parsing '/etc/asterisk/meetme-vicidial.conf': [Mar 18 16:13:10] Found
[Mar 18 16:13:10] -- Created MeetMe conference 1023 for conference '8600051'
[Mar 18 16:13:10] -- <SIP/201-0821df20> Playing 'conf-onlyperson' (language 'en')
[Mar 18 16:13:12] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 18 16:13:19] == Parsing '/etc/asterisk/manager.conf': [Mar 18 16:13:19] Found
[Mar 18 16:13:19] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 18 16:13:19] -- Executing [8600051@default:1] MeetMe("Local/8600051@default-6e14,2", "8600051|F") in new stack
[Mar 18 16:13:19] > Channel Local/8600051@default-6e14,1 was answered.
[Mar 18 16:13:19] -- Executing [11000000003@default:1] AGI("Local/8600051@default-6e14,1", "agi://127.0.0.1:4577/call_log") in new stack
[Mar 18 16:13:19] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Mar 18 16:13:19] -- Executing [11000000003@default:2] Dial("Local/8600051@default-6e14,1", "IAX2/asterisk/1000000003||tTor") in new stack
[Mar 18 16:13:19] -- Called asterisk/1000000003
[Mar 18 16:13:19] -- Hungup 'IAX2/asterisk-16408'
[Mar 18 16:13:19] == Everyone is busy/congested at this time (1:0/0/1)
[Mar 18 16:13:19] -- Executing [11000000003@default:3] Hangup("Local/8600051@default-6e14,1", "") in new stack
[Mar 18 16:13:19] == Spawn extension (default, 11000000003, 3) exited non-zero on 'Local/8600051@default-6e14,1'
[Mar 18 16:13:19] -- Executing [h@default:1] DeadAGI("Local/8600051@default-6e14,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----CHANUNAVAIL----------") in new stack
[Mar 18 16:13:19] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Mar 18 16:13:19] == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-6e14,2'
[Mar 18 16:13:19] -- Executing [h@default:1] DeadAGI("Local/8600051@default-6e14,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Mar 18 16:13:19] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0



The call doesnt hangup and it continues to show LIVE CALL untill i click HANGUP CUSTOMER

I think my trunk is working fine cause im able to call from 10000000001(elastix) to 201(vicidial),
but when i try to dial 10000000001 from 201 it shows call declined.. (i dont kno if that will be possible.. to dial from a user phone to the outbound extension)

hope my scenario is clear :? .. please help me with where i went wrong..
Thank You
najim_mdn
 
Posts: 19
Joined: Tue Jan 26, 2010 8:26 am

Postby mflorell » Thu Mar 18, 2010 6:53 am

vicidial.php version and build?

How did you install ViciDial?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby najim_mdn » Thu Mar 18, 2010 7:05 am

VERSION: 2.4-242
BUILD: 100302-2133

i followed the the ubuntu_install guide.
a little more information.. when the user agent make calls to the elastix server.. nothing shows up in the cli of the elastix server.
najim_mdn
 
Posts: 19
Joined: Tue Jan 26, 2010 8:26 am

Postby najim_mdn » Thu Mar 18, 2010 7:14 am

My carrier details is as follows..
carrier ID: trunk

Account entry:
[asterisk]
type=friend
host=192.168.1.200
trunk=yes
secret=password
context=from-internal
qualify=yes

Protocol:IAX2

Dialplan entry:
exten => _1.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1.,2,Dial(IAX2/asterisk/${EXTEN:1},,tTor)
exten => _1.,3,Hangup

server ip: 192.168.1.100


Is there any problem with my dial plan..??
najim_mdn
 
Posts: 19
Joined: Tue Jan 26, 2010 8:26 am

Postby mflorell » Thu Mar 18, 2010 8:37 am

Are you registering the trunk?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby najim_mdn » Thu Mar 18, 2010 9:25 am

no i am not.. i thought you need that only if the host=dynamic.
i have mentioned the host ip in my trunk details.
najim_mdn
 
Posts: 19
Joined: Tue Jan 26, 2010 8:26 am

Postby williamconley » Thu Mar 18, 2010 6:51 pm

also post your iax debug. it may simply be failing during codec negotiation.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Got it working..

Postby najim_mdn » Tue Mar 23, 2010 8:10 am

i finally got it working.. and my calls are going through..
i am not sure if thet was the issue.. but i when i created a new trunk with host=dynamic in my trunk settings and registered the trunk it worked.
Thanx guys..
najim_mdn
 
Posts: 19
Joined: Tue Jan 26, 2010 8:26 am

Postby najim_mdn » Tue Mar 23, 2010 8:13 am

@ matt florell

Are you registering the trunk?


Is it a requirement that we should register the trunk in vicidial?? Registering worked for me..
najim_mdn
 
Posts: 19
Joined: Tue Jan 26, 2010 8:26 am

Postby mflorell » Tue Mar 23, 2010 8:29 am

registration is not a requirement, but if you are running into problems it can help.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 63 guests