[Asterisk-Users] Extension processing misunderstanding
Bradley Schatz
blschatz at gmail.com
Sun Dec 18 17:20:05 MST 2005
Hi,
I am trying to configure asterisk to send all calls which come in on the
second port of my linksys pap2 (which is attached to a fax) to send out my
FXO trunk line. I have setup seperate sip profiles for both ports, the
second port defaults to a [fax] context.
If I have the context configured as below, then it works for numbers which
match the number patterns.
[fax]
exten => _XXXXXXXX,1,Dial(${TRUNK}/${EXTEN},45)
exten => _XXXXXXXX,2,Congestion
exten => _0XXXXXXXXX,1,Dial(${TRUNK}/${EXTEN},45)
exten => _0XXXXXXXXX,2,Congestion
However, shouldn't I be able to use the "s" number pattern as such for one
simple rule? It does not work for me.
[fax]
exten => s,1,Dial(${TRUNK}/${EXTEN},45)
exten => s,2,Congestion
Thanks,
Bradley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051218/d4002894/attachment.htm
More information about the asterisk-users
mailing list