[Asterisk-Users] Pattern for matching CALLERID
Stefan-Michael. Guenther (in-put GbR)
S.Guenther at in-put.de
Sun Oct 30 04:57:43 MST 2005
Hi,
I would like to use pattern matching in what some call the ex-girlfriend rule:
[demo]
exten => 830449/_0721.,1,Answer()
exten => 830449/_0721.,2,Dial(SIP/stefan,20,tr)
When I dial 830449, asterisk tells me:
Channel 'CAPI/ISDN1/830449-3' sent into invalid extension 's' in context
'default', but no invalid handler
Could it be, that pattern matching doesn't work here ?
It want to route calls based on the prefix of the number, so if pattern
matching doesn' t work, I would use SubString and GotoIf instead.
Have a nice day,
Stefan
More information about the asterisk-users
mailing list