Re: [OpenSIPS-Users] double sdp.

2021-10-18 Thread Jeff Pyle
Johan, To avoid problems like this, I call rtpengine_offer() in branch_route on initial invites, and make sure to call rtpengine_delete() in any failure route to remove any session from a failed offer that was never used. Perhaps these will help in your situation as well. - Jeff On Mon, Oct

Re: [OpenSIPS-Users] Opensips 3.1Debian constantly crashing

2021-10-18 Thread Mario San Vicente
Thank you Giovany . I got some info, but I'm not sure how to proceed Looks like an issue assigning core vars.. Here the whole info in a txt file. {rs = {s = 0x6dc2d4a3fa5df100 , sval = {s = 0x10002 , len = -1510612476} Thank your comments. On Mon, Oct 18, 2021 at 12:39 PM Giovanni

Re: [OpenSIPS-Users] Opensips 3.1Debian constantly crashing

2021-10-18 Thread Giovanni Maruzzelli
On Mon, Oct 18, 2021 at 7:01 PM Mario San Vicente wrote: > Hello Ovidiu, > > That works for getting the core files. Then i run the command bt full and > got the following: > > You must install the opensips-dbg debian package, it contains the symbols, then restart opensips, then retake the core

Re: [OpenSIPS-Users] Opensips 3.1Debian constantly crashing

2021-10-18 Thread Mario San Vicente
Hello Ovidiu, That works for getting the core files. Then i run the command bt full and got the following: [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/usr/sbin/opensips -P

[OpenSIPS-Users] double sdp.

2021-10-18 Thread Johan De Clercq
Hi, A and B are on the same proxy. A calls B, (as I need transcoding I need to call rtpengine_offer here) B returns 183 with SDP. (this implies calling rtpengine_answer in onreply_route) B lets the call time out On the proxy I intercept the 480 returned by B and I change the INVITE so

[OpenSIPS-Users] validate_dialog() failing to recognise reinvites

2021-10-18 Thread Kingsley Tart
Hi, Using OpenSIPS 3.1.5 I'm getting validate_dialog() returning $rc=-1 on re-invites. I have this in opensips.cfg: modparam("dialog", "dlg_match_mode", 1) The top of route() looks like this: route { if (has_totag()) { if (is_method("ACK") && t_check_trans()) {

Re: [OpenSIPS-Users] mi_fifo lock on reply after a period of time in 3.1.3

2021-10-18 Thread Andrew Yager
For those following along, this appears to have been an issue with Auto Scaling. Once disabled, the problem has not reoccured. In our case this is a perfectly acceptable way to move forward, but maybe at some stage we'll come back to working this out. Andrew On Sat, 9 Oct 2021 at 01:39, Andrew

Re: [OpenSIPS-Users] concatenate an integer and a string

2021-10-18 Thread Liviu Chircu
On 18.10.2021 12:08, Alain Bieuzent wrote: When I try to concatenate with $var(result) = $avp(id_asterisk) + "|" + $avp(codecs);) I got this error message : ERROR:core:eval_elem: invalid numeric operands WARNING:core:do_assign: no value in right expression at

Re: [OpenSIPS-Users] concatenate an integer and a string

2021-10-18 Thread Callum Guy
Try this: $var(result) = "$avp(id_asterisk)|$avp(codecs)"; On Mon, 18 Oct 2021 at 10:10, Alain Bieuzent wrote: > Hi All, > > > > I’m’ trying to concatenate two avp result to one string > > The first avp(id_asterisk) is an integer, > > the second $avp(codecs) is a string. > > > > When I try to

[OpenSIPS-Users] concatenate an integer and a string

2021-10-18 Thread Alain Bieuzent
Hi All, I’m’ trying to concatenate two avp result to one string The first avp(id_asterisk)  is an integer, the second $avp(codecs) is a string. When I try to concatenate with $var(result) = $avp(id_asterisk) + "|" + $avp(codecs);) I got this error message : ERROR:core:eval_elem:

Re: [OpenSIPS-Users] config 477 for offline message

2021-10-18 Thread Bogdan-Andrei Iancu
Hi, Using the 0x02 flag should do the trick . If you enable it, do you still see the TM sending the 477 reply automatically ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS eBootcamp 2021

Re: [OpenSIPS-Users] MSILO can't send message

2021-10-18 Thread Bogdan-Andrei Iancu
Hi, So the actual content of the message is not attached to the MSG? Could you send me (maybe off list) the opensips logs (level 4) for a m_dump() ? Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS eBootcamp 2021