Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## conf/dialplan/default.xml
- <extension name="outbound">
- <condition field="destination_number" expression="^9(\d{10,})$">
- <action application="bridge" data="sofia/gateway/teliax/$1"/>
- </condition>
- </extension>
- ## conf/sip_profiles/external/teliax.xml
- <include>
- <gateway name="teliax">
- <!--/// account username *required* ///-->
- <param name="username" value="username"/>
- <!--/// auth realm: *optional* same as gateway name, if blank ///-->
- <param name="realm" value="atl.teliax.net"/>
- <!--/// username to use in from: *optional* same as username, if blank ///-->
- <!--<param name="from-user" value="cluecon"/>-->
- <!--/// domain to use in from: *optional* same as realm, if blank ///-->
- <!--<param name="from-domain" value="asterlink.com"/>-->
- <!--/// account password *required* ///-->
- <param name="password" value="secret"/>
- <!--/// extension for inbound calls: *optional* same as username, if blank ///-->
- <!--<param name="extension" value="cluecon"/>-->
- <!--/// proxy host: *optional* same as realm, if blank ///-->
- <!--<param name="proxy" value="asterlink.com"/>-->
- <!--/// send register to this proxy: *optional* same as proxy, if blank ///-->
- <!--<param name="register-proxy" value="mysbc.com"/>-->
- <!--/// expire in seconds: *optional* 3600, if blank ///-->
- <!--<param name="expire-seconds" value="60"/>-->
- <!--/// do not register ///-->
- <!--<param name="register" value="false"/>-->
- <!-- which transport to use for register -->
- <!--<param name="register-transport" value="udp"/>-->
- <!--How many seconds before a retry when a failure or timeout occurs -->
- <!--<param name="retry_seconds" value="30"/>-->
- <!--Use the callerid of an inbound call in the from field on outbound calls via this gateway -->
- <!--<param name="caller-id-in-from" value="false"/>-->
- <!--extra sip params to send in the contact-->
- <!--<param name="contact-params" value="tport=tcp"/>-->
- </gateway>
- </include>
Add Comment
Please, Sign In to add comment