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

2013-03-08 Thread Bogdan-Andrei Iancu
Revision: 9884
  http://opensips.svn.sourceforge.net/opensips/?rev=9884view=rev
Author:   bogdan_iancu
Date: 2013-03-08 10:38:49 + (Fri, 08 Mar 2013)
Log Message:
---
- move log from ERR to DBG - when testing the SDP for private IPs, not find an 
SDP is not actually an error.
  Reported by Jan ONDREJ.

Modified Paths:
--
trunk/modules/nathelper/nathelper.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:[9885] branches/1.9/modules/nathelper/nathelper.c

2013-03-08 Thread Bogdan-Andrei Iancu
Revision: 9885
  http://opensips.svn.sourceforge.net/opensips/?rev=9885view=rev
Author:   bogdan_iancu
Date: 2013-03-08 10:40:35 + (Fri, 08 Mar 2013)
Log Message:
---
backport from trunk (rev #9884):
- move log from ERR to DBG - when testing the SDP for private IPs, not find an 
SDP is not actually an error.
  Reported by Jan ONDREJ.

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

Modified Paths:
--
branches/1.9/modules/nathelper/nathelper.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:[9886] branches/1.8/modules/nathelper/nathelper.c

2013-03-08 Thread Bogdan-Andrei Iancu
Revision: 9886
  http://opensips.svn.sourceforge.net/opensips/?rev=9886view=rev
Author:   bogdan_iancu
Date: 2013-03-08 10:41:06 + (Fri, 08 Mar 2013)
Log Message:
---
backport from trunk (rev #9884):
- move log from ERR to DBG - when testing the SDP for private IPs, not find an 
SDP is not actually an error.
  Reported by Jan ONDREJ.

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

Modified Paths:
--
branches/1.8/modules/nathelper/nathelper.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] [NEW] Mathops module

2013-03-08 Thread Liviu Chircu

Hello everyone,

Since there are several scenarios (most of them billing related) which 
require floating point operations at script level, we've decided to put 
together a new math operations module to handle all of them.


The *mathops *module handles floating point numbers represented as 
strings at script level. Its functionalities are grouped in two categories:
- rounding operations (trunc, ceil, floor, rounding to integers, 
rounding to certain number of

 decimal places, rounding to significant figures)
- an expression evaluator (currently supports binary + - / * 
operators and nested parantheses)


Quick example of using the evaluator:
---
loadmodule mathops.so
...
$avp(download_speed) = 8.755;
$avp(chunk_size) = 650.104;
$avp(chunks) = 5;

if (!math_eval($avp(chunk_size) / $avp(download_speed) * $avp(chunks), 
$avp(time))) {

xlog(ERROR in expression evaluation!\n);
}

xlog(Download time left: $avp(time) seconds\n);
...
-

You can control the precision of the results with the /decimal_digits/ 
module parameter. For details regarding the rounding operations, please 
browse the module documentation [1] posted on the project website.


Suggestions and feedback are appreciated as always.

[1]: http://www.opensips.org/html/docs/modules/devel/mathops.html

Best regards,

--
Liviu Chircu
OpenSIPS Dev
http://www.opensips-solutions.com

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


[OpenSIPS-Devel] SF.net SVN: opensips:[9887] trunk/pvar.c

2013-03-08 Thread Razvan Crainea
Revision: 9887
  http://opensips.svn.sourceforge.net/opensips/?rev=9887view=rev
Author:   razvancrainea
Date: 2013-03-08 12:17:02 + (Fri, 08 Mar 2013)
Log Message:
---
print null for null variables instead of raising an error

Modified Paths:
--
trunk/pvar.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:[9889] branches/1.9/modules/event_route

2013-03-08 Thread Razvan Crainea
Revision: 9889
  http://opensips.svn.sourceforge.net/opensips/?rev=9889view=rev
Author:   razvancrainea
Date: 2013-03-08 12:52:28 + (Fri, 08 Mar 2013)
Log Message:
---
Backported from trunk (rev #9888);
fixed documentation typo

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

Modified Paths:
--
branches/1.9/modules/event_route/README
branches/1.9/modules/event_route/doc/event_route_admin.xml

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:[9890] trunk/modules/usrloc

2013-03-08 Thread Razvan Crainea
Revision: 9890
  http://opensips.svn.sourceforge.net/opensips/?rev=9890view=rev
Author:   razvancrainea
Date: 2013-03-08 13:30:47 + (Fri, 08 Mar 2013)
Log Message:
---
added usrloc events for AOR insertion and deletion

Modified Paths:
--
trunk/modules/usrloc/README
trunk/modules/usrloc/doc/usrloc_admin.xml
trunk/modules/usrloc/udomain.c
trunk/modules/usrloc/ul_mod.c
trunk/modules/usrloc/ul_mod.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