<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&#39;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">&lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt;</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&#39;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>&lt;include&gt;<br>  &lt;user id=&quot;$${default_provider}&quot;&gt;<br>      &lt;gateway name=&quot;$${default_provider}&quot;&gt;<br>        &lt;param name=&quot;username&quot; value=&quot;$${default_provider_username}&quot;/&gt;<br>
        &lt;param name=&quot;password&quot; value=&quot;$${default_provider_password}&quot;/&gt;<br>        &lt;param name=&quot;from-user&quot; value=&quot;$${default_provider_username}&quot;/&gt;<br>        &lt;param name=&quot;from-domain&quot; value=&quot;$${default_provider_from_domain}&quot;/&gt;<br>
        &lt;param name=&quot;expire-seconds&quot; value=&quot;600&quot;/&gt;<br>        &lt;param name=&quot;register&quot; value=&quot;$${default_provider_register}&quot;/&gt;<br>        &lt;param name=&quot;retry-seconds&quot; value=&quot;30&quot;/&gt;<br>
        &lt;param name=&quot;extension&quot; value=&quot;$${default_provider_contact}&quot;/&gt;<br>        &lt;param name=&quot;contact-params&quot; value=&quot;domain_name=$${domain}&quot;/&gt;<br>        &lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;<br>
      &lt;/gateway&gt;<br>  &lt;/user&gt;<br>&lt;/include&gt;<br><br>In vars.conf I supplied the variables&#39; values:</div>
<div>  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;default_provider=<a href="http://pbx-sip-4.usa.internal.net/" target="_blank">pbx-sip-4.usa.internal.net</a>&quot;/&gt;<br>  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;default_provider_username=pbx-sip-4&quot;/&gt;<br>
  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;default_provider_password=9997&quot;/&gt;<br>  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;default_provider_from_domain=<a href="http://pbx-sip-4.usa.internal.net/" target="_blank">pbx-sip-4.usa.internal.net</a>&quot;/&gt;<br>
  &lt;!-- true or false --&gt;<br>  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;default_provider_register=false&quot;/&gt;<br>  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;default_provider_contact=1000&quot;/&gt;<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>