No you register 2 gateways.
<include>
<gateway name="Nameofthegateway">
<param name="username" value="YOUR SIP user name"/>
<param name="password" value="your sip password"/>
<param name="proxy" value="sip.domain.com"/>
<param name="from-domain" value="sip.domain.com"/>
<param name="expire-seconds" value="3600"/>
<param name="register" value="true"/>
</gateway>
</include><include>
<gateway name="Nameofthegateway2">
<param name="username" value="YOUR SIP user name2"/>
<param name="password" value="your sip password2"/>
<param name="proxy" value="sip.domain.com"/>
<param name="from-domain" value="sip.domain.com"/>
<param name="expire-seconds" value="3600"/>
<param name="register" value="true"/>
</gateway>
</include>How can I set the gateway domain? Can it be different from the gateway name?Example:<include><gateway name="gateway.com"><param name="username" value="user"/><param name="password" value="pass"/><param name="register" value="true"/></gateway></include>Gateway Name: gateway.comGateway Domain: gateway.comThanks,--Samuel MacedoOn 8 June 2010 13:03, Samuel Macedo <macedoslm@gmail.com> wrote:But the name of the gateway is the domain that will be used to register, or no?--Samuel MacedoOn 8 June 2010 06:46, Steven Ayre <steveayre@gmail.com> wrote:
Configure the same gateway twice, with different names. Which gateway name you use will determine which username is used.
On 7 June 2010 20:26, Samuel Macedo <macedoslm@gmail.com> wrote:
Hi,I want to use the same Gateway but with different users and passwords to make and receive calls.This is the scenario: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.Is there anyway to do this?Regards,--Samuel MacedoBelo Horizonte - Brazil_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org