[SR-Users] make option to clean the installed binaries

2012-10-03 Thread Ajay Sabat
Hi, I am a newbie here and recently started using kamailio/ser. I am wondering is there a makefile option to cleanup the installed binaries and library files. Thanks, Ajay ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-u

Re: [SR-Users] make option to clean the installed binaries

2012-10-17 Thread Ajay Sabat
: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List Cc: Ajay Sabat Subject: Re: [SR-Users] make option to clean the installed binaries Hello, it is not, but if you give here the commands used to compile and install, we can give the hints of what was installed and

[SR-Users] how to search previous messages in the forum

2012-10-17 Thread Ajay Sabat
Hi, Many times I get doubts and questions about Kamailio that I want to search in the SR-Users forum before posting a new message, as it might have already been answered in the past. Is there a easier way to do that than looking up the subject lines in the monthly archive? Thanks, Ajay ___

[SR-Users] make option to build a lean kamailio image

2013-01-16 Thread Ajay Sabat
Hi, I need to build a simple Kamailio server that could do just registration and basic call routing. I don't need database support, it is fine if it loses data during reboot. The only other option I may need is NAT support. So far I was building the server using make all as given below: $ make F

Re: [SR-Users] make option to build a lean kamailio image

2013-01-16 Thread Ajay Sabat
- Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List Subject: Re: [SR-Users] make option to build a lean kamailio image Use 'exclude_modules' when making cfg. Check the INSTALL file in the source code. Regards, Ovidiu Sas On Wed, Jan 16, 2013 at 1:08 PM, Ajay Sa

[SR-Users] Error while loading modules, if given a custom library path

2013-01-16 Thread Ajay Sabat
Hi I have trouble loading modules from a custom lib directory. It works fine if the libraries are located under PREFIX/lib/Kamailio/ (PREFIX is the path that I gave while building Kamailio). But on the target I will have to keep the libraries in a custom directory. I tried by changing the mpath

Re: [SR-Users] Error while loading modules, if given a custom library path

2013-01-16 Thread Ajay Sabat
-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Ajay Sabat Sent: Wednesday, January 16, 2013 12:57 PM To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List Subject: [SR-Users] Error while loading modules, if given a custom

[SR-Users] Need help in rewriting the Request URI

2013-02-06 Thread Ajay Sabat
Hi, I use Kamailio for basic call setup with one exception where it has to route call to another server by seeing the domain name in the Request URI. If the Request uri in the received INVITE message looks like "sip12345@video-conf", then it should route the INVITE request to the video-conf ser

Re: [SR-Users] Need help in rewriting the Request URI

2013-02-07 Thread Ajay Sabat
sent to. But unfortunately I am unable to use it. Also, I need to do modify URI in Request URI besides To header. Thanks, Ajay -Original Message- From: Daniel Tryba [mailto:dan...@pocos.nl] Sent: Thursday, February 07, 2013 5:25 AM To: sr-users@lists.sip-router.org Cc: Ajay Sabat Subj

[SR-Users] how to extract the ip address in the via header received paramter

2013-03-12 Thread Ajay Sabat
Hi, I want to extract the IP address in the received parameter of the top most via header of a response and use that in a custom header while sending response back to the caller. Can somebody please tell how to implement that in the Kamailio configuration file? I need to handle a NAT traversal

Re: [SR-Users] how to extract the ip address in the via header received paramter

2013-03-13 Thread Ajay Sabat
received parameter is constructed from source IP of the incoming request. You get it via $si script variable. Cheers, Daniel On 3/12/13 7:22 PM, Ajay Sabat wrote: > > Hi, > > I want to extract the IP address in the received parameter of the top > most via header of a response and us

Re: [SR-Users] how to extract the ip address in the via header received paramter

2013-03-13 Thread Ajay Sabat
a $si script variable. Cheers, Daniel On 3/12/13 7:22 PM, Ajay Sabat wrote: > > Hi, > > I want to extract the IP address in the received parameter of the top > most via header of a response and use that in a custom header while > sending response back to the caller. Can somebod

[SR-Users] A weird message looping scenario

2013-03-14 Thread Ajay Sabat
Hi, We have an ugly message looping scenario where a SIP request message received at Kamailio is forwarded to the switch/router and back to Kamailio in a loop until the Max-forwards header value becomes 0 or the transaction times out. After receiving an incoming INVITE request from a local us

[SR-Users] search_hf returns always true

2013-03-14 Thread Ajay Sabat
Hi, I want to check whether a parameter exists in a header and I am using the search_hf() function defined in textops module. I am surprised that is always returning true whether the searched pattern exists or not. To be specific, I need to check if the "received" parameter exists in the top m