[OpenSIPS-Devel] SF.net SVN: opensips:[6812] trunk/modules/mediaproxy/mediaproxy.c

2010-04-26 Thread saghul
Revision: 6812
  http://opensips.svn.sourceforge.net/opensips/?rev=6812view=rev
Author:   saghul
Date: 2010-04-23 11:49:29 + (Fri, 23 Apr 2010)

Log Message:
---
Fix chrash when received reply contains more streams than the INVITE.

Modified Paths:
--
trunk/modules/mediaproxy/mediaproxy.c


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] SF.net SVN: opensips:[6813] branches/1.6/modules/mediaproxy/mediaproxy.c

2010-04-26 Thread saghul
Revision: 6813
  http://opensips.svn.sourceforge.net/opensips/?rev=6813view=rev
Author:   saghul
Date: 2010-04-23 11:51:13 + (Fri, 23 Apr 2010)

Log Message:
---
Backport from trunk (rev #6812):
Fix chrash when received reply contains more streams than the INVITE.

Revision Links:
--
http://opensips.svn.sourceforge.net/opensips/?rev=6812view=rev

Modified Paths:
--
branches/1.6/modules/mediaproxy/mediaproxy.c


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] SF.net SVN: opensips:[6814] branches/1.5/modules/mediaproxy/mediaproxy.c

2010-04-26 Thread saghul
Revision: 6814
  http://opensips.svn.sourceforge.net/opensips/?rev=6814view=rev
Author:   saghul
Date: 2010-04-23 11:52:16 + (Fri, 23 Apr 2010)

Log Message:
---
Backport from trunk (rev #6812):
Fix chrash when received reply contains more streams than the INVITE.

Revision Links:
--
http://opensips.svn.sourceforge.net/opensips/?rev=6812view=rev

Modified Paths:
--
branches/1.5/modules/mediaproxy/mediaproxy.c


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] SF.net SVN: opensips:[6815] branches/1.4/modules/mediaproxy/mediaproxy.c

2010-04-26 Thread saghul
Revision: 6815
  http://opensips.svn.sourceforge.net/opensips/?rev=6815view=rev
Author:   saghul
Date: 2010-04-23 11:53:38 + (Fri, 23 Apr 2010)

Log Message:
---
Backport from trunk (rev #6812):
Fix chrash when received reply contains more streams than the INVITE.

Revision Links:
--
http://opensips.svn.sourceforge.net/opensips/?rev=6812view=rev

Modified Paths:
--
branches/1.4/modules/mediaproxy/mediaproxy.c


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] SF.net SVN: opensips:[6818] trunk

2010-04-26 Thread Maxim Sobolev
Revision: 6818
  http://opensips.svn.sourceforge.net/opensips/?rev=6818view=rev
Author:   sobomax
Date: 2010-04-26 07:00:34 + (Mon, 26 Apr 2010)

Log Message:
---
This is a mechanism to register per-message callback handlers
to be called at certain points of the message lifecycle.

Apart from the sip_msg structure, each handler is passed a
pointer to a handler type-specific structure from the core
and pointer to an opaque structure allocated by the module.

The following callback types are supported:

 REQ_PRE_FORWARD - called before the request is getting reassembled
 for delively. Can be used to apply some last-minute transformations.
 Depending on the script structure this handler may not be called for
 particular message at all or can be called multiple times. Core will
 pass struct proxy * to the handler describing destination for the
 current request.

 MSG_DESTROY - called when the message is being freed. Can be used to
 release any module-specific per-message resources, including any
 dynamic structures passed to the msg_callback_add(). Once
 registered, this handler is guranteed to be invoked exactly once for
 each message.

To avoid memory leaks, code that allocates dynamic structures for use
in the callback handlers should always register MSG_DESTROY handler
and free all memory in there.

Right now it's pretty much a no-op, until there are modules that
use this new interface. Such change for the nathelper is coming.

Modified Paths:
--
trunk/forward.c
trunk/modules/tm/t_fwd.c
trunk/parser/msg_parser.c
trunk/parser/msg_parser.h

Added Paths:
---
trunk/msg_callbacks.c
trunk/msg_callbacks.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


Re: [OpenSIPS-Devel] RFC: adding new callback mechanism into core API

2010-04-26 Thread Maxim Sobolev
Bogdan-Andrei Iancu wrote:
 Hi Maxim,
 
 So, the nathelper is interested in the destination IP or in the 
 destination URI ?
 
 May I ask what is the nathelper extension that require this feature ? 
 because depending on what the purpose is, maybe other solutions are 
 available.

Hi Bogdan,

We need this for the auto-bridging extension, so that it can allocate 
proper IP address for the RTP media.

