[asterisk-users] Treating T1 as trunk in/out, not individual lines

Benny Amorsen benny+usenet at amorsen.dk
Sat Oct 27 14:35:55 CDT 2007


>>>>> "DL" == Doug Lytle <support at drdos.info> 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





More information about the asterisk-users mailing list