Re: [OpenSIPS-Devel] how to share the dialog data with different modules
You may use nosql storage, like redis for it. http://www.opensips.org/Documentation/Tutorials-KeyValueInterface http://www.opensips.org/html/docs/modules/1.10.x/cachedb_redis.html -- Nick 2014-03-04 6:30 GMT+04:00 jiangzaiweig : > 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] how to share the dialog data with different modules
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
[OpenSIPS-Devel] [OpenSIPS/opensips] 7c171a: dispatcher: ds_select_dst/domain - fast emty slot ...
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 7c171aa1c501e60c378aa80f380bd670cb5d2443 https://github.com/OpenSIPS/opensips/commit/7c171aa1c501e60c378aa80f380bd670cb5d2443 Author: Ovidiu Sas Date: 2014-03-03 (Mon, 03 Mar 2014) Changed paths: M modules/dispatcher/dispatcher.c Log Message: --- dispatcher: ds_select_dst/domain - fast emty slot detection ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 650a60: drouting: enforce route_to_gw() param parsing
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 650a60b63b5b98e8c2bc1367b643508ce90d5ef2 https://github.com/OpenSIPS/opensips/commit/650a60b63b5b98e8c2bc1367b643508ce90d5ef2 Author: Ovidiu Sas Date: 2014-03-03 (Mon, 03 Mar 2014) Changed paths: M modules/drouting/drouting.c Log Message: --- drouting: enforce route_to_gw() param parsing - no empty slots allowed inside GW list ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] d80936: drouting: do not alter PVARs while scanning GW lis...
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d809369b1e75c910edd896e5e38827ded1c61945 https://github.com/OpenSIPS/opensips/commit/d809369b1e75c910edd896e5e38827ded1c61945 Author: Ovidiu Sas Date: 2014-03-03 (Mon, 03 Mar 2014) Changed paths: M modules/drouting/drouting.c Log Message: --- drouting: do not alter PVARs while scanning GW lists in route_to_gw() ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] b3696d: dispatcher: update documentation for ds_select_dst...
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b3696d2e3a8c04df9de59cb917159cd6de6d51a9 https://github.com/OpenSIPS/opensips/commit/b3696d2e3a8c04df9de59cb917159cd6de6d51a9 Author: Ovidiu Sas Date: 2014-03-03 (Mon, 03 Mar 2014) Changed paths: M modules/dispatcher/README M modules/dispatcher/doc/dispatcher.xml M modules/dispatcher/doc/dispatcher_admin.xml Log Message: --- dispatcher: update documentation for ds_select_dst/domain ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [opensips] Wrong CA private key password in TLS README (#172)
etc/opensips/tls/README states that the password for the 'fake' CA private key is 'opensips' when it is actually 'openser.' opensips 1.10.0-tls --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/172___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 37f877: dispatcher: add ability to dispatch over multiple ...
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 37f8774f5bd5a2b76f0e683069fc0a42f49ca692 https://github.com/OpenSIPS/opensips/commit/37f8774f5bd5a2b76f0e683069fc0a42f49ca692 Author: Ovidiu Sas Date: 2014-03-03 (Mon, 03 Mar 2014) Changed paths: M modules/dispatcher/dispatch.c M modules/dispatcher/dispatch.h M modules/dispatcher/dispatcher.c Log Message: --- dispatcher: add ability to dispatch over multiple dispatchng groups - ds_select_dst/domain can accept lists of comma separated values as parameters ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] [OpenSIPS/opensips] 671b81: core: add q_memrchr - faster memrchr version
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 671b81da74365cd378e4bcafadc10ba32252964c https://github.com/OpenSIPS/opensips/commit/671b81da74365cd378e4bcafadc10ba32252964c Author: Ovidiu Sas Date: 2014-03-03 (Mon, 03 Mar 2014) Changed paths: M ut.h Log Message: --- core: add q_memrchr - faster memrchr version ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Re: [OpenSIPS-Devel] Memory Lick problem
I put the -m to 7168 and -M to 512 , i dont think this is a good way and as i never see this happen before on a real server (not VM) i think that the kvm can be the problem, i have 400 call with 8MB private memory without problem i cant understand how this server got this problem otherwise the VM thing. i have the system working now from two days, let see what happen 2014-02-28 15:24 GMT-05:00 Mike Tesliuk : > Hello Guys, > > I got the same problem again > > this is how im executing > > /usr/local/opensips/sbin/opensips -P /var/run/opensips.pid -f > /etc/opensips/opensips.cfg -m 1024 -M 64 > /usr/local/opensips/sbin/opensips -P /var/run/opensips.pid -f > /etc/opensips/opensips.cfg -m 1024 -M 64 > /usr/local/opensips/sbin/opensips -P /var/run/opensips.pid -f > /etc/opensips/opensips.cfg -m 1024 -M 64 > /usr/local/opensips/sbin/opensips -P /var/run/opensips.pid -f > /etc/opensips/opensips.cfg -m 1024 -M 64 > /usr/local/opensips/sbin/opensips -P /var/run/opensips.pid -f > /etc/opensips/opensips.cfg -m 1024 -M 64 > /usr/local/opensips/sbin/opensips -P /var/run/opensips.pid -f > /etc/opensips/opensips.cfg -m 1024 -M 64 > /usr/local/opensips/sbin/opensips -P /var/run/opensips.pid -f > /etc/opensips/opensips.cfg -m 1024 -M 64 > /usr/local/opensips/sbin/opensips -P /var/run/opensips.pid -f > /etc/opensips/opensips.cfg -m 1024 -M 64 > /usr/local/opensips/sbin/opensips -P /var/run/opensips.pid -f > /etc/opensips/opensips.cfg -m 1024 -M 64 > > > Just to remember i have 8 GB Ram for this server > > Feb 28 15:35:08 sipproxy1 /usr/local/opensips/sbin/opensips[27539]: Grupo > de gateways: 1 > Feb 28 15:35:08 sipproxy1 /usr/local/opensips/sbin/opensips[27539]: > ERROR:dialog:build_new_dlg: no more shm mem (300) > Feb 28 15:35:08 sipproxy1 /usr/local/opensips/sbin/opensips[27539]: > ERROR:dialog:dlg_create_dialog: failed to create new dialog > Feb 28 15:35:08 sipproxy1 /usr/local/opensips/sbin/opensips[27539]: > ERROR:load_balancer:do_load_balance: failed to create dialog > > > > The amount of calls was like 400 calls when i got the message. > > As i say before, im running this host on a kvm server, this is the first > server that i put in prodcution using virtualization, i have real servers > running without problem , the server run fine from yeasterday to now > > Below the link to the script, i double check the script and dont see > anything that can generate this error > > http://204.16.1.50/opensips.cfg > > I will appreciate your help. > > Thanks > > > > 2014-02-27 12:52 GMT-05:00 Mike Tesliuk : > > Ok, i will try that, sorry my mistake with the subject so e thanks for >> your help, on my "man opensips" i didint see thes -M option (just -m) >> >> 2014-02-27 12:45 GMT-05:00 Liviu Chircu : >> > 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 >> > > ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel