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!