Provider SipStation (USA)
sipstation.schmoozecom.com
Last Update: 26 February 2011
Incoming and Outgoing works. Trunk settings:
<include>
<gateway name="SipStation">
<param name="username" value="username"/>
<param name="password" value="password"/>
<param name="proxy" value="trunk1.freepbx.com"/>
<param name="expire-seconds" value="600"/>
<param name="register" value="true"/>
<param name="retry_seconds" value="30"/>
<param name="context" value="public"/>
<param name="extension-in-contact" value="true"/>
</gateway>
</include>
Dialplan Settings - SipStation sends and receives in 10 digit format by default. Inbound dialplan settings (transfer to extension 102):
<include>
<extension name="SipStation inbound">
<condition field="context" data="public"/>
<!-- The following line detects incoming 10 digit calls to number 8315551234 -->
<!-- The line after transfers to extension 102 -->
<condition field="destination_number" expression="^8315551234$>
<action application="transfer" data="102 XML default"/>
</condition>
</extension>
</include>
Outbound dialplan settings (dial 9 then ten digits):
<include>
<extension name="SipStation Outbound 9.10d">
<!-- The following line detects outbound calls with a 9 as a dropped prefix -->
<!-- The line after sends the 10 digit number to the provider -->
<condition field="destination_number" expression="^9(\d{10})$">
<action application="bridge" data="sofia/gateway/SipStation/$1"/>
</condition>
</extension>