<div>Heh heh.</div>
<div> </div>
<div>Guess it pays not to rush. :)</div>
<div> </div>
<div>Got it working now - without registering. </div>
<div><br>But another thing - what if I want to set my two boxes up for registering? I see that I can set my register parameter to true, but how do I control the register string that's sent to the other box?</div>
<div> </div>
<div> </div>
<div> </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">First off since its not in the user directory anymore you'll have to unwrap the gateway from inside the user tags ;)
<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:51 PM, Steven Ward wrote:</div><br>
<blockquote type="cite">
<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/" target="_blank">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/" target="_blank">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></blockquote></div></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>