Re: [SR-Users] Wrong dialog selected in on_reply/failure route in case of spirals.
Hello Daniel, Today I installed kamailio from GIT last devel 4.3.0-dev3. *The problem is solved!* Thank you so much for your help ! Julia On Mon, Jan 26, 2015 at 8:38 PM, Julia Boudniatsky juli...@gmail.com wrote: Yes it /usr/local/sbin/kamailio, I haven't internet in the test server. I get git from another server and copy received directory kamailio to test server, then make cfg/all/install. BR, Julia On Mon, Jan 26, 2015 at 8:10 PM, Daniel-Constantin Mierla mico...@gmail.com wrote: I did the same right now and I get: version: kamailio 4.3.0-dev3 (x86_64/darwin) 1b334f Can you check if you have another instance installed on a different path that takes precendence? Do: which kamailio When installed from sources, it should be: /usr/local/sbin/kamailio Cheers, Daniel On 26/01/15 18:55, Julia Boudniatsky wrote: I used from your link * http://www.kamailio.org/wiki/#installation - Install Kamailio Devel Version From GIT http://www.kamailio.org/wiki/install/devel/git #mkdir -p /usr/local/src/kamailio-devel #cd /usr/local/src/kamailio-devel #git clone --depth 1 --no-single-branch git://git.kamailio.org/kamailio kamailio #cd kamailio BR, Julia On Mon, Jan 26, 2015 at 7:04 PM, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello, that is not the last devel version, it should be with -dev3. How did you get the sources? I get: version: kamailio 4.3.0-dev3 (x86_64/darwin) 1b334f And yes, if you still get the error, send the logs with the description. Cheers, Daniel On 26/01/15 17:16, Julia Boudniatsky wrote: Hello Daniel, In devel installed, I received the same problem. kamailio -V version: kamailio 4.3.0-dev2 (x86_64/linux) ecd5c5 flags: STATS: Off, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, DBG_F_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. id: ecd5c5 compiled on 18:02:05 Jan 26 2015 with gcc 4.4.6 Do you want a log files? Thank you, Julia On Mon, Jan 26, 2015 at 12:47 PM, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello, none of existing releases are good because the patches are only in git branches, added after the last relesea (I added it iver this weekend). You must install from git, as pointed by one of the tutorials at: * http://www.kamailio.org/wiki/#installation You must use devel (master), 4.2 (v4.2.x) or 4.1 (v4.1.x) branches. We will have new releases in the near future, like 1-2 weeks from now, but by then I hope to get this bug sorted out. Cheers, Daniel On 26/01/15 11:42, Julia Boudniatsky wrote: Hello Daniel, I installed last 4.2 version: kamailio 4.2.1 (x86_64/linux) d80dfc flags: STATS: Off, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, DBG_F_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. id: d80dfc compiled on 10:06:01 Jan 26 2015 with gcc 4.4.6 *Problem in call with Call-ID : 5-5028@10.25.153.150 5-5028@10.25.153.150 * *Short log* *dialog [3748:5628]* *100 trying* Jan 26 10:20:49 vm-KAMnet-dev01 /usr/local/sbin/kamailio[20649]: DEBUG: core [parser/msg_parser.c:633]: parse_msg(): SIP Reply (status): Jan 26 10:20:49 vm-KAMnet-dev01 /usr/local/sbin/kamailio[20649]: DEBUG: core [parser/msg_parser.c:635]: parse_msg(): version: SIP/2.0 Jan 26 10:20:49 vm-KAMnet-dev01 /usr/local/sbin/kamailio[20649]: DEBUG: core [parser/msg_parser.c:637]: parse_msg(): status: 100 Jan 26 10:20:49 vm-KAMnet-dev01 /usr/local/sbin/kamailio[20649]: DEBUG: core [parser/msg_parser.c:639]: parse_msg(): reason: Trying Jan 26 10:20:49 vm-KAMnet-dev01 /usr/local/sbin/kamailio[20649]: DEBUG: core [parser/parse_addr_spec.c:176]: parse_to_param(): DEBUG: add_param: tag=9313591363960470767 Jan 26 10:20:49 vm-KAMnet-dev01 /usr/local/sbin/kamailio[20649]: DEBUG: core [parser/parse_addr_spec.c:898]: parse_addr_spec(): end of header reached, state=29 Jan 26 10:20:49 vm-KAMnet-dev01 /usr/local/sbin/kamailio[20649]: DEBUG: core [parser/msg_parser.c:190]: get_hdr_field(): DEBUG: get_hdr_field: To [71]; uri=[sip:039951004@10.25.153.149:5060;user=phone] Jan 26 10:20:49 vm-KAMnet-dev01 /usr/local/sbin/kamailio[20649]: DEBUG: core [parser/msg_parser.c:192]: get_hdr_field(): DEBUG: to body [ sip:039951004@10.25.153.149:5060;user=phone] Jan 26 10:20:49
Re: [SR-Users] Wrong dialog selected in on_reply/failure route in case of spirals.
Hello Daniel, I have re-installed kamailio from last 4.1 branch, but unfortunately, the problem persists. Failed call with callID=2-17858@10.25153.150. The log file i send to your private mail. Best regards, Julia On Sun, Jan 25, 2015 at 12:03 AM, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello, got the time to analyze your last logs and I discovered that the previous patch was not resetting properly the dialog shortcuts. I pushed a fix, can you try again with the latest version from one of the branches: master, 4.2 or 4.1?Let me know the results. Cheers, Daniel On 15/01/15 23:42, Daniel-Constantin Mierla wrote: Hello, I looked at the logs, but I cannot see the log message I added with the patch for reseting local dialog shortcuts after onreply and failure route. It shuld be something like: ... resetting the local dialog shortcuts Are you sure you are running the latest branch 4.1? You can send the output of kamailio -v to double check here. I separated the logs per process and looked when a 301 was received, apparently the ones for Call-ID: 4-21712 are matching the same dialog. I found something not printing the same kind of logs like for other 301 for Call-ID: 2-21712. If you can point the line in the logs where you think it was the wrong dialog match, I can investigate from there, but now I couldn't find any lead. Anyhow, if it is the latest branch 4.1 and the problem still persists, can you add the following xlog at the beginning of main request_route (or the route {...} ), plus in each reply_route, onreply_route and failure_route: xlog(processing $rm ( $ci / %ft / $tt / $hdr(Via) ) [$fu = $tu]\n); Then redo the tests to catch the issue and send me the new logs. Because you use sipp with tags like '4', it is hard to search on a single tocken and I want to have the all message attribute when a relevant route block is executed. Cheers, Daniel On 14/01/15 15:07, Daniel-Constantin Mierla wrote: Hello Julia, ok, I will look over the logs very soon. As a short note for the future, make the archives zip or tgz, being more common formats that can be unarchived everywhere without installing additional app, being handy to open even on small devices. Now it is ok with rar, being at the desk. Cheers, Daniel On 14/01/15 14:43, Julia Boudniatsky wrote: Hello Daniel, Please find in attached file the debug 3 log. Failed call with Call-ID: 4-21712@10.25.153.150. The problem occurred with all modes of dlg_match_mode The same load test in 3.3 executed without failures. Thank you, Julia. -- Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda -- Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Wrong dialog selected in on_reply/failure route in case of spirals.
Hello, got the time to analyze your last logs and I discovered that the previous patch was not resetting properly the dialog shortcuts. I pushed a fix, can you try again with the latest version from one of the branches: master, 4.2 or 4.1?Let me know the results. Cheers, Daniel On 15/01/15 23:42, Daniel-Constantin Mierla wrote: Hello, I looked at the logs, but I cannot see the log message I added with the patch for reseting local dialog shortcuts after onreply and failure route. It shuld be something like: ... resetting the local dialog shortcuts Are you sure you are running the latest branch 4.1? You can send the output of kamailio -v to double check here. I separated the logs per process and looked when a 301 was received, apparently the ones for Call-ID: 4-21712 are matching the same dialog. I found something not printing the same kind of logs like for other 301 for Call-ID: 2-21712. If you can point the line in the logs where you think it was the wrong dialog match, I can investigate from there, but now I couldn't find any lead. Anyhow, if it is the latest branch 4.1 and the problem still persists, can you add the following xlog at the beginning of main request_route (or the route {...} ), plus in each reply_route, onreply_route and failure_route: xlog(processing $rm ( $ci / %ft / $tt / $hdr(Via) ) [$fu = $tu]\n); Then redo the tests to catch the issue and send me the new logs. Because you use sipp with tags like '4', it is hard to search on a single tocken and I want to have the all message attribute when a relevant route block is executed. Cheers, Daniel On 14/01/15 15:07, Daniel-Constantin Mierla wrote: Hello Julia, ok, I will look over the logs very soon. As a short note for the future, make the archives zip or tgz, being more common formats that can be unarchived everywhere without installing additional app, being handy to open even on small devices. Now it is ok with rar, being at the desk. Cheers, Daniel On 14/01/15 14:43, Julia Boudniatsky wrote: Hello Daniel, Please find in attached file the debug 3 log. Failed call with Call-ID: 4-21712@10.25.153.150 mailto:4-21712@10.25.153.150. The problem occurred with all modes of dlg_match_mode The same load test in 3.3 executed without failures. Thank you, Julia. -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Wrong dialog selected in on_reply/failure route in case of spirals.
Hello, I looked at the logs, but I cannot see the log message I added with the patch for reseting local dialog shortcuts after onreply and failure route. It shuld be something like: ... resetting the local dialog shortcuts Are you sure you are running the latest branch 4.1? You can send the output of kamailio -v to double check here. I separated the logs per process and looked when a 301 was received, apparently the ones for Call-ID: 4-21712 are matching the same dialog. I found something not printing the same kind of logs like for other 301 for Call-ID: 2-21712. If you can point the line in the logs where you think it was the wrong dialog match, I can investigate from there, but now I couldn't find any lead. Anyhow, if it is the latest branch 4.1 and the problem still persists, can you add the following xlog at the beginning of main request_route (or the route {...} ), plus in each reply_route, onreply_route and failure_route: xlog(processing $rm ( $ci / %ft / $tt / $hdr(Via) ) [$fu = $tu]\n); Then redo the tests to catch the issue and send me the new logs. Because you use sipp with tags like '4', it is hard to search on a single tocken and I want to have the all message attribute when a relevant route block is executed. Cheers, Daniel On 14/01/15 15:07, Daniel-Constantin Mierla wrote: Hello Julia, ok, I will look over the logs very soon. As a short note for the future, make the archives zip or tgz, being more common formats that can be unarchived everywhere without installing additional app, being handy to open even on small devices. Now it is ok with rar, being at the desk. Cheers, Daniel On 14/01/15 14:43, Julia Boudniatsky wrote: Hello Daniel, Please find in attached file the debug 3 log. Failed call with Call-ID: 4-21712@10.25.153.150 mailto:4-21712@10.25.153.150. The problem occurred with all modes of dlg_match_mode The same load test in 3.3 executed without failures. Thank you, Julia. -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Wrong dialog selected in on_reply/failure route in case of spirals.
Hello Julia, ok, I will look over the logs very soon. As a short note for the future, make the archives zip or tgz, being more common formats that can be unarchived everywhere without installing additional app, being handy to open even on small devices. Now it is ok with rar, being at the desk. Cheers, Daniel On 14/01/15 14:43, Julia Boudniatsky wrote: Hello Daniel, Please find in attached file the debug 3 log. Failed call with Call-ID: 4-21712@10.25.153.150 mailto:4-21712@10.25.153.150. The problem occurred with all modes of dlg_match_mode The same load test in 3.3 executed without failures. Thank you, Julia. On Thu, Jan 8, 2015 at 2:06 AM, Daniel-Constantin Mierla mico...@gmail.com mailto:mico...@gmail.com wrote: Hello, can you send all the log messages with debug=3? You selected some in your previous post, but are not enough to get the entire picture of what messages, transactions and dialogs are processed. You can make a tgz and send it to me directly if the size is too big. Cheers, Daniel On 16/12/14 16:01, Julia Boudniatsky wrote: Hello Daniel, Thank you for your reply. We set module dialog with: modparam(dialog, detect_spirals, 1) and modparam(dialog, dlg_match_mode, 1) I analyze log and found that parse_to_param(): DEBUG: add_param: tag= is missing in case of wrong dialog allocation correct dialog === dialog:: hash=1561:6164 state:: 1 ref_count:: 1 timestart:: 0 timeout:: 0 callid:: 8-12006@10.25.153.150 mailto:8-12006@10.25.153.150 from_uri:: sip:039988222@10.25.153.150 mailto:sip%3A039988222@10.25.153.150;user=phone from_tag:: 8 caller_contact:: sip:10.25.153.150:5062 http://10.25.153.150:5062 caller_cseq:: 1 caller_route_set:: caller_bind_addr:: udp:10.25.153.150:5060 http://10.25.153.150:5060 callee_bind_addr:: to_uri:: sip:D39539988200@10.25.153.150 mailto:sip%3AD39539988200@10.25.153.150;user=phone to_tag:: callee_contact:: callee_cseq:: callee_route_set:: dialog detected in 301 dialog:: hash=3838:6551 state:: 5 ref_count:: 1 timestart:: 1418731671 timeout:: 0 callid:: 7-12006@10.25.153.150 mailto:7-12006@10.25.153.150 from_uri:: sip:039988222@10.25.153.150 mailto:sip%3A039988222@10.25.153.150;user=phone from_tag:: 7 caller_contact:: sip:10.25.153.150:5062 http://10.25.153.150:5062 caller_cseq:: 1 caller_route_set:: caller_bind_addr:: udp:10.25.153.150:5060 http://10.25.153.150:5060 callee_bind_addr:: udp:10.25.153.150:5060 http://10.25.153.150:5060 to_uri:: sip:D39539988200@10.25.153.150 mailto:sip%3AD39539988200@10.25.153.150;user=phone to_tag:: 177 callee_contact:: sip:10.25.153.150:5061;transport=UDP callee_cseq:: 0 callee_route_set:: sip:10.25.154.104;lr;ftag=7;vst=AHQAAAwADw8MAHIBAG4DBQADAB0fBAYeCwAADUVIEAFYAlUfBgpuZQ--,sip:10.25.153.150;lr;ftag=7;vst=AHQADw8HDnYFCG4DBQADAB0fBAYeCwAADUVIEAFYAlUfBgpuZQ-- Log debug3 receive1 INVITE === Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin//kamailio[5546]: DEBUG: dialog [dlg_hash.c:720]: internal_get_dlg(): no dialog callid='8-12006@10.25.153.150 mailto:8-12006@10.25.153.150' found Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5546]: DEBUG: dialog [dlg_hash.c:751]: get_dlg(): no dialog callid='8-12006@10.25.153.150 mailto:8-12006@10.25.153.150' found Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5546]: DEBUG: dialog [dlg_handlers.c:1083]: dlg_get_msg_dialog(): dlg with callid '8-12006@10.25.153.150 mailto:8-12006@10.25.153.150' not found dlg_manage(); == Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5546]: DEBUG: dialog [dlg_hash.c:654]: dlg_lookup(): ref dlg 0x7fb318d34fc8 with 1 - 2 Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5546]: DEBUG: dialog [dlg_hash.c:656]: dlg_lookup(): dialog id=6164 found on entry 1561 send INVITE to Server 1 receive from Server 1 (spirals) INVITE different To user - case of number translation Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5541]: DEBUG: dialog [dlg_hash.c:654]: dlg_lookup(): ref dlg 0x7fb318d34fc8 with 1 - 2 Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5541]: DEBUG: dialog [dlg_hash.c:656]: dlg_lookup(): dialog id=6164 found on
Re: [SR-Users] Wrong dialog selected in on_reply/failure route in case of spirals.
Hello, looking again at your diagram, it seems that the Call-Id is the same, but there is a different dialog structure. If you dump the dialogs with kamctl, can you see the two structure listed? Are they with same dialog attributes (From/To/...)? Dialog module has a parameter for detecting spirals, have you set it to some value? Cheers, Daniel On 10/12/14 13:39, Julia Boudniatsky wrote: Hello Daniel, I have tried from latest git branch 4.1 (I see your new patches for dialog ) But the problem steel occur. Thank you, Julia On Wed, Dec 10, 2014 at 12:21 PM, Daniel-Constantin Mierla mico...@gmail.com mailto:mico...@gmail.com wrote: Hello, can you try with latest git branch 4.1 and report the results? I just pushed a patch that should fix it. Cheers, Daniel On 09/12/14 19:06, Julia Boudniatsky wrote: After kamailio upgrade from v3.3 to v4.1.7 in production ~5% of calls with spirals dialog are failed with wrong dialog variables in on-reply/failure routes. The problem has been reproduced in the LAB (load test generated by SIPP). Please see the attached file with debug3 log. Scenario: Proxy Location Kamailio P1 Nbr translation Redirect | INVITE | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150 mailto:5-8286@10.25.153.150) | | |---| | | 100 Trying | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150 mailto:5-8286@10.25.153.150) | | |---| | | | | | INVITE | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150 mailto:5-8286@10.25.153.150) | | |---| | | 100 Trying | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150 mailto:5-8286@10.25.153.150) | | |---| | | | | | INVITE | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150 mailto:5-8286@10.25.153.150)| |--| | 100 Trying| | dlg 0x7f8f8504cda0 | | Call-ID:(5-8286@10.25.153.150 mailto:5-8286@10.25.153.150)| |--| | 301 Moved Permanently | | dlg 0x7f8f8504cda0 | | Call-ID:(5-8286@10.25.153.150 mailto:5-8286@10.25.153.150)| |--| | | Thank you, Julia. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org mailto:sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla http://twitter.com/#!/miconda http://twitter.com/#%21/miconda - http://www.linkedin.com/in/miconda ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org mailto:sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Re: [SR-Users] Wrong dialog selected in on_reply/failure route in case of spirals.
Hello Daniel, Thank you for your reply. We set module dialog with: modparam(dialog, detect_spirals, 1) and modparam(dialog, dlg_match_mode, 1) I analyze log and found that parse_to_param(): DEBUG: add_param: tag= is missing in case of wrong dialog allocation correct dialog === dialog:: hash=1561:6164 state:: 1 ref_count:: 1 timestart:: 0 timeout:: 0 callid:: 8-12006@10.25.153.150 from_uri:: sip:039988222@10.25.153.150;user=phone from_tag:: 8 caller_contact:: sip:10.25.153.150:5062 caller_cseq:: 1 caller_route_set:: caller_bind_addr:: udp:10.25.153.150:5060 callee_bind_addr:: to_uri:: sip:D39539988200@10.25.153.150;user=phone to_tag:: callee_contact:: callee_cseq:: callee_route_set:: dialog detected in 301 dialog:: hash=3838:6551 state:: 5 ref_count:: 1 timestart:: 1418731671 timeout:: 0 callid:: 7-12006@10.25.153.150 from_uri:: sip:039988222@10.25.153.150;user=phone from_tag:: 7 caller_contact:: sip:10.25.153.150:5062 caller_cseq:: 1 caller_route_set:: caller_bind_addr:: udp:10.25.153.150:5060 callee_bind_addr:: udp:10.25.153.150:5060 to_uri:: sip:D39539988200@10.25.153.150;user=phone to_tag:: 177 callee_contact:: sip:10.25.153.150:5061;transport=UDP callee_cseq:: 0 callee_route_set:: sip:10.25.154.104;lr;ftag=7;vst=AHQAAAwADw8MAHIBAG4DBQADAB0fBAYeCwAADUVIEAFYAlUfBgpuZQ--,sip:10.25.153.150;lr;ftag=7;vst=AHQADw8HDnYFCG4DBQADAB0fBAYeCwAADUVIEAFYAlUfBgpuZQ-- Log debug3 receive1 INVITE === Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin//kamailio[5546]: DEBUG: dialog [dlg_hash.c:720]: internal_get_dlg(): no dialog callid=' 8-12006@10.25.153.150' found Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5546]: DEBUG: dialog [dlg_hash.c:751]: get_dlg(): no dialog callid='8-12006@10.25.153.150' found Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5546]: DEBUG: dialog [dlg_handlers.c:1083]: dlg_get_msg_dialog(): dlg with callid ' 8-12006@10.25.153.150' not found dlg_manage(); == Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5546]: DEBUG: dialog [dlg_hash.c:654]: dlg_lookup(): ref dlg 0x7fb318d34fc8 with 1 - 2 Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5546]: DEBUG: dialog [dlg_hash.c:656]: dlg_lookup(): dialog id=6164 found on entry 1561 send INVITE to Server 1 receive from Server 1 (spirals) INVITE different To user - case of number translation Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5541]: DEBUG: dialog [dlg_hash.c:654]: dlg_lookup(): ref dlg 0x7fb318d34fc8 with 1 - 2 Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5541]: DEBUG: dialog [dlg_hash.c:656]: dlg_lookup(): dialog id=6164 found on entry 1561 Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5541]: DEBUG: dialog [dlg_profile.c:427]: set_current_dialog(): setting current dialog [1561:6164] send INVITE to Server 2 To = To in INVITE to Server 1 Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5543]: DEBUG: dialog [dlg_hash.c:711]: internal_get_dlg(): ref dlg 0x7fb318d34fc8 with 1 - 2 Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5543]: DEBUG: dialog [dlg_hash.c:714]: internal_get_dlg(): dialog callid=' 8-12006@10.25.153.150' found on entry 1561, dir=1 100 from Server 1 Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5541]: DEBUG: dialog [dlg_hash.c:654]: dlg_lookup(): ref dlg 0x7fb318d34fc8 with 1 - 3 Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5541]: DEBUG: dialog [dlg_hash.c:656]: dlg_lookup(): dialog id=6164 found on entry 1561 100 from Server 2 Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5544]: DEBUG: core [parser/msg_parser.c:106]: get_hdr_field(): found end of header ! Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5544]: DEBUG: core [parser/parse_addr_spec.c:176]: parse_to_param(): DEBUG: add_param: tag=8 Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5544]: DEBUG: core [parser/parse_addr_spec.c:898]: parse_addr_spec(): end of header reached, state=29 Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5544]: DEBUG: dialog [dlg_hash.c:711]: internal_get_dlg(): ref dlg 0x7fb318d34fc8 with 1 - 2 Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5544]: DEBUG: dialog [dlg_hash.c:714]: internal_get_dlg(): dialog callid=' 8-12006@10.25.153.150' found on entry 1561, dir=1 301 from Server 2 = Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5540]: DEBUG: core [receive.c:152]: receive_msg(): After parse_msg... Dec 16 14:07:49 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[5540]: DEBUG: tm [t_lookup.c:1072]: t_check_msg():
[SR-Users] Wrong dialog selected in on_reply/failure route in case of spirals.
After kamailio upgrade from v3.3 to v4.1.7 in production ~5% of calls with spirals dialog are failed with wrong dialog variables in on-reply/failure routes. The problem has been reproduced in the LAB (load test generated by SIPP). Please see the attached file with debug3 log. Scenario: Proxy Location Kamailio P1 Nbr translation Redirect | INVITE | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150) | | |---| | | 100 Trying | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150) | | |---| | || | | INVITE | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150) | | |---| | | 100 Trying | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150) | | |---| | || | | INVITE | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150)| |--| | 100 Trying| | dlg 0x7f8f8504cda0 | | Call-ID:(5-8286@10.25.153.150)| |--| | 301 Moved Permanently | | dlg 0x7f8f8504cda0 | | Call-ID:(5-8286@10.25.153.150)| |--| | | Thank you, Julia. Dec 9 14:24:11 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[6365]: NOTICE: KAMnet: RELAY: dlg_hash=7851:1036 INVITE from IVRcustomer to LNP ru=sip:039936648@192.168.180.1:5081 fu=sip:039988222@10.25.153.150;user=phone tu=sip:039936648@10.25.153.150:5060;user=phone ai=sip:039988222@10.25.153.150;user=phone ci=5-8286@10.25.153.150 cl=201 di=Arik Lustigsip:36264836@10.25.148.1;user=phone;privacy=off;reason=deflection;answered;counter=1 branch[0] Dec 9 14:24:11 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[6365]: DEBUG: dialog [dlg_hash.c:711]: internal_get_dlg(): ref dlg 0x7f8f8501aba0 with 1 - 2 Dec 9 14:24:11 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[6365]: DEBUG: dialog [dlg_hash.c:714]: internal_get_dlg(): dialog callid='5-8286@10.25.153.150' found on entry 1036, dir=1 Dec 9 14:24:11 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[6365]: DEBUG: dialog [dlg_var.c:227]: print_lists(): Internal var-list ((nil)): Dec 9 14:24:11 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[6365]: DEBUG: dialog [dlg_var.c:237]: print_lists(): Dialog var-list (0x7f8f85011230): Dec 9 14:24:11 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[6365]: DEBUG: dialog [dlg_var.c:242]: print_lists(): ServNum=039936648 (flags 1) Dec 9 14:24:11 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[6365]: DEBUG: dialog [dlg_var.c:242]: print_lists(): ServIP=10.25.154.104 (flags 1) Dec 9 14:24:11 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[6365]: DEBUG: dialog [dlg_var.c:242]: print_lists(): ServCarrier=IEC1 (flags 1) Dec 9 14:24:11 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[6365]: DEBUG: dialog [dlg_var.c:242]: print_lists(): LegNum=1 (flags 1) Dec 9 14:24:11 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[6365]: DEBUG: dialog [dlg_var.c:242]: print_lists(): branch=0 (flags 1) Dec 9 14:24:11 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[6365]: DEBUG: dialog [dlg_var.c:242]: print_lists(): OutTrunk=LNPVERAZNEW-1 (flags 0) Dec 9 14:24:11 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[6365]: DEBUG: dialog [dlg_var.c:242]: print_lists(): CHARGE=n (flags 0) Dec 9 14:24:11 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[6365]: DEBUG: dialog [dlg_var.c:242]: print_lists(): DEST=LNP (flags 0) Dec 9 14:24:11 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[6365]: DEBUG: dialog [dlg_var.c:242]: print_lists(): henek=y (flags 1) Dec 9
Re: [SR-Users] Wrong dialog selected in on_reply/failure route in case of spirals.
Hello, can you try with latest git branch 4.1 and report the results? I just pushed a patch that should fix it. Cheers, Daniel On 09/12/14 19:06, Julia Boudniatsky wrote: After kamailio upgrade from v3.3 to v4.1.7 in production ~5% of calls with spirals dialog are failed with wrong dialog variables in on-reply/failure routes. The problem has been reproduced in the LAB (load test generated by SIPP). Please see the attached file with debug3 log. Scenario: Proxy Location Kamailio P1 Nbr translation Redirect | INVITE | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150 mailto:5-8286@10.25.153.150) | | |---| | | 100 Trying | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150 mailto:5-8286@10.25.153.150) | | |---| | || | | INVITE | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150 mailto:5-8286@10.25.153.150) | | |---| | | 100 Trying | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150 mailto:5-8286@10.25.153.150) | | |---| | || | | INVITE | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150 mailto:5-8286@10.25.153.150)| |--| | 100 Trying| | dlg 0x7f8f8504cda0 | | Call-ID:(5-8286@10.25.153.150 mailto:5-8286@10.25.153.150)| |--| | 301 Moved Permanently | | dlg 0x7f8f8504cda0 | | Call-ID:(5-8286@10.25.153.150 mailto:5-8286@10.25.153.150)| |--| | | Thank you, Julia. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Wrong dialog selected in on_reply/failure route in case of spirals.
Hello Daniel, I have tried from latest git branch 4.1 (I see your new patches for dialog ) But the problem steel occur. Thank you, Julia On Wed, Dec 10, 2014 at 12:21 PM, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello, can you try with latest git branch 4.1 and report the results? I just pushed a patch that should fix it. Cheers, Daniel On 09/12/14 19:06, Julia Boudniatsky wrote: After kamailio upgrade from v3.3 to v4.1.7 in production ~5% of calls with spirals dialog are failed with wrong dialog variables in on-reply/failure routes. The problem has been reproduced in the LAB (load test generated by SIPP). Please see the attached file with debug3 log. Scenario: Proxy Location Kamailio P1 Nbr translation Redirect | INVITE | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150) | | |---| | | 100 Trying | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150) | | |---| | || | | INVITE | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150) | | |---| | | 100 Trying | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150) | | |---| | || | | INVITE | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150)| |--| | 100 Trying| | dlg 0x7f8f8504cda0 | | Call-ID:(5-8286@10.25.153.150)| |--| | 301 Moved Permanently | | dlg 0x7f8f8504cda0 | | Call-ID:(5-8286@10.25.153.150)| |--| | | Thank you, Julia. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-us...@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Wrong dialog selected in on_reply/failure route in case of spirals.
Hello, do you see in logs the message printed by: LM_DBG(resetting the local dialog shortcuts\n); Cheers, Daniel On 10/12/14 13:39, Julia Boudniatsky wrote: Hello Daniel, I have tried from latest git branch 4.1 (I see your new patches for dialog ) But the problem steel occur. Thank you, Julia On Wed, Dec 10, 2014 at 12:21 PM, Daniel-Constantin Mierla mico...@gmail.com mailto:mico...@gmail.com wrote: Hello, can you try with latest git branch 4.1 and report the results? I just pushed a patch that should fix it. Cheers, Daniel On 09/12/14 19:06, Julia Boudniatsky wrote: After kamailio upgrade from v3.3 to v4.1.7 in production ~5% of calls with spirals dialog are failed with wrong dialog variables in on-reply/failure routes. The problem has been reproduced in the LAB (load test generated by SIPP). Please see the attached file with debug3 log. Scenario: Proxy Location Kamailio P1 Nbr translation Redirect | INVITE | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150 mailto:5-8286@10.25.153.150) | | |---| | | 100 Trying | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150 mailto:5-8286@10.25.153.150) | | |---| | | | | | INVITE | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150 mailto:5-8286@10.25.153.150) | | |---| | | 100 Trying | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150 mailto:5-8286@10.25.153.150) | | |---| | | | | | INVITE | | | dlg 0x7f8f8501aba0 | | | Call-ID:(5-8286@10.25.153.150 mailto:5-8286@10.25.153.150)| |--| | 100 Trying| | dlg 0x7f8f8504cda0 | | Call-ID:(5-8286@10.25.153.150 mailto:5-8286@10.25.153.150)| |--| | 301 Moved Permanently | | dlg 0x7f8f8504cda0 | | Call-ID:(5-8286@10.25.153.150 mailto:5-8286@10.25.153.150)| |--| | | Thank you, Julia. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org mailto:sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla http://twitter.com/#!/miconda http://twitter.com/#%21/miconda - http://www.linkedin.com/in/miconda ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org mailto:sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users