<br><br><div class="gmail_quote">On Wed, Jun 9, 2010 at 2:19 PM, Samuel Macedo <span dir="ltr">&lt;<a href="mailto:macedoslm@gmail.com">macedoslm@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
How can I set the gateway domain? Can it be different from the gateway name?</blockquote><div><br>Yes, you can use the &quot;realm&quot; param. See the example gateway config in conf/sip_profiles/external/example.xml<br><br>
-MC<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div>Example:</div><div><br></div><div><div><font face="&#39;courier new&#39;, monospace">&lt;include&gt;</font></div>

<div><font face="&#39;courier new&#39;, monospace"> &lt;gateway name=&quot;<a href="http://gateway.com" target="_blank">gateway.com</a>&quot;&gt;</font></div><div><font face="&#39;courier new&#39;, monospace">  &lt;param name=&quot;username&quot; value=&quot;user&quot;/&gt;</font></div>

<div><font face="&#39;courier new&#39;, monospace">  &lt;param name=&quot;password&quot; value=&quot;pass&quot;/&gt;</font></div><div><font face="&#39;courier new&#39;, monospace">  &lt;param name=&quot;register&quot; value=&quot;true&quot;/&gt;</font></div>

<div><font face="&#39;courier new&#39;, monospace"> &lt;/gateway&gt;</font></div><div><font face="&#39;courier new&#39;, monospace">&lt;/include&gt;</font></div><div><br></div>
<div><b>Gateway Name</b>: <a href="http://gateway.com" target="_blank">gateway.com</a></div><div><b>Gateway Domain</b>: <a href="http://gateway.com" target="_blank">gateway.com</a></div><div><br></div><div>Thanks,</div><div>
--</div><div>Samuel Macedo</div><div><div></div><div class="h5">
<div><br></div><br><div class="gmail_quote">On 8 June 2010 13:03, Samuel Macedo <span dir="ltr">&lt;<a href="mailto:macedoslm@gmail.com" target="_blank">macedoslm@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

But the name of the gateway is the domain that will be used to register, or no?<div><br></div><div>--</div><div>Samuel Macedo<div><div></div><div><br><br><div class="gmail_quote">On 8 June 2010 06:46, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Configure the same gateway twice, with different names. Which gateway name you use will determine which username is used.<br>


<br><br><br><div class="gmail_quote"><div><div></div><div>On 7 June 2010 20:26, Samuel Macedo <span dir="ltr">&lt;<a href="mailto:macedoslm@gmail.com" target="_blank">macedoslm@gmail.com</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div>Hi,<div><br></div><div>I want to use the same Gateway but with different users and passwords to make and receive calls.</div>



<div>This is the scenario:</div><div>I have 2 users in a PSTN gateway, I want to connect 2 Freeswitch UserAgents (Sofia External) to this gateway so I can receive inbound calls. And to make a Outbound call I want to decide witch UserAgent I will use.</div>





<div><br></div><div>Is there anyway to do this?</div><div><br></div><div>Regards,</div><div>--</div><font color="#888888"><div>Samuel Macedo</div><div>Belo Horizonte - Brazil</div>
</font><br></div></div><div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></div></blockquote></div><br>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></div></div></div>
</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>