[SR-Users] Modifying path to kamailio.cfg

2013-09-19 Thread Grant Bagdasarian
Hello, I compiled and installed Kamailio 4.0.3 like usual on a new test machine, but changed the CFGFILE variable in /etc/init.d/kamailio to /usr/local/etc/kamailio/kamailio.cfg. Kamailio started normally. When I reset CFGFILE to CFGFILE=/etc/kamailio/kamailio.cfg and start Kamailio again, I'm

[SR-Users] Getting Started with SIREMIS

2013-09-19 Thread David Wilson
Hi All, I have Kamailio 4.0.3 installed via APT onto Ubuntu 12.04 and have Siremis 4.0 installed and running nicely. Is there an example config file that demonstrates how to use the features configurable through Siremis? For example, when I populate a UACReg record via Siremis, I had to adapt

Re: [SR-Users] Modifying path to kamailio.cfg

2013-09-19 Thread Daniel-Constantin Mierla
Hello, what operating system are you using? How do you start/stop kamailio? Also, provide the logs here with the errors. Cheers, Daniel On 9/19/13 9:24 AM, Grant Bagdasarian wrote: Hello, I compiled and installed Kamailio 4.0.3 like usual on a new test machine, but changed the CFGFILE vari

Re: [SR-Users] Modifying path to kamailio.cfg

2013-09-19 Thread Grant Bagdasarian
Hello, Using Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-29-generic x86_64) root@host01:~# service kamailio start Not starting Kamailio: invalid configuration file! -e ERROR: loading config file(/usr/local/etc/kamailio/kamailio.cfg): No such file or directory root@host01:~# root@host01:~# /etc/init.d/ka

Re: [SR-Users] Modifying path to kamailio.cfg

2013-09-19 Thread Daniel-Constantin Mierla
Hello, the init.d script is doing a check for errors in kamailio.cfg with 'kamailio -c', but the config file is not passed there as parameter -f. You have to look for: check_kamailio_config () { # Check if kamailio configuration is valid before starting the server. set +e out=$($DAEMON

Re: [SR-Users] Modifying path to kamailio.cfg

2013-09-19 Thread Grant Bagdasarian
Hello, Yes, that worked. Thanks! Will this be pushed into the next (minor) release of Kamailio? Regards, Grant From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Thursday, September 19, 2013 11:57 AM To: Grant Bagdasarian; Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users

Re: [SR-Users] siremis 4.0 problem

2013-09-19 Thread Marek Cervenka
for the record the problem was in URL after change from http to https i can login flawlessly Dne 18.9.2013 9:12, Marek Cervenka napsal(a): > hi, > > i'm trying siremis 4.0 with kamailio 4.0.3. installation with web wizard > was successfull > > i have strange problem with login. login succed but

Re: [SR-Users] siremis 4.0 problem

2013-09-19 Thread Daniel-Constantin Mierla
Thanks for telling the solution, may help many others that run into similar issue. Cheers, Daniel On 9/19/13 1:21 PM, Marek Cervenka wrote: for the record the problem was in URL after change from http to https i can login flawlessly Dne 18.9.2013 9:12, Marek Cervenka napsal(a): hi, i'm tr

Re: [SR-Users] Modifying path to kamailio.cfg

2013-09-19 Thread Daniel-Constantin Mierla
Hello, On 9/19/13 12:11 PM, Grant Bagdasarian wrote: Hello, Yes, that worked. Thanks! Will this be pushed into the next (minor) release of Kamailio? yes, next 4.0.x will have it - I commit a patch for it to development and 4.0 branches. Cheers, Daniel Regards, Grant *From:*Daniel-Cons

[SR-Users] Decoding HTTP URLs in event_route[xhttp:request]

2013-09-19 Thread Peter Dunkley
Hello, I was wondering if there was an easy way to decode HTTP URLs in event_route[xhttp:request]? For example, it would be good to be able to breakdown a URL like: /sip?apiKey=abcdefg&username=1234567890:al...@example.com into "path/on/server" ("/sip" in this case) and a set of parameters. Fo

[SR-Users] Caller ID using From header

2013-09-19 Thread Daniel W. Graham
Wondering what others are doing / looking for any tips for the best handling of caller ID in this scenario. Call flow - UA >> Proxy >> Asterisk >> Proxy >> Carrier Carrier only reads caller ID by 'From header' Asterisk is only used for media functions / b2bua and not user aware. UA username is

Re: [SR-Users] Caller ID using From header

2013-09-19 Thread Daniel W. Graham
My issue is I have 1 carrier that doesn't support PAI or RPID for caller ID. Second carrier supports RPID but not PAI. Still waiting verification from the others. This definitely seems like a big mess, I'd prefer to use PAI since it follows active RFC but the lack of support is surprising. I'm

Re: [SR-Users] dispatcher: set $du in failure_route

2013-09-19 Thread Daniel-Constantin Mierla
On 9/18/13 4:53 PM, Grant Bagdasarian wrote: My Dispatcher table has been extended with more columns and also functions as our routing table. I've modified the names of the columns Dispatcher uses to match the columns of the routing table. One of the columns contains the address which is

Re: [SR-Users] Caller ID using From header

2013-09-19 Thread Alex Balashov
Daniel, It's a common problem. The simplest solution - especially if you don't want to modify the From header - is to use one of the headers that superecedes From: P-Asserted-Identity, or Remote-Party-ID (deprecated draft, but very widely used). Almost all commercial gateways and softswitch

Re: [SR-Users] Getting Started with SIREMIS

2013-09-19 Thread Daniel-Constantin Mierla
Hello, On 9/19/13 9:59 AM, David Wilson wrote: Hi All, I have Kamailio 4.0.3 installed via APT onto Ubuntu 12.04 and have Siremis 4.0 installed and running nicely. Is there an example config file that demonstrates how to use the features configurable through Siremis? For example, when I po

Re: [SR-Users] Getting Started with SIREMIS

2013-09-19 Thread David Wilson
Hi Daniel, That's the path I'm on, just wanted to make sure I hadn't overlooked something obvious. In a test environment, I have a SIP client registered to kamailio. I also have kamailio registered with an ITSP using uac module, based on a UACReg record configured through Siremis. Inbound ca