Re: [SR-Users] terminate call when dialog when remote contact disappears without BYE

2015-12-01 Thread Daniel-Constantin Mierla
The dialog is terminated when the OPTIONS request doesn't get any reply, no matter it is sent via UDP, TCP or other transport. Cheers, Daniel On 01/12/15 12:08, Thibault Gueslin wrote: > Thanks > I don't have set the dialog property. > > I will add these lines on INVITE reception. > > dlg_set_pr

Re: [SR-Users] using APP_LUA for complex arithmetic operations

2015-12-01 Thread Mititelu Stefan
Hello, I'm also interested in this subject. I can also see there is also an app_python module [1] which is mostly TBD. I want to ask you if there is already some dev going on related to this(i.e. certain branch). I'd like to look into it and maybe help with it. Thanks, Stefan Mititelu [1] http:/

Re: [SR-Users] using APP_LUA for complex arithmetic operations

2015-12-01 Thread Jayesh Nambiar
Hi, Playing around a little more with app_lua, I realized that once you set any variables inside lua, they are readable from within the kamailio config. So that worked out well. This is place for everything LUA in kamailio: http://sip-router.org/wiki/api/lua/devel Thanks, - Jayesh On Tue, Dec 1,

Re: [SR-Users] terminate call when dialog when remote contact disappears without BYE

2015-12-01 Thread Thibault Gueslin
It works that is fine. However I get an issue when one party is changing connectivity: it sends an INVITE to update the location but the keep alive is still sent to the previous location. The dialog info (kamctl dialog show) still indicates the previous location. (It looks like https://github.com/

[SR-Users] using APP_LUA for complex arithmetic operations

2015-12-01 Thread Jayesh Nambiar
Hi, I understand that kamailio does not allow float-point values in variables and I think kamailio is not a great place to do complex arithemtic operations and so I thought of using app_lua for the same. So can I pass the control to app_lua and come back to config script with some values? For eg. c

Re: [SR-Users] [PATCH] Record-route on sequential requests

2015-12-01 Thread Daniel-Constantin Mierla
Hello, thanks for the patch, can you make a pull request on github -- it is easier to review and merge. Don't forget to format the commit message as per guidelines from the wiki. - https://www.kamailio.org/wiki/devel/github-contributions Cheers, Daniel On 01/12/15 11:37, Kristian F. Høgh wrot

Re: [SR-Users] terminate call when dialog when remote contact disappears without BYE

2015-12-01 Thread Thibault Gueslin
Thanks I don't have set the dialog property. I will add these lines on INVITE reception. dlg_set_property("ka-src"); dlg_set_property("ka-dst"); dlg_set_property("timeout-noreset"); But is it the proper way to do it with TCP connection ? >From the tran regards thibault 2015-12-01 11:10 GMT+01

Re: [SR-Users] [PATCH] Record-route on sequential requests

2015-12-01 Thread Kristian F . Høgh
Hi, I hope the correct solution to the problem is to add RR parameters on sequential requests. The attached patch restores vsf=, vst= and did=. Dragons ahead, so far it works for me. Regards, Kristian Høgh Uni-tel A/S On Friday 27 November 2015 14:07:08 Kristian F. Høgh wrote: > Hi again, >

Re: [SR-Users] Problem with NATed UAC

2015-12-01 Thread Daniel-Constantin Mierla
Hello, can you watch the SIP traffic on the network and see what happens with the REGISTER requests? Cheers, Daniel On 24/11/15 09:12, Vladimir Stepic wrote: > Hello everyone, > this is my first message. I'm glad to become a part of this big community. > I'm new in SER technology. I worked in As

Re: [SR-Users] kamailio's Makefile system : Enabling CFLAGS/LDFLAGS for udp_server.c

2015-12-01 Thread Daniel-Constantin Mierla
Hello, On 26/11/15 08:33, aft wrote: > Hi, > > I'm doing some experimentation on kamailio's udp_server.c. Now i need > libpcre for that. So i first thought if i enable the regex module, the > CFLAGS/LDFLAGS would be available from udp_server.c. But it turns out > it doesn't build(doesn't *link* to

Re: [SR-Users] terminate call when dialog when remote contact disappears without BYE

2015-12-01 Thread Daniel-Constantin Mierla
On 30/11/15 11:37, Thibault Gueslin wrote: > I would like to terminate the dialog when one party disconnects > without sending a BYE > (no more connctivity, client shutdown) > > I am using TCP connection. > > Should I terminate the dialog from event_route[usrloc:contact-expired] ? > > I have trie

Re: [SR-Users] Nathelper module

2015-12-01 Thread Daniel-Constantin Mierla
Hello, On 30/11/15 14:52, Marino Mileti wrote: > > I would like to use nathelper module in order to "ping" all registered > client and "delete" (from locations table) clients that are not > reachable (maybe there's some network issue, or some other problem) > > > > I've seen that it's possible t

[SR-Users] Help Required

2015-12-01 Thread anakweze charles
Hi All. Does anyone know where to find training guide for Kamailio HA? I want to have 2 Kamailio in HA with four (4) Freeswitch servers behind them. I will also like to customer cgrate to manage the accounting side in a multi-tenant environment. I am just researching for this on my own and I w

[SR-Users] Nathelper module

2015-12-01 Thread Marino Mileti
I would like to use nathelper module in order to "ping" all registered client and "delete" (from locations table) clients that are not reachable (maybe there's some network issue, or some other problem) I've seen that it's possible to have this feature for natted contact using nathelper (but