[asterisk-users] Dialplan checkup
Barry Fawthrop
barry at ttienterprises.org
Sat Feb 10 05:24:24 MST 2007
Hi Gordon
Following you dial plan
How does Asterisk know to move from s,2, to either incoming,1, or fax,1,
The only jump I recognize it Goto(internal,incoming,1) which should take
all calls to incoming,1, and not fax,1,
OT: is spandsp & rxfax handled by astlinux ?
Thanks again
Barry
Gordon Henderson wrote:
>
> [incoming]
>
> exten => s,1,Noop(PSTN CALL from ${CALLERIDNUM})
> exten => s,n,Goto(internal,incoming,1)
>
> [internal]
>
> exten => incoming,1,Set(DB(100/lnd)=${CALLERIDNUM})
> exten => incoming,n,Answer()
> exten => incoming,n,Wait(3)
> exten => incoming,n(enter),BackGround(if-u-know-ext-dial)
> exten => incoming,n,BackGround(or)
> exten => incoming,n,BackGround(pls-hold-while-try)
> exten => incoming,n,WaitExten(10)
> exten => incoming,n,Ringing()
> exten => incoming,n,Dial(${officePhones},15,on)
> exten => incoming,n,VoiceMail(100&101&102,us)
> exten => incoming,n,Hangup()
>
> exten => fax,1,Set(LOCALSTATIONID=My Fax Machine)
> exten => fax,n,RxFax(${FaxFile}.tif)
> exten => fax,n,System(/bin/echo ${REMOTESTATIONID} > ${FaxFile}.csid)
> exten => fax,n,System(/bin/echo ${CALLERIDNUM} > ${FaxFile}.cidn)
> exten => fax,n,System(/usr/bin/tiff2pdf ${FaxFile}.tif > ${FaxFile}.pdf)
> exten => fax,n,System(/usr/bin/mpack -s "FAX From
> [${REMOTESTATIONID}:${CALLERIDNUM}]" ${FaxFile}.pdf
> ${FaxDestinationEmail})
> exten => fax,n,Hangup()
>
> exten => i,1,Wait(1)
> exten => i,n,Playback(pbx-invalid)
> exten => i,n,Goto(internal,incoming,enter)
>
> exten => t,1,Hangup()
More information about the asterisk-users
mailing list