Re: [SR-Users] The RPC function in the TM module

2014-01-15 Thread Daniel-Constantin Mierla
The answer is in the previous message which I replied and you pasted in your message as well. Just replace CALLID with the value of the Call-ID header and NNN with the cseq number. Cheers, Daniel On 15/01/14 04:54, wrote: Hello everyone: I want to know what is the parameter for the

Re: [SR-Users] SIP OPTIONS

2014-01-15 Thread Daniel-Constantin Mierla
Hello, if you just want to send a 200 ok for OPTIONS, do: if(is_method("OPTIONS")) { send_reply("200", "OK"); exit; } You can also add condition on IP of the trunk gateway, like: if(src_ip==_GW_IP) { ... } Cheers, Daniel On 13/01/14 17:30, Keith wrote: Hi, I have a trunk trying to con

Re: [SR-Users] register fails from openvpn clients

2014-01-15 Thread Daniel-Constantin Mierla
Hello, what do you mean by "register fails"? Is the REGISTER request getting to kamailio? Is there a reply for it? A ngrep output taken on kamailio server for such registration would help to figure out where is the issue. Cheers, Daniel On 13/01/14 18:08, meres wrote: I have kamailio 4.1.

Re: [SR-Users] SIP OPTIONS

2014-01-15 Thread Benjamin Henrion
On Wed, Jan 15, 2014 at 10:06 AM, Daniel-Constantin Mierla wrote: > Hello, > > if you just want to send a 200 ok for OPTIONS, do: > > if(is_method("OPTIONS")) { > send_reply("200", "OK"); > exit; > } > > You can also add condition on IP of the trunk gateway, like: > > if(src_ip==_GW_IP) { > .

Re: [SR-Users] register fails from openvpn clients

2014-01-15 Thread meres
Hello, Thank you for your help The REGISTER request is getting to kamailio. I attach my tcpdump output: http://pastebin.com/3RV9wG5G Regards, Kostas On Jan 15, 2014, at 11:09 AM, Daniel-Constantin Mierla wrote: > Hello, > > what do you mean by "register fails"? > > Is the REGISTER reque

Re: [SR-Users] S-CSCF configuration brings to seg fault

2014-01-15 Thread Carsten Bock
Salut Gennaro, what Version of Kamailio are you using? Did you install it from GIT or from what repository? Looks similar to a bug, i just fixed yesterday... I recommend to use at least a 4.1 nightly build. Thanks, Carsten 2014/1/15 Gennaro Sarnataro : > hello everyone, > I'm using some kamailio

[SR-Users] dispatcher sets - mixed/overlapping algorithm

2014-01-15 Thread Rob Moore
Hi All, I've been trying to find the best way of providing a single dispatcher set to cover all of our outbound SIPtoPSTN providers. However in order to create a single dispatcher set I would need to have a mixture of the available algorithms to provide the required effect. So for example, if

[SR-Users] Authenticate Failure

2014-01-15 Thread Keith
Hi, Having a strange issue: auth_db [authorize.c:476]: auth_check(): realm [x.x.x.x] table [subscriber] flags [1] Sep 8 02:10:28 localhost /usr/sbin/kamailio[65448]: DEBUG: auth [api.c:86]: pre_auth(): auth:pre_auth: Credentials with realm 'x.x.x.x' not found Sep 8 02:10:28 localhost /usr/sbin/k

Re: [SR-Users] register fails from openvpn clients

2014-01-15 Thread Andrew Mortensen
On Jan 15, 2014, at 5:35 AM, meres wrote: > Hello, > > Thank you for your help > > The REGISTER request is getting to kamailio. > I attach my tcpdump output: > http://pastebin.com/3RV9wG5G Your client is never responding to the authentication challenge returned by Kamailio in the WWW-Authen

Re: [SR-Users] register fails from openvpn clients

2014-01-15 Thread meres
The clients manage to authenticate successfully from remote subnets or from our local subnet but NOT while connected to our openvpn server, so it is not an authentication issue. On Jan 15, 2014, at 4:16 PM, Andrew Mortensen wrote: > > On Jan 15, 2014, at 5:35 AM, meres wrote: > >> Hello, >

Re: [SR-Users] register fails from openvpn clients

2014-01-15 Thread Andrew Mortensen
On Jan 15, 2014, at 10:41 AM, meres wrote: > The clients manage to authenticate successfully from remote subnets or from > our local subnet but NOT while connected to our openvpn server, so it is not > an authentication issue. The clients aren't responding to the authentication challenge. How

Re: [SR-Users] register fails from openvpn clients

2014-01-15 Thread Alex Balashov
Are you sure this isn't an issue of responses taking a different route (i.e. down the tunnel) than the requests, or vice versa? -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 United States Tel: +1-678-954-0670 Web: http://www.evaristesys.com

Re: [SR-Users] register fails from openvpn clients

2014-01-15 Thread meres
Tcpdump shows that responses are sent from kamailio to the clients, but clients don’t seem to receive them while connected to openvpn. Packets are sent from the server (165.231.27.134) to my client (165.231.27.107): 20:30:30.668831 IP 165.231.27.107.55482 > 165.231.27.134.5060: SIP, length: 568 2

[SR-Users] Link Redundancy

2014-01-15 Thread Owais ul Haq
Hello, I have a kamailio server deployed along with an internet connection and database (on a seperate server than the kamailio server) obviously. Problem in my scenario is that my internet connection is not comfortably reliable and in my environment I just cant help myself in this regard. I w

Re: [SR-Users] Link Redundancy

2014-01-15 Thread Charles Chance
Hello, Perhaps DNS SRV is what you are looking for? See http://en.m.wikipedia.org/wiki/SRV_record for more info. Regards, Charles On 15 Jan 2014 22:52, "Owais ul Haq" wrote: > Hello, > > I have a kamailio server deployed along with an internet connection and > database (on a seperate server t

[SR-Users] Daily crash of kamailio 4.0.5

2014-01-15 Thread Tristan Mahé
Hi guys, I'm having some crashs on a simple REGISTRAR, in st_delete_ucontact. It happens daily, mostly when proxy is loaded. Saw that someone got the same problem via this pastebin: http://pastebin.com/GsMtav7A. Does someone got an idea of why it's failing or a workaround or a fix to share ? He

Re: [SR-Users] kamailio crash after sqlops failures

2014-01-15 Thread Daniel-Constantin Mierla
Hello, the backtrace shows a crash in tm module, not sqlops. Can you tell which of the log files correspond to the instance that produced the core file from where you took the back trace you attached? Can you give the backtraces from all cores? You say there were 3 crashes. It is important t

Re: [SR-Users] Authenticate Failure

2014-01-15 Thread Daniel-Constantin Mierla
Hello, can you get the ngrep for such situation to see what realms are used in 401/407 and the follow up request? Cheers, Daniel On 15/01/14 11:52, Keith wrote: Hi, Having a strange issue: auth_db [authorize.c:476]: auth_check(): realm [x.x.x.x] table [subscriber] flags [1] Sep 8 02:10:28

Re: [SR-Users] File transferring issue

2014-01-15 Thread prasun
Ravi, File name is clearly carried in SIP INVITE 'a=file-selector:name:"IMAG0027-1.jpg"'. There must be something wrong with the clients themselves. Please debug the client's code. Regards, Prasun -- View this message in context: http://sip-router.1086192.n5.nabble.com/File-transferring-iss

Re: [SR-Users] Kamailio multi domain issue..

2014-01-15 Thread arun Jayaprakash
Daniel, will there be a problem if I set up a cron job to run the domain reload command every 5 minutes?  Thanks, Arun From: Daniel-Constantin Mierla To: arun Jayaprakash ; Kamailio (SER) - Users Mailing List Sent: Friday, January 3, 2014 3:24 AM Subject: R

Re: [SR-Users] Implementing the Presence module(Kamailio) to work with websockets (sipML5)

2014-01-15 Thread pratap
Hi Oren, I am also getting strange and unexpected errors. Sometimes kamailio is sending correct value for presence. Suddenly it starts throwing errors which are the same as you have mentioned. It will be very helpful if you could send your kamailio.cfg file or can suggest something on this. Thank