12 July 2012

VICIDIAL DIALPLAN ENTR

Globals String:
Code:
DIAL9TRUNK = SIP/pbxchange


Dialplan Entry:
Code:
exten =>_91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten =>_91NXXNXXXXXX,2,Dial(${DIAL9TRUNK}/${EXTEN:1},,tTor)
exten =>_91NXXNXXXXXX,3,Hangup
exten =>_9011XXXXXXXX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten =>_9011XXXXXXXX.,2,Dial(${DIAL9TRUNK}/${EXTEN:4},,tTor)
exten =>_9011XXXXXXXX.,3,Hangup

*The above assumes the NXXNXXXXXX US dialplan is appropriate for your area (10 digits, neither 1st nor 4th can be 0 or 1). Change that portion of the dialplan to fit your locale.
*note that "EXTEN:4" will strip of 9011 and send the rest of the number to your provider. This may or may not fit their expected dial string for international numbers. If you post their expectations, we can adjust it to fit.


Campaign Dial Prefix:

Code: 
9

No comments:

Post a Comment