Re: [SR-Users] Can't Auth against Kamailio 3.1.1 - fresh install

2010-12-14 Thread Daniel-Constantin Mierla
Hello, On 12/14/10 6:31 AM, Graham Wooden wrote: Hi folks, Getting ready to stage my 1.4.2 upgrade to 3.1.1 - but apparently I am missing something pretty basic here as I can't get a test subscriber registered. Turned up debug and viewed the 401 Unauthorized repeating messages. So I combed

Re: [SR-Users] . Re: Error opening Kamailio's FIFO

2010-12-14 Thread Daniel-Constantin Mierla
On 12/13/10 10:47 PM, Kurt Mullen wrote: -Original Message- From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of sr-users-requ...@lists.sip-router.org Sent: Monday, December 13, 2010 5:39 AM To: sr-users@lists.sip-router.org Subject:

Re: [SR-Users] Location of kamailio.cfg

2010-12-14 Thread Daniel-Constantin Mierla
Hello, On 12/13/10 5:48 PM, Nicolas RĂ¼ger wrote: Hello Daniel, thanks for the fast answer. That works! One can easily set the parameter for the startoptions in ../sbin/kamctlrc as follows: STARTOPTIONS=-f /home/daniel/kamailio/etc/kamailio.cfg Be sure to use the quotation marks and the

Re: [SR-Users] Can't Auth against Kamailio 3.1.1 - fresh install

2010-12-14 Thread Graham Wooden
Thanks for the reply Daniel. That was one of the docs that I was referred to, and those defines were added. I have this towards the top of the cfg file (above the if/elses): #!define WITH_MYSQL #!define WITH_AUTH #!define WITH_USRLOCDB #!define WITH_DEBUG #!define WITH_ACCDB I turned up mysql

Re: [SR-Users] . Re: Error opening Kamailio's FIFO

2010-12-14 Thread Kurt Mullen
r...@kamailio:/# ps auxw | grep kamailio root 1100 0.0 0.0 8952 856 pts/0S+ 10:02 0:00 grep --color=auto kamailio -Original Message- From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Tuesday, December 14, 2010 4:06 AM To: Kurt Mullen Cc:

[SR-Users] Kamailio 3.1 and Elastix 2.0 Integration

2010-12-14 Thread Kurt Mullen
I have two separate servers. A Kamailio box and an Elastix box. I have Kamailio all up and running. I installed Elastix 2.0 using an ISO. I followed all the steps to modify the Asterisk configuration from Kamailio 3.1.x and Asterisk 1.6.2 Realtime Integration using Asterisk Database to

[SR-Users] modules_k/rls missing in Kamailio debs

2010-12-14 Thread Klaus Darilion
rls is extra_excluded in debian rules file: # extra modules to skip, because they are not compilable now # - regardless if they go to the main kamailio package or to some module package, # they will be excluded from compile and install of all EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa rls

Re: [SR-Users] Can't Auth against Kamailio 3.1.1 - fresh install

2010-12-14 Thread Graham Wooden
Some more insight here. This time I did a distclean on the src, and followed the step-by-step from the GIT stable branch page (opposed to reference any other sources). I restarted kamailio now I am seeing more MySQL connectivity - but no queries to check the subscriber table upon

Re: [SR-Users] Delaying 200 OK sent to originator

2010-12-14 Thread Daniel-Constantin Mierla
Hello, On 12/14/10 6:33 PM, Dan-Cristian Bogos wrote: Hey Guys, I came in need to delay 200 OK sent to originator, I know that is not the job of a proxy (not a perfect world though), so if anyone think that should be in theory at least possible with kamailio/sr, I would appreciate any tip.

Re: [SR-Users] modules_k/rls missing in Kamailio debs

2010-12-14 Thread Daniel-Constantin Mierla
On 12/14/10 8:17 PM, Klaus Darilion wrote: rls is extra_excluded in debian rules file: # extra modules to skip, because they are not compilable now # - regardless if they go to the main kamailio package or to some module package, # they will be excluded from compile and install of all

[SR-Users] 404 failure route;

2010-12-14 Thread David J.
I am using the default script; When I do a lookup for a user that is not registered; I get 404 back; I added in my failure route to the list of codes 404; ie: First on INVITE I have t_on_failure(FAIL_ONE); failure_route[FAIL_ONE] { if (t_check_status(486|408|404)) {

Re: [SR-Users] Delaying 200 OK sent to originator

2010-12-14 Thread Alex Balashov
On 12/14/2010 03:09 PM, Daniel-Constantin Mierla wrote: delaying of any kind of sip message is possible with sleep() function from cfgutils module. Beware it is blocking operation. The fact that it's blocking makes it pretty much a non-starter in any non-trivial, non-lab setup. -- Alex

Re: [SR-Users] Can't Auth against Kamailio 3.1.1 - fresh install

2010-12-14 Thread Daniel-Constantin Mierla
Hello, run kamailio from console with -E -ddd command line parameters and read the printed log messages. You should be able to figure out whether is reaching authentication part of configuration file. Also, adding xlog(...) calls in config file might be useful for you to troubleshoot. From

Re: [SR-Users] Can't Auth against Kamailio 3.1.1 - fresh install

2010-12-14 Thread Graham Wooden
Hello, run kamailio from console with -E -ddd command line parameters and read the printed log messages. You should be able to figure out whether is reaching authentication part of configuration file. Also, adding xlog(...) calls in config file might be useful for you to troubleshoot. From

Re: [SR-Users] modules_k/rls missing in Kamailio debs

2010-12-14 Thread Klaus Darilion
Am 14.12.2010 21:11, schrieb Daniel-Constantin Mierla: On 12/14/10 8:17 PM, Klaus Darilion wrote: rls is extra_excluded in debian rules file: # extra modules to skip, because they are not compilable now # - regardless if they go to the main kamailio package or to some module package, #