Hi Ron,
If you want to write one extension to handle all of your incoming
calls, regardless of what digits have been recieved, you need to use
an extension with a pattern match like this:
exten = _X.,1,noop(do some things for Ron's incoming calls)
The _ indicates that a pattern is beginning,
Yes, if the DIDs are 4 digits long then the following will do:
1. Set context in zapata.conf to inbound.
/etc/asterisk/extensions.conf:
[inbound]
;define known DIDs here
exten = 1234,Dial(whatever)
include = otherinbound
[otherinbound]
exten = _,1,Set(PRI_CAUSE=1)
exten = _,2,Hangup()
You can use:
Exten = _X.,1,Goto(inbound,s,1)
snip
___
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users