I have a situation that I can't get my head around. Every so often I have a SCA seized and I need to manually release it. Here is the log of the sca and bye from the event logs.
messages-20150920:Sep 18 14:35:28 sip-registrar /usr/sbin/kamailio[7608]: ERROR: sca [sca_call_info.c:1580]: sca_call_info_bye_handler(): sca_call_info_bye_handler: sip:Mindfield@kamailio.newgarllc.com dialog leg 96b9ad37-9a7fa462-15c35d3@192.168.1.117;1c389191866 is not active
messages-20150920:Sep 18 14:35:28 sip-registrar /usr/sbin/kamailio[7610]: NOTICE: acc [acc.c:317]: acc_log_request(): ACC: transaction answered: timestamp=1442601328;method=BYE;from_tag=76C3EC1F-114D759A;to_tag=1c389191866;call_id=96b9ad37-9a7fa462-15c35d3@192.168.1.117;code=200;reason=OK;src_user=Mindfield;src_domain=kamailio.newgarllc.com;src_ip=192.168.1.40;dst_ouser=Mindfield;dst_user=Mindfield;dst_domain=192.168.1.117
And the kamcmd showing the seize line (in this case both are seized)
sip:Mindfield@kamailio.newgarllc.com 1 active 1442601278 sip:Mindfield@192.168.1.117 sip:1030@192.168.1.40:5060 96b9ad37-9a7fa462-15c35d3@192.168.1.117 76C3EC1F-114D759A 1c389191866
I am running Kamailio 4.2.6. The phones are Polycom VVX 310/410 running 5.3.1. And the PSTN gateway is an Audiocodes Mediant 1000 running 6.60A.292.001.
The call volume is light so I don't think there is a lot of traffic but there is about 16 phones one SCA. It is not happening all time. Could be a couple days that nothing happens and then there could be a couple days that it happens multiple times a day. I can't find a common element that would be causing this unless the 'bye' is closing the call before the SCA has a chance to do something with it.
Thanks Kev
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/341
If you can get a clean packet capture, feel free to send it to me off-list.
If you can't, then perhaps you can dig all of the Kamailio logs out for those call IDs?
-- Jorj
On 9/23/15 3:44 PM, Kevin Scott Adams wrote:
I have a situation that I can't get my head around. Every so often I have a SCA seized and I need to manually release it. Here is the log of the sca and bye from the event logs.
messages-20150920:Sep 18 14:35:28 sip-registrar /usr/sbin/kamailio[7608]: ERROR: sca [sca_call_info.c:1580]: sca_call_info_bye_handler(): sca_call_info_bye_handler: sip:Mindfield@kamailio.newgarllc.com mailto:Mindfield@kamailio.newgarllc.com dialog leg 96b9ad37-9a7fa462-15c35d3@192.168.1.117;1c389191866 is not active
messages-20150920:Sep 18 14:35:28 sip-registrar /usr/sbin/kamailio[7610]: NOTICE: acc [acc.c:317]: acc_log_request(): ACC: transaction answered: timestamp=1442601328;method=BYE;from_tag=76C3EC1F-114D759A;to_tag=1c389191866;call_id=96b9ad37-9a7fa462-15c35d3@192.168.1.117;code=200;reason=OK;src_user=Mindfield;src_domain=kamailio.newgarllc.com;src_ip=192.168.1.40;dst_ouser=Mindfield;dst_user=Mindfield;dst_domain=192.168.1.117
And the kamcmd showing the seize line (in this case both are seized)
sip:Mindfield@kamailio.newgarllc.com mailto:Mindfield@kamailio.newgarllc.com 1 active 1442601278 sip:Mindfield@192.168.1.117 sip:1030@192.168.1.40:5060 96b9ad37-9a7fa462-15c35d3@192.168.1.117 76C3EC1F-114D759A 1c389191866
I am running Kamailio 4.2.6. The phones are Polycom VVX 310/410 running 5.3.1. And the PSTN gateway is an Audiocodes Mediant 1000 running 6.60A.292.001.
The call volume is light so I don't think there is a lot of traffic but there is about 16 phones one SCA. It is not happening all time. Could be a couple days that nothing happens and then there could be a couple days that it happens multiple times a day. I can't find a common element that would be causing this unless the 'bye' is closing the call before the SCA has a chance to do something with it.
Thanks Kev
— Reply to this email directly or view it on GitHub https://github.com/kamailio/kamailio/issues/341.
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
It will be hard to get a packet capture but I can give you what I have in the logs. I will also get homer going which should give us a better capture due to it sporadicness. Where would you like me to send it too?
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/341#issuecomment-142709756
You can send it directly to me off-list.
-- Jorj
On 9/23/15 3:51 PM, Kevin Scott Adams wrote:
It will be hard to get a packet capture but I can give you what I have in the logs. I will also get homer going which should give us a better capture due to it sporadicness. Where would you like me to send it too?
— Reply to this email directly or view it on GitHub https://github.com/kamailio/kamailio/issues/341#issuecomment-142709756.
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Jorj,
What is the email address to send you the capture and SCA output. I think I see the issue but don't know why it happens?
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/341#issuecomment-146525266
Ill try this...hope it works.
sip:Mindfield@kamailio.newgarllc.com 1 active 1444143590 sip:Mindfield@192.168.1.85 sip:1030@192.168.1.40:5060 e90b49fb-d94a179a-a738a3@192.168.1.85 7EF5202B-6BC5E1EA 1c836141488
Thanks,
Kevin Scott Adams KSA Technologies, LLC 4625 Sundew Street Commerce Township, MI. 48382
http://www.ksatechnologies.com kevin.adams@ksatechnologies.com P: +1 248 521 8203 ----- Original Message -----
From: "kamailio-sync" notifications@github.com To: "kamailio/kamailio" kamailio@noreply.github.com Cc: "Kevin Scott Adams" thegrandwazoo@ksatechnologies.com Sent: Wednesday, September 23, 2015 6:43:03 PM Subject: Re: [kamailio] Module:sca Line seize does not release after some 'BYE's (#341)
You can send it directly to me off-list.
-- Jorj
On 9/23/15 3:51 PM, Kevin Scott Adams wrote:
It will be hard to get a packet capture but I can give you what I have in the logs. I will also get homer going which should give us a better capture due to it sporadicness. Where would you like me to send it too?
— Reply to this email directly or view it on GitHub https://github.com/kamailio/kamailio/issues/341#issuecomment-142709756.
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
— Reply to this email directly or view it on GitHub .
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/341#issuecomment-146581163
Jorj, The issue seems to be only with the Polycom UA making a call outbound. I can not find an issue with and inbound call. The Call-ID of the seize/appearance seems to be missing some characters on the prefix of the at-sign in relations to the real Call-ID of the INVITE/BYE.
Just my observation.
Kev
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/341#issuecomment-147733763
Apologies for being unresponsive; I've recently left Penn.
I'll need more detail, unfortunately. Can you send any log messages relating to that Call ID?
e90b49fb-d94a179a-a738a3@192.168.1.85
-- Jorj
On 10/13/15 10:34 AM, Kevin Scott Adams wrote:
Jorj, The issue seems to be only with the Polycom UA making a call outbound. I can not find an issue with and inbound call. The Call-ID of the seize/appearance seems to be missing some characters on the prefix of the at-sign in relations to the real Call-ID of the INVITE/BYE.
Just my observation.
Kev
— Reply to this email directly or view it on GitHub https://github.com/kamailio/kamailio/issues/341#issuecomment-147733763.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/341#issuecomment-148034032
Jorj,
I do not have that log file any more. I will need to look for a new seize and give you that info.
Sorry about that,
Kevin Scott Adams KSA Technologies, LLC 4625 Sundew Street Commerce Township, MI. 48382
http://www.ksatechnologies.com kevin.adams@ksatechnologies.com P: +1 248 521 8203 ----- Original Message -----
From: "Jorj Bauer" notifications@github.com To: "kamailio/kamailio" kamailio@noreply.github.com Cc: "Kevin Scott Adams" thegrandwazoo@ksatechnologies.com Sent: Wednesday, October 14, 2015 8:28:57 AM Subject: Re: [kamailio] Module:sca Line seize does not release after some 'BYE's (#341)
Apologies for being unresponsive; I've recently left Penn.
I'll need more detail, unfortunately. Can you send any log messages relating to that Call ID?
e90b49fb-d94a179a-a738a3@192.168.1.85
-- Jorj
On 10/13/15 10:34 AM, Kevin Scott Adams wrote:
Jorj, The issue seems to be only with the Polycom UA making a call outbound. I can not find an issue with and inbound call. The Call-ID of the seize/appearance seems to be missing some characters on the prefix of the at-sign in relations to the real Call-ID of the INVITE/BYE.
Just my observation.
Kev
— Reply to this email directly or view it on GitHub https://github.com/kamailio/kamailio/issues/341#issuecomment-147733763.
— Reply to this email directly or view it on GitHub .
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/341#issuecomment-149204328
Jorj, It happened again but the logs do not show any reference to the Call-ID except the <BYE>. I can not find the invite for that call in the logs. I have a Homer capture of the <INVITE> to the <BYE>.
I'm going to see on my test system if I can find out why we might be missing these <INVITE>s.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/341#issuecomment-149887846
Closed #341.
--- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/341#event-683451886
Reopen if this issue is still actual and new details can be provided.
--- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/341#issuecomment-224086553
Yes, it is still happening under 4.2 at the current git patch.
Phones are Polycom VVX310/410 at 5.3.2 and I have Homer running to capture.
Problem is only outbound from Polycom to an outside line via an Audiocode Mediant 1000 with the phone(s) having 2 different SCA's and 2 to 3 line appearances per SCA.
Thanks,
Kevin Scott Adams
4625 Sundew Street Commerce Township, MI. 48382 Phone: +1 248 521 8203 Email: kevin.adams@ksatechnologies.com Web: www.ksatechnologies.com
----- Original Message -----
From: "Daniel-Constantin Mierla" notifications@github.com To: "kamailio/kamailio" kamailio@noreply.github.com Cc: "Kevin Scott Adams" thegrandwazoo@ksatechnologies.com, "Author" author@noreply.github.com Sent: Monday, June 6, 2016 4:59:22 PM Subject: Re: [kamailio/kamailio] Module:sca Line seize does not release after some 'BYE's (#341)
Reopen if this issue is still actual and new details can be provided. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub , or mute the thread .
--- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/341#issuecomment-224311995
Is there a committer/developer for this module?
--- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/341#issuecomment-224312470
Typical log entry under the [SCA] route for this situation...
Jun 6 11:14:28 sip-registrar /usr/sbin/kamailio[15361]: exec: *** cfgtrace:request_route=[SCA] c=[//etc/kamailio/kamailio.cfg] l=984 a=16 n=if Jun 6 11:14:28 sip-registrar /usr/sbin/kamailio[15361]: exec: *** cfgtrace:request_route=[SCA] c=[//etc/kamailio/kamailio.cfg] l=974 a=25 n=is_method Jun 6 11:14:28 sip-registrar /usr/sbin/kamailio[15361]: exec: *** cfgtrace:request_route=[SCA] c=[//etc/kamailio/kamailio.cfg] l=990 a=16 n=if Jun 6 11:14:28 sip-registrar /usr/sbin/kamailio[15361]: exec: *** cfgtrace:request_route=[SCA] c=[//etc/kamailio/kamailio.cfg] l=984 a=25 n=is_method Jun 6 11:14:28 sip-registrar /usr/sbin/kamailio[15361]: exec: *** cfgtrace:request_route=[SCA] c=[//etc/kamailio/kamailio.cfg] l=990 a=24 n=sca_call_info_update Jun 6 11:14:28 sip-registrar /usr/sbin/kamailio[15361]: DEBUG: sca [sca_util.c:53]: sca_get_msg_contact_uri(): Empty Contact header Jun 6 11:14:28 sip-registrar /usr/sbin/kamailio[15361]: DEBUG: sca [sca_util.c:53]: sca_get_msg_contact_uri(): Empty Contact header Jun 6 11:14:28 sip-registrar /usr/sbin/kamailio[15361]: ERROR: sca [sca_call_info.c:1580]: sca_call_info_bye_handler(): sca_call_info_bye_handler: sip:ParksAndRec@kamailio.newgarllc.com dialog leg 170216930662016111325@192.168.1.40;584cf90b-57a7-4543-bfda-fd7cd71ca84c is not active Jun 6 11:14:28 sip-registrar /usr/sbin/kamailio[15361]: ERROR: sca [sca_call_info.c:2032]: sca_call_info_update(): Failed to update Call-Info state for Jun 6 11:14:28 sip-registrar /usr/sbin/kamailio[15361]: exec: *** cfgtrace:request_route=[SCA] c=[//etc/kamailio/kamailio.cfg] l=993 a=2 n=return
The [SCA] route is the one in the modules readme or website doc.
--- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/341#issuecomment-224317941
Another seized via kamcmd sca.all_appearances
Saturday, June 04, 2016 1:04:30 PM sip:RepublicTavern@kamailio.newgarllc.com 1 active 1465059870 sip:RepublicTavern@192.168.1.111 sip:1030@192.168.1.40:5060 fe298e35-e351232c-867b4191@192.168.1.111 F8EA101D-EEDFCE4 1c1260378071
Log on the siezed.... Jun 4 13:05:40 sip-registrar /usr/sbin/kamailio[5508]: exec: *** cfgtrace:request_route=[SCA] c=[//etc/kamailio/kamailio.cfg] l=983 a=16 n=if Jun 4 13:05:40 sip-registrar /usr/sbin/kamailio[5508]: exec: *** cfgtrace:request_route=[SCA] c=[//etc/kamailio/kamailio.cfg] l=973 a=25 n=is_method Jun 4 13:05:40 sip-registrar /usr/sbin/kamailio[5508]: exec: *** cfgtrace:request_route=[SCA] c=[//etc/kamailio/kamailio.cfg] l=989 a=16 n=if Jun 4 13:05:40 sip-registrar /usr/sbin/kamailio[5508]: exec: *** cfgtrace:request_route=[SCA] c=[//etc/kamailio/kamailio.cfg] l=983 a=25 n=is_method Jun 4 13:05:40 sip-registrar /usr/sbin/kamailio[5508]: exec: *** cfgtrace:request_route=[SCA] c=[//etc/kamailio/kamailio.cfg] l=989 a=24 n=sca_call_info_update Jun 4 13:05:40 sip-registrar /usr/sbin/kamailio[5508]: DEBUG: sca [sca_util.c:53]: sca_get_msg_contact_uri(): Empty Contact header Jun 4 13:05:40 sip-registrar /usr/sbin/kamailio[5508]: DEBUG: sca [sca_util.c:53]: sca_get_msg_contact_uri(): Empty Contact header Jun 4 13:05:40 sip-registrar /usr/sbin/kamailio[5508]: ERROR: sca [sca_call_info.c:1580]: sca_call_info_bye_handler(): sca_call_info_bye_handler: sip:RepublicTavern@kamailio.newgarllc.com dialog leg fe298e35-e351232c-867b4191@192.168.1.111;1c1260378071 is not active Jun 4 13:05:40 sip-registrar /usr/sbin/kamailio[5508]: ERROR: sca [sca_call_info.c:2032]: sca_call_info_update(): Failed to update Call-Info state for Jun 4 13:05:40 sip-registrar /usr/sbin/kamailio[5508]: exec: *** cfgtrace:request_route=[SCA] c=[//etc/kamailio/kamailio.cfg] l=992 a=2 n=return
--- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/341#issuecomment-224328204
@JorjBauer used to maintain the module at some point, but I think he changed positions and not sure if he is still involved in some work with the module.
--- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/341#issuecomment-224347748
Reopened #341.
--- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/341#event-684672369
Good day. I think I have a lead on this to help come up with a resolution. I might be able to do it myself but I need to really dig into the code and kamailio to understand it better. First, I was using the sip_trace module along with Homer to gather the info, but it did seem incomplete. The work of the SCA module is not picked up by the sip_trace module. I believe because it if doing instead script work and sending its own packets, which would not be picked up by the script anymore. I finally used sngrep (referred by Javan Strika who is also having the issue) and was able to see the entire conversations for the SCA's. But the sngrep in a "HEP" and "non verbose" mode seems to have a memory leak and will crash kamailio due to no more memory. So, I am now turning to captagent to get a more stable system to get better traces for this issue.
Now for the SCA problem. It seems that the unreleased "seized event" resides with the "held" event and the reinvite/invite that occurs to kamailio. It seems to get lost, hungup. pushed around or jacked up in the 'route[WITHINDLG]' section of the script and the reinvites/invites will keep happening until a timeout occurs or the sometimes I have seen the 404 Not here error occur.
I know this is not much to go on until I upload a good trace but maybe a brainiac might go...Oh, I know that problem and quicker fix.
Using Kamailio 4.2.7 with latest patches. CentOS 6.7-latest. One test bed is a mix of 2 Polycom VVX [34]10 with 5.4.4 and 1 Polycom 650 with 3.3.5; Another is a mix of 14 Polycoms VVX [34]10 with 5.3.2, another is a mix of 4 Polycom VVX [34]10 with 5.3.2
--- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/341#issuecomment-231119363