[Kamailio-Devel] [ openser-Bugs-2220468 ] dialog MI: from_tag is not optional for dlg_list

SourceForge.net noreply at sourceforge.net
Tue Nov 4 18:42:02 CET 2008


Bugs item #2220468, was opened at 2008-11-04 06:38
Message generated for change (Settings changed) made by osas
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2220468&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver 1.4.x
>Status: Closed
Resolution: Invalid
Priority: 5
Private: No
Submitted By: Alex Hermann (axlh)
Assigned to: Ovidiu Sas (osas)
Summary: dialog MI: from_tag is not optional for dlg_list

Initial Comment:
The documentation for the MI command 'dlg_list' states that 'from_tag' is optional. The function is useless without it because the hash is done over both 'callid' and 'from_tag', so without the 'from_tag' it is impossible to find a specific dialog.

The parameter should be required when callid is present.

----------------------------------------------------------------------

Comment By: Ovidiu Sas (osas)
Date: 2008-11-04 12:40

Message:
doc updated.

Regards,
Ovidiu Sas

----------------------------------------------------------------------

Comment By: Alex Hermann (axlh)
Date: 2008-11-04 11:31

Message:
The documentation should say something like that.
"WARNING: If the from_tag is not specified, only dialogs created by a
request without a from tag are matched, which will only occur with broken
clients and is thus a very rare situation."

----------------------------------------------------------------------

Comment By: Ovidiu Sas (osas)
Date: 2008-11-04 10:11

Message:
The dialog module was design to be forgiving with old broken clients that
don't provide a from_tag.  This is the reason that the mi interface allows
NULL from_tag params.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2220468&group_id=139143



More information about the Devel mailing list