[SR-Users] How to extract information from location table

2014-06-26 Thread aawaise
I want to know is there any indirect method to extract information from location table that is kept by Usrloc module ?? I want to know about the username and domain name of users from Location Table on arrival of INVITE packet. How can it be done ? -- View this message in context: http://sip-ro

[SR-Users] route [Location] Documentation

2014-06-26 Thread aawaise
I want to know that how route [Location] works when an INVITE packet approaches kamailio server. Basically route [Location] gathers information whether callee is a valid user or not. Secondly if it is online or not. I want to understand this whole procedure. Any help will be appreciated. Thanks.

[SR-Users] Processing of Invite Packet

2014-06-26 Thread aawaise
When an invite packet is recieved by kamailio server, what processing is done on it ? Which modules and functions are called in its processing and in which sequence ? Thanking in advance. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Processing-of-Invite-Packet-tp1286

[SR-Users] Making RLS presence work with Blink and Kamailio 4.1.4

2014-06-26 Thread Alex Villací­s Lasso
I am having trouble making all of the supposed features of Blink work with Kamailio 4.1.4. My kamailio.cfg file is attached. Specifically, what I am having trouble is with presence (the way Blink wants to implement it), and MSRP. Ordinary voice calls work correctly. With presence, I have managed

[SR-Users] Transaction Stateful Message Handling

2014-06-26 Thread AliReza Khoshgoftar Monfared
Hi, I am trying to configure a SIP proxy architecture that is stateful with regard to transaction but not the dialogues, i.e. If an INVITE takes a specific route, the corresponding 180 Ringing, 200 OK and ACK shall traverse the same set of proxies, but the corresponding BYE can take another route

Re: [SR-Users] How to stop kamailio from send 408?

2014-06-26 Thread Allen Zhang
I need to think this a bit more. Ideally, I want the routing go into failure route without sending a 408. Not sure if it’s possible. From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla Sent: Thursday, 26 June 2014 8:03

Re: [SR-Users] How to find whether or not certain header exists?

2014-06-26 Thread Allen Zhang
Thanks Daniel. I didn’t know “$null” existed. But I’ll use is_present_hf since I’m not interested in the contain of the header. From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla Sent: Thursday, 26 June 2014 7:57 p.m.

[SR-Users] Child Processes Stopped kamailio 4.0.6

2014-06-26 Thread Jonathan Hunter
Hi Guys, Sorry thought I better raise this in new stream to avoid confusion. We have another crash today, not sure if the below is of much use without debug? Thanks Jon Jun 26 09:38:09 pbx /usr/sbin/kamailio[18529]: ALERT: [main.c:788]: handle_sigs(): child process 18532 exited by a signal 11Jun

Re: [SR-Users] Kamailio Freepbx Integration Dropping Calls

2014-06-26 Thread Carlos Rangel
Thank you for Your response Daniel. I am not sure how to do that but I will figure it out. Regards Carlos De: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] En nombre de Daniel Grotti Enviado el: jueves, 26 de junio de 2014 03:16 a.m. Para: sr-u

Re: [SR-Users] RTP to SRTP encryption with Kamailio.

2014-06-26 Thread Carlos Ruiz Díaz
Hi, you are on the right track. Mediaproxy-ng/rtpengine does the conversion of SDP profiles for you, so basically, you will only need to flag the call with the right parameters and rtpengine will do the rest. Check out the webrtc example that comes with Kamailio, or my example [1]. You can use th

Re: [SR-Users] Crash Kamailio 4.1.4

2014-06-26 Thread Igor Potjevlesch
Hello, Here the result : (gdb) frame 6 #6 0x7f127cb6dde6 in acc_onreply (t=0x7f1274c157f0, req=0x7f1274c3ac08, reply=0x7f12804a6d70, code=200) at acc_logic.c:501 501 clean_hdr_field(hdr); (gdb) print hdr $1 = (hdr_field_t *) 0x7f1274c3c238 (gdb) print *hdr $2

Re: [SR-Users] Trouble with rtpproxy

2014-06-26 Thread Igor Potjevlesch
Hello, The different rtpproxy_manage work fine. I have an issue with Record-Route and Via header. Is it possible to change these headers with the expected IP address on egress sides and keep the IP address of the proxy for ingress sides? Regards, Igor. -Message d'origine- De : Igor Pot

Re: [SR-Users] segfault at 18 error 4 in auth_db.so on Version 4.0.6-1 Release

