Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This example shows how to route a call coming in from a PRI/BRI line to a FXS Port. 

  1. Follow the step at Outbound Channel Grouping to assign a group to your FXS port. The best idea is make the group name the same as your DID. In our example we are using group and DID "9054741990 ".

  1. Edit your routing rules "Configuration->Routing Rules" then add the rule below. Ensuring you adjust the DID to your DID number. Also note sometimes the telco just sends the last 4 numbers, so instead of "9054741990 " use "1990". 

 <rule name="FAX-1" outbound_interface="pstn" qvalue="0.1">
   <condition param="transfer" expr="false"/>
   <condition param="pstn.in.channelName" expr=".*"/>
   <condition param="pstn.in.dnis" expr="9054741990"/>
   <condition param="pstn.in.ani" expr="(.*)"/>
   <condition param="pstn.in.callerName" expr="(.*)"/>
   <condition param="pstn.in.ani.presentationIndicator" expr="(allowed|^$)"/>
   <out_leg name="" media_type="sendrecv">
     <param name="pstn.out.channelGroup" expr="9054741990"/>
     <param name="pstn.out.callerName" expr="%1"/>
     <param name="pstn.out.phoneNumber" expr="1"/>
     <param name="pstn.out.ani" expr="%0"/>
   </out_leg>
 </rule>