Page 1 of 1

calls do not come out

PostPosted: Tue Nov 05, 2013 4:52 pm
by saulortega
Hello.

I am setting a new Vicidial server, but the calls do not come out from softphone or in campaign.


The cli says:

[Nov 5 16:46:30] -- Executing [6500500@default:1] AGI("SIP/1808-00000000", "agi://127.0.0.1:4577/call_log") in new stack
[Nov 5 16:46:31] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Nov 5 16:46:31] -- Executing [6500500@default:2] Dial("SIP/1808-00000000", "IAX2/troncal/6500500||To") in new stack
[Nov 5 16:46:31] -- Called troncal/6500500
[Nov 5 16:46:31] -- Hungup 'IAX2/troncal-8027'
[Nov 5 16:46:31] == Everyone is busy/congested at this time (1:0/0/1)
[Nov 5 16:46:31] -- Executing [6500500@default:3] Hangup("SIP/1808-00000000", "") in new stack
[Nov 5 16:46:31] == Spawn extension (default, 6500500, 3) exited non-zero on 'SIP/1808-00000000'
[Nov 5 16:46:31] -- Executing [h@default:1] DeadAGI("SIP/1808-00000000", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----50-----CHANUNAVAIL----------") in new stack
[Nov 5 16:46:31] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Nov 5 16:46:31] -- Executing [h@default:2] Dial("SIP/1808-00000000", "IAX2/troncal/h||To") in new stack
[Nov 5 16:46:31] -- Called troncal/h
[Nov 5 16:46:31] -- Hungup 'IAX2/troncal-2761'
[Nov 5 16:46:31] == Spawn extension (default, h, 2) exited non-zero on 'SIP/1808-00000000'



:(


exten => _.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _.,2,Dial(${TESTIAXTRUNK}/${EXTEN},,To)
exten => _.,3,Hangup


The carrier is registered, I can to call from another asterisk server to Vicidial, but from Vicidial to another Asterisk not. The calls do not reach to another asterisk.


VERSION: 2.6-393a
BUILD: 130124-1721
From Vicibox

Re: calls do not come out

PostPosted: Tue Nov 05, 2013 8:47 pm
by williamconley
1) "From Vicibox" is nice, but the VERSION of Vicibox could be very useful. Please post the full name of the .iso from which you installed.

2) You are using a fairly old version, if this is a fresh install it would be a good idea to install the latest version

3) you implied (you posted it ... but you didn't actually say what it is, so I assumed ...) that your carrier dialplan entry is:
Code: Select all
exten => _.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _.,2,Dial(${TESTIAXTRUNK}/${EXTEN},,To)
exten => _.,3,Hangup

Do NOT use "_." to mean "all extensions". This will capture calls it should not capture. Try:
Code: Select all
exten => _XXXXXX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _XXXXXX.,2,Dial(${TESTIAXTRUNK}/${EXTEN},,To)
exten => _XXXXXX.,3,Hangup

Next:
Called troncal/6500500

You called 6500500 at the carrier. They apparently declined the call. You could ask why they declined or check IAX debug to see if there is a reason in the handshake of the call. But my guess would be "7 digits is not enough".