[SR-Users] Kamailio Freeswitch TCP call origination

Daniel Tryba d.tryba at pocos.nl
Mon Mar 16 09:59:42 CET 2015


On Saturday 14 March 2015 19:05:36 Niraj Roy wrote:
> User A---> Kamailio (K1)---> Freeswitch (F1)----Kamailio(K1)--->User B.
> Since User B is registered with K2. K1 being a public server won't be able
> to initiate any call to User B because there is no TCP connection
> established with it.
>  Can anybody shade some light on this?

You might want to parallel fork from F1 to both K1 and K2 (just in case user B 
has multiple registrations loadbalanced over K1/K2).

More sophisticated is to have F1 take a peek in the kamailio location 
databases to figure out where to deliver the call (you could use the socket 
column for that) after you have determined what user belongs to the dialed 
number.



More information about the sr-users mailing list