[sr-dev] [tracker] Task opened: dlg_manage() after t_newtran() does not work

sip-router admin at sip-router.org
Sat Dec 10 01:03:46 CET 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Jasmin Schnatterbeck (jasmin) 

Attached to Project - sip-router
Summary - dlg_manage() after t_newtran() does not work
Task Type - Bug Report
Category - dialog
Status - Assigned
Assigned To - Timo Reimann
Operating System - All
Severity - Medium
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - Hello,

when I tried to use t_newtran() with the dialog-module loaded, the following problem occured;

- the dialog tracking flag is not set (yet)
- script calls t_newtran()
- TMCB_REQUEST_IN  calls dlg_onreq()
- there is no dialog tracking flag set (yet), so no dialog is started by dlg_onreq()
- script sets dialog tracking flag
- script calls t_relay()
=> TMCB_REQUEST_IN (and dlg_onreq()) is not called again, because the transaction already exists. 
=> no dialog at all

But there is dlg_manage(), that can start a dialog (even after t_newtran() and without using dlg_onreq()).

The problem is, that dlg_set_tm_callbacks() is called by dlg_onreq() only => in case of dlg_manage() after t_newtran() dlg_set_tm_callbacks() is not being called.

As result of this, the response callbacks (and dialog state etc.) don't work...

Jasmin


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

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