[Freeswitch-users] How can I join two freeswitch on two servers?

yvonne ding yhding2003 at yahoo.ca
Fri Dec 18 06:54:32 PST 2009


Hi, 

As far as I know, there are two ways to connect two freeswitch, by using ACL
or using authentication.
Also from this email history discussion, another solution is to create user
in FS B directory,then treat server B as normal gateway by adding gateway
definiton in FS A.

So my question is how to connect FS A and FS B through ACL or through the
way this email described.
The information I pasted is about the last way.

FS A: 192.168.129.168, caller id= 1001
FS B: 192.168.129.194, callee id= 1003,  create 1101 for gateway configure

In FS A add /conf/sip_proifles/external/gwfsa.xml
<include>
<gateway name="gwfsa"> 
param name="username" value="1101"
param name="password" value="1234"
param name="proxy" value="192.168.129.194:5060"
param name="register" value="false"
</gateway>
</include>

note: I delete < and /> for param cause it can't be displayed in this email.

Both FS A and FS B are default configuration except creating id=1101 on FS B
side.

I'm confused if I connect two freeswitch by using ACLs, How do I confiugre
data in both side ?


Your kind help is highly appreciated.




Seven Du wrote:
> 
> I couldn't guess what you want, pastbin your full config and logs and
> give more detail of your story perhaps someone can help you.
> 
> 2009/12/18 yvonne ding <yhding2003 at yahoo.ca>:
>>
>> param name="username" value="1101"
>> param name="password" value="1234"
>> param name="proxy" value="192.168.129.194:5060"
>> param name="register" value="false"
>>
>>
>> Hi,
>>
>> If I configure data as following, why FS A "1001" call FS B "1003" failed
>> ?
>> Thank you!
>>
>> FS A: 192.168.129.168, DN=1001
>> FS B: 192.168.129.194, DN=1003
>>
>> In FS A add /conf/sip_proifles/external/gwfsa.xml
>>  <include>
>>    <gateway name="gwfsa">
>>
>>
>>
>>
>>    </gateway>
>> </include>
>>
>> 1101 is configured in FS B /conf/directory/default/1101.xml, FS A don't
>> have
>> 1101 number
>>
>>
>>
>>
>>
>> Dan Le wrote:
>>>
>>> If you want FS server A to be able to call FS server B, you can set up a
>>> user account in server B's FS directory configs, and then just treat
>>> server
>>> B as a normal gateway by adding a gateway definition in server A. That
>>> will
>>> allow you to route calls to server B from A; to do the reverse, just
>>> mirror
>>> the configs the other direction.
>>>
>>> On Mon, Jun 15, 2009 at 9:38 PM, Edmar Cruz <darklion11 at yahoo.com>
>>> wrote:
>>>
>>>>
>>>> I like to connect two freeswitch, call each other, communicate and vice
>>>> versa.
>>>> Can you give me an example for that?
>>>>
>>>> Thanks
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/How-can-I-join-two-freeswitch-on-two-servers--tp24045824p24045824.html
>>>> Sent from the Freeswitch-users mailing list archive at Nabble.com.
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>
>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/How-can-I-join-two-freeswitch-on-two-servers--tp24045824p26832823.html
>> Sent from the Freeswitch-users mailing list archive at Nabble.com.
>>
>>
>> _______________________________________________
>> 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
> 
> 

-- 
View this message in context: http://old.nabble.com/How-can-I-join-two-freeswitch-on-two-servers--tp24045824p26844589.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.





More information about the FreeSWITCH-users mailing list