[Freeswitch-users] Gateway Registration

Samuel Macedo macedoslm at gmail.com
Thu Jun 10 06:16:41 PDT 2010


Thank you for the responses. You solved my problem.

Regards,
--
Samuel Macedo

On 9 June 2010 20:34, leonardo alves <telteclistas at gmail.com> wrote:

> 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
>>
>>
>
> _______________________________________________
> 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/20100610/6fcf22fb/attachment.html 


More information about the FreeSWITCH-users mailing list