Dial Plan problem

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

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

Dial Plan problem

Postby cottonking2000 » Fri Jul 17, 2009 11:25 am

Current

exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten=>_91NXXNXXXXXX,2,Dial(newiax:test@192.168.0.250:4569/${EXTEN:1},,tTor)
exten => _91NXXNXXXXXX,3,Hangup

Is there a problem you see here above?

Global register string:
VOIPSTREETIAXTRUNK = IAX2/voipstreet

What am I doing wrong?
cottonking2000
 
Posts: 49
Joined: Fri Mar 06, 2009 1:25 pm

Postby mflorell » Fri Jul 17, 2009 6:04 pm

Do you also have the account information in the carrier entry? I don't see that listed here.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

fixed - read my solution

Postby cottonking2000 » Sun Jul 19, 2009 1:27 am

What I learned

1) Dial 9 service is hard coded into the main extensions.conf, so you must
delete it to use dial 9 in a carrier (or hard code it into the
extensions.conf, which I do not recommend). OR you can do what we did here,
use dial 8 service instead.

2) Use the global variable definition system to your advantage (Do NOT put
your iax context directly in your dial plan, put the VARIABLE into it).

3) You cannot remove the switches from the "Dial" command. We switched back
to "standard" Vicidial formatting for the dial plan and Dial Command itself.

The changes below....good learning...for those starting out!


exten =>_81NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten =>_81NXXNXXXXXX,2,Dial(${DIAL8TRUNK}/${EXTEN:1},,tTor)
exten =>_81NXXNXXXXXX,3,Hangup

[voipstreet]
context=default
type=friend
host=(YOUR REGISTEREDVOIP ASSIGNED NAME)
auth=md5
username=(VOIP USER NAME)
secret=(PASSWORD)
disallow=all
allow=all

I had 9's instead of 8's _81NXXNXXXXXX up top.....

They cleaned up a few other things.....

Dial(${DIAL8TRUNK}/${EXTEN:1},,tTor)

from this

Dial(${IAX28TRUNK}/${EXTEN:1},,tTor)

Thats all that needed to be done......

I am dialing on IAX2 account/Device...onward and upward!

Thank You Bill!
cottonking2000
 
Posts: 49
Joined: Fri Mar 06, 2009 1:25 pm

Postby mflorell » Sun Jul 19, 2009 4:20 am

Thank you for posting your solution.

As a note, the 91NXXNXXXXXX will no longer be hard-coded in future releases.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby williamconley » Sun Jul 19, 2009 11:08 pm

Al! You can't call me Bill here! Use my code name ... LOL

And did we all see the time matt posted? 4am! Whoa. And I thought I was workin hard this weekend. I wimped out at 2.
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!)

:-)

Postby cottonking2000 » Mon Jul 20, 2009 3:46 pm

LOL
cottonking2000
 
Posts: 49
Joined: Fri Mar 06, 2009 1:25 pm

Postby mflorell » Mon Jul 20, 2009 6:24 pm

As long as you don't call me Mike or Mark(not sure where people get that one from). I'm up at 4AM quite a bit, we have clients in Europe that we frequently do work for and are up for their go-live at 8-9AM local time.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 75 guests