Regards,
-- 
Maksym Sobolyev
Sippy Software, Inc.
Internet Telephony (VoIP) Experts
T/F: +1-646-651-1110
Web: http://www.sippysoft.com
MSN: sa...@sippysoft.com
Skype: SippySoft

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


[OpenSIPS-Devel] SF.net SVN: opensips:[6819] trunk/modules/nathelper

2010-04-26 Thread Maxim Sobolev
Revision: 6819
  http://opensips.svn.sourceforge.net/opensips/?rev=6819view=rev
Author:   sobomax
Date: 2010-04-26 07:10:51 + (Mon, 26 Apr 2010)

Log Message:
---
Support auto-bridging feature found in the latest RTPproxy (trunk code at the
moment, 1.3 when released). Feature is still considered work in progress, so
use with caution. Should be a no-op for the users of the stable RTPproxy version
(1.2 and less).

Modified Paths:
--
trunk/modules/nathelper/nathelper.c
trunk/modules/nathelper/nathelper.h

Added Paths:
---
trunk/modules/nathelper/nathelper_callbacks.c
trunk/modules/nathelper/nathelper_callbacks.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] SF.net SVN: opensips:[6820] trunk/modules/pua

2010-04-26 Thread Anca Vamanu
Revision: 6820
  http://opensips.svn.sourceforge.net/opensips/?rev=6820view=rev
Author:   anca_vamanu
Date: 2010-04-26 12:07:30 + (Mon, 26 Apr 2010)

Log Message:
---
- improved the usage of min_expires and set a new default value for it (300 sec)

Modified Paths:
--
trunk/modules/pua/pua.c
trunk/modules/pua/send_publish.c
trunk/modules/pua/send_subscribe.c


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] SF.net SVN: opensips:[6821] branches/1.6/modules/pua

2010-04-26 Thread Anca Vamanu
Revision: 6821
  http://opensips.svn.sourceforge.net/opensips/?rev=6821view=rev
Author:   anca_vamanu
Date: 2010-04-26 12:08:28 + (Mon, 26 Apr 2010)

Log Message:
---
- improved the usage of min_expires and set a new default value for it (300 sec)

Modified Paths:
--
branches/1.6/modules/pua/pua.c
branches/1.6/modules/pua/send_publish.c
branches/1.6/modules/pua/send_subscribe.c


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] OpenSIPS at Amoocon 2010

2010-04-26 Thread Bogdan-Andrei Iancu
Hi,

OpenSIPS project has 3 papers with Amoocon 2010 - different topics 
presented by different people (see more on 
http://www.opensips.org/Events/Amoocon2010 ).


1. OpenSIPS 2.0 - a programmable framework for SIP (by Bogdan-Andrei Iancu)
   http://www.amoocon.de/talks/99


2. Integrated SIP and XMPP Services with OpenSIPS (By Anca Vamanu)
   http://www.amoocon.de/talks/105 http://www.amoocon.de/talks/99


3. ICE: the ultimate way of beating NAT in SIP (by Saúl Ibarra Corretgé)
   http://www.amoocon.de/talks/93 http://www.amoocon.de/talks/99


Looking forward to see you there ;)

Regards,
Bogdan

-- 
Bogdan-Andrei Iancu
www.voice-system.ro


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


[OpenSIPS-Devel] New OpenXCAP release 1.2.0

2010-04-26 Thread Adrian Georgescu
Hello,

There is a new release of OpenXCAP, version 1.2.0. OpenXCAP is now  
packaged for four Linux distributions: Debian Stable, Debian Unstable,  
Ubuntu Karmic and Ubuntu Lucid.

This is a major new version with new features:  
org.openmobilealliance.xcap-directory, oma_status-icon,  
org.openxcap.dialog-rules applications and many bug fixes. The  
Installation, Configuration and Testing guides on the wiki page have  
been updated accordingly:

http://www.openxcap.org/wiki/Installation

Changelog

openxcap (1.2.0) unstable; urgency=low

   * Removed python-xml dependency
   * Use Account_test for running the test suite
   * Changed MySQL scripts doc field to mediumblob
   * Removed unused auids, keep only the standard ones
   * Use OMA standard names for icon directory applications
   * Dropped SQLite support which wasn't finished.
   * Make MySQLdb reconnect active only for version 1.2.2
   * Updated readme
   * Detail allowed MIME types in error response
   * Icon application GET returns the image itself, not an XML
   * Fixed size constraint and don't delete previous icons on PUT
   * Made some error messages more clear
   * Deprecated port parameter, now port should be specified in root URI
   * Added icon application support
   * Added 'public GET applications'. Public GET applications are not  
asked for
 auth for GET requests, just for PUT
   * Fixed xcap-directory listing in SIPThor backend
   * Support for listing more than one document of the same type in  
