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-3190322 ] Content-Length and $du

2011-02-23 Thread SourceForge.net
Bugs item #3190322, was opened at 2011-02-23 16:59
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086410aid=3190322group_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: core
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Content-Length and $du

Initial Comment:
Hi Guys,

My scenario is:
Origination - Opensips Proxy - Opensips B2B - Termination

I have the $avp(s:fwd_ip) parameter that contains the destination uri.

What I am doing is:

$du = $avp(s:fwd_ip);
b2b_init_request(top hiding);

You can see what happens upon a call: http://pastebin.com/xP2SpPGb

Shortly, upon sending the call from the B2B to the termination, the line:
  a=nortpproxy:yes
is truncated to:
  a=nortppro

That leads to the SDP body length to NOT match to the Content-Length value and 
my termination rejects the call.
If I use the rewritehostport() function, the issue does not exists, but that 
way I cannot dynamically set the destination uri (because rewritehostport() 
does not support AVP values).

My workaround to that issue is:
perl_exec(fwd,forward the call to the termination);
b2b_init_request(top hiding);

Where the fwd perl function does:
sub fwd {
my $m = shift;
my $ruri = OpenSIPS::AVP::get('fwd_ip');
$m-rewrite_ruri($ruri);
return 1;
}

It will be much easier if everything worked using the initial method:
$du = $avp(s:fwd_ip);

Please take a look into that bug.

Thanks.
Kamen

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086410aid=3190322group_id=232389

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


[OpenSIPS-Devel] SF.net SVN: opensips:[7754] trunk/modules/presence_callinfo

2011-02-23 Thread Ovidiu Sas
Revision: 7754
  http://opensips.svn.sourceforge.net/opensips/?rev=7754view=rev
Author:   osas
Date: 2011-02-23 18:57:21 + (Wed, 23 Feb 2011)

Log Message:
---
presence_callinfo: setting svn:keywords

Modified Paths:
--
trunk/modules/presence_callinfo/add_events.c
trunk/modules/presence_callinfo/doc/presence_callinfo.xml

Property Changed:

trunk/modules/presence_callinfo/add_events.c
trunk/modules/presence_callinfo/add_events.h
trunk/modules/presence_callinfo/doc/presence_callinfo.xml
trunk/modules/presence_callinfo/doc/presence_callinfo_admin.xml
trunk/modules/presence_callinfo/presence_callinfo.c
trunk/modules/presence_callinfo/presence_callinfo.h


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

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


[OpenSIPS-Devel] IRC meeting 22 Feb 2011 - Follow up

2011-02-23 Thread Bogdan-Andrei Iancu

Hi all,

I structured a bit the website section for managing the monthly OpenSIPS 
meetings:

   http://www.opensips.org/Resources/PublicMeetings

You have there the listing of past and future meetings and the 
description and rules of these meetings.


The conclusions and the logs of the meeting from 22 Feb 2011 can be 
found under:

   http://www.opensips.org/Resources/IRCmeeting20110222

As agreed in that meeting, we will collect the topics (suggestions, 
idea, etc) for the next meeting agenda via a wiki page of the next meeting:

   http://www.opensips.org/Resources/IRCmeeting20110308

Please feel free to contribute and list things that you think are important to 
be discussed with the entire comunity.

Thanks and regards,
Bogdan

--
Bogdan-Andrei Iancu
OpenSIPS eBootcamp - 28th February 2011
OpenSIPS solutions and know-how


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