Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
williamconley wrote:You need to read the manual. the sample dialplans in the carriers all include a first line that is not optional. that first line is what "connects" each call to vicidial. without it, your system will not function. each "dialplan entry" will be at least THREE lines. the first one will be the vicidial startup, then comes dial, then hangup.
have you downloaded the manual
shortname
longername
register => user:pass@xxxx.xxxx.com
NONE
[shortnamematchingglobalsstring]
context=trunkinbound
type=friend
host=xxx.xxx.com
auth=md5
username=XXXX
secret=YYYY
disallow=all
allow=all
nat=no
SIP
DIAL9TRUNK = SIP/shortnamematchingglobalsstring
exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Dial(${DIAL9TRUNK}/${EXTEN:1},,To)
exten => _91NXXNXXXXXX,3,Hangup
xxx.xxx.xxx.xxx
Y
williamconley wrote:1) You'll need to change 91NXXNXXXXXX to a dial string correct for YOUR locale. You'll need to change "EXTEN:1" to :2 if you want to remove TWO digits from the front of your dial string instead of 1. Check with your carrier as to whether a leading 0 or 1 is required for calls. (Presently it is set to :1 because the "9" at the front of the dial string is the dial prefix from the campaign. It's purpose was ONLY to bring the call to this carrier setup and may now be discarded as it cannot be sent to the carrier. Do not delete this number ... until you have TWO active carriers. Then you'll understand)..
take this outexten => _X.,1,Dial(IAX2/02889XXXX/${EXTEN:2})
exten => _X.,2,Hangup
williamconley wrote:take this outexten => _X.,1,Dial(IAX2/02889XXXX/${EXTEN:2})
exten => _X.,2,Hangup
never us _X in the main dial plan area. it will intercept "system" calls you do not want it to. always use a full dial pattern with more than 6 required digits
Users browsing this forum: No registered users and 91 guests