[OpenSIPS-Devel] [ opensips-Bugs-3189178 ] b2b_entites: control of the validity of CANCEL

SourceForge.net noreply at sourceforge.net
Tue Feb 22 13:30:11 CET 2011


Bugs item #3189178, was opened at 2011-02-22 12:30
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3189178&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: b2b_entites: control of the validity of CANCEL

Initial Comment:
Hi,

in prescript function in dlg.c line 543, you check if CallID looks like B2B hash key to prevent self sending.

543	                if(b2b_parse_key(&callid, &hash_index, &local_index) >= 0)
544	                {
545	                        LM_DBG("received a CANCEL message that I sent\n");
546	                        return 1;
547	                }

But if there are linked b2b, and a node Cancel a session, the cancel is not send to logic because CallID looks like B2B hash.

Regards,

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

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



More information about the Devel mailing list