Re: [SR-Users] Is 't_newtran()' needed when using reliable TCP/TLS transport?

2018-04-11 Thread Cody Herzog
Another thought... Perhaps 'async_task_route()' automatically creates a transaction, which is why I was having problems with the calls to 't_newtran()' and 't_release()' after the route had been changed to execute through 'async_task_route()'. If so, then maybe it's safe for my async presence

Re: [SR-Users] Is 't_newtran()' needed when using reliable TCP/TLS transport?

2018-04-11 Thread Cody Herzog
Thanks for the quick reply, Alex. I will try to provide more context information. The route in question is related to presence. Our usage of t_newtran() is very similar to the following presence examples: https://github.com/kamailio/kamailio/blob/master/test/unit/presence.cfg

Re: [SR-Users] Is 't_newtran()' needed when using reliable TCP/TLS transport?

2018-04-11 Thread Alex Balashov
Well, no, there are lots of things you need transaction state for. Failover, for example. If you tried gateway #1 and it timed out, so you want to try gateway #2, you have no way of doing that unless you have some way of knowing and interrogating the facts that: 1) gateway #1 was tried 2) a

[SR-Users] Is 't_newtran()' needed when using reliable TCP/TLS transport?

2018-04-11 Thread Cody Herzog
Hello. I have read that the primary use of 't_newtran()' is to handle SIP retransmissions. Given that, is there any reason to use it when operating over TCP/TLS? I recently changed a route to operate asynchronously through 'async_task_route()'. When I did, calls to 't_newtran()' started

Re: [SR-Users] rare crash at kamailio 5.0.1

2018-04-11 Thread Daniel-Constantin Mierla
Hello, the sip trace (pcap) I got has the sip traffic in one side only, can you get both sides (what kamailio receives and also what it sends out)? Cheers, Daniel On 30.03.18 09:14, David Escartin wrote: > > Hello all > >   > > last March 26th we experienced a crash on a 5.0.1 kamailio server

Re: [SR-Users] Kamailio 4.2.8 has crashed

2018-04-11 Thread igor.potjevlesch
Hello Daniel, Ok, thank you for your feedback. mem_safety is available in 4.2? Regards, Igor. De : Daniel-Constantin Mierla Envoyé : mercredi 11 avril 2018 16:06 À : Kamailio (SER) - Users Mailing List ; igor.potjevle...@gmail.com

Re: [SR-Users] Kamailio logs in RHEL 7 environment

2018-04-11 Thread igor.potjevlesch
Hi Dmitri, Nice, thank you. Sounds good for the moment! Regards, Igor. De : sr-users De la part de Dmitri Savolainen Envoyé : mercredi 11 avril 2018 14:41 À : Kamailio (SER) - Users Mailing List Objet : Re:

Re: [SR-Users] Default AUTH route potential issue?

2018-04-11 Thread Daniel-Constantin Mierla
Hello, route[AUTH] allows calls from non-local users (from other sip servers) to local users. The R-URI has the public IP address, so it is considered to be for a local user. If you do not want to allow non-local users to call your users, just do auth_check() for all non-trusted traffic.

[SR-Users] [SOLVED]: rtpengine no voice when working between DTLS-SRTP endpoints

2018-04-11 Thread Aqs Younas
DTLS=passive solved it. Thanks guys. On Tue, 10 Apr 2018, 11:37 pm Aqs Younas, wrote: > Sometimes, I see below logs in RTP engine. > > > Apr 10 17:59:21 centos-1024mb-nyc-02 rtpengine[65101]: INFO: > [24b95195-3da3-4e12-8400-5fcf908183e5]: Received command 'answer' from >

[SR-Users] Default AUTH route potential issue?

2018-04-11 Thread Володимир Іванець
Hello all! I'm using Kamailio 5.1.0 on my testing machine. Configuration includes slightly modified AUTH route from http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb route[AUTH] { xlog("L_DBG", "== TRACE. AUTH\n"); # if caller is not local subscriber, then check if

Re: [SR-Users] Is it possible to alter SDP content before forwarding the packet?

2018-04-11 Thread Dmitri Savolainen
Hello. Yes, it is possible with module http://www.kamailio.org/docs/modules/devel/modules/sdpops.html 2018-04-11 17:49 GMT+03:00 Wilkins, Steve : > Hello all, > > > > I was curious whether or not it possible to alter SDP content before > forwarding the packet? > > > > Thank

[SR-Users] Is it possible to alter SDP content before forwarding the packet?

2018-04-11 Thread Wilkins, Steve
Hello all, I was curious whether or not it possible to alter SDP content before forwarding the packet? Thank you all as always! ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

Re: [SR-Users] Kamailio 4.2.8 has crashed

2018-04-11 Thread Daniel-Constantin Mierla
Hello, the reason of the crash is a double free, but why it happened is not clear -- if you want to avoid crashing on double free, you can set mem_safety=1 . 4.2 is rather old to start digging into its code with a very limited spare time. Maybe you can try with a newer version and see if you can

Re: [SR-Users] Reply Destination

2018-04-11 Thread Duarte Rocha
It works. Thanks a lot!! ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Kamailio logs in RHEL 7 environment

2018-04-11 Thread Dmitri Savolainen
Hi. i set for it in my centos7 env : /etc/systemd/journald.conf RateLimitBurst=100 /etc/rsyslog.conf $imjournalRatelimitInterval 1 $imjournalRatelimitBurst 50 systemctl restart rsyslog.service systemctl restart systemd-journald 2018-04-11 15:12 GMT+03:00

[SR-Users] Kamailio 4.2.8 has crashed

2018-04-11 Thread igor.potjevlesch
Hello, I had a crash on one Kamailio instance with the following backtrace: Core was generated by `/usr/local/sbin/kamailio -m 704 -M 128 -P /run/kamailio/kamailio.pid'. Program terminated with signal 6, Aborted. #0 0x7f92366761f7 in raise () from /lib64/libc.so.6 Missing separate

Re: [SR-Users] Reply Destination

2018-04-11 Thread Dmitri Savolainen
Hi with tmx module for ex: onreply_route[MANAGE_REPLY] { xlog("L_INFO", "reply $T_reply_code from $si:$sp; reply to: $T_req($si):$T_req($sp)"); } 2018-04-11 15:07 GMT+03:00 Duarte Rocha : > Hey > > Is there any variable that retrieves me the destination of a

[SR-Users] Reply Destination

2018-04-11 Thread Duarte Rocha
Hey Is there any variable that retrieves me the destination of a reply? I've used the To header for the domain, but i can't seem to get the destination port. Any help ? Thanks ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

Re: [SR-Users] rtpengine

2018-04-11 Thread volga629
Hello Denys, Yes it was mssing. I jsut installed and will test again. [root@prx00 ~]# rpm -qa | grep bcg bcg729-1.0.4-2.fc27.x86_64 Slava On Wed, Apr 11, 2018 at 4:52 AM, Denys Pozniak wrote: Hello! Looks like you do not have bgc729. 2018-04-10 23:57 GMT+02:00

Re: [SR-Users] rtpengine

2018-04-11 Thread Denys Pozniak
Hello! Looks like you do not have bgc729. 2018-04-10 23:57 GMT+02:00 : > Hello Denys, > Based on what I see G729 transcoding is not supported. What would be the > options in mix with codec-strip-all and leave only g729 > > Slava. > > > On Mon, Apr 9, 2018 at 7:58 AM,