[OpenSIPS-Devel] [ opensips-Bugs-2910898 ] pua_dialoginfo sets direction incorrectly on BYE

SourceForge.net noreply at sourceforge.net
Tue Dec 8 20:22:49 CET 2009


Bugs item #2910898, was opened at 2009-12-08 12:01
Message generated for change (Comment added) made by byron_clark
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2910898&group_id=232389

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: 1.6.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Byron Clark (byron_clark)
Assigned to: Nobody/Anonymous (nobody)
Summary: pua_dialoginfo sets direction incorrectly on BYE

Initial Comment:
The pua_dialoginfo module currently uses the sender of the BYE message to
set the initiator when sending the TERMINATED state.

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

Comment By: Byron Clark (byron_clark)
Date: 2009-12-08 12:22

Message:
The attached traces show where this breaks.  When User1 calls User2, User1
should always have direction='initiator' set, and User2 should always have
direction='recipient' set.  Current behavior is to look at the message and
use the from header as 'initiator' and the to header as 'recipient'.  When
a bye is sent from User2, the PUBLISH for User2 should still show
direction='recipient'.  That attached patch fixes this behavior.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2910898&group_id=232389



More information about the Devel mailing list