[SR-Users] Inconsistent dlg timer data warning at dialog timeout

2015-04-15 Thread Mickael Marrache
Hi,

 

I get the following warning when a dialog timeout occurs:

 

kamailio[18889]: WARNING: dialog [dlg_req_within.c:214]: bye_reply_cb():
inconsitent dlg timer data on dlg 0x7f422986e448 [3547:6673] with clid
'mycvJWgmbmOSD5XQrcStKAKoTfW12XeR' and tags
'C5mlsaZCdTmybNSYgvWr75MBxWa5hVyA' 'L1ZzszpZ1MYO6qlQQ3FYYRWQYtF4F75r'

 

Am I doing something wrong?

 

Thanks,

Mickael

___
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] Inconsistent dlg timer data warning at dialog timeout

2015-04-15 Thread Mickael Marrache
Ok I understand, the warning is generated in bye_reply_cb() which I guess is
called when the 200 is received for the BYE, and in this case, there are two
200 (one for each BYE).

 

The function send_bye() [dlg_req_within.c:325] is called twice: once for the
caller and another time for the callee. I also see the bye_reply_cb callback
is registered for each BYE sent, therefore this callback is called twice.

 

Therefore, I conclude this warning will appear every time a dialog timeout
occurs?

 

From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] 
Sent: Wednesday, April 15, 2015 4:49 PM
To: Mickael Marrache; 'Kamailio (SER) - Users Mailing List'
Subject: Re: [SR-Users] Inconsistent dlg timer data warning at dialog
timeout

 

 

On 15/04/15 15:42, Mickael Marrache wrote:

It looks like it is a real issue since CDRs are not generated on dialog
timeout.

 

If the dialog is not in the timer list, does that mean the DLGCB_EXPIRED
callbacks are not called?

The log message is not related. It pure about trying to see if the dialog is
still in the timer list and remove it, failing because it was already
removed -- it will not get to that state if it was not in the timer already.

Daniel




 

From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of
Daniel-Constantin Mierla
Sent: Wednesday, April 15, 2015 3:22 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Inconsistent dlg timer data warning at dialog
timeout

 

Hello,

On 15/04/15 14:04, Mickael Marrache wrote:

Hi,

 

I get the following warning when a dialog timeout occurs:

 

kamailio[18889]: WARNING: dialog [dlg_req_within.c:214]: bye_reply_cb():
inconsitent dlg timer data on dlg 0x7f422986e448 [3547:6673] with clid
'mycvJWgmbmOSD5XQrcStKAKoTfW12XeR' and tags
'C5mlsaZCdTmybNSYgvWr75MBxWa5hVyA' 'L1ZzszpZ1MYO6qlQQ3FYYRWQYtF4F75r'

 

Am I doing something wrong?

do you get it always when a dialog times out?

The warning is for the case when the dialog is no longer on timer list,
which can happen when there are two BYEs crossing through. The situation is
harmless, perhaps the log message has to be done as info not warning.

Cheers,
Daniel




-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda http://twitter.com/#%21/miconda  -
http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com





-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com
___
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] Inconsistent dlg timer data warning at dialog timeout

