[SR-Users] ack not transfer kamailio-3.3.4

dolphin dolphinctk at gmail.com
Fri Dec 20 18:17:23 CET 2013


Hello,

About fix_nated_contact () problem has been resolved.

Thanks for your help.


The reason is that when k2 sent to k1 200 ok, k1 should not do
fix_nated_contact to ua1.

k2 received ack signal must be ua2 uri address

k2 debug:

DEBUG: <core> [parser/msg_parser.c:624]: SIP Request:
DEBUG: <core> [parser/msg_parser.c:626]:  method:  <ACK>
DEBUG: <core> [parser/msg_parser.c:628]:  uri:
<sip:5001005 at 122.116.37.55:59453;transport=TCP;ob>
DEBUG: <core> [parser/msg_parser.c:630]:  version: <SIP/2.0>


2013/12/16 dolphin <dolphinctk at gmail.com>

>
> Thank you for your reply, I will try about  fix_nated_contact()  problem
>
>
> 2013/12/13 Daniel-Constantin Mierla <miconda at gmail.com>
>
>>  Perhaps you do fix_nated_contact() in k1, which should not be done,
>> because k1 is not the first hop from ua2.
>>
>> Cheers,
>> Daniel
>>
>>
>> On 13/12/13 02:22, dolphin wrote:
>>
>>  hello,
>>
>>  I’m trying to build two kamailio-3.3.4 server  like this:
>>
>>  ua1 ----> kamailio1(k1)-----> kamailio2(k2) -----> ua2
>>
>>  ua1 (5978003 )  is register k1
>> ua2 (5001005)   is register k2
>>
>>  When ua1 callout to ua2 sip process through k1 and k2
>>
>>  The problem is k2 server ACK not transfer to ua2  and  k2 has received
>> ack signals from u1 through k1
>>
>>  I ngrep sip process for k2 and k2 /var/log/debug
>>
>>  see the attached File ngrep_k2server.txt, debug_k2
>>
>>  1.
>> First ACK uri have ua2 number sip:5001005 at xxx.xxx.xxx.xxx(k2):5003;ob  ,
>>   is correct !!
>>
>>  2. Second ack not include 5001005  , again loop itself     ; Route:
>> <sip:xxx.xxx.xxx.xxx(k2):5003;lr;did=763.941>
>> loose_route  Next hop: 'sip:xxx.xxx.xxx.xxx(k2):5003;lr;did=763.941' is
>> loose router.
>>
>>  so  next  hop  Not found in usrloc db  5001005 user and not  transfer
>> to ua2
>>
>>  How to fix this problem, any suggestions ?
>>
>>
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>> --
>> Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>>
>>
>


-- 
==================================
Chinotek Information   尖端電腦公司
dolphin  周記偉     Email : dolphin at rav.com.tw
Tel : 886-2-2765-7775  Fax : 886-2-2762-2747
IP Phone : 123
website : http://www.rav.com.tw
==================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20131221/c3ffa596/attachment.html>


More information about the sr-users mailing list