[OpenSIPS-Devel] SF.net SVN: opensips:[9148] trunk/modules/rtpproxy
Revision: 9148 http://opensips.svn.sourceforge.net/opensips/?rev=9148view=rev Author: liviuchircu Date: 2012-07-17 15:41:16 + (Tue, 17 Jul 2012) Log Message: --- Added auto_bridging warning at rtpproxy module startup. Modified Paths: -- trunk/modules/rtpproxy/README trunk/modules/rtpproxy/doc/rtpproxy_admin.xml trunk/modules/rtpproxy/rtpproxy.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:[9145] trunk/modules/dialplan
Revision: 9145 http://opensips.svn.sourceforge.net/opensips/?rev=9145view=rev Author: liviuchircu Date: 2012-07-16 13:10:57 + (Mon, 16 Jul 2012) Log Message: --- Added multiple table support to the dialplan module. The exported dp_translate and the mi dp_translate functions now support example_table/dpid types of parameters, along with the old dpid ones. The rules will be loaded from the specified table. The default table is still dialplan. Modified Paths: -- trunk/modules/dialplan/README trunk/modules/dialplan/dialplan.c trunk/modules/dialplan/dialplan.h trunk/modules/dialplan/doc/dialplan_admin.xml trunk/modules/dialplan/dp_db.c trunk/modules/dialplan/dp_db.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:[9202] trunk/modules/dispatcher/dispatcher.c
Revision: 9202 http://opensips.svn.sourceforge.net/opensips/?rev=9202view=rev Author: liviuchircu Date: 2012-08-14 10:43:15 + (Tue, 14 Aug 2012) Log Message: --- Fixed setid_pvar parsing. Modified Paths: -- trunk/modules/dispatcher/dispatcher.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:[9203] branches/1.8/modules/dispatcher/dispatcher.c
Revision: 9203 http://opensips.svn.sourceforge.net/opensips/?rev=9203view=rev Author: liviuchircu Date: 2012-08-14 10:47:59 + (Tue, 14 Aug 2012) Log Message: --- Backport from trunk (rev #9202). Fixed setid_pvar parsing. Revision Links: -- http://opensips.svn.sourceforge.net/opensips/?rev=9202view=rev Modified Paths: -- branches/1.8/modules/dispatcher/dispatcher.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:[9225] trunk/modules/dialog
Revision: 9225 http://opensips.svn.sourceforge.net/opensips/?rev=9225view=rev Author: liviuchircu Date: 2012-08-23 09:09:58 + (Thu, 23 Aug 2012) Log Message: --- Added a new MI command: list_all_profiles Modified Paths: -- trunk/modules/dialog/README trunk/modules/dialog/dialog.c trunk/modules/dialog/dlg_profile.c trunk/modules/dialog/dlg_profile.h trunk/modules/dialog/doc/dialog_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:[9241] trunk
Revision: 9241 http://opensips.svn.sourceforge.net/opensips/?rev=9241view=rev Author: liviuchircu Date: 2012-09-03 11:32:33 + (Mon, 03 Sep 2012) Log Message: --- Removed match_len column from the dialplan table. Added the match_flags column. 0 (default) for case sensitive, 1 for case insensitive matching. Modified Paths: -- trunk/db/schema/dialplan.xml trunk/modules/dialplan/README trunk/modules/dialplan/dialplan.c trunk/modules/dialplan/dialplan.h trunk/modules/dialplan/doc/dialplan_admin.xml trunk/modules/dialplan/dp_db.c trunk/modules/dialplan/dp_db.h trunk/modules/dialplan/dp_repl.c trunk/scripts/db_berkeley/opensips/dialplan trunk/scripts/db_berkeley/opensips/version trunk/scripts/dbtext/opensips/dialplan trunk/scripts/dbtext/opensips/version trunk/scripts/mysql/dialplan-create.sql trunk/scripts/oracle/dialplan-create.sql trunk/scripts/postgres/dialplan-create.sql 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:[9254] trunk/modules/enum
Revision: 9254 http://opensips.svn.sourceforge.net/opensips/?rev=9254view=rev Author: liviuchircu Date: 2012-09-12 11:05:07 + (Wed, 12 Sep 2012) Log Message: --- enum_query can now also receive avp string parameters Modified Paths: -- trunk/modules/enum/enum.c trunk/modules/enum/enum_mod.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:[9262] trunk/modules/db_postgres/dbase.c
Revision: 9262 http://opensips.svn.sourceforge.net/opensips/?rev=9262view=rev Author: liviuchircu Date: 2012-09-17 11:55:05 + (Mon, 17 Sep 2012) Log Message: --- Fixed a bad return code in the db_do_insert function. Modified Paths: -- trunk/modules/db_postgres/dbase.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:[9263] branches/1.8/modules/db_postgres/dbase.c
Revision: 9263 http://opensips.svn.sourceforge.net/opensips/?rev=9263view=rev Author: liviuchircu Date: 2012-09-17 12:58:32 + (Mon, 17 Sep 2012) Log Message: --- Backport from trunk (rev #9262) Fixed a bad return code in the db_do_insert function. Revision Links: -- http://opensips.svn.sourceforge.net/opensips/?rev=9262view=rev Modified Paths: -- branches/1.8/modules/db_postgres/dbase.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:[9264] branches/1.7/modules/db_postgres/dbase.c
Revision: 9264 http://opensips.svn.sourceforge.net/opensips/?rev=9264view=rev Author: liviuchircu Date: 2012-09-17 13:14:26 + (Mon, 17 Sep 2012) Log Message: --- Backport from trunk (rev #9262) Fixed a bad return code in the db_do_insert function. Revision Links: -- http://opensips.svn.sourceforge.net/opensips/?rev=9262view=rev Modified Paths: -- branches/1.7/modules/db_postgres/dbase.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:[9281] trunk/modules
Revision: 9281 http://opensips.svn.sourceforge.net/opensips/?rev=9281view=rev Author: liviuchircu Date: 2012-09-24 10:02:41 + (Mon, 24 Sep 2012) Log Message: --- dispatcher and load_balancer modules now support IP blacklisting based on the destination set/group. Similar to the drouting blacklists, these will also be disabled by default when created. It is up to the script writer to enable them with the 'use_blacklist' core function. Modified Paths: -- trunk/modules/dispatcher/README trunk/modules/dispatcher/dispatch.c trunk/modules/dispatcher/dispatch.h trunk/modules/dispatcher/dispatcher.c trunk/modules/dispatcher/doc/dispatcher_admin.xml trunk/modules/load_balancer/README trunk/modules/load_balancer/doc/load_balancer_admin.xml trunk/modules/load_balancer/load_balancer.c Added Paths: --- trunk/modules/dispatcher/ds_bl.c trunk/modules/dispatcher/ds_bl.h trunk/modules/load_balancer/lb_bl.c trunk/modules/load_balancer/lb_bl.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:[9282] trunk/modules
Revision: 9282 http://opensips.svn.sourceforge.net/opensips/?rev=9282view=rev Author: liviuchircu Date: 2012-09-24 10:57:16 + (Mon, 24 Sep 2012) Log Message: --- Added GPL headers and svn keywords to the recently added files. Modified Paths: -- trunk/modules/dialplan/README trunk/modules/dialplan/doc/dialplan_admin.xml trunk/modules/dispatcher/ds_bl.c trunk/modules/dispatcher/ds_bl.h trunk/modules/enum/README trunk/modules/enum/doc/enum_admin.xml trunk/modules/load_balancer/lb_bl.c trunk/modules/load_balancer/lb_bl.h Property Changed: trunk/modules/dispatcher/ds_bl.c trunk/modules/dispatcher/ds_bl.h trunk/modules/load_balancer/lb_bl.c trunk/modules/load_balancer/lb_bl.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:[9283] trunk/modules/cfgutils
Revision: 9283 http://opensips.svn.sourceforge.net/opensips/?rev=9283view=rev Author: liviuchircu Date: 2012-09-27 06:53:42 + (Thu, 27 Sep 2012) Log Message: --- Fixed the cfgutils set_count() function issue, where script execution is stopped when returning 0 value. The result is now obtained by passing a pvar as the 2nd parameter. Modified Paths: -- trunk/modules/cfgutils/README trunk/modules/cfgutils/cfgutils.c trunk/modules/cfgutils/doc/cfgutils_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:[9324] branches/1.8/modules/cfgutils
Revision: 9324 http://opensips.svn.sourceforge.net/opensips/?rev=9324view=rev Author: liviuchircu Date: 2012-10-15 12:04:00 + (Mon, 15 Oct 2012) Log Message: --- Backport from trunk (rev #9283) Fixed the cfgutils set_count() function issue, where script execution is stopped when returning 0 value. The result is now obtained by passing a pvar as the 2nd parameter. Revision Links: -- http://opensips.svn.sourceforge.net/opensips/?rev=9283view=rev Modified Paths: -- branches/1.8/modules/cfgutils/README branches/1.8/modules/cfgutils/cfgutils.c branches/1.8/modules/cfgutils/doc/cfgutils_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:[9350] trunk
Revision: 9350 http://opensips.svn.sourceforge.net/opensips/?rev=9350view=rev Author: liviuchircu Date: 2012-10-19 08:47:49 + (Fri, 19 Oct 2012) Log Message: --- Fixed ds_ping_interval documentation and a compile warning. Modified Paths: -- trunk/modules/dispatcher/README trunk/modules/dispatcher/doc/dispatcher_admin.xml trunk/statistics.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:[9357] branches/1.8/modules/dispatcher
Revision: 9357 http://opensips.svn.sourceforge.net/opensips/?rev=9357view=rev Author: liviuchircu Date: 2012-10-19 14:43:41 + (Fri, 19 Oct 2012) Log Message: --- Backport from trunk (rev #9350) Fixed ds_ping_interval documentation Revision Links: -- http://opensips.svn.sourceforge.net/opensips/?rev=9350view=rev Modified Paths: -- branches/1.8/modules/dispatcher/README branches/1.8/modules/dispatcher/doc/dispatcher_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:[9359] trunk/modules/dispatcher
Revision: 9359 http://opensips.svn.sourceforge.net/opensips/?rev=9359view=rev Author: liviuchircu Date: 2012-10-21 06:50:09 + (Sun, 21 Oct 2012) Log Message: --- Fixed a subtle bug in ds_count() and improved code readability Modified Paths: -- trunk/modules/dispatcher/dispatch.c trunk/modules/dispatcher/dispatch.h trunk/modules/dispatcher/dispatcher.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:[9435] trunk/modules/sipmsgops
Revision: 9435 http://opensips.svn.sourceforge.net/opensips/?rev=9435view=rev Author: liviuchircu Date: 2012-11-09 17:28:28 + (Fri, 09 Nov 2012) Log Message: --- is_present_hf() and remove_hf() functions now receive string pseudo-variables as parameters Modified Paths: -- trunk/modules/sipmsgops/README trunk/modules/sipmsgops/doc/sipmsgops_admin.xml trunk/modules/sipmsgops/sipmsgops.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:[9436] trunk/modules/sipmsgops/sipmsgops.c
Revision: 9436 http://opensips.svn.sourceforge.net/opensips/?rev=9436view=rev Author: liviuchircu Date: 2012-11-09 18:03:18 + (Fri, 09 Nov 2012) Log Message: --- fixed buffer reallocating too often in previous commit Modified Paths: -- trunk/modules/sipmsgops/sipmsgops.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:[9444] trunk/modules/cfgutils
Revision: 9444 http://opensips.svn.sourceforge.net/opensips/?rev=9444view=rev Author: liviuchircu Date: 2012-11-21 15:22:29 + (Wed, 21 Nov 2012) Log Message: --- - NEW! Added scripting locks in the cfgutils module. They come in two flavors: - static locks are manipulated with the {get,release}_static_lock functions. - dynamic locks, which are bound to the {get,release}_dynamic_lock set of functions. Each class of locks has its own scenario of use. Refer to the updated module documentation for details. Modified Paths: -- trunk/modules/cfgutils/README trunk/modules/cfgutils/cfgutils.c trunk/modules/cfgutils/doc/cfgutils_admin.xml Added Paths: --- trunk/modules/cfgutils/script_locks.c trunk/modules/cfgutils/script_locks.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:[9450] trunk
Revision: 9450 http://opensips.svn.sourceforge.net/opensips/?rev=9450view=rev Author: liviuchircu Date: 2012-11-23 13:57:46 + (Fri, 23 Nov 2012) Log Message: --- - cfgutils module: added check_time_rec() function, which matches a time recurrence string against the current date. - moved load_TR_value macro from dr_load.c to time_rec.h Modified Paths: -- trunk/modules/cfgutils/README trunk/modules/cfgutils/cfgutils.c trunk/modules/cfgutils/doc/cfgutils_admin.xml trunk/modules/drouting/dr_load.c trunk/time_rec.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] [NEW] OpenSIPS script locks
The cfgutils module now provides the possibility of defining atomic test-and-set operations in the OpenSIPS script. Such need is a result of complex mixing in script of various functionality / functions from different modules. Like testing is done based on ratelimit module and the setting is done in dialog module. Modules do provide internal locking and synchronization for their own functionalities, but cannot cover a more complex and various scenarios of test-and-set scripting scenarios. Example of scenarios which require atomic test-and-set functionalities: ### # Example 1: Counting active outgoing calls with dialog # The F-URIs of the SIP messages are the same # # Suppose there are 0 active calls get_profile_size(caller, $fu, $avp(size)); if ($avp(size) 1) { xlog(Call allowed!\n); set_dlg_profile(caller, $fu); ... } else { xlog(Too many calls!\n); ... } Possible correct result (profile will have size 1): Call allowed! Too many calls! Possible bad result (profile will have size 2): Call allowed! Call allowed! If two or more processes read the same value from get_profile_size(), results may be incorrect. By using dynamic script locks, the problem is solved: get_dynamic_lock($fu); get_profile_size(caller, $fu, $avp(size)); if ($avp(size) 10) { xlog(Call allowed!\n); set_dlg_profile(caller, $fu); ... } else { xlog(Too many calls!\n); ... } release_dynamic_lock($fu); ### # Example 2: Counting registered users using cachedb_local # In this educational example, two users register at the same time # # Suppose there are 10 registered users cache_counter_fetch(local, registered_users, $avp(reg_users)); $avp(reg_users) = $avp(reg_users) + 1; cache_store(local, registered_users, $avp(reg_users), 1200); xlog(System has $avp(reg_users) registered users!\n); Possible correct result: System has 11 registered users! System has 12 registered users! Possible bad result: System has 11 registered users! System has 11 registered users! The same thing as above. A sequence of two operations which should not be atomic from an internal point of view, but from a logical perspective it should. In order for the code to work properly, we can use static locks: get_static_lock(reg_users); cache_counter_fetch(local, registered_users, $avp(reg_users)); $avp(reg_users) = $avp(reg_users) + 1; cache_store(local, registered_users, $avp(reg_users), 1200); release_static_lock(reg_users); xlog(System has $avp(reg_users) registered users!\n); -- 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:[9603] trunk
Revision: 9603 http://opensips.svn.sourceforge.net/opensips/?rev=9603view=rev Author: liviuchircu Date: 2013-01-21 12:42:36 + (Mon, 21 Jan 2013) Log Message: --- New functionality: Script tracing! With script tracing, you can better understand the flow of execution in the OpenSIPS script. Moreover, you can also trace the values of pseudo-variables, as script execution progresses. The blocks of the script where script tracing is enabled will print a line for each individual action that is done (e.g. assignments, conditional tests, module functions, core functions, etc.). Multiple pseudo-variables can be monitored by specifying a pv_format string (e.g. $ru---$avp(var1)). The current value of the format will be printed along with each line. The logs of multiple traced regions of your script can be differentiated by specifying an additional plain string as the 3rd parameter. Script tracing can be enabled with: script_trace(log_level, pv_format_string[, info_string]) To disable script tracing, just: script_trace() Modified Paths: -- trunk/action.c trunk/cfg.lex trunk/cfg.y trunk/route_struct.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:[9604] trunk
Revision: 9604 http://opensips.svn.sourceforge.net/opensips/?rev=9604view=rev Author: liviuchircu Date: 2013-01-21 18:59:28 + (Mon, 21 Jan 2013) Log Message: --- Added named flags! From now on, the proper way of setting a msg / script / branch flag is by supplying an unquoted string: setflag(NEW_FLAG). Same for setsflag/setbflag and their isflagset/resetflag/issflagset/resetsflag/isbflagset/resetbflag counterparts. Regarding the module parameters which are affected, for now both INT/STRING versions are supported, but setting INT flags the classic way is now deprecated, and will throw a minor warning at module load. The maximum individual flags of a flag type remains 32. Modified Paths: -- trunk/cfg.y trunk/flags.c trunk/flags.h trunk/modules/acc/README trunk/modules/acc/acc_mod.c trunk/modules/acc/doc/acc_admin.xml trunk/modules/auth_aaa/README trunk/modules/auth_aaa/authaaa_mod.c trunk/modules/auth_aaa/doc/auth_aaa_admin.xml trunk/modules/call_control/README trunk/modules/call_control/call_control.c trunk/modules/call_control/doc/call_control_admin.xml trunk/modules/nathelper/README trunk/modules/nathelper/doc/nathelper_admin.xml trunk/modules/nathelper/nathelper.c trunk/modules/qos/README trunk/modules/qos/doc/qos_admin.xml trunk/modules/qos/qos.c trunk/modules/siptrace/README trunk/modules/siptrace/doc/siptrace_admin.xml trunk/modules/siptrace/siptrace.c trunk/modules/sst/README trunk/modules/sst/doc/sst_admin.xml trunk/modules/sst/sst.c trunk/modules/tm/README trunk/modules/tm/doc/tm_admin.xml trunk/modules/tm/t_reply.c trunk/modules/tm/t_reply.h trunk/modules/tm/tm.c trunk/modules/usrloc/README trunk/modules/usrloc/doc/usrloc_admin.xml trunk/modules/usrloc/ul_mod.c trunk/route.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:[9619] trunk/cfg.y
Revision: 9619 http://opensips.svn.sourceforge.net/opensips/?rev=9619view=rev Author: liviuchircu Date: 2013-01-22 15:44:17 + (Tue, 22 Jan 2013) Log Message: --- updated the core branch flag tcp_no_new_conn_bflag to follow the recent flag changes Modified Paths: -- trunk/cfg.y 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:[9620] trunk/modules/nathelper
Revision: 9620 http://opensips.svn.sourceforge.net/opensips/?rev=9620view=rev Author: liviuchircu Date: 2013-01-22 15:45:15 + (Tue, 22 Jan 2013) Log Message: --- - added a new flag to explicitly enable SIP OPTIONS pinging over TCP/TLS connections Modified Paths: -- trunk/modules/nathelper/README trunk/modules/nathelper/doc/nathelper_admin.xml trunk/modules/nathelper/nathelper.c trunk/modules/nathelper/sip_pinger.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:[9778] trunk/modules/load_balancer/lb_data.c
Revision: 9778 http://opensips.svn.sourceforge.net/opensips/?rev=9778view=rev Author: liviuchircu Date: 2013-02-10 11:16:46 + (Sun, 10 Feb 2013) Log Message: --- - fixed a bug in the lb_count_call() function Modified Paths: -- trunk/modules/load_balancer/lb_data.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:[9779] branches/1.9/modules/load_balancer/lb_data.c
Revision: 9779 http://opensips.svn.sourceforge.net/opensips/?rev=9779view=rev Author: liviuchircu Date: 2013-02-10 11:18:42 + (Sun, 10 Feb 2013) Log Message: --- backport from trunk (rev #9778) - fixed a bug in the lb_count_call() function Revision Links: -- http://opensips.svn.sourceforge.net/opensips/?rev=9778view=rev Modified Paths: -- branches/1.9/modules/load_balancer/lb_data.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:[9781] branches/1.9/modules/load_balancer/ load_balancer.c
Revision: 9781 http://opensips.svn.sourceforge.net/opensips/?rev=9781view=rev Author: liviuchircu Date: 2013-02-11 12:51:53 + (Mon, 11 Feb 2013) Log Message: --- backport from trunk (rev #9780) - the specific search group for lb_is_destination() must accept pvars Revision Links: -- http://opensips.svn.sourceforge.net/opensips/?rev=9780view=rev Modified Paths: -- branches/1.9/modules/load_balancer/load_balancer.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:[9812] trunk/modules/drouting/drouting.c
Revision: 9812 http://opensips.svn.sourceforge.net/opensips/?rev=9812view=rev Author: liviuchircu Date: 2013-02-22 17:37:27 + (Fri, 22 Feb 2013) Log Message: --- route_to_carrier() and route_to_gw() must accept both pvars and strings as parameters Modified Paths: -- trunk/modules/drouting/drouting.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:[9814] branches/1.9/modules/drouting/drouting.c
Revision: 9814 http://opensips.svn.sourceforge.net/opensips/?rev=9814view=rev Author: liviuchircu Date: 2013-02-22 17:38:31 + (Fri, 22 Feb 2013) Log Message: --- backport from trunk (rev #9812): route_to_carrier() and route_to_gw() must accept both pvars and strings as parameters Revision Links: -- http://opensips.svn.sourceforge.net/opensips/?rev=9812view=rev Modified Paths: -- branches/1.9/modules/drouting/drouting.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:[9817] branches/1.8/modules/drouting/drouting.c
Revision: 9817 http://opensips.svn.sourceforge.net/opensips/?rev=9817view=rev Author: liviuchircu Date: 2013-02-22 17:41:28 + (Fri, 22 Feb 2013) Log Message: --- backport from trunk (rev #9812): route_to_carrier() and route_to_gw() must accept both pvars and strings as parameters Revision Links: -- http://opensips.svn.sourceforge.net/opensips/?rev=9812view=rev Modified Paths: -- branches/1.8/modules/drouting/drouting.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
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:[9903] trunk/modules/dialog
Revision: 9903 http://opensips.svn.sourceforge.net/opensips/?rev=9903view=rev Author: liviuchircu Date: 2013-03-11 18:14:06 + (Mon, 11 Mar 2013) Log Message: --- dialog: New MI command for restoring the dialog table dlg_restore_db - truncates the table and populates it with CONFIRMED dialogs from memory Modified Paths: -- trunk/modules/dialog/README trunk/modules/dialog/dialog.c trunk/modules/dialog/dlg_db_handler.c trunk/modules/dialog/dlg_db_handler.h trunk/modules/dialog/doc/dialog_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:[9905] trunk
Revision: 9905 http://opensips.svn.sourceforge.net/opensips/?rev=9905view=rev Author: liviuchircu Date: 2013-03-12 17:01:04 + (Tue, 12 Mar 2013) Log Message: --- [usrloc module]: added a new 'attr' column in the location table, used to store additional registration-related information [registrar module]: new avp used to load/store the 'attr' column information in the location table. Its content is read and stored in db and/or memory when doing a 'save' operation, and it is populated after doing a 'lookup'. When doing call forking, the avp will hold a value for each branch. The 'attr' value of a branch is accessed using $T_branch_idx. Modified Paths: -- trunk/db/schema/location.xml trunk/modules/registrar/README trunk/modules/registrar/doc/registrar_admin.xml trunk/modules/registrar/lookup.c trunk/modules/registrar/reg_mod.c trunk/modules/registrar/reg_mod.h trunk/modules/registrar/save.c trunk/modules/usrloc/README trunk/modules/usrloc/doc/usrloc_admin.xml trunk/modules/usrloc/ucontact.c trunk/modules/usrloc/ucontact.h trunk/modules/usrloc/udomain.c trunk/modules/usrloc/ul_mi.c trunk/modules/usrloc/ul_mod.c trunk/modules/usrloc/ul_mod.h trunk/scripts/db_berkeley/opensips/location trunk/scripts/db_berkeley/opensips/version trunk/scripts/dbtext/opensips/location trunk/scripts/dbtext/opensips/version trunk/scripts/mysql/usrloc-create.sql trunk/scripts/oracle/usrloc-create.sql trunk/scripts/pi_http/pi_framework.xml trunk/scripts/pi_http/usrloc-mod trunk/scripts/pi_http/usrloc-table trunk/scripts/postgres/usrloc-create.sql 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:[9936] trunk/modules/mathops
Revision: 9936 http://opensips.svn.sourceforge.net/opensips/?rev=9936view=rev Author: liviuchircu Date: 2013-03-27 12:23:16 + (Wed, 27 Mar 2013) Log Message: --- Added feature test macros for the glibc truncation functions (fixes compilation issues on some systems) Modified Paths: -- trunk/modules/mathops/math_funcs.c trunk/modules/mathops/math_funcs.h trunk/modules/mathops/mathops.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:[9939] trunk/modules/avpops
Revision: 9939 http://opensips.svn.sourceforge.net/opensips/?rev=9939view=rev Author: liviuchircu Date: 2013-03-29 16:09:50 + (Fri, 29 Mar 2013) Log Message: --- [avpops module]: avp_db_load() new optional string parameter If specified, it will serve as a prefix for the names of the populated AVPs. Allows distinction at script level between identical attributes in the usr_preferences table. Modified Paths: -- trunk/modules/avpops/README trunk/modules/avpops/avpops.c trunk/modules/avpops/avpops_impl.c trunk/modules/avpops/avpops_impl.h trunk/modules/avpops/doc/avpops_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:[9940] trunk/modules
Revision: 9940 http://opensips.svn.sourceforge.net/opensips/?rev=9940view=rev Author: liviuchircu Date: 2013-03-29 17:41:22 + (Fri, 29 Mar 2013) Log Message: --- [NEW rest_client module]: Offers the possibility of interaction with an HTTP server It requires libcurl and currently implements the GET and POST methods. Added Paths: --- trunk/modules/rest_client/ trunk/modules/rest_client/Makefile trunk/modules/rest_client/README trunk/modules/rest_client/doc/ trunk/modules/rest_client/doc/rest_client.xml trunk/modules/rest_client/doc/rest_client_admin.xml trunk/modules/rest_client/rest_cb.c trunk/modules/rest_client/rest_cb.h trunk/modules/rest_client/rest_client.c trunk/modules/rest_client/rest_methods.c trunk/modules/rest_client/rest_methods.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:[9941] trunk/Makefile.conf
Revision: 9941 http://opensips.svn.sourceforge.net/opensips/?rev=9941view=rev Author: liviuchircu Date: 2013-03-29 17:56:42 + (Fri, 29 Mar 2013) Log Message: --- Makefile.conf: added rest_client to the list of excluded modules Modified Paths: -- trunk/Makefile.conf 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] rest_client module
Hello all, A new *rest_client* module is now available in the OpenSIPS trunk. It currently offers the possibility of querying an HTTP server with GET and POST messages. The following is a quick example of issuing an HTTP GET in the OpenSIPS script in a RESTful manner: rest_get(http://myserver.org/userinfo/$fU;, $avp(body))); xlog(Info of user $fU: $avp(body)\n); Please refer to the module documentation [1] for complete examples, along with a more in-depth description of the module functions and dependencies. Testing and feedback are appreciated. [1] http://www.opensips.org/html/docs/modules/devel/rest_client.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
Re: [OpenSIPS-Devel] [NEW] rest_client module
Hello Jamuel, Basic and Digest HTTP AUTH methods? If there is sufficient demand for it, it may go in the 1.10 TODO list. Is this module just a wrapper around libcurl? Can we set the various curl options that are exported from libcurl? As the module will grow in features, more libcurl options will be exposed as module parameters. Currently, the only options you can set are timeout-related. What would make this module RESTful per se in so much as it looks more like a generic HTTP Client? Might the module's name just be curl module or http_client? I noticed that as well, but simply went with the initial idea for the name. We can change it any time! Thank you for the quick feedback! Regards, Liviu Chircu OpenSIPS dev http://www.opensips-solutions.com On 04/02/2013 07:51 PM, Jamuel Starkey wrote: Hi Liviu, Thank you for exposing curl! Will you be supporting Basic and Digest HTTP AUTH methods? And is this module just a wrapper around libcurl? Can we set the various curl options that are exported from libcurl? In general I don't see what would make this module RESTful per se in so much as it looks more like a generic HTTP Client? Might the module's name just be curl module or http_client? Or do you expect to provide other REST-like methods like (PUT and DELETE)? Thanks again for the feature! Cheers, JPS On Apr 2, 2013, at 5:27 AM, Liviu Chircu wrote: Hello all, A new *rest_client* module is now available in the OpenSIPS trunk. It currently offers the possibility of querying an HTTP server with GET and POST messages. The following is a quick example of issuing an HTTP GET in the OpenSIPS script in a RESTful manner: rest_get(http://myserver.org/userinfo/$fU;, $avp(body))); xlog(Info of user $fU: $avp(body)\n); Please refer to the module documentation [1] for complete examples, along with a more in-depth description of the module functions and dependencies. Testing and feedback are appreciated. [1] http://www.opensips.org/html/docs/modules/devel/rest_client.html Best regards, -- Liviu Chircu OpenSIPS Dev http://www.opensips-solutions.com ATT1.c ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] SF.net SVN: opensips:[9975] trunk/crc.c
Revision: 9975 http://opensips.svn.sourceforge.net/opensips/?rev=9975view=rev Author: liviuchircu Date: 2013-04-22 15:59:32 + (Mon, 22 Apr 2013) Log Message: --- [core]: Fixed a typecast bug in crc32_uint Modified Paths: -- trunk/crc.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:[9976] branches/1.9/crc.c
Revision: 9976 http://opensips.svn.sourceforge.net/opensips/?rev=9976view=rev Author: liviuchircu Date: 2013-04-22 16:00:30 + (Mon, 22 Apr 2013) Log Message: --- backport from trunk (rev #9975): [core]: Fixed a typecast related bug in crc32_uint Revision Links: -- http://opensips.svn.sourceforge.net/opensips/?rev=9975view=rev Modified Paths: -- branches/1.9/crc.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:[9977] branches/1.8/crc.c
Revision: 9977 http://opensips.svn.sourceforge.net/opensips/?rev=9977view=rev Author: liviuchircu Date: 2013-04-22 16:01:38 + (Mon, 22 Apr 2013) Log Message: --- backport from trunk (rev #9975): [core]: Fixed a typecast bug in crc32_uint Revision Links: -- http://opensips.svn.sourceforge.net/opensips/?rev=9975view=rev Modified Paths: -- branches/1.8/crc.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] Known issue in usrloc
Hello all, This is an informative email, related to a known issue currently present on the *1.9* branch. Since the fix also implies making structural table changes, it will only be present in the upcoming major release. Going into the details, the problem is related to storing the *branch flags* of all contacts in the */location/**/table/*. If the script is changed (in a way that /adds/ branch flags, or /interchanges/ some branch flag assignments), all the branch flag bitmasks of the contacts stored in the location table suddenly have no meaning (in other words, they are now/corrupt/). *Symptoms*: If the server is restarted using the new script, contacts may either be loaded with undesired branch flags, or some of them may not be set (maybe a DO_NAT bflag will be missing). *Workaround*: If the script changes in the way described above (/more/less/ bflags or different b-flags are /assigned/cleared/ in a new order), *all the contacts* in the location table *must be **purged* before restarting opensips. The issue will be addressed on the working branch, but we prefer not to propagate the changes to the 1.9 branch because the (only) solution is not quite backwards-compatible. We will soon create a Known Issues page in the /Manuals/ section of the /OpenSIPS Documentation/ [1] to better inform everyone of such details. Best regards, Liviu [1]: http://www.opensips.org/Documentation/Manuals ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [NEW] Dialog replication using a new core interface
Hello all, OpenSIPS just got better with a /new core interface/ and a /new failover mechanism/! The purpose of the new *Binary Internal Interface *is to offer a fast and efficient communication channel between OpenSIPS instances. OpenSIPS modules can now use this core interface to send/receive packets with specific information. A common usage case for this feature would be data replication between a primary instance and a backup one. This is especially useful in scenarios with OpenSIPS instances which handle large amounts of concurrent calls, so that failover through a database backend is not feasible anymore due to the significant time required in order to load the needed tables. As an example of using the interface, the dialog module now offers the possibility of *replicating dialogs* to another instance. The script writer may now configure a set of proxies which will receive dialog-related events: /creation/, /confirmation/ and /deletion/, all in /realtime/. These messages are compact and they are sent over UDP. The dialog module now also exports several new statistics which show the total sent/received replication packets. Configuring UDP listeners for the new interface is trivial and explained in the OpenSIPS manuals [1]. [1]: http://www.opensips.org/Documentation/Interface-Binary Best regards, -- Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [NEW] Sangoma Voice Transcoding Module
Hello all, The next OpenSIPS release has been improved with an *audio**transcoding module* for the D-series cards manufactured by Sangoma. It is based on the public /sngtc_node/ library from Sangoma. In order to test it out, the following things are needed: - the Sangoma SOAP server (/sngtc_server /daemon/)/ to be up and running - at least one D-series transcoding card belonging to the same network For more details on setting up the cards and an overview of the transcoding setup, *a transcoding tutorial* is available at [1]. The module documentation is available in the development version manuals [2]. Feedback and suggestions are much appreciated. [1] http://www.opensips.org/Documentation/Tutorials-SangomaVoiceTranscoding http://www.opensips.org/Documentation/Modules-1-10[2] http://www.opensips.org/Documentation/Modules-1-10 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] [OpenSIPS/opensips] 101ee7: Fix a particular startup crash
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 101ee782480af07cd9d056b41b9f33d331d21951 https://github.com/OpenSIPS/opensips/commit/101ee782480af07cd9d056b41b9f33d331d21951 Author: Liviu Chircu li...@opensips.org Date: 2013-10-10 (Thu, 10 Oct 2013) Changed paths: M socket_info.c Log Message: --- Fix a particular startup crash e.g. when defining only 1 tcp interface while specifying disable_tcp=true ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 1f3661: Fix a particular startup crash
Branch: refs/heads/1.9 Home: https://github.com/OpenSIPS/opensips Commit: 1f3661515822355924ad26e9f89a030b2d8d82d0 https://github.com/OpenSIPS/opensips/commit/1f3661515822355924ad26e9f89a030b2d8d82d0 Author: Liviu Chircu li...@opensips.org Date: 2013-10-10 (Thu, 10 Oct 2013) Changed paths: M socket_info.c Log Message: --- Fix a particular startup crash e.g. when defining only 1 tcp interface while specifying disable_tcp=true (cherry picked from commit 101ee782480af07cd9d056b41b9f33d331d21951) ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 728bde: Fix a particular startup crash
Branch: refs/heads/1.10 Home: https://github.com/OpenSIPS/opensips Commit: 728bdefdc583b684168a4b502fd49456a99eabac https://github.com/OpenSIPS/opensips/commit/728bdefdc583b684168a4b502fd49456a99eabac Author: Liviu Chircu li...@opensips.org Date: 2013-10-10 (Thu, 10 Oct 2013) Changed paths: M socket_info.c Log Message: --- Fix a particular startup crash e.g. when defining only 1 tcp interface while specifying disable_tcp=true (cherry picked from commit 101ee782480af07cd9d056b41b9f33d331d21951) ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] e9100e: Fix a particular startup crash
Branch: refs/heads/1.8 Home: https://github.com/OpenSIPS/opensips Commit: e9100e51ad515f19a17cd3ba7c1df61ee5eb6535 https://github.com/OpenSIPS/opensips/commit/e9100e51ad515f19a17cd3ba7c1df61ee5eb6535 Author: Liviu Chircu li...@opensips.org Date: 2013-10-10 (Thu, 10 Oct 2013) Changed paths: M socket_info.c Log Message: --- Fix a particular startup crash e.g. when defining only 1 tcp interface while specifying disable_tcp=true (cherry picked from commit 101ee782480af07cd9d056b41b9f33d331d21951) ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 3a334c: Allow NULL strings to be pushed into binary interf...
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 3a334c3042be2fbc5e7e6019c0f9c8ddef4f6922 https://github.com/OpenSIPS/opensips/commit/3a334c3042be2fbc5e7e6019c0f9c8ddef4f6922 Author: Liviu Chircu li...@opensips.org Date: 2013-10-10 (Thu, 10 Oct 2013) Changed paths: M bin_interface.c M bin_interface.h Log Message: --- Allow NULL strings to be pushed into binary interface packets ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 7e0aa9: Allow NULL strings to be pushed into binary interf...
Branch: refs/heads/1.10 Home: https://github.com/OpenSIPS/opensips Commit: 7e0aa9a75715503eef1b86f3558c7181f203587e https://github.com/OpenSIPS/opensips/commit/7e0aa9a75715503eef1b86f3558c7181f203587e Author: Liviu Chircu li...@opensips.org Date: 2013-10-10 (Thu, 10 Oct 2013) Changed paths: M bin_interface.c M bin_interface.h Log Message: --- Allow NULL strings to be pushed into binary interface packets (cherry picked from commit 3a334c3042be2fbc5e7e6019c0f9c8ddef4f6922) ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 0dc652: Minor binary interface improvements
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0dc65249621420a444534527db01e220382e976e https://github.com/OpenSIPS/opensips/commit/0dc65249621420a444534527db01e220382e976e Author: Liviu Chircu li...@opensips.org Date: 2013-10-15 (Tue, 15 Oct 2013) Changed paths: M bin_interface.c M bin_interface.h Log Message: --- Minor binary interface improvements - better debugging on receive operations - improve readability with a couple of macros Commit: 268803b1091c2f162564c441d1b0d52f9d5e908e https://github.com/OpenSIPS/opensips/commit/268803b1091c2f162564c441d1b0d52f9d5e908e Author: Liviu Chircu li...@opensips.org Date: 2013-10-15 (Tue, 15 Oct 2013) Changed paths: M modules/osp/README M modules/osp/doc/osp_admin.xml M modules/osp/etc/sample-osp-opensips.cfg M modules/osp/globals.c M modules/osp/osp_mod.c M modules/osp/osp_mod.h M modules/osp/sipheader.c Log Message: --- Merge branch 'master' of github.com:OpenSIPS/opensips Compare: https://github.com/OpenSIPS/opensips/compare/414504077dc7...268803b1091c ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 62cade: Enhance usrloc with the binary replication feature
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 62cadee93037db195b5b696ebe8b71bad825f310 https://github.com/OpenSIPS/opensips/commit/62cadee93037db195b5b696ebe8b71bad825f310 Author: Liviu Chircu li...@opensips.org Date: 2013-10-17 (Thu, 17 Oct 2013) Changed paths: M modules/registrar/lookup.c M modules/registrar/save.c M modules/usrloc/README M modules/usrloc/dlist.c M modules/usrloc/doc/usrloc_admin.xml M modules/usrloc/doc/usrloc_devel.xml M modules/usrloc/ucontact.c M modules/usrloc/ucontact.h M modules/usrloc/udomain.c M modules/usrloc/udomain.h M modules/usrloc/ul_mi.c M modules/usrloc/ul_mod.c M modules/usrloc/urecord.c M modules/usrloc/urecord.h A modules/usrloc/ureplication.c A modules/usrloc/ureplication.h Log Message: --- Enhance usrloc with the binary replication feature - 3 additional module parameters - extra parameter in some usrloc_api functions - properly works with all DB modes ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [NEW] User Location replication
Hello all, As another usage case for the internal OpenSIPS-OpenSIPS interaction through the /Binary Interface/, the */user-location binary replication/* feature has been added to the *master* branch! It comes as an alternative way of achieving registrar redundancy to the existing SIP-based approach (i.e. duplicating incoming REGISTER requests). The new approach has several new advantages: - the entire process is faster, because there is no more SIP message parsing involved. - no redundant headers, no escape characters, all which have positive impacts on bandwith usage - it requires no scripting logic at all. (just module parameters) More information is available on the usrloc module documentation. [1] Feedback, testing, and constructive opinions are welcome, as always. [1]: http://www.opensips.org/html/docs/modules/1.11.x/usrloc.html Best regards, -- Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 1b12e2: Scripting enhancement: for-each statement
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 1b12e26a372db840f542900cad07b7027514c0b5 https://github.com/OpenSIPS/opensips/commit/1b12e26a372db840f542900cad07b7027514c0b5 Author: Liviu Chircu li...@opensips.org Date: 2013-10-18 (Fri, 18 Oct 2013) Changed paths: M action.c M cfg.lex M cfg.y M route.c M route_struct.h Log Message: --- Scripting enhancement: for-each statement - syntax: for ($var(it) in $avp(array)) { ... } - faster than the while-based equivalent loop - currently only allows iterating over an avp's values ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 2418f3: Fix bogus comma when printing an AVP array with $(...
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 2418f37c676c184393d76a17c772f46e44fdeeec https://github.com/OpenSIPS/opensips/commit/2418f37c676c184393d76a17c772f46e44fdeeec Author: Liviu Chircu li...@opensips.org Date: 2013-11-07 (Thu, 07 Nov 2013) Changed paths: M pvar.c Log Message: --- Fix bogus comma when printing an AVP array with $(avp(foo)[*]) ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] a53265: Mask compile-time shift/reduce conflict due to if ...
Branch: refs/heads/1.10 Home: https://github.com/OpenSIPS/opensips Commit: a53265087efd4c02433ab79147b41be02770994d https://github.com/OpenSIPS/opensips/commit/a53265087efd4c02433ab79147b41be02770994d Author: Liviu Chircu li...@opensips.org Date: 2013-11-16 (Sat, 16 Nov 2013) Changed paths: M cfg.y Log Message: --- Mask compile-time shift/reduce conflict due to if statement ambiguity (cherry picked from commit c4b8be1cb86ba6d169ae97b221d4986f8ecad9a4) ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 8f8c5d: Mask compile-time shift/reduce conflict due to if ...
Branch: refs/heads/1.9 Home: https://github.com/OpenSIPS/opensips Commit: 8f8c5ded0a647357fa8c275c4be5b1c46f6ee89a https://github.com/OpenSIPS/opensips/commit/8f8c5ded0a647357fa8c275c4be5b1c46f6ee89a Author: Liviu Chircu li...@opensips.org Date: 2013-11-16 (Sat, 16 Nov 2013) Changed paths: M cfg.y Log Message: --- Mask compile-time shift/reduce conflict due to if statement ambiguity (cherry picked from commit c4b8be1cb86ba6d169ae97b221d4986f8ecad9a4) ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 9d5889: Add the SIP-wise determined next_hop field to uc...
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9d5889b16ad2aa1f19399d570d6821c1ff30e53f https://github.com/OpenSIPS/opensips/commit/9d5889b16ad2aa1f19399d570d6821c1ff30e53f Author: Liviu Chircu li...@opensips.org Date: 2013-11-22 (Fri, 22 Nov 2013) Changed paths: M modules/nathelper/nathelper.c M modules/usrloc/dlist.c M modules/usrloc/ucontact.c M modules/usrloc/ucontact.h Log Message: --- Add the SIP-wise determined next_hop field to ucontact_t * based on Path - Received - Contact (decreasing priorities) * URIs are parsed only at contact creation * useful for the nathelper SIP pinging routine and domain-based lookups * compatible with all DB modes, no extra DB columns required ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 084506: Add the remove script function to the registrar ...
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0845069617810fc1cfbe570292a19c1bf8dd6ef3 https://github.com/OpenSIPS/opensips/commit/0845069617810fc1cfbe570292a19c1bf8dd6ef3 Author: Liviu Chircu li...@opensips.org Date: 2013-11-22 (Fri, 22 Nov 2013) Changed paths: M modules/registrar/README M modules/registrar/doc/registrar_admin.xml M modules/registrar/reg_mod.c M modules/registrar/save.c M modules/registrar/save.h Log Message: --- Add the remove script function to the registrar module * remove(domain, AOR[, target]]) * explicitly remove contacts behind specific addresses-of-record * may delete contacts by Contact URI or by domain * domains are resolved before they are matched ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] f90e34: Fix the DB representation of message flags in the ...
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f90e347e281b555f89ba05226175ac8d9f07c4ed https://github.com/OpenSIPS/opensips/commit/f90e347e281b555f89ba05226175ac8d9f07c4ed Author: Liviu Chircu li...@opensips.org Date: 2013-11-22 (Fri, 22 Nov 2013) Changed paths: M modules/acc/acc_logic.c Log Message: --- Fix the DB representation of message flags in the acc module * storing flags as strings rather than bitmasks prevents flag conflicts when doing flag modifications in the script, then restarting the proxy * similar usrloc issue was fixed in commit 98b6b0437 ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] aead3a: Fix the DB representation of message flags in the ...
Branch: refs/heads/1.10 Home: https://github.com/OpenSIPS/opensips Commit: aead3a7c85b47c309c9702bb3cac6531512f8add https://github.com/OpenSIPS/opensips/commit/aead3a7c85b47c309c9702bb3cac6531512f8add Author: Liviu Chircu li...@opensips.org Date: 2013-11-22 (Fri, 22 Nov 2013) Changed paths: M modules/acc/acc_logic.c Log Message: --- Fix the DB representation of message flags in the acc module * storing flags as strings rather than bitmasks prevents flag conflicts when doing flag modifications in the script, then restarting the proxy * similar usrloc issue was fixed in commit 98b6b0437 (cherry picked from commit f90e347e281b555f89ba05226175ac8d9f07c4ed) ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 699917: Fix the DB representation of message flags in the ...
Branch: refs/heads/1.9 Home: https://github.com/OpenSIPS/opensips Commit: 6999178d73147f8ac4deace8b9bfa431fb776b69 https://github.com/OpenSIPS/opensips/commit/6999178d73147f8ac4deace8b9bfa431fb776b69 Author: Liviu Chircu li...@opensips.org Date: 2013-11-22 (Fri, 22 Nov 2013) Changed paths: M flags.c M flags.h M modules/acc/acc_logic.c M pvar.c Log Message: --- Fix the DB representation of message flags in the acc module * storing flags as strings rather than bitmasks prevents flag conflicts when doing flag modifications in the script, then restarting the proxy * similar usrloc issue was fixed in commit 98b6b0437 ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] f45637: Ignore all cscope database files
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f45637721734bc49568db32373772b1cfc15b983 https://github.com/OpenSIPS/opensips/commit/f45637721734bc49568db32373772b1cfc15b983 Author: Liviu Chircu li...@opensips.org Date: 2013-11-22 (Fri, 22 Nov 2013) Changed paths: M .gitignore Log Message: --- Ignore all cscope database files ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Re: [OpenSIPS-Devel] [opensips] Mathops extension (#144)
As a side note, the module can still be improved with a series of fixup optimizations which include pvar handling (token should include an un-evaluated pv_spec_p struct) in order to avoid expression parsing at runtime. I should put this on the TODO list :) A couple of quick ideas related to the pull request: * Reverse Polish notation is HIDEOUS. Humans hate it and parsers love it. I have some doubts about the module exposing a function that takes non-intuitive inputs. Building code on top of existing code (i.e. enhancing math_eval with maintaining proper operator priorities), and hiding the internal logic would be a better approach. * it looks like parsing will fail with math_rpn(2 1 1 +*, $var(res)) (maybe I'm wrong!) * please use tabs for code indenting! (you can configure your editor afterwards for 2-char-wide tabs) * try to be consistent with existing code. Not for ( i.. but for (i Not if(... but if (...) To better understand reason 1), I give you the following exercise: Convert 1 + exp(10, 5) - 2 * 2 in RPN. How long did it take you? :) --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/144#issuecomment-29552893___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 21f543: Fix a couple of potential deadlocks in commit b30b...
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 21f543d1c86eb1b5ad858e83331bb8644b3a1fbf https://github.com/OpenSIPS/opensips/commit/21f543d1c86eb1b5ad858e83331bb8644b3a1fbf Author: Liviu Chircu li...@opensips.org Date: 2013-12-06 (Fri, 06 Dec 2013) Changed paths: M modules/dispatcher/dispatch.c Log Message: --- Fix a couple of potential deadlocks in commit b30b43b4 ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] c8f47c: Fix compile warnings when defining -DDBG_LOCK
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c8f47c8bc1124537253d5b1fbac74bc039445700 https://github.com/OpenSIPS/opensips/commit/c8f47c8bc1124537253d5b1fbac74bc039445700 Author: Liviu Chircu li...@opensips.org Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M modules/tm/lock.h Log Message: --- Fix compile warnings when defining -DDBG_LOCK ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Re: [OpenSIPS-Devel] [opensips] Mathops extension (#144)
Merged #144. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/144___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 6c0659: Correct an error message
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 6c065947d2ef209691e5b3a133844c8a52c031d3 https://github.com/OpenSIPS/opensips/commit/6c065947d2ef209691e5b3a133844c8a52c031d3 Author: Liviu Chircu li...@opensips.org Date: 2014-01-10 (Fri, 10 Jan 2014) Changed paths: M modules/dialplan/dialplan.c Log Message: --- Correct an error message ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] a87b2a: Mathops extensions
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a87b2af2cf9f25c0d8b199a12b72ff17d2f3b460 https://github.com/OpenSIPS/opensips/commit/a87b2af2cf9f25c0d8b199a12b72ff17d2f3b460 Author: Stephane Alnet steph...@shimaore.net Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M modules/mathops/doc/mathops.xml M modules/mathops/doc/mathops_admin.xml M modules/mathops/math_funcs.c M modules/mathops/math_funcs.h M modules/mathops/mathops.c Log Message: --- Mathops extensions Add a new `math_rpn` function, and capacity to add new operators when using the RPN parser. New operators (RPN only): `exp`, `floor` Commit: be2ce6f82236c4a8fd0d51b0dd7549b137d37071 https://github.com/OpenSIPS/opensips/commit/be2ce6f82236c4a8fd0d51b0dd7549b137d37071 Author: Stephane Alnet steph...@shimaore.net Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M modules/mathops/README Log Message: --- Built README Commit: d8239329773c8bd01b22887550a70a612f1f7a94 https://github.com/OpenSIPS/opensips/commit/d8239329773c8bd01b22887550a70a612f1f7a94 Author: Stephane Alnet steph...@shimaore.net Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M modules/mathops/doc/mathops_admin.xml M modules/mathops/math_funcs.c Log Message: --- Corrected typos. Commit: 277615685ce63aa171807ce560d51eb6d5f4c262 https://github.com/OpenSIPS/opensips/commit/277615685ce63aa171807ce560d51eb6d5f4c262 Author: Stephane Alnet steph...@shimaore.net Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M modules/mathops/README Log Message: --- Rebuilt README Commit: 56853795fda1d460da4b78b914dde85daa382c1f https://github.com/OpenSIPS/opensips/commit/56853795fda1d460da4b78b914dde85daa382c1f Author: Liviu Chircu li...@opensips.org Date: 2014-01-10 (Fri, 10 Jan 2014) Changed paths: M modules/mathops/README M modules/mathops/doc/mathops.xml M modules/mathops/doc/mathops_admin.xml M modules/mathops/math_funcs.c M modules/mathops/math_funcs.h M modules/mathops/mathops.c Log Message: --- Merge pull request #144 from shimaore/mathops_extension Mathops extension: new RPN expression parsing function Compare: https://github.com/OpenSIPS/opensips/compare/6c065947d2ef...56853795fda1___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 707982: Fix mf_process_maxfwd_header retcode in case of ...
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 707982e4ec75f33a1feb5fb00b8b1b71ef77a6bf https://github.com/OpenSIPS/opensips/commit/707982e4ec75f33a1feb5fb00b8b1b71ef77a6bf Author: Liviu Chircu li...@opensips.org Date: 2014-01-30 (Thu, 30 Jan 2014) Changed paths: M modules/maxfwd/maxfwd.c Log Message: --- Fix mf_process_maxfwd_header retcode in case of parsing errors ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] d31d33: Fix mf_process_maxfwd_header retcode in case of ...
Branch: refs/heads/1.10 Home: https://github.com/OpenSIPS/opensips Commit: d31d3328785ff4c7b8825ff89110a377f3196347 https://github.com/OpenSIPS/opensips/commit/d31d3328785ff4c7b8825ff89110a377f3196347 Author: Liviu Chircu li...@opensips.org Date: 2014-01-30 (Thu, 30 Jan 2014) Changed paths: M modules/maxfwd/maxfwd.c Log Message: --- Fix mf_process_maxfwd_header retcode in case of parsing errors (cherry picked from commit 707982e4ec75f33a1feb5fb00b8b1b71ef77a6bf) ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] fac6a8: Fix mf_process_maxfwd_header retcode in case of ...
Branch: refs/heads/1.8 Home: https://github.com/OpenSIPS/opensips Commit: fac6a8f32d5f5d8930606df20bd208d2d0ac https://github.com/OpenSIPS/opensips/commit/fac6a8f32d5f5d8930606df20bd208d2d0ac Author: Liviu Chircu li...@opensips.org Date: 2014-01-30 (Thu, 30 Jan 2014) Changed paths: M modules/maxfwd/maxfwd.c Log Message: --- Fix mf_process_maxfwd_header retcode in case of parsing errors (cherry picked from commit 707982e4ec75f33a1feb5fb00b8b1b71ef77a6bf) ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 30570f: Fix mf_process_maxfwd_header retcode in case of ...
Branch: refs/heads/1.9 Home: https://github.com/OpenSIPS/opensips Commit: 30570f6eff277c9bee7845012f302c5858836b21 https://github.com/OpenSIPS/opensips/commit/30570f6eff277c9bee7845012f302c5858836b21 Author: Liviu Chircu li...@opensips.org Date: 2014-01-30 (Thu, 30 Jan 2014) Changed paths: M modules/maxfwd/maxfwd.c Log Message: --- Fix mf_process_maxfwd_header retcode in case of parsing errors (cherry picked from commit 707982e4ec75f33a1feb5fb00b8b1b71ef77a6bf) ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 06a76b: Fix NULL pointer deref. in acc_db_request when ...
Branch: refs/heads/1.10 Home: https://github.com/OpenSIPS/opensips Commit: 06a76bbc628a439df1c34242bf8a47db692621cc https://github.com/OpenSIPS/opensips/commit/06a76bbc628a439df1c34242bf8a47db692621cc Author: Liviu Chircu li...@opensips.org Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M modules/acc/acc_logic.c Log Message: --- Fix NULL pointer deref. in acc_db_request when db_url is not set (cherry picked from commit 5d61f3789b191c04d0595aed6e1eb94392fc9e0c) ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 5d61f3: Fix NULL pointer deref. in acc_db_request when ...
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 5d61f3789b191c04d0595aed6e1eb94392fc9e0c https://github.com/OpenSIPS/opensips/commit/5d61f3789b191c04d0595aed6e1eb94392fc9e0c Author: Liviu Chircu li...@opensips.org Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M modules/acc/acc_logic.c Log Message: --- Fix NULL pointer deref. in acc_db_request when db_url is not set ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 375c1f: Fix NULL pointer deref. in acc_db_request when ...
Branch: refs/heads/1.9 Home: https://github.com/OpenSIPS/opensips Commit: 375c1f0b25523909ce57ac8653b40c22d385 https://github.com/OpenSIPS/opensips/commit/375c1f0b25523909ce57ac8653b40c22d385 Author: Liviu Chircu li...@opensips.org Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M modules/acc/acc_logic.c Log Message: --- Fix NULL pointer deref. in acc_db_request when db_url is not set (cherry picked from commit 5d61f3789b191c04d0595aed6e1eb94392fc9e0c) ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Re: [OpenSIPS-Devel] [opensips] Segmentation fault. #0 free_contacts (#167)
Closed #167. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/167___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 7637f5: Proper reporting for invalid module parameter type...
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 7637f589f8ff9b2ce636a63d6eab5ffc05efae67 https://github.com/OpenSIPS/opensips/commit/7637f589f8ff9b2ce636a63d6eab5ffc05efae67 Author: Liviu Chircu li...@opensips.org Date: 2014-02-20 (Thu, 20 Feb 2014) Changed paths: M modparam.c Log Message: --- Proper reporting for invalid module parameter types ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 1ccdca: Job timeout for the 'exec' module
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 1ccdca46dd0af80a401d3fceac12f56f46555910 https://github.com/OpenSIPS/opensips/commit/1ccdca46dd0af80a401d3fceac12f56f46555910 Author: Liviu Chircu li...@opensips.org Date: 2014-02-24 (Mon, 24 Feb 2014) Changed paths: M doc/entities.xml M modules/exec/README M modules/exec/doc/exec_admin.xml M modules/exec/exec.c M modules/exec/exec_mod.c M modules/exec/kill.c M modules/exec/kill.h Log Message: --- Job timeout for the 'exec' module * the time_to_kill parameter now works for all exec_* commands * improved overall documentation and usage examples ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Re: [OpenSIPS-Devel] [opensips] exec time_to_kill param not working (#157)
Fixed in commit 1ccdca46d. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/157#issuecomment-35929990___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Re: [OpenSIPS-Devel] [opensips] exec time_to_kill param not working (#157)
Closed #157. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/157___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 6da4e4: registrar: Fix harmless compiler warning
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 6da4e47f0c666420af647a660fa186cad7f5d7cc https://github.com/OpenSIPS/opensips/commit/6da4e47f0c666420af647a660fa186cad7f5d7cc Author: Liviu Chircu li...@opensips.org Date: 2014-02-26 (Wed, 26 Feb 2014) Changed paths: M modules/registrar/save.c Log Message: --- registrar: Fix harmless compiler warning Commit: 23174d2629c8ce4c307ff6d68d8db41ca9c7259f https://github.com/OpenSIPS/opensips/commit/23174d2629c8ce4c307ff6d68d8db41ca9c7259f Author: Liviu Chircu li...@opensips.org Date: 2014-02-26 (Wed, 26 Feb 2014) Changed paths: M modules/dialplan/README M modules/dialplan/dialplan.c M modules/dialplan/doc/dialplan_admin.xml Log Message: --- dialplan: move the attrs pvar into the dp_translate param list * simplifies the scripting logic * more efficient - it is now a local option, as opposed to a global one Compare: https://github.com/OpenSIPS/opensips/compare/7870f22613f2...23174d2629c8___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 1d5e11: Fix issue introduced in commit 23174d2629c
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 1d5e117162073849afad3a6d62ee3aba6be90565 https://github.com/OpenSIPS/opensips/commit/1d5e117162073849afad3a6d62ee3aba6be90565 Author: Liviu Chircu li...@opensips.org Date: 2014-02-26 (Wed, 26 Feb 2014) Changed paths: M modules/dialplan/dialplan.c Log Message: --- Fix issue introduced in commit 23174d2629c ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 79bc8d: tm: change the fr_(inv_)?timer_avp params into m...
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 79bc8d77fafd44e01a37ff172102146ec3b31907 https://github.com/OpenSIPS/opensips/commit/79bc8d77fafd44e01a37ff172102146ec3b31907 Author: Liviu Chircu li...@opensips.org Date: 2014-02-26 (Wed, 26 Feb 2014) Changed paths: M modules/tm/README M modules/tm/doc/tm_admin.xml M modules/tm/h_table.c M modules/tm/h_table.h M modules/tm/t_funcs.c M modules/tm/t_funcs.h M modules/tm/t_reply.c M modules/tm/tm.c Log Message: --- tm: change the fr_(inv_)?timer_avp params into module vars * namely $T_fr_timer and $T_fr_inv_timer * simplifies the scripting logic (also prevents some errors) * less CPU cycles, less mem usage * documentation updated ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Re: [OpenSIPS-Devel] [opensips] mod_fix: new helper fixup function that returns string and/or int value from a gparam_t (7870f22)
Personally, I consider that *fixup_get_isvalue* would have a lot more value if it did had the option to do conversions internally, thus masking the whole flag pvar logic behind it. It should have a prototype such as: int fixup_get_isvalue(struct sip_msg* msg, gparam_p gp, int_str *out, enum conv); where conv could be { CONVERT_NONE, CONVERT_TO_INT, CONVERT_TO_STR } --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/commit/7870f22613f2c6873177b615326e81d217e141a9#commitcomment-5509080___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 52b679: mod_fix: have commit 4e3b6b7c390a work on strings ...
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 52b6793c9abef37377699bfd04b618a8f9a935a1 https://github.com/OpenSIPS/opensips/commit/52b6793c9abef37377699bfd04b618a8f9a935a1 Author: Liviu Chircu li...@opensips.org Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M mod_fix.c Log Message: --- mod_fix: have commit 4e3b6b7c390a work on strings and pv_elem_t as well ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Re: [OpenSIPS-Devel] Memory Lick problem
Hello Mike, The pkg memory hash dump you have posted looks ok. It has some parser, networking, pseudo-variable and timer memory allocated, and no obvious signs of a leak. What ERRORs do you see in the OpenSIPS logs? Are you able to extract the similar logs which show the Memory status (shm) output? Best regards, Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 02/27/2014 06:47 PM, Mike Tesliuk wrote: Hello Guys, Im getting a problem with out of memory on a opensips, this opensips is running on kvm server and i have just two servers on this server, i have enough memory, can you guys try to help me to understand the debug on the link below ? http://204.16.1.50/memoryfail.txt This opensips have simple rules and load_balance I will apreciate any help. Thanks ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Re: [OpenSIPS-Devel] Memory Lick problem
It doesn't matter how many memory you have. OpenSIPS only uses what it is configured to start with. Restart your OpenSIPS daemon using the -m 512 -M 32 options (512MB shared between children, 32MB private for each one). It should be more than enough to handle 600 concurrent calls. Best regards, Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 02/27/2014 07:40 PM, Mike Tesliuk wrote: Hello Liviu, Thanks for you help. Im receiving messages of no memmory : WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation Feb 25 15:13:02 sipproxy1 /usr/local/opensips/sbin/opensips[8125]: ERROR:dialog:dlg_add_leg_info: Failed to resize legs array Feb 25 15:13:02 sipproxy1 /usr/local/opensips/sbin/opensips[8125]: ERROR:dialog:init_leg_info: dlg_add_leg_info failed Feb 25 15:13:02 sipproxy1 /usr/local/opensips/sbin/opensips[8125]: ERROR:dialog:dlg_create_dialog: could not add further info to the dialog Feb 25 15:13:02 sipproxy1 /usr/local/opensips/sbin/opensips[8125]: ERROR:load_balancer:do_load_balance: failed to create dialog The server is virtual host (kvm) with 8 GB dedicated memory , i got something like 600 simultaneos calls The memory status error that you ask is on the link below http://204.16.1.50/memorystatus-shm.txt and i get some ERROR messages on the next link http://204.16.1.50/process-errors.txt ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] aeb4e8: Fix crash when printing $(ct[*])
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: aeb4e886d4cd4fde00440671f913605def9db02f https://github.com/OpenSIPS/opensips/commit/aeb4e886d4cd4fde00440671f913605def9db02f Author: Liviu Chircu li...@opensips.org Date: 2014-03-01 (Sat, 01 Mar 2014) Changed paths: M pvar.c Log Message: --- Fix crash when printing $(ct[*]) ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 81f347: Fix crash when printing $(ct[*])
Branch: refs/heads/1.9 Home: https://github.com/OpenSIPS/opensips Commit: 81f347005f6362858820938b3d0b328272f28140 https://github.com/OpenSIPS/opensips/commit/81f347005f6362858820938b3d0b328272f28140 Author: Liviu Chircu li...@opensips.org Date: 2014-03-01 (Sat, 01 Mar 2014) Changed paths: M pvar.c Log Message: --- Fix crash when printing $(ct[*]) (cherry picked from commit aeb4e886d4cd4fde00440671f913605def9db02f) ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 6e5ed2: Fix crash when printing $(ct[*])
Branch: refs/heads/1.10 Home: https://github.com/OpenSIPS/opensips Commit: 6e5ed263459916579be66b3f911ad824e9c564ba https://github.com/OpenSIPS/opensips/commit/6e5ed263459916579be66b3f911ad824e9c564ba Author: Liviu Chircu li...@opensips.org Date: 2014-03-01 (Sat, 01 Mar 2014) Changed paths: M pvar.c Log Message: --- Fix crash when printing $(ct[*]) (cherry picked from commit aeb4e886d4cd4fde00440671f913605def9db02f) ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] cd9370: core: $hdrcnt should not be indexed
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: cd937048d895f0a52c7776aeb03b81110e9970d2 https://github.com/OpenSIPS/opensips/commit/cd937048d895f0a52c7776aeb03b81110e9970d2 Author: Liviu Chircu li...@opensips.org Date: 2014-03-01 (Sat, 01 Mar 2014) Changed paths: M pvar.c Log Message: --- core: $hdrcnt should not be indexed ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] c09c12: Update .gitignore
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c09c126fbfd6d371b886d775b188c80e74f80432 https://github.com/OpenSIPS/opensips/commit/c09c126fbfd6d371b886d775b188c80e74f80432 Author: Liviu Chircu li...@opensips.org Date: 2014-03-02 (Sun, 02 Mar 2014) Changed paths: M .gitignore Log Message: --- Update .gitignore Commit: 9bfce00a4bd44ccb9ae5bf3bca9d0142912a4f5a https://github.com/OpenSIPS/opensips/commit/9bfce00a4bd44ccb9ae5bf3bca9d0142912a4f5a Author: Liviu Chircu li...@opensips.org Date: 2014-03-02 (Sun, 02 Mar 2014) Changed paths: M action.c M cfg.y Log Message: --- for-each statement completed * final syntax: for ($var(it) in $(ct[*])) { ... } * now works for any pvar which supports indexing * current such pvars in OpenSIPS: $avp, $ct, $ct.fields, $branch, $hdr(xxx)) Compare: https://github.com/OpenSIPS/opensips/compare/cd937048d895...9bfce00a4bd4___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Re: [OpenSIPS-Devel] how to share the dialog data with different modules
Hello, I would suggest attaching these values to the current dialog, as *dialog values*. From a module developer's perspective, you should use the /store_dlg_value /and /fetch_dlg_value/ from /struct dlg_binds /(modules/dialog/dlg_load.h)/. /From a script writer's perspective, you should use the /$dlg_val(key)/ read/write pseudovariable. Best regards, Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 03/04/2014 04:30 AM, jiangzaiweig wrote: hello i have a problem with my project, i want share the dialog data with differenr modules, for example if a message comes, i want save some data ( which is produced in a module) for the next message (which will handled in a different module) in the same dialog, and the data may be a little big for about 2000byte. What can i do? Can the pseudo variable store such big data ? Thanks, jzw. ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] d5f7dd: stun: add the option to specify advertised address...
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d5f7ddf616689bdca26653f87bccd8a1e9c0ffa0 https://github.com/OpenSIPS/opensips/commit/d5f7ddf616689bdca26653f87bccd8a1e9c0ffa0 Author: Liviu Chircu li...@opensips.org Date: 2014-03-04 (Tue, 04 Mar 2014) Changed paths: M modules/stun/stun.c M modules/stun/stun.h Log Message: --- stun: add the option to specify advertised addresses and ports * as an extension to the existing modparam strings Commit: 277f5876c67c5a80223ae08390b9c7e26bbc5665 https://github.com/OpenSIPS/opensips/commit/277f5876c67c5a80223ae08390b9c7e26bbc5665 Author: Liviu Chircu li...@opensips.org Date: 2014-03-04 (Tue, 04 Mar 2014) Changed paths: M modules/stun/README M modules/stun/doc/stun_admin.xml Log Message: --- stun: update documentation Compare: https://github.com/OpenSIPS/opensips/compare/7c171aa1c501...277f5876c67c___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 0b18a1: exec: Fix kill.c compile warnings by including un...
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0b18a178c20a4804bc1d7d10f495add5459afbe9 https://github.com/OpenSIPS/opensips/commit/0b18a178c20a4804bc1d7d10f495add5459afbe9 Author: Walter Doekes walter+git...@wjd.nu Date: 2014-03-05 (Wed, 05 Mar 2014) Changed paths: M modules/exec/kill.c Log Message: --- exec: Fix kill.c compile warnings by including unistd.h. Compiling kill.c kill.c: In function ‘__popen’: kill.c:129:2: warning: implicit declaration of function ‘pipe’ [-Wimplicit-function-declaration] if (pipe(fds) != 0) { ^ ... Commit: f2e64f5de9131736befd3d4322c4ef0e11a5f70f https://github.com/OpenSIPS/opensips/commit/f2e64f5de9131736befd3d4322c4ef0e11a5f70f Author: Walter Doekes walter+git...@wjd.nu Date: 2014-03-05 (Wed, 05 Mar 2014) Changed paths: M pass_fd.c Log Message: --- core: Fix pass_fd.c aliasing warnings by forcing proper packing. Compiling pass_fd.c pass_fd.c: In function ‘send_fd’: pass_fd.c:132:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int*)CMSG_DATA(cmsg)=fd; ^ pass_fd.c: In function ‘receive_fd’: pass_fd.c:240:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *fd=*((int*) CMSG_DATA(cmsg)); ^ Commit: a1d61f3adccbabd6cab745056c04c1c0c2397943 https://github.com/OpenSIPS/opensips/commit/a1d61f3adccbabd6cab745056c04c1c0c2397943 Author: Liviu Chircu li...@opensips.org Date: 2014-03-05 (Wed, 05 Mar 2014) Changed paths: M modules/exec/kill.c M pass_fd.c Log Message: --- Merge branch 'wjd-compile_warnings' of https://github.com/wdoekes/opensips into wdoekes-wjd-compile_warnings Compare: https://github.com/OpenSIPS/opensips/compare/f544472e887d...a1d61f3adccb___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Re: [OpenSIPS-Devel] [opensips] Fix a couple of compile warnings. (#175)
Merged #175. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/175___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel