Re: [SR-Users] re-INVITE on IP Change with Outbound

2016-07-08 Thread Colin Morelli
Alright, After better understanding of the SIP spec it looks like even if I can solve this problem I shouldn't, because Route headers can't change once a dialog is established (if someone knows a reliable/supported way to make this happen - that would be great). However, as long as my client keep

[SR-Users] re-INVITE on IP Change with Outbound

2016-07-08 Thread Colin Morelli
Hey list, So I'm using the outbound module to ensure subsequent requests are delivered over an active TCP connection established by the mobile client. However, now I'm trying to add support for automatically responding to network changes (WiFi <-> LTE), and it's creating problems. Primarily, the

[SR-Users] Calculating time differences

2016-07-08 Thread Sebastian Damm
Hi, we are suspending a transaction at one place in our route and resume it later. I want to log the time difference between suspending and resuming. I thought I could do it with saving $TV(Sn), but apparently I can't. Kamailio says, it can't convert the saved value into integer. This true, of cou

Re: [SR-Users] shtinc throws readonly error

2016-07-08 Thread Daniel-Constantin Mierla
Hello, this is a special variable -- that's why they were called pseudo-variables in the first place. It does an atomic increment when evaluated in a expression. The interpreter doesn't trigger evaluation if the variable is not in the right side of an assignment (or parameter for functions). If

Re: [SR-Users] shtinc throws readonly error

2016-07-08 Thread Sebastian Damm
Hi, is there a reason to not allow it as a simple operation on a separate line without a left and right side? After all, it's just an incrementation of a value, so why do I have to assign it to a variable (which I don't need at this point) or use it somewhere else? I now included it into an xlog l

Re: [SR-Users] Video conferencing with Kamailio

2016-07-08 Thread Fred Posner
On 07/08/2016 12:36 AM, Jay Li wrote: > Dear All, > > I'm curious if anybody has set up an infrastructure for video > conferencing utilizing Kamailio as a proxy (like NAT support and so so). > I found a kind of old tutorial "Run you own Skype-like service in less > than one hour" kamailio:skype-li

Re: [SR-Users] shtinc throws readonly error

2016-07-08 Thread Daniel-Constantin Mierla
Hello, you ave to use it in right side of an assignment, like: $var(x) = ... Cheers, Daniel On 08/07/16 12:20, Sebastian Damm wrote: > Hi, > > I'm trying to use this line in one route: > > $shtinc(pushedUsers=>$avp(s:authuser)); > > However, when checking the syntax of this file, Kamai

[SR-Users] shtinc throws readonly error

2016-07-08 Thread Sebastian Damm
Hi, I'm trying to use this line in one route: $shtinc(pushedUsers=>$avp(s:authuser)); However, when checking the syntax of this file, Kamailio says: 0(609) : [cfg.y:3365]: yyerror_at(): parse error in config file /etc/kamailio/kamailio_sip_proxy.cfg, line 3304, column 2-39: read only

Re: [SR-Users] tsilo ts_append problem

2016-07-08 Thread Mele Giovanni
Thx for your great help Federico! Regards Giovanni From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Federico Cabiddu Sent: vendredi 8 juillet 2016 08:49 To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] tsilo ts_append problem Hi Giovanni, thanks for te