Displaying 2 results from an estimated 2 matches for "_nxxnxxxx".
Did you mean:
_nxxxxxx
2011 Sep 20
1
Using same extension number for outgoing and incoming both internal and PSTN
...PSTN I must configure one SIP
account and assign that for dialing the PSTN so in my sip.conf I
configure SIP account(extension) :
[1401]
type=friend
username=1401
secret=1401
host=dynamic
context=my-office
insecure=port
in my extension.con
[my-office]
exten=>1401,1,Dial(SIP/1401,60)
exten=>_NXXNXXXX,1,Dial(SIP/${EXTEN}@1401)
but the problem is when I dial the number for the PSTN it's run/dial
on internal extension, from the asterisk guru website it's wrote to
separate the incoming and out going
in sip.conf
[1401]
type=friend
username=1401
secret=1401
host=dynamic
context=my-office-in...
2016 Aug 05
2
Toll free pattern matching
I have this in my config:
exten => _800XXXXXXX,1,Verbose(0,${CHANNEL(peername)} Calling ${EXTEN})
same => n,Dial(SIP/tollfree/1${EXTEN})
exten => _1800XXXXXXX,1,Verbose(0,${CHANNEL(peername)} Calling ${EXTEN})
same => n,Dial(SIP/tollfree/${EXTEN})
exten => _NXXNXXXXXX,1,Verbose(0,${CHANNEL(peername)} Calling ${EXTEN})
same => n,Dial(SIP/trunk/1${EXTEN})
exten => _1NXXNXXXXXX,1,Verbose(0,${CHANNEL(peername)} Calling ${EXTEN})
same => n,Dial(SIP/trunk/${EXTEN})
I came across
http://stackoverflow.com/questions/7235291/asterisk-priorities-that-have-...