2014-06-26 Thread Jonathan Hunter
Hi Daniel, Ok great will try that. Ive just had another crash today on same release, this time affecting the child processes, please see below. I presume again I would need to capture debug/traces at the time of failure to see possible cause? Thanks Jon Jun 26 09:38:09 pbx /usr/sbin/kamailio[1852

Re: [SR-Users] Strange application hang querying DB

2014-06-26 Thread Tim Chubb
Hi Daniel There is no load on the system as I’m developing the implementation at the moment, I have a softphone and hardphone registered and that is it. Im using Centos 6.5 32bit as the OS and have disabled SElinux whilst developing. There is no rhyme or reason as far as I can tell, sometime’s r

[SR-Users] RTP to SRTP encryption with Kamailio.

2014-06-26 Thread Dani Kamailio
Hello, I need to build a VoIP system who receives SIP and RTP traffic in a public IP and encrypt both of them with TLS and SRTP respectively. The main point is to have security inside of the local network (I know it may sound unuseful). So, I was trying to build the whole system in Kamailio but I

Re: [SR-Users] Kamailio Freepbx Integration Dropping Calls

2014-06-26 Thread Daniel Grotti
Hi, a call trace could help you to understand why your server is not receiving response (which one actually ?) form the Cisco. Is that because the Cisco didn't receive your SIP message? Or is it because Cisco replied but the response didn't reach your server ? Try to make a sip trace in order to u

Re: [SR-Users] Replys though onsend_route?

2014-06-26 Thread Daniel-Constantin Mierla
Hello, have you set the siptrace flag for the requests? Because siptrace is supposed to catch all responses (incoming and outgoing) without onsend_route. Cheers, Daniel On 24/06/14 14:23, Jöran Vinzens wrote: Hi all, is there a possibility to pass reply and failure though onsend_route as

Re: [SR-Users] Kamailio Freepbx Integration Dropping Calls

2014-06-26 Thread Daniel-Constantin Mierla
Hello, can you gran the SIP trace on kamailio server for such case? You can use ngrep, like: ngrep -d any -qt -W byline port 5060 and send the output to the mailing list. You can replace any sensitive information (e.g., ip address) before sending to mailing list. The typical call drop after

Re: [SR-Users] Syntax help in comparison of values of variables

2014-06-26 Thread Daniel-Constantin Mierla
Hello, On 26/06/14 10:05, aawaise wrote: I need some help regarding syntax. Can we put some comparisons on the values of these variables like if ("$ru"=="$fu") remove the double quotes, because they are considered static string in the form you used above. It should be: if($ru==$fu) becau

Re: [SR-Users] Strange application hang querying DB

2014-06-26 Thread Daniel-Constantin Mierla
Hello, have you identified the config function that hangs? Is a sqlops function or something related to authentication, location, etc? If not, then you can use benchmark module to measure the duration of execution of various parts of config, in this way identifying the function that takes to

[SR-Users] Syntax help in comparison of values of variables

2014-06-26 Thread aawaise
I need some help regarding syntax. Can we put some comparisons on the values of these variables like if ("$ru"=="$fu") {xlog("both are same")}; If this is not the way then what is the way to do so ?? -- View this message in context: http://sip-router.1086192.n5.nabble.com/Syntax-help-in

Re: [SR-Users] Extract information from invite packet

2014-06-26 Thread aawaise
Thanks. I need some more help. Can we put some comparisons on the values of these variables like if ("$ru"=="$fu") {xlog("both are same")}; If this is not the way then what is the way to do so ?? -- View this message in context: http://sip-router.1086192.n5.nabble.com/Extract-information-

Re: [SR-Users] How to stop kamailio from send 408?

2014-06-26 Thread Daniel-Constantin Mierla
Hello, sl_send_reply() sends the SIP response in stateless mode. In that way, the transaction state is not updated at all, tm module sending its own response as well (the 408). You can use t_reply() instead of sl_send_reply() for overwriting tm's response code. The return code of the funct

Re: [SR-Users] Extract information from invite packet

2014-06-26 Thread Daniel-Constantin Mierla
Hello, On 26/06/14 08:01, aawaise wrote: I want to log some information of callee from incoming invite packet. how can it be done. I want to get it logged in /var/log/messages. Any help will be appreciated. the callee address is in R-URI and in a form that could be good in To header. To write

Re: [SR-Users] How to find whether or not certain header exists?

2014-06-26 Thread Daniel-Constantin Mierla
Hello, you can use: if(is_present_hf("aaa")) ... Also, it should work like: if($hdr("aaa") != $null) ... The is_present_hf() should be slightly faster as it just walks through the list of headers, not parsing the header body and not returning its value. Cheers, Daniel On 26/06/14 06:35,