Page 1 of 1

Can not make a CALL (US)

PostPosted: Thu Feb 02, 2012 8:53 am
by sasukael
hi ,

we have new provider , give us this dial plan entry for US:

exten => _1NXXNXXXXXX,1,Dial(SIP/${EXTEN}@AccelaSansay1)
exten => _1NXXNXXXXXX,2,Dial(SIP/${EXTEN}@AccelaSansay2)
exten => _1NXXNXXXXXX,3,Congestion
exten => _1NXXNXXXXXX,103,Congestion

and I put 1 on the dial prefix of the campaign ... when i try to dial it says "im sorry thats not a valid extension"

when i try put X on the dial prefix .. . it was congestion "subcriber absent"

heres the cli:
[Feb 2 21:24:32] -- Executing [8600051@default:1] MeetMe("Local/8600051@default-cbc5,2", "8600051|F") in new stack
[Feb 2 21:24:32] > Channel Local/8600051@default-cbc5,1 was answered.
[Feb 2 21:24:32] -- Executing [19897935585@default:1] AGI("Local/8600051@default-cbc5,1", "agi://127.0.0.1:4577/call_log") in new stack
[Feb 2 21:24:32] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Feb 2 21:24:32] -- Executing [19897935585@default:2] Dial("Local/8600051@default-cbc5,1", "SIP/EccoCarrier/19897935585|60|Tto") in new stack
[Feb 2 21:24:33] WARNING[5808]: chan_sip.c:3095 create_addr: No such host: EccoCarrier
[Feb 2 21:24:33] WARNING[5808]: app_dial.c:1296 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)
[Feb 2 21:24:33] == Everyone is busy/congested at this time (1:0/0/1)
[Feb 2 21:24:33] -- Executing [19897935585@default:3] Hangup("Local/8600051@default-cbc5,1", "") in new stack
[Feb 2 21:24:33] == Spawn extension (default, 19897935585, 3) exited non-zero on 'Local/8600051@default-cbc5,1'
[Feb 2 21:24:33] -- Executing [h@default:1] DeadAGI("Local/8600051@default-cbc5,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL----------") in new stack
[Feb 2 21:24:33] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Feb 2 21:24:33] == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-cbc5,2'
[Feb 2 21:24:33] -- Executing [h@default:1] DeadAGI("Local/8600051@default-cbc5,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Feb 2 21:24:33] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0



my account entry :

[AccelaSansay1]
type=friend
host=xxxxx
canreinvite=no
disallow=all
allow=g729
allow=ulaw
dtmfmode=rfc2833


Do you have any suggestion?

PostPosted: Thu Feb 02, 2012 6:30 pm
by Op3r
You are missing the most important thing in there.

PostPosted: Thu Feb 02, 2012 10:20 pm
by williamconley
your dialplan is nice for asterisk, but not for vicidial. have you read the manual? the Vicidial Manager's Manual?

Have you looked at the "sample dialplans" that are in Admin->Carriers? They all have the same first line. It cannot be omitted. And the "dial" command must use the "o" switch ...

PostPosted: Fri Feb 03, 2012 1:49 am
by sasukael
Thank you for reminding me .... yup i really miss something ...

when i try this dial plan :

exten =>_91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten =>_91NXXNXXXXXX,n,Dial(${VOIPTRUNK}/${EXTEN},,tToR)
exten =>_91NXXNXXXXXX,n,Hangup

I still cant make a call ... i didnt notice the "n" ..... when i change it to "2" and "3" .... now it works ....