Jump to content

SANGOMA / NetBorder Express


sixteamparlay
 Share

Recommended Posts

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 ?

Link to comment
Share on other sites

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 >

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...