Re: [OpenSIPS-Users] Request-Disposition: no-fork

2022-10-10 Thread Bela H
Or is the dialoginfo_set_branch_callee(callee) function the key here? From: Bela H Sent: Tuesday, 11 October 2022 08:09 To: Bogdan-Andrei Iancu; OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users]

Re: [OpenSIPS-Users] Request-Disposition: no-fork

2022-10-10 Thread Bela H
Thanks Bogdan! However, I am talking about serial forking, call forwarding busy/no answer scenario. Is there a way to avoid that in the cfg without messing up with the to tags? How do I achieve “proxy to only a single address ("no-fork")”? According to fork-directive in

[OpenSIPS-Users] [Release] OpenSIPS 3.3.2, 3.2.9 and 3.1.12 minor releases

2022-10-10 Thread Liviu Chircu
Hi, everyone! The 3.3.2, 3.2.9 and 3.1.12 OpenSIPS minor versions are scheduled for release on Wednesday, October 19th -- a week and a half from now. In preparation for the releases, we are imposing the usual freeze on any significant fixes (as complexity) on these stable branches, in order

Re: [OpenSIPS-Users] early dialog termination

2022-10-10 Thread Bogdan-Andrei Iancu
Hi Ryzhik, Without a t_relay() it makes not much sense to have an dialog structure at all - the dialog module in opensips is actually design for proxied calls, not for UAC calls. IMO, you should keep it a transaction level, by sending replies back only. When getting the INVITE, put its

Re: [OpenSIPS-Users] Expires value - [ZVP-JQSVP-142]

2022-10-10 Thread Bogdan-Andrei Iancu
Hi Artem, This is the intended behavior of the module, re-register with the last "expires" provided by the server - if the server had a good reason to lower the registration time on first register, it will most probably do it for the re-register's also. So does not make too much of a sense to

Re: [OpenSIPS-Users] OpenSIPS Control Panel

2022-10-10 Thread Bogdan-Andrei Iancu
Hi Nitesh, In SIP, registration is done for receiving calls, it does not impact sending calls. So, define the remote server as GW in Dynamic Route and simply route the calls to it.  Note that maybe the remote server will expect you to use the as FROM hdr (calling identity) the AOR (SIP

Re: [OpenSIPS-Users] Possible memory leak in PKG

2022-10-10 Thread Bogdan-Andrei Iancu
Hi Arto, Thanks for the report here. So, the 3.2.7 suffers of a mem leak which DOES NOT exist in 3.1.1, mainly this       109600 : 4858 x [dlg_vals.c: fetch_dlg_value, line 176] right ? Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com

[OpenSIPS-Users] early dialog termination

2022-10-10 Thread Ryzhik Ivan
Hello! My opensips version is 3.1 with tm,dialog and rtpengine modules. On incoming INVITE i'm creating an early dialog with 183 replies and i'm playing audio to caller with rtpengine, no t_relay() on this step, OS is acting as UAS endpoint. If the caller cancels the invite with a CANCEL message -

Re: [OpenSIPS-Users] Problem proxying a SIP connection with t_relay and rtpproxy

2022-10-10 Thread Bogdan-Andrei Iancu
Hi Thomas, Your handling of sequential requests is broken, see here for a correct sample: https://github.com/OpenSIPS/opensips/blob/master/etc/opensips.cfg#L109 Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 27-30 Sept 2022,

Re: [OpenSIPS-Users] Does OpenSIPS support Request-Disposition: no-fork in INVITE message?

2022-10-10 Thread Bogdan-Andrei Iancu
Hi Bela, As per prev email, there is nothing to be supported by OpenSIPS, just don;t do forking in your cfg, nothing more. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 27-30 Sept 2022, Athens

Re: [OpenSIPS-Users] Request-Disposition: no-fork

2022-10-10 Thread Bogdan-Andrei Iancu
Hi Bela, What you are trying to do (messing with the TO-tags) is a bad idea, as you will be breaking the upstream parallel forking. If the GW does not support forking, what you can do is to avoid doing parallel forking in your cfg (like when routing to users via lookup). You do not need any

Re: [OpenSIPS-Users] Opensips 3.2.8 does not send message with opensips-cli command

2022-10-10 Thread Bogdan-Andrei Iancu
Hi, On 3.2, are you sure you actually have the ongoing connection? Try running the list_tcp_conns MI cmd just before trying to push the MESSAGE out. Be sure that the remote point (proto:ip:port) of the connection matches the destination of your MESSAGE (so the connection gets re-used).

Re: [OpenSIPS-Users] Creating branches inside a while loop

2022-10-10 Thread Bogdan-Andrei Iancu
Hi Takeshi, Aren't you missing the "seturi()" + "append_branch()" in the loop ?? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 27-30 Sept 2022, Athens https://www.opensips.org/events/Summit-2022Athens/ On 9/28/22 4:26 PM,

Re: [OpenSIPS-Users] Dialplan/Routing

2022-10-10 Thread Bogdan-Andrei Iancu
Hi Nitesh, The "420 Bad Extension" is generated by the residential cfg when the lookup on the caller fails (the caller party is not found as registered in OpenSIPS). Now, I assume you are dialing kind of DID (to be routed to PSTN), so it should NOT hit the lookup (which is when calling to

Re: [OpenSIPS-Users] Formating issue for string that contains pv

2022-10-10 Thread Liviu Chircu
On 10.10.2022 12:43, Serdar GUCLUER wrote: In my situation, i want to format string which contains pseudo-variables. These string are stored in db and cached with "cache_table" module. I tried it like that; $avp(value) = $sql_cached_value(caching_name:column_name:key);

[OpenSIPS-Users] Formating issue for string that contains pv

2022-10-10 Thread Serdar GUCLUER
Hi All, In my situation, i want to format string which contains pseudo-variables. These string are stored in db and cached with "cache_table" module. I tried it like that; $avp(value) = $sql_cached_value(caching_name:column_name:key); pv_printf($var(formatted_value),

Re: [OpenSIPS-Users] Connect to AWS RDS database with SSL enabled

2022-10-10 Thread Bogdan-Andrei Iancu
Hi, That;s a really bad example of how to hide trash beneath the carpet :( The instructions on how to get a backtrace are simple and clear [1] - please consider doing this and helping back the project you are using. [1] https://www.opensips.org/Documentation/TroubleShooting-Crash Best

[OpenSIPS-Users] Expires value - [ZVP-JQSVP-142]

2022-10-10 Thread Artem Fomenko via Users
Hello, I'm Artem and configuring telephony system via OpenSIPS v3.1.9. In outgoing REGISTER request the "expires" parameter set according "expiry" value in "uac\_registrant" DB table. But in all subsequent REGISTERs "expires" value takes same as in 200 OK response on previous REGISTER request.

Re: [OpenSIPS-Users] OPENSIPS 3.2.8 msilo can't send offline message on Register

2022-10-10 Thread Bogdan-Andrei Iancu
Hi, It looks to me you are trying to compare apples with pears :) In the 3.1 test, the TCP connection was found as already existing, while in the 3.2 test no TCP conn was found and it is proceeding to opening a new one -> so, yeah, different cases, different logs :) Regards, Bogdan-Andrei