<br><br><div class="gmail_quote">On Wed, Jun 9, 2010 at 2:19 PM, Samuel Macedo <span dir="ltr"><<a href="mailto:macedoslm@gmail.com">macedoslm@gmail.com</a>></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 "realm" 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="'courier new', monospace"><include></font></div>
<div><font face="'courier new', monospace"> <gateway name="<a href="http://gateway.com" target="_blank">gateway.com</a>"></font></div><div><font face="'courier new', monospace"> <param name="username" value="user"/></font></div>
<div><font face="'courier new', monospace"> <param name="password" value="pass"/></font></div><div><font face="'courier new', monospace"> <param name="register" value="true"/></font></div>
<div><font face="'courier new', monospace"> </gateway></font></div><div><font face="'courier new', monospace"></include></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"><<a href="mailto:macedoslm@gmail.com" target="_blank">macedoslm@gmail.com</a>></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"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></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"><<a href="mailto:macedoslm@gmail.com" target="_blank">macedoslm@gmail.com</a>></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>