[Freeswitch-users] Gateway Registration

Michael Collins msc at freeswitch.org
Wed Jun 9 16:26:22 PDT 2010


On Wed, Jun 9, 2010 at 2:19 PM, Samuel Macedo <macedoslm at gmail.com> wrote:

> How can I set the gateway domain? Can it be different from the gateway
> name?


Yes, you can use the "realm" param. See the example gateway config in
conf/sip_profiles/external/example.xml

-MC


> 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/06617f22/attachment.html 


More information about the FreeSWITCH-users mailing list