>>>>> "DL" == Doug Lytle <[EMAIL PROTECTED]> writes:

DL> Michelle Dupuis wrote:
>> Ok - that's great. I see how the destination number will match to
>> the exten value, but how do I access the from number '248xxxxxxx'?
>> 

DL> exten => s,1,GotoIf($["${CALLERID(number)}" = "248xxxxxxx" ]?2:3)

That works, of course, but there's also the traditional
ex-gf-function:

exten => s/248XXXXXXX,1,NoOp(Matched 248...)
exten => s/X!,1,NoOp(Didn't match)


/Benny



_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to