[SR-Users] "python_exec" not work

2017-10-02 Thread ‪mahsa _a_‬ ‪
Iwant to work with "app_python" module,i set “script_name”,“mode_init_function”, “child_init_function” and “python_exec”in kamailio.cfg ,but I have a problem in “python_exec”section. This section not work in correctly, please guide me.thanks___ Kamai

[SR-Users] 200 OK - need to include Expires

2017-10-02 Thread Subba Krishna MG
Hello, This might be very simple question for you folks, I am using Kamailio as SIP - Presence server, and For every user Kamailio is sending 200 OK, but the EXPIRES IE is missing. Can u help me include this IE or any other IE for 200 OK message? How to modify the configuration files to get thi

Re: [SR-Users] Debian Stretch

2017-10-02 Thread Joel Serrano
I had a similar problem and had to recompile Kamailio linked to openssl 1.0.X in debian stretch, since then, 0 issues with Tcp&ssl. I know Daniel did some changes so you might want to try out latest 5.0.3? I don't know if his patches got backported to 4.X... This is the issue I had: https://githu

[SR-Users] Path module adds either received or outbound

2017-10-02 Thread Rick Barenthin
Hey, Maybe someone from the list can share some information about the path module. Why can the path module only add either the received parameter to path or the flow token with the ob parameter, but not both. Does the RFC mandates it? I didn't find anything like that and was wondering because the

[SR-Users] custom kamailio-x.deb package

2017-10-02 Thread Abdul Basit
Hi All, I am trying to compile custom .deb package from kamailio source that will install dependencies like mysql-server, lua, rtpproxy, etc. and will install few custom scripts along with additional db tables from tables-create.sql files. I am able to create kamailio_x-amd64.deb package that I i

Re: [SR-Users] A "success_route" as counterpart to "failure_route" available?

2017-10-02 Thread Brandon Armstead
Also t_check_status(“200”){ In onreply_route{ And handle there, looks like you have corrrct flag already On Mon, Oct 2, 2017 at 10:08 AM Brandon Armstead wrote: > Check / try the flag to send no reply > > On Mon, Oct 2, 2017 at 5:07 AM Alex Balashov > wrote: > >> Store what you want in AVPs s

Re: [SR-Users] A "success_route" as counterpart to "failure_route" available?

2017-10-02 Thread Brandon Armstead
Check / try the flag to send no reply On Mon, Oct 2, 2017 at 5:07 AM Alex Balashov wrote: > Store what you want in AVPs save that instead? > > On October 2, 2017 8:05:05 AM EDT, Kristijan Vrban > wrote: > >2017-10-02 13:14 GMT+02:00 Alex Balashov : > > > >> Are you sure an onreply_route isn't w

Re: [SR-Users] A "success_route" as counterpart to "failure_route" available?

2017-10-02 Thread Alex Balashov
Store what you want in AVPs save that instead? On October 2, 2017 8:05:05 AM EDT, Kristijan Vrban wrote: >2017-10-02 13:14 GMT+02:00 Alex Balashov : > >> Are you sure an onreply_route isn't what you need? >> >> >Yes, it was obvious to try a "save("location", "0x02");" ("0x02" for >save >only loc

Re: [SR-Users] A "success_route" as counterpart to "failure_route" available?

2017-10-02 Thread Kristijan Vrban
2017-10-02 13:14 GMT+02:00 Alex Balashov : > Are you sure an onreply_route isn't what you need? > > Yes, it was obvious to try a "save("location", "0x02");" ("0x02" for save only location and keep going) in onreply_route. I tried it, and as said: then the location from the external registrar serve

Re: [SR-Users] A "success_route" as counterpart to "failure_route" available?

2017-10-02 Thread Alex Balashov
Are you sure an onreply_route isn't what you need? On October 2, 2017 6:33:31 AM EDT, Kristijan Vrban wrote: >Hello, > >i need a "success_route" which does the same as "failure_route", but >only >for >positiv 2xx reply. Is something like this available? > >Background: i forward REGISTER to exter

[SR-Users] A "success_route" as counterpart to "failure_route" available?

2017-10-02 Thread Kristijan Vrban
Hello, i need a "success_route" which does the same as "failure_route", but only for positiv 2xx reply. Is something like this available? Background: i forward REGISTER to external registrar server, and only what to save the location on positiv reply to REGISTER. Without doing the authentication

Re: [SR-Users] event_route[usrloc:contact-expired] not called after contact expires

2017-10-02 Thread Yuriy Gorlichenko
Hi. Yep it is an contact auto-expired. I tried to catch a moment when trigger should to show anything at the debug but it gives every second same info I see registration information at the debug https://pastebin.com/fjdvZPfq And here is debug when time tringger for auto-expired happens. So actua

Re: [SR-Users] sigcomp usage with kamailio

2017-10-02 Thread Daniel-Constantin Mierla
Hello, there should be some sort of support for sigcomp in kamailio, afaik it was added during the split SER development (2005-2008), bit I do not know to which extent was implemented and I haven't used myself at all. You will have to look into the source code for it. Cheers, Daniel On Wed, Sep

Re: [SR-Users] Kamailio htable mod-init route: Main process exited before writing to pipe

2017-10-02 Thread Daniel-Constantin Mierla
Hello, this should be looked at and enhanced somehow to be supported. An workaround would be to use a lua script via app_lua to do it. Or use rtimer or timer module to do an execution with a condition on a $var(...) to be executed only once. Cheers, Daniel On Thu, Sep 28, 2017 at 10:14 PM, Geor

Re: [SR-Users] Regarding ASYNC module in kamailio - handling SIP replies

2017-10-02 Thread Daniel-Constantin Mierla
Hello, likely you have to look at the implementation of the function, the cfg export flags are not enough to be changed, the process of suspending implies different things for requests and replies. Maybe if you can explain with more details what exactly you want to achieve, there could be some ot

Re: [SR-Users] event_route[usrloc:contact-expired] not called after contact expires

2017-10-02 Thread Daniel-Constantin Mierla
Hello, is the contact auto-expired or there is an unregistration request? Can you run with debug=3 and see if you can spot some hints in the logs messages? Cheers, Daniel On Fri, Sep 29, 2017 at 11:11 PM, Yuriy Gorlichenko wrote: > Hi I added this eventroute for manipulate temprorary entires

[SR-Users] Regarding ASYNC module in kamailio - handling SIP replies

2017-10-02 Thread Rajagopal Maddi
Hi, We are checking the kamailio source code for the ASYNC module. The system is working for REQUEST_ROUTE, but not for REPLY_ROUTE. We added the ANY_ROUTE in the cmd_export_t, but still the async_route is not able to suspend for SIP Reply (For example, 401 - Unauthorized). Can we get some hel