[asterisk-users] Range Operator
Mojo with Horan & Company, LLC
mojo at horanappraisals.com
Mon Oct 9 15:13:23 MST 2006
Doug Lytle wrote:
> I'm not really sure what _X./_5XXX does. I thought _X. would match
> anything that would start with a digit. What does the /_5XXX do on that
> same matching string?
Doug, it's:
exten => exten#/cid_2_match,priority,application
for example, ex-girlfriend logic: (g/f number is 5551234)
exten => s/5551234,1,Zapateller
exten => s,1,Dial(SIP/housephone...
exten => s,2,Hangup
Notice how I have two priority 1s for the 's' extension. The first one
ends up being most specific for an incoming call from that callerid and
is used. Then it jumps to priority 2.
OP-Doug is matching incoming calls from callers with a callerID of "5xxx".
Moj
More information about the asterisk-users
mailing list