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

2011-02-23 Thread Olivier Détour
Could you backport it to the 1.6.x branch please ?

Regards,

On Tue, Feb 22, 2011 at 2:05 PM, SourceForge.net
nore...@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=detailatid=1086410aid=3189178group_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=detailatid=1086410aid=3189178group_id=232389

 ___
 Devel mailing list
 Devel@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/devel




-- 
Olivier Détour

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


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

2011-02-22 Thread SourceForge.net
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=detailatid=1086410aid=3189178group_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=detailatid=1086410aid=3189178group_id=232389

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


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

2011-02-22 Thread SourceForge.net
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=detailatid=1086410aid=3189178group_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=detailatid=1086410aid=3189178group_id=232389

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel