What's wrong with my dialplan?

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

What's wrong with my dialplan?

Postby B.lee2 » Sun Jan 22, 2012 12:48 pm

Hey there,

I have the lastest version of vicibox.
I'm having trouble making outbound calls with my VOIP provider (future-nine). The CLI shows this:

[Jan 22 12:34:22] -- Executing [15141234567@default:1] AGI("SIP/201-00000016", "agi://127.0.0.1:4577/call_log") in new stack
[Jan 22 12:34:22] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Jan 22 12:34:22] -- Executing [15141234567@default:2] Dial("SIP/201-00000016", "SIP/xxxxxxx:xxxxxxxx@incoming.future-nine.com:5060/15141234567||To") in new stack
[Jan 22 12:34:22] -- Called xxxxx:xxxxx@incoming.future-nine.com:5060/15141234567
[Jan 22 12:34:23] NOTICE[4313]: chan_sip.c:13470 handle_response_invite: Failed to authenticate on INVITE to '"SIP201" <sip:8xxxxxxx@192.168.1.x>;tag=as6a58c2aa'
[Jan 22 12:34:23] -- SIP/incoming.future-nine.com:5060/15141234567-00000017 is circuit-busy
[Jan 22 12:34:23] == Everyone is busy/congested at this time (1:0/1/0)
[Jan 22 12:34:23] -- Executing [15141234567@default:3] Hangup("SIP/201-00000016", "") in new stack
[Jan 22 12:34:23] == Spawn extension (default, 15141234567, 3) exited non-zero on 'SIP/201-00000016'
[Jan 22 12:34:23] -- Executing [h@default:1] DeadAGI("SIP/201-00000016", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----21-----CONGESTION----------") in new stack
[Jan 22 12:34:23] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0


the phone itself registers with asterisk OK,
when I do sip show peers/sip show registry, future-nine is there.

When I try to make a call, the soft phone Ekiga says "security check failed".

This is my account entry:
[future9]
username=xxxxxxxx
fromuser=xxxxxxxx
type=friend
secret=xxxxxxxxxx
host=incoming.future-nine.com
insecure=port,invite
nat=yes
qualify=yes
context=trunkinbound
allow=ulaw,g729,g726
trustrpid = yes
sendrpid = yes
canreinvite = no


This is my dialplan:
exten => _1NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1NXXNXXXXXX,2,Dial(SIP/XXX:XXXX@incoming.future-nine.com:5060/${EXTEN},,tTor)
exten => _1NXXNXXXXXX,3, Hangup

I'm using future-nine and they have this dialplan example , but I'm not sure how to translate this in Vicidial/Vicibox.
http://www.future-nine.com/faq/index.ph ... artlang=en

I'll continue looking for an answer in the meantime but your help is much appreciated.
Thanks Vicidial forum.
B.lee2
 
Posts: 116
Joined: Mon Dec 19, 2011 1:25 pm

Postby B.lee2 » Sun Jan 22, 2012 4:12 pm

Ok I solved it,
just changed it to:


exten => _1NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1NXXNXXXXXX,2,Dial(SIP/${EXTEN}@future9,,tTor)
exten => _1NXXNXXXXXX,3, Hangup
B.lee2
 
Posts: 116
Joined: Mon Dec 19, 2011 1:25 pm

Re: What's wrong with my dialplan?

Postby ralph06143 » Fri Jan 04, 2013 3:56 am

hi need help,
i am from the philippines and i need to call singapore using goautodial.

dial plan:
exten => _91XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@goautodial,,tTo)
exten => _91XXXXXXXXXX,3,Hangup

please help. thanks
ralph
ralph06143
 
Posts: 1
Joined: Fri Jan 04, 2013 3:46 am


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 81 guests