sixteamparlay Posted March 1, 2009 Report Share Posted March 1, 2009 http://wiki.sangoma.com/wanpipe-windows-nbe-pbxnsip There is a problem with the recommended setup for Sangoma and NetBorder Express. The routing rule says "param name="sip.out.requestUri" expr="sip:0@127.0.0.1:5060"/>" which forwards it to 0 on the PBX and then uses "Send calls to extension" to forward everything to an auto attendant. Does anyone know how to route the exact dialed DNIS@127.0.0.1:5060 instead of a general 0@127.0.0.1:5060 ? Quote Link to comment Share on other sites More sharing options...
sixteamparlay Posted March 1, 2009 Author Report Share Posted March 1, 2009 found the answer in the sangoma netborder express manual: <!– DNIS-based Routing --> < rule name =“ DNIS_Routing " outbound_interface =“ sip " qvalue =" 0.1 "> <!-- Look if the incoming PSTN call is on the first Strong_20_Emphasis --> < condition param =“ pstn.in.channelName " expr =" B1T.* " /> <!–- Retrieve and store the ANI in variable %0 --> < condition param =“ pstn.in.ani " expr =“ (.*) " /> <!–- Retrieve and store the DNIS in variable %1 --> < condition param =“ pstn.in.dnis " expr =" ([0-9]*) " /> < out_leg name =“ default " media_type =“ sendrecv “ > <!-- Set the CallerID in the ‘From’ URI --> < param name =“ sip.out.from.uri " expr =“ sip:%0@GW_HOST_IP:GW_SIP_PORT "/> < param name =“ sip.out.from.displayName " expr =“ Gateway "/> <!-- Set the outbound URIs to point to URI of the form sip:5551212@acme.com --> < param name =“ sip.out.requestUri " expr =“ sip:%1@acme.com “ /> < param name =“ sip.out.to.uri " expr =“ sip:%1@acme.com "/> < param name =“ sip.out.to.displayName " expr =“ App "/> </ out_leg > Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.