xcap-directory
   * Added xcap-directory application (OMA TS XDM Core)
   * If no trusted_peers is specified default to none instead of any
   * Fixed allow subnets in trusted_peers
   * Reworked xcap-caps using etree
   * Use common-policy schema for validating dialog-rules documents
   * Fixed refresh of OpenSIPS watchers when using dialog-rules
   * Made presence rules use presence-rules.xsd schema
   * Added support for dialog-rules
   * Fixed logging with latest python-application
   * Remove python-xml dependency by taking sax package from PyXML  
project
   * Changed default authentication type to digest
   * Renamed watchers application to org.openxcap.watchers
   * Fixed test suite for resource lists and rls services
   * Bumped debian standards to version 3.8.4
   * Restructured all appusages
   * Updated maintainer and uploaders
   * Refactored logging system and added more information
   * Updated documentation and install files
   * Log fatal error and exit when must-have settings are missing
   * Clarified configuration sample comments
   * Renamed dialog-rules to org.openxcap.dialog-rules

Regards,
Adrian



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


[OpenSIPS-Devel] snmpstats problem

2010-04-26 Thread Richard Revels
I was doing a little performance testing over the weekend and noticed the snmp 
agent x process thread maxing out a core on my cpu.  I also noticed the hard 
drive was getting blown up.  It turned out that somewhere around 23,000 
registered users an out of memory condition occurred in the snmpstats module.  
This is just the latest in a long line of problems I have had with this module. 
 I'm not going to bother opening a bug tracker on it.  I'm just yanking it from 
my configs.

However, I did want to mention it on the mailing list so it can be looked at in 
case others want to continue working with it.  Here are the log messages.

Apr 25 20:37:56 guinea-pig2 osips-log[13687]: WARNING:core:fm_malloc: Not 
enough free memory, will atempt defragmenation
Apr 25 20:37:56 guinea-pig2 osips-log[13687]: ERROR:snmpstats:createHashRecord: 
failed to create a mapping record for +1ANI@domain
Apr 25 20:37:56 guinea-pig2 osips-log[13687]: ERROR:snmpstats:updateUser: 
openserSIPRegUserTable was not able to push +1ANI@domain into the hash.  
User not added to this table
Apr 25 20:37:56 guinea-pig2 osips-log[13687]: 
NOTICE:snmpstats:executeInterprocessBufferCmd: Received a request for contact: 
+1ANI@domain for user: sip:+1ANI@domain:15592 who doesn't exists

Here is the version info for the source code I'm using

[r...@guinea-pig2 opensips16-trunk]# svn info
Path: .
URL: https://opensips.svn.sourceforge.net/svnroot/opensips/branches/1.6
Repository Root: https://opensips.svn.sourceforge.net/svnroot/opensips
Repository UUID: 689a6050-402a-0410-94f2-e92a70836424
Revision: 6758
Node Kind: directory
Schedule: normal
Last Changed Author: bogdan_iancu
Last Changed Rev: 6758
Last Changed Date: 2010-04-02 14:19:34 + (Fri, 02 Apr 2010)


Richard



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


[OpenSIPS-Devel] [ opensips-Bugs-2992354 ] pua_dialoginfo doc

2010-04-26 Thread SourceForge.net
Bugs item #2992354, was opened at 2010-04-26 16:21
Message generated for change (Tracker Item Submitted) made by s_schumann
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086410aid=2992354group_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: docs
Group: 1.5.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Sebastian Schumann (s_schumann)
Assigned to: Nobody/Anonymous (nobody)
Summary: pua_dialoginfo doc

Initial Comment:
Not sure if you update backwards the module docs, but I found some missing 
stuff:
http://www.opensips.org/html/docs/modules/1.5.x/pua_dialoginfo.html

There is the exported function missing. I use 1.5 and tried it for several 
hours, thought the trigger is the dialogmodule until I found it in the 1.6 doc.
http://www.opensips.org/html/docs/modules/1.6.x/pua_dialoginfo.html

1.4.1.  dialoginfo_set()

This function must be called for INVITE messages that initialize a dialog for 
which dialoginfo information must be published.

...
if(is_method(INVITE))
if(uri =~ opensips.org)
dialoginfo_set();
...


Also in the explanatory text of 1.6 is more about that function. 

Might be helpful also for others to update it for 1.5 as well (where the module 
got introduced).

I put it also on sourceforge.

Best regards
Sebastian


--

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

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


[OpenSIPS-Devel] How to store User Icons using XCAP

2010-04-26 Thread Adrian Georgescu
This example shows how you can use the latest features in OpenXCAP and  
OpenSIPS to store, publish and subscribe to changes for user Icons  
that can be displayed in a buddy list of a Presence enabled SIP User  
Agent

http://www.openxcap.org/wiki/Icon

Regards,
Adrian


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