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

Olivier Détour chino540off+kamailio at gmail.com
Wed Feb 23 15:55:20 CET 2011


Could you backport it to the 1.6.x branch please ?

Regards,

On Tue, Feb 22, 2011 at 2:05 PM, SourceForge.net
<noreply at sourceforge.net> wrote:
> Bugs item #3189178, was opened at 2011-02-22 07:30
> Message generated for change (Comment added) made by osas
> 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,
>
> ----------------------------------------------------------------------
>
> Comment By: Ovidiu Sas (osas)
> Date: 2011-02-22 08:05
>
> Message:
> If you are chaining several opensipsnservers running in b2b mode, then use
> different prefixes:
> http://www.opensips.org/html/docs/modules/devel/b2b_entities.html#id250032
>
> Regards,
> Ovidiu Sas
>
> ----------------------------------------------------------------------
>
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3189178&group_id=232389
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>



-- 
Olivier Détour



More information about the Devel mailing list