[sr-dev] [tracker] Comment added: Kamailio 3.1.3 crash

sip-router admin at sip-router.org
Wed Apr 6 23:11:31 CEST 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#122 - Kamailio 3.1.3 crash
User who did this - Jasmin Schnatterbeck (jasmin)

----------
okay, some tests later :-)

dlg_manage() creates a new dialog, so no access to the variables of the "real" dialog

another idea: setting $du to the server itself, then the BYE request should be processed by normal routes again. Problem is, that the did= route param is not available, so dialog can not be identified. Why not use callid, ftag, ttag? see below

dlg_get() works, but regarding SIP spirals unknown behaviour. That seems to be an generic problem, because when spirals are being used and detect_spirals is 0, a single dialog can not be identified with callid, ftag and totag only.

May that's the reason for [[ http://kamailio.org/docs/modules/stable/modules_k/dialog.html#id2966526|dlg_end_dlg]] to use h_entry and h_id for dialog identification instead of callid, ftag and ttag.

So if dialog is not loaded automatically in event-route, it would be necessary to access the mi params and to have a function do get a dialog based on h_entry and h_id.

I think that loading dialog in event-route automatically is a straightforward solution, because that is done with "normal" requests (received via socket), too.
This should be possible, if h_id and h_entry is available, which is the case for dlg_end_dlg...

Jasmin
----------

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=122#comment197

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list