2015-04-15 Thread Alex Balashov
  Yes, that is an accurate conclusion, and there is no harm in it.Hopefully, dialog timeouts are a relatively aberrant event. The whole spoof-BYE implementation is a hack, outside the prescribed behaviour for SIP proxies, which cannot normally originate any requests. Abnormal events are often accompanied by abnormal errors.--AlexBalashov|Principal|EvaristeSystemsLLC303PerimeterCenterNorth,Suite300Atlanta,GA30346UnitedStatesTel:+1-800-250-5920(toll-free)/+1-678-954-0671(direct)Web:http://www.evaristesys.com/,http://www.csrpswitch.com/SentfrommyBlackBerry.From: Mickael MarracheSent: Wednesday, April 15, 2015 10:07To: mico...@gmail.com; 'Kamailio (SER) - Users Mailing List'Reply To: Kamailio (SER) - Users Mailing ListSubject: Re: [SR-Users] Inconsistent dlg timer data warning at dialog timeoutOk I understand, the warning is generated in bye_reply_cb() which I guess is called when the 200 is received for the BYE, and in this case, there are two 200 (one for each BYE).The function send_bye() [dlg_req_within.c:325] is called twice: once for the caller and another time for the callee. I also see the bye_reply_cb callback is registered for each BYE sent, therefore this callback is called twice.Therefore, I conclude this warning will appear every time a dialog timeout occurs?From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Wednesday, April 15, 2015 4:49 PMTo: Mickael Marrache; 'Kamailio (SER) - Users Mailing List'Subject: Re: [SR-Users] Inconsistent dlg timer data warning at dialog timeoutOn 15/04/15 15:42, Mickael Marrache wrote:It looks like it is a real issue since CDRs are not generated on dialog timeout.If the dialog is not in the timer list, does that mean the DLGCB_EXPIRED callbacks are not called?The log message is not related. It pure about trying to see if the dialog is still in the timer list and remove it, failing because it was already removed -- it will not get to that state if it was not in the timer already.DanielFrom: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Daniel-Constantin MierlaSent: Wednesday, April 15, 2015 3:22 PMTo: Kamailio (SER) - Users Mailing ListSubject: Re: [SR-Users] Inconsistent dlg timer data warning at dialog timeoutHello,On 15/04/15 14:04, Mickael Marrache wrote:Hi,I get the following warning when a dialog timeout occurs:kamailio[18889]: WARNING: dialog [dlg_req_within.c:214]: bye_reply_cb(): inconsitent dlg timer data on dlg 0x7f422986e448 [3547:6673] with clid 'mycvJWgmbmOSD5XQrcStKAKoTfW12XeR' and tags 'C5mlsaZCdTmybNSYgvWr75MBxWa5hVyA' 'L1ZzszpZ1MYO6qlQQ3FYYRWQYtF4F75r'Am I doing something wrong?do you get it always when a dialog times out?The warning is for the case when the dialog is no longer on timer list, which can happen when there are two BYEs crossing through. The situation is harmless, perhaps the log message has to be done as info not warning.Cheers,Daniel-- Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/micondaKamailio World Conference, May 27-29, 2015Berlin, Germany - http://www.kamailioworld.com-- Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/micondaKamailio World Conference, May 27-29, 2015Berlin, Germany - http://www.kamailioworld.com

___
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] Inconsistent dlg timer data warning at dialog timeout

2015-04-15 Thread Daniel-Constantin Mierla
Hello,

On 15/04/15 14:04, Mickael Marrache wrote:

 Hi,

  

 I get the following warning when a dialog timeout occurs:

  

 kamailio[18889]: WARNING: dialog [dlg_req_within.c:214]:
 bye_reply_cb(): inconsitent dlg timer data on dlg 0x7f422986e448
 [3547:6673] with clid 'mycvJWgmbmOSD5XQrcStKAKoTfW12XeR' and tags
 'C5mlsaZCdTmybNSYgvWr75MBxWa5hVyA' 'L1ZzszpZ1MYO6qlQQ3FYYRWQYtF4F75r'

  

 Am I doing something wrong?

do you get it always when a dialog times out?

The warning is for the case when the dialog is no longer on timer list,
which can happen when there are two BYEs crossing through. The situation
is harmless, perhaps the log message has to be done as info not warning.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com

___
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] Inconsistent dlg timer data warning at dialog timeout

2015-04-15 Thread Daniel-Constantin Mierla


On 15/04/15 15:42, Mickael Marrache wrote:

 It looks like it is a real issue since CDRs are not generated on
 dialog timeout.

  

 If the dialog is not in the timer list, does that mean the
 DLGCB_EXPIRED callbacks are not called?

The log message is not related. It pure about trying to see if the
dialog is still in the timer list and remove it, failing because it was
already removed -- it will not get to that state if it was not in the
timer already.

Daniel

  

 *From:*sr-users [mailto:sr-users-boun...@lists.sip-router.org] *On
 Behalf Of *Daniel-Constantin Mierla
 *Sent:* Wednesday, April 15, 2015 3:22 PM
 *To:* Kamailio (SER) - Users Mailing List
 *Subject:* Re: [SR-Users] Inconsistent dlg timer data warning at
 dialog timeout

  

 Hello,

 On 15/04/15 14:04, Mickael Marrache wrote:

 Hi,

  

 I get the following warning when a dialog timeout occurs:

  

 kamailio[18889]: WARNING: dialog [dlg_req_within.c:214]:
 bye_reply_cb(): inconsitent dlg timer data on dlg 0x7f422986e448
 [3547:6673] with clid 'mycvJWgmbmOSD5XQrcStKAKoTfW12XeR' and tags
 'C5mlsaZCdTmybNSYgvWr75MBxWa5hVyA' 'L1ZzszpZ1MYO6qlQQ3FYYRWQYtF4F75r'

  

 Am I doing something wrong?

 do you get it always when a dialog times out?

 The warning is for the case when the dialog is no longer on timer
 list, which can happen when there are two BYEs crossing through. The
 situation is harmless, perhaps the log message has to be done as info
 not warning.

 Cheers,
 Daniel

 -- 
 Daniel-Constantin Mierla
 http://twitter.com/#!/miconda http://twitter.com/#%21/miconda - 
 http://www.linkedin.com/in/miconda
 Kamailio World Conference, May 27-29, 2015
 Berlin, Germany - http://www.kamailioworld.com

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com

___
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] Inconsistent dlg timer data warning at dialog timeout

2015-04-15 Thread Mickael Marrache
Also, I get this warning without two BYEs crossing since the BYEs are
generated by Kamailio and sent to the caller and callee.

 

From: Mickael Marrache [mailto:mickaelmarra...@gmail.com] 
Sent: Wednesday, April 15, 2015 4:43 PM
To: 'mico...@gmail.com'; 'Kamailio (SER) - Users Mailing List'
Subject: RE: [SR-Users] Inconsistent dlg timer data warning at dialog
timeout

 

It looks like it is a real issue since CDRs are not generated on dialog
timeout.

 

If the dialog is not in the timer list, does that mean the DLGCB_EXPIRED
callbacks are not called?

 

From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of
Daniel-Constantin Mierla
Sent: Wednesday, April 15, 2015 3:22 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Inconsistent dlg timer data warning at dialog
timeout

 

Hello,

On 15/04/15 14:04, Mickael Marrache wrote:

Hi,

 

I get the following warning when a dialog timeout occurs:

 

kamailio[18889]: WARNING: dialog [dlg_req_within.c:214]: bye_reply_cb():
inconsitent dlg timer data on dlg 0x7f422986e448 [3547:6673] with clid
'mycvJWgmbmOSD5XQrcStKAKoTfW12XeR' and tags
'C5mlsaZCdTmybNSYgvWr75MBxWa5hVyA' 'L1ZzszpZ1MYO6qlQQ3FYYRWQYtF4F75r'

 

Am I doing something wrong?

do you get it always when a dialog times out?

The warning is for the case when the dialog is no longer on timer list,
which can happen when there are two BYEs crossing through. The situation is
harmless, perhaps the log message has to be done as info not warning.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com
___
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] Inconsistent dlg timer data warning at dialog timeout

2015-04-15 Thread Mickael Marrache
It looks like it is a real issue since CDRs are not generated on dialog
timeout.

 

If the dialog is not in the timer list, does that mean the DLGCB_EXPIRED
callbacks are not called?

 

From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of
Daniel-Constantin Mierla
Sent: Wednesday, April 15, 2015 3:22 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Inconsistent dlg timer data warning at dialog
timeout

 

Hello,

On 15/04/15 14:04, Mickael Marrache wrote:

Hi,

 

I get the following warning when a dialog timeout occurs:

 

kamailio[18889]: WARNING: dialog [dlg_req_within.c:214]: bye_reply_cb():
inconsitent dlg timer data on dlg 0x7f422986e448 [3547:6673] with clid
'mycvJWgmbmOSD5XQrcStKAKoTfW12XeR' and tags
'C5mlsaZCdTmybNSYgvWr75MBxWa5hVyA' 'L1ZzszpZ1MYO6qlQQ3FYYRWQYtF4F75r'

 

Am I doing something wrong?

do you get it always when a dialog times out?

The warning is for the case when the dialog is no longer on timer list,
which can happen when there are two BYEs crossing through. The situation is
harmless, perhaps the log message has to be done as info not warning.

Cheers,
Daniel



-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com
___
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