<div>Hi,</div>
<div> </div>
<div>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.
</div>
<div> </div>
<div>If I have the context configured as below, then it works for numbers which match the number patterns. </div>
<div> </div>
<div>[fax]</div>
<div>exten => _XXXXXXXX,1,Dial(${TRUNK}/${EXTEN},45)<br>exten => _XXXXXXXX,2,Congestion<br>exten => _0XXXXXXXXX,1,Dial(${TRUNK}/${EXTEN},45)<br>exten => _0XXXXXXXXX,2,Congestion<br> </div>
<div>However, shouldn't I be able to use the "s" number pattern as such for one simple rule? It does not work for me.</div>
<div> </div>
<div>[fax]</div>
<div>exten => s,1,Dial(${TRUNK}/${EXTEN},45)<br>exten => s,2,Congestion<br> </div>
<div>Thanks,</div>
<div> </div>
<div>Bradley</div>
<div> </div>
<div><br> </div>