<div>Sure thing. Here it is:</div>
<div> </div>
<div><include><br> <user id="$${default_provider}"><br> <gateway name="$${default_provider}"><br> <param name="username" value="$${default_provider_username}"/><br>
<param name="password" value="$${default_provider_password}"/><br> <param name="from-user" value="$${default_provider_username}"/><br> <param name="from-domain" value="$${default_provider_from_domain}"/><br>
<param name="expire-seconds" value="600"/><br> <param name="register" value="$${default_provider_register}"/><br> <param name="retry-seconds" value="30"/><br>
<param name="extension" value="$${default_provider_contact}"/><br> <param name="contact-params" value="domain_name=$${domain}"/><br> <param name="context" value="default"/><br>
</gateway><br> </user><br></include><br><br>In vars.conf I supplied the variables' values:</div>
<div> <X-PRE-PROCESS cmd="set" data="default_provider=<a href="http://pbx-sip-4.usa.internal.net">pbx-sip-4.usa.internal.net</a>"/><br> <X-PRE-PROCESS cmd="set" data="default_provider_username=pbx-sip-4"/><br>
<X-PRE-PROCESS cmd="set" data="default_provider_password=9997"/><br> <X-PRE-PROCESS cmd="set" data="default_provider_from_domain=<a href="http://pbx-sip-4.usa.internal.net">pbx-sip-4.usa.internal.net</a>"/><br>
<!-- true or false --><br> <X-PRE-PROCESS cmd="set" data="default_provider_register=false"/><br> <X-PRE-PROCESS cmd="set" data="default_provider_contact=1000"/><br>
</div>
<div><br> </div>
<div class="gmail_quote">2009/3/16 Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div style="WORD-WRAP: break-word">I would almost bet your xml is wrong when you moved it.. care to share that little bit of info?
<div><br></div><font color="#888888">
<div>/b</div></font>
<div>
<div></div>
<div class="h5">
<div><br>
<div>
<div>On Mar 16, 2009, at 12:39 PM, Steven Ward wrote:</div><br>
<blockquote type="cite"><span style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate">
<div>I simply moved the file defining the gateway to conf/sip_profiles/internal</div>
<div> </div>
<div>Well, when calling from extension 1000 to 70904, what I see on the console (debug mode) is:</div>
<div> </div>
<div>2009-03-16 13:35:39 [DEBUG] switch_core_state_machine.c:152 switch_core_standard_on_execute()<span> </span><a href="mailto:sofia/internal/1000@pbx-sip-3.usa.internal.net" target="_blank">sofia/internal/1000@pbx-sip-3.usa.internal.net</a><span> </span>Execute bridge(sofia/gateway/${default_gateway}/70904)<br>
2009-03-16 13:35:39 [DEBUG] switch_core_session.c:1286 switch_core_session_exec()<span> </span><a href="mailto:sofia/internal/1000@pbx-sip-3.usa.internal.net" target="_blank">sofia/internal/1000@pbx-sip-3.usa.internal.net</a><span> </span>Expanded String bridge(sofia/gateway/<a href="http://pbx-sip-4.usa.internal.net/70904" target="_blank">pbx-sip-4.usa.internal.net/70904</a>)<br>
2009-03-16 13:35:39 [ERR] mod_sofia.c:2379 sofia_outgoing_channel() Invalid Gateway<br>2009-03-16 13:35:39 [NOTICE] mod_sofia.c:2591 sofia_outgoing_channel() Close Channel N/A [CS_NEW]<br>2009-03-16 13:35:39 [ERR] switch_ivr_originate.c:1425 switch_ivr_originate() Cannot create outgoing channel of type [sofia] cause: [INVALID_NUMBER_FORMAT]<br>
2009-03-16 13:35:39 [DEBUG] switch_ivr_originate.c:2014 switch_ivr_originate() Originate Resulted in Error Cause: 28 [INVALID_NUMBER_FORMAT]<br>2009-03-16 13:35:39 [INFO] mod_dptools.c:1998 audio_bridge_function() Originate Failed. Cause: INVALID_NUMBER_FORMAT<br>
<br><br>What else am I missing and not doing right? Thanks again for your help.</div></span><br></blockquote></div><br></div></div></div></div><br>_______________________________________________<br>Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>