[SR-Users] nat_traversal vs nathelper for mediaproxy

2014-08-21 Thread Satish Patel
I am planing to implement mediaproxy so which NAT module will be good for media proxy and why? should i use nat_traversal ro nathelper ? I haven't see any example people using nat_traversa. most of example i found on google are based on nathelper so just want to make sure which one i should use a

[SR-Users] How to uniquely identify SIP WS / WSS endpoint

2014-08-21 Thread Muhammad Shahzad
Sorry for putting this question on both dev and user mailing lists, as it is a rather theoretical question and i hope some SIP guru on either mail list will answer. For non-WS endpoints which use TCP or UDP for SIP transport, each upstream request has top most VIA header pointing to the previous h

Re: [SR-Users] force_send_socket in event route tm:local-request

2014-08-21 Thread Kristian Frederik Høgh
Hi Daniel, FS#462 created http://sip-router.org/tracker/index.php?do=details&task_id=462 /Kristian. Fra: sr-users-boun...@lists.sip-router.org på vegne af Daniel-Constantin Mierla Sendt: 21. august 2014 17:11 Til: Kamailio (SER) - Users Mailing List E

Re: [SR-Users] Kamailio script editor

2014-08-21 Thread Måns Nilsson
Subject: [SR-Users] Kamailio script editor Date: Thu, Aug 21, 2014 at 04:08:43PM +0200 Quoting Grant Bagdasarian (g...@cm.nl): > Hello, > > What editor do most of you use for editing the kamailio config script? nvi or emacs. (can't stand vim, to much bloat. bloat is ok in emacs but not in vim;

Re: [SR-Users] SIP Trunk

2014-08-21 Thread Satish Patel
I have tried following rule but somehow opensips challenging it from authentication route[3]{ if ( $ru =~ "^sip:011[0-9]*@") { rewritehostport("65.65.65.65:5065"); xlog("Redirecting to SIP Provider... $ru\n"); exit; }; } U 198.198.198.1

[SR-Users] switch kamailio to domain

2014-08-21 Thread Mihai Marin
Hello Sirs, The RLS module is eating my life. I just managed to make it work 2 months ago and now is not working anymore after I tried to put the kamailio under domain (until now it was simple ip). I don't understand why is not working but I saw a big difference that I don't understand: My environm

Re: [SR-Users] Kamailio script editor

2014-08-21 Thread Daniel-Constantin Mierla
Kamailio has a dedicated syntax file for vim -- from sources, do (as user editing the config): cd utils/misc/vim make install After that, when you open kamailio.cfg, vim/gvim/kvim/macvim should detect that it is kamailio syntax and with do proper highlighting. Perhaps some tokens/keywords add

Re: [SR-Users] force_send_socket in event route tm:local-request

2014-08-21 Thread Daniel-Constantin Mierla
Hello, I think the ougoing request is already created in that event route, the set advertise address being used too late from that perspective -- however, there is no hook before to set it. Open an enhancement issue on the tracker not to forget about it and I will check to see if there is a

Re: [SR-Users] Kamailio script editor

2014-08-21 Thread Alex Balashov
Vim + :syntax on does a fine job with Kamailio route script. Mostly. On 21 August 2014 10:39:59 GMT-04:00, Grant Bagdasarian wrote: >Right. I have sublime text installed. Any recommendations for a color >scheme? > >From: sr-users-boun...@lists.sip-router.org >[mailto:sr-users-boun...@lists.si

Re: [SR-Users] Kamailio script editor

2014-08-21 Thread Grant Bagdasarian
Right. I have sublime text installed. Any recommendations for a color scheme? From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Narsay, Deep Sent: Thursday, August 21, 2014 4:24 PM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users

Re: [SR-Users] Kamailio script editor

2014-08-21 Thread Narsay, Deep
vi (vim/gvim) or sublime text are more efficient than notepad. (They also have multiple color schemes) . On Thu, Aug 21, 2014 at 10:08 AM, Grant Bagdasarian wrote: > Hello, > > > > What editor do most of you use for editing the kamailio config script? I’m > using notepad, which works fine, but

[SR-Users] Kamailio script editor

2014-08-21 Thread Grant Bagdasarian
Hello, What editor do most of you use for editing the kamailio config script? I'm using notepad, which works fine, but sometimes I wish I had something like text coloring and other useful stuff found in most scripting editors. Are there perhaps any plans for developing an editor for the kamailio

Re: [SR-Users] CNXCC curious case

2014-08-21 Thread Carlos Ruiz Díaz
Thank you for the feedback Kelvin. On Thu, Aug 21, 2014 at 2:48 AM, Kelvin Chua wrote: > just to close this issue, > it does not happen on 4.1.5 > > Kelvin Chua > > > On Thu, Jul 10, 2014 at 9:26 PM, Carlos Ruiz Díaz < > carlos.ruizd...@gmail.com> wrote: > >> Hi Kevin, >> >> what are the steps

Re: [SR-Users] SIP Trunk

2014-08-21 Thread Yuriy Gorlichenko
rewritehost() sucessfully work with UAC. But As I know 1) It statless function 2) It read only string argumetns, and do not read variables 2014-08-21 14:43 GMT+04:00 Satish Patel : > I will give it a try again today, can you please make sure my t_relay() > syntax is correct? > > So t_relay will

Re: [SR-Users] SIP Trunk

2014-08-21 Thread Satish Patel
I will give it a try again today, can you please make sure my t_relay() syntax is correct? So t_relay will rewrite my host past right and send call to trunk. While ago I was using rewritehost() function but I think it's not working with UAC registrant module. Sent from my iPhone On Aug 21,

[SR-Users] force_send_socket in event route tm:local-request

2014-08-21 Thread Kristian F . Høgh
Hi, Our kamailio 4.0.6 proxy uses pua/pua_dialoginfo and an external presence server. The PUBLISH requests generated by pua* appear in tm:local-request event route. Before sending, we call set_advertised_address and force_send_socket. Still the requests have the IP address from the first "listen

[SR-Users] Redirect server vs CANCEL

2014-08-21 Thread Mihaly Zachar
Hi Gents, We have created a small redirect server using the Lua API to get the destinations. Lets say that it takes some time while the script generates the answer, during this time we got a CANCEL. How we can handle this properly ? As far as I could see the TM module always sends back the answer

Re: [SR-Users] SIP Trunk

2014-08-21 Thread Daniel Tryba
On Thursday 21 August 2014 05:56:46 Satish Patel wrote: > if ( $rU =~ "sip:1[0-9]@*") { Try $ru instead, $rU only contains the dialled "number". So $ru =~ "sip:1[0-9]@*" or $rU =~ "1[0-9]" But note the regexp, that only matches the exact numbers 10 to 19, if you are trying to mat

Re: [SR-Users] CNXCC curious case

2014-08-21 Thread Kelvin Chua
just to close this issue, it does not happen on 4.1.5 Kelvin Chua On Thu, Jul 10, 2014 at 9:26 PM, Carlos Ruiz Díaz wrote: > Hi Kevin, > > what are the steps to reproduce this? > > Also, do you have the latest update of the module? I remember fixing a > deadlock that could be the root cause of

Re: [SR-Users] rtpengine upgrade fails

2014-08-21 Thread Juha Heinanen
On 07/16/14 14:57:59, Richard Fuchs wrote: > Hard to tell without further information. Perhaps dist-upgrade tried to > upgrade the daemon after the kernel module was removed but before the > new module was installed? Did you install the kernel module through > dkms? Do you have the metapackage ins