Author: brian Date: Sat Dec 8 15:23:14 2007 New Revision: 6583 Added: freeswitch/trunk/conf/sip_profiles/default/ freeswitch/trunk/conf/sip_profiles/default/example.xml freeswitch/trunk/conf/sip_profiles/nat/ Modified: freeswitch/trunk/conf/sip_profiles/default.xml freeswitch/trunk/conf/sip_profiles/nat.xml Log: break these into includes Modified: freeswitch/trunk/conf/sip_profiles/default.xml ============================================================================== --- freeswitch/trunk/conf/sip_profiles/default.xml (original) +++ freeswitch/trunk/conf/sip_profiles/default.xml Sat Dec 8 15:23:14 2007 @@ -5,38 +5,7 @@ </aliases> <!-- Outbound Registrations --> <gateways> - <!--<gateway name="asterlink.com">--> - <!--/// account username *required* ///--> - <!--<param name="username" value="cluecon"/>--> - <!--/// auth realm: *optional* same as gateway name, if blank ///--> - <!--<param name="realm" value="asterlink.com"/>--> - <!--/// 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="2007"/>--> - <!--/// replace the INVITE from user with the channel's caller-id ///--> - <!--<param name="caller-id-in-from" value="false"/>--> - <!--/// 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>--> + <X-PRE-PROCESS cmd="include" data="default/*.xml"/> </gateways> <domains> Added: freeswitch/trunk/conf/sip_profiles/default/example.xml ============================================================================== --- (empty file) +++ freeswitch/trunk/conf/sip_profiles/default/example.xml Sat Dec 8 15:23:14 2007 @@ -0,0 +1,34 @@ +<include> + <!--<gateway name="asterlink.com">--> + <!--/// account username *required* ///--> + <!--<param name="username" value="cluecon"/>--> + <!--/// auth realm: *optional* same as gateway name, if blank ///--> + <!--<param name="realm" value="asterlink.com"/>--> + <!--/// 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="2007"/>--> + <!--/// replace the INVITE from user with the channel's caller-id ///--> + <!--<param name="caller-id-in-from" value="false"/>--> + <!--/// 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> Modified: freeswitch/trunk/conf/sip_profiles/nat.xml ============================================================================== --- freeswitch/trunk/conf/sip_profiles/nat.xml (original) +++ freeswitch/trunk/conf/sip_profiles/nat.xml Sat Dec 8 15:23:14 2007 @@ -1,4 +1,7 @@ <profile name="nat"> + <gateways> + <X-PRE-PROCESS cmd="include" data="nat/*.xml"/> + </gateways> <settings> <param name="debug" value="1"/> <param name="rfc2833-pt" value="101"/>