Even though the 2 FS server shares the same db. If you look closely, the record still knows which user is registered to which FS server, thus you can't just try to dial a user that is registered on another server. The proper way of doing this is to find out if the user you are dialing is registered to the same server, if not, then you will have to bridge sofia/internal/1003@10.2.48.243  instead of just bridging user/1003


Henry Huang



2010/4/26 Nguyễn Mạnh Hùng <hungngm@bkav.com.vn>
Hi list.
 
I try to deploy cluster FS by using  "ODBC in the core".  But i have some problem when deploy:
 
1. I deploy 2 FS share registration ( by config odbc-dsn in internal profile). With default config:
User 1001 registers in fs1: 10.2.48.194, user 1003 registers in fs2: 10.2.48.243.
I show sofia status profile internal and see to registration:
 
Call-ID:        d3298837aa18ac2bOGYyNTYyZGJjNzcyNzNhNDA3MTI0MmY4MmMzOWFkZDU.
User:           1001@10.2.48.194
Contact:        "1001" <sip:1001@10.2.48.184:42064;rinstance=22b332e0ef7c7fc1>
Agent:          eyeBeam release 1003s stamp 31159
Status:         Registered(UDP)(unknown) EXP(2010-04-16 11:26:47)
Host:           FS1.voip.vn
IP:             10.2.48.184
Port:           42064
Auth-User:      1001
Auth-Realm:     fs.vn
MWI-Account:    1001@10.2.48.194
 
Call-ID:        NzFiZmQxM2FlZDdmZjU3NTk4NjY4NmIwOWQ4NTcwZDI.
User:           1003@10.2.48.243
Contact:        "100311" <sip:1003@10.2.48.184:19374;rinstance=a7557f050b39a086>
Agent:          X-Lite release 1104o stamp 56125
Status:         Registered(UDP)(unknown) EXP(2010-04-27 12:18:37)
Host:           localhost.localdomain
IP:             10.2.48.184
Port:           19374
Auth-User:      1003
Auth-Realm:     fs.vn
MWI-Account:    1003@10.2.48.243
 
 user 1001 can't dial user 1003 and vice-versa. It likes because user 1001 calls 1003@10.2.48.194 while user 1003 is registers 10.2.48.243.
I read in list that can call between FS with odbc in the core. Do i miss config something ? 
 
2. I have read some comments with 2 FS, we need to config DNS-SRV for load balance between them. But I wonder how gateway connects with fs by load-balance SIP trunk?
 
Tks for help.
    
 

Nguyễn Mạnh Hg
 
Team Member - Telecom Security
Bkis Telecom Dept.
 
Bkis Internet Security

 Office:  HH1 Building - Yen Hoa, Cau Giay, Hanoi
 Tel:      (84 4) 37677090 ext 101
 Mobile: (84) 1656 722 375
 Email: 
HungNgM@bkav.com.vn
Website: www.bkav.com.vn
____________________________________________
Do your best, the rest will come !
H繦 l瀘 việc hết m・h, những điều tốt đẹp sẽ đến với bạn !
 

_______________________________________________
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