Re: [OpenSIPS-Users] snmp stat

2018-11-26 Thread zzz
Hi Bogdan, As I understand I’ll need to update each variable individually for each GW. Shell I create as many variables for all gateways I have or the one variable would be enough ? Thanks, Yuriy From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Monday, November 26, 2018 10:15 PM To: O

Re: [OpenSIPS-Users] snmp stat

2018-11-26 Thread Bogdan-Andrei Iancu
Hi Yuriy, By default no, but you can generate such stats by using the "statistics" module - this module allows you to create and manage (inc/dec) stats from the script. Second step is use AgentX to grab the stats from OpenSIPS - via the MI interface - and publish them as mibs. Regards, Bogd

Re: [OpenSIPS-Users] uac_registrant clustering

2018-11-26 Thread Bogdan-Andrei Iancu
Hi Alexey, What you are suggesting is to have the module to "un-register" itself when going into backup mode according to the sharing tag ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Bootcamp 2018 http://opensips.org/training/Op

Re: [OpenSIPS-Users] uac_registrant clustering

2018-11-26 Thread Bogdan-Andrei Iancu
Hi Alexei, Thanks for pointing it out and sorry for the mixing :( I agree on what you said, I already sync'ed with Razvan on the matter, such an option will be available for 3.0 Thanks and regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSI

Re: [OpenSIPS-Users] t_on_reply() behavior

2018-11-26 Thread Bogdan-Andrei Iancu
Hi Vitalii, I can confirm (by checking the code) that both types of reply routes are executed - first the per-branch one and then the per-transaction one. I checked the docs (http://www.opensips.org/Documentation/Script-Routes-2-4#toc4) for errors, but I haven;t found the "overwriting" part

Re: [OpenSIPS-Users] Replace $tU value

2018-11-26 Thread Bogdan-Andrei Iancu
Hi, uac_replace_to("sip:9876543210@$td"); should do it - you need to call it only for the initial INVITE. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Bootcamp 2018 http://opensips.org/training/OpenSIPS_Bootcamp_2018/ On 11/26/201

Re: [OpenSIPS-Users] Replace $tU value

2018-11-26 Thread Vishal Pai
Hi Bogdan, Thank you for your quick response. I have tried both the way still unable to overwrite the value. uac_replace_to("$tU","9876543210"); uac_replace_to("9876543210","$tU"); Can you please let me know the right way to achieve this. Thanks On Mon, Nov 26, 2018 at 10:59 PM Bogdan-Andrei

Re: [OpenSIPS-Users] Replace $tU value

2018-11-26 Thread Bogdan-Andrei Iancu
David, That does not work as the $tU is a read-only variable. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Bootcamp 2018 http://opensips.org/training/OpenSIPS_Bootcamp_2018/ On 11/26/2018 07:22 PM, David Villasmil wrote: Just do:

Re: [OpenSIPS-Users] Replace $tU value

2018-11-26 Thread Bogdan-Andrei Iancu
Hi Vishal, use uac_replace_to() function: http://www.opensips.org/html/docs/modules/2.4.x/uac.html#func_uac_replace_from Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Bootcamp 2018 http://opensips.org/training/OpenSIPS_Bootcamp_2018/

Re: [OpenSIPS-Users] Replace $tU value

2018-11-26 Thread David Villasmil
Just do: $tU = 9876543210 Simple :) On Mon, 26 Nov 2018 at 16:46, Vishal Pai wrote: > Hello Everyone > > Is it possible to update the $tU value to new one. Let say $tU = > 1234567890 need to overwrite to $tU = 9876543210 how i can achieve that. > ___

[OpenSIPS-Users] Replace $tU value

2018-11-26 Thread Vishal Pai
Hello Everyone Is it possible to update the $tU value to new one. Let say $tU = 1234567890 need to overwrite to $tU = 9876543210 how i can achieve that. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/us

Re: [OpenSIPS-Users] Crash with nathelper

2018-11-26 Thread John Kiniston
version: opensips 2.4.3 (x86_64/linux) flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll, sigio_rt, select. main