Re: [SR-Users] "Discarded invalid SRTP packet: authentication failed" warning

2019-01-07 Thread Daniel-Constantin Mierla
Hello, thanks for sharing, very useful to know. Was the wrong location of the iptables module a result of ugrading some packages (like kernel or iptables)? I assume the initial installation deploys the module in the right location. Asking to see if one needs to do a re-install of the rtpengine af

Re: [SR-Users] Kami, rtpproxy, T38 fax - anyone?

2019-01-07 Thread Daniel-Constantin Mierla
Hello, do you see the m= line for fax in the INVITE sent to Asterisk, something like: m=image ... udptl t38 Maybe you can share incoming and outgoing INVITE for the fax call that doesn't work. Cheers, Daniel On 05.01.19 06:39, y...@yu-boot.ru wrote: > > Yet again, fighting against strange fax

Re: [SR-Users] kamailio 5.0 questions

2019-01-07 Thread Daniel-Constantin Mierla
Hello, On 04.01.19 09:12, Lv, Victor (NSB - CN/Qingdao) wrote: > > Hi All, > >   > > I am using kamailio 5.0, one question is: is there any one make it > works to send rx_aar for origin calls? That’s when we receive the > INVITE message and send out rx_aar? > >   > > Below link not work when recei

Re: [SR-Users] nat_uac_test not recognized command in onreply_route

2019-01-07 Thread Daniel-Constantin Mierla
Hello, nat_uac_test(...) is allowed in the reply route block. The error is not about using the function in an invalid route block, but  that the function is not found by name and 1 parameter. Were there other error messages before the one you pasted in your message? Cheers, Daniel On 04.01.19 0

Re: [SR-Users] Dispatcher probing

2019-01-07 Thread Daniel-Constantin Mierla
In the older versions of kamailio, the socket can be set inside the attributes string:   - https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.ex.attributes With 5.2.0, as Fred pointed, you can have socket as a dedicated column and instruct dispatcher module via modpar

Re: [SR-Users] kamailio 5.0 questions

2019-01-07 Thread Daniel-Constantin Mierla
Hello, the bug tracker is on https://github.com/kamailio/kamilio, there is an issue tab for it. Making accounts on github is not under our control, but I haven't heard of people having troubles with it. Have you checked you spam folder? Iirc, it sends a confirmation email when creating the accoun

Re: [SR-Users] nat_uac_test not recognized command in onreply_route

2019-01-07 Thread Andrew Chen
Hi Daniel, Here is all of it: Jan 3 18:33:01 sjomainkama55 systemd[1]: Stopped Kamailio (OpenSER) - the Open Source SIP Server. Jan 3 18:33:01 sjomainkama55 systemd[1]: Starting Kamailio (OpenSER) - the Open Source SIP Server... Jan 3 18:33:01 sjomainkama55 kamailio: ERROR: [core/cfg.y:3309]:

Re: [SR-Users] nat_uac_test not recognized command in onreply_route

2019-01-07 Thread Daniel-Constantin Mierla
Hello, there seems to be something wrong in your config with loading the nathelper module, can you check if you have proper #!ifdef ... #!endif blocks? Try to run it with debug=3 and see if you can spot more hints via the DEBUG messages printed in the logs... Cheers, Daniel On 07.01.19 14:44, A

Re: [SR-Users] nat_uac_test not recognized command in onreply_route

2019-01-07 Thread Andrew Chen
Ah you are right. I did somehow not define WITH_NAT for some reason. thanks! On Mon, Jan 7, 2019 at 9:06 AM Daniel-Constantin Mierla wrote: > Hello, > > there seems to be something wrong in your config with loading the > nathelper module, can you check if you have proper #!ifdef ... #!endif > b

[SR-Users] Unable to start Kamailio with acc_json

2019-01-07 Thread Joonas Kamailio
Dear List, I have a problem with initializing acc_json. As soon as I try to load acc_json module, Kamailio fails to start. I get the following messages to log with debug 4 (non-related messages omitted): Jan  7 16:17:42 labkam2 kamailio[51089]: INFO: acc_json [acc_json_mod.c:99]: mod_init():

Re: [SR-Users] Unable to start Kamailio with acc_json

2019-01-07 Thread Daniel-Constantin Mierla
Hello, can you try with the latest branch 5.2? I just pushed a commit with a fix for it, but no testing:   - https://github.com/kamailio/kamailio/commit/06610073bb490355d87a774a74716195d3c01192 Somehow it was expected to be used together with mqueue module, see if works fine now and let us know

Re: [SR-Users] Unable to start Kamailio with acc_json

2019-01-07 Thread Joonas Kamailio
Dear Daniel, Thank you for your fast reply and patch. It seems to be working now. Best Regards, Joonas Keskitalo Daniel-Constantin Mierla kirjoitti 7.1.2019 klo 16.44: Hello, can you try with the latest branch 5.2? I just pushed a commit with a fix for it, but no testing:   - https://github

Re: [SR-Users] nat_uac_test not recognized command in onreply_route

2019-01-07 Thread Daniel-Constantin Mierla
Welcome, good it was figured out! Daniel On 07.01.19 15:18, Andrew Chen wrote: > Ah you are right.  I did somehow not define WITH_NAT for some reason.  > thanks! > > On Mon, Jan 7, 2019 at 9:06 AM Daniel-Constantin Mierla > mailto:mico...@gmail.com>> wrote: > > Hello, > > there seems to b

Re: [SR-Users] Kamailio 5.1.6 Debian Package -> SEGFAULT

2019-01-07 Thread Floimair Florian
This turned out to be unrelated to Kamailio itself in our case. The problem was that the systemd-journald of the systemd version shipped with Debian stretch was sometimes eating up our CPU time on a single-core VM. After upgrading to systemd from stretch-backports we no longer had any issues.

Re: [SR-Users] Kamailio 5.1.6 Debian Package -> SEGFAULT

2019-01-07 Thread Daniel Tryba
On Mon, Jan 07, 2019 at 04:21:35PM +, Floimair Florian wrote: > This turned out to be unrelated to Kamailio itself in our case. > The problem was that the systemd-journald of the systemd version shipped with > Debian stretch was sometimes eating up our CPU time on a single-core VM. > After upg

Re: [SR-Users] kamailio 5.0 questions

2019-01-07 Thread Lv, Victor (NSB - CN/Qingdao)
Hi Daniel, Thanks for your reply. I had tried the mo.cfg and try to comments the lines in ims_mod.c that not allow send AAR for a request(INVITE), it not works. Our request is when kamailio receive 200OK for INNVITE, it will send AAR for term and AAR for origin to setup the gate sessions. Cou

Re: [SR-Users] kamailio 5.0 questions

2019-01-07 Thread Lv, Victor (NSB - CN/Qingdao)
Hi Daniel, Thanks for your info. By the way, is kamailo support performance test? Such as run sock test 72 hours? Have we verified the functionality? I created a ticket for this request. kamailio can't support send Rx_AAR for origin call #1793 Thanks, Victor From: Daniel-Constantin Mierla S