[SR-Users] TCP connection select problem

张顺通 shuntongzhang at gmail.com
Tue Mar 8 08:08:12 CET 2016


my program structure is

LinPhone------TCP------KA_EDGE------UDP------KA_REGISTER------UDP------FS

KA_EDGE:all clients TCP connection is in this server
KS_REGSITER:all register info is process here

when User A want to use program,Linphone send SIP REGISTER to KA_EDGE by
TCP(and  TCP is always present), and KA_EDGE send to KA_REGISTER by UDP.

when  FS want to Call A, FS generate SIP:
INVITE A at KA_REGISTER_IP

KA_REGISTER recive INVITE, lookup the register list, send to KA_EDGE
INVITE TCP_IP:TCP_PORT
Route:KA_EDGE_IP:KA_EDGE_PORT

and LinPhone recive that INVITE.


*my question is:*

LinPhone A and LinPhone B both register in KA_REGISTER.
FS send INVITE:
INVITE B: KA_REGISTER_IP
and KA_REGISTER lookup correct,send to KA_EDGE
INVITE TCP_IP_B:TCP_PORT_B
Route:KA_EDGE_IP:KA_EDGE_PORT

but KA_EDGE is not correct.sip is correct,* but KA_EDGE send the INVITE to
A' TCP connnection*
INVITE TCP_IP_B:TCP_PORT_B
Route:KA_EDGE_IP:KA_EDGE_PORT


Someone had this problem?Is this a bug?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160308/cda88788/attachment.html>


More information about the sr-users mailing list