Skip to main content

Provider Bandwidth (USA)

Last Update: 8 February 2011

Incoming and Outgoing works. Trunk settings:

<gateway name="">
<param name="username" value="username"/>
<param name="password" value="password"/>
<param name="from-user" value="fromuser"/>
<param name="from-domain" value="gateway-ip"/>
<param name="proxy" value="gateway-ip"/>
<param name="expire-seconds" value="600"/>
<param name="register" value="false"/>
<param name="retry_seconds" value="30"/>
<param name="extension" value=""/>
<param name="context" value="public"/>

Dialplan Settings - sends and receives in e164 format by default. Inbound dialplan settings (transfer to extension 102):

<extension name=" inbound">
<condition field="context" data="public"/>
<!-- The following line detects the e164 format on incoming calls -->
<!-- Note: The leading '+' needs to be escaped by adding a '\' before it -->
<condition field="destination_number" expression="^\+18315551234$>
<action application="transfer" data="102 XML default"/>

Outbound dialplan settings (dial 9 then ten digits):

<extension name=" Outbound 9.10d">
<!-- The following line detects outbound calls with a 9 as a dropped prefix -->
<!-- The line after changes the 10 digit number into 11 digit with a leading '+' -->
<condition field="destination_number" expression="^9(\d{10})$">
<action application="bridge" data="sofia/gateway/$1"/>