[Freeswitch-users] Gateway Registration

leonardo alves telteclistas at gmail.com
Wed Jun 9 16:34:30 PDT 2010


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>

And in the dial plan you can do the bridge with the gateway you want using
the name of the gateway.
Leonardo
On Wed, Jun 9, 2010 at 5:19 PM, Samuel Macedo <macedoslm at gmail.com> wrote:

> 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.com
> *Gateway Domain*: gateway.com
>
> Thanks,
> --
> Samuel Macedo
>
>
> On 8 June 2010 13:03, Samuel Macedo <macedoslm at gmail.com> wrote:
>
>> But the name of the gateway is the domain that will be used to register,
>> or no?
>>
>> --
>> Samuel Macedo
>>
>>
>> On 8 June 2010 06:46, Steven Ayre <steveayre at 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 at 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 Macedo
>>>> Belo Horizonte - Brazil
>>>>
>>>> _______________________________________________
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100609/76b8520d/attachment-0001.html 


More information about the FreeSWITCH-users mailing list