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 b

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: s

Re: [SR-Users] Crash

2010-12-14 Thread Daniel-Constantin Mierla
Hello, On 12/13/10 3:48 PM, michel freiha wrote: Hello Daniel, We are not facing any database problem even we are not using DNS anywhere in Kamailio config...The only thing is that the debug level is 2 and syslog was not configured asynchronous...Do you think if we configure it as asynchrono

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" an

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 q

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@lists.s

[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 provi

[SR-Users] Kamailio 3.1 and Elastix 2.0 Integration

2010-12-14 Thread Kurt Mullen
I have also tried the same using the following: one Kamailio server box and one Asterisk server box. Same results after following the tutorial, with exception of using two boxes. Kurt A. Mullen Practical PC, LLC (O) 830.542.4102 x204 (F) 210.767.3912 _

[SR-Users] Delaying 200 OK sent to originator

2010-12-14 Thread Dan-Cristian Bogos
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. Scenario: User A -> Proxy -> User B. User B will send 183 an

[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 iptr

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 authentic

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. Sce

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 EXTRA_

[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")) { sethostport("mydomain

Re: [SR-Users] 404 failure route;

2010-12-14 Thread Alex Balashov
Can you post the complete config? On 12/14/2010 03:17 PM, David J. wrote: 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

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 Bala

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 t

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 the

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

2010-12-14 Thread Graham Wooden
This has been resolved. Apparently my broad-band NAT router was screwing up and wasn't getting the www digest back to the Q/A phone. Thanks, -graham On 12/14/10 4:18 PM, "Graham Wooden" wrote: > >> Hello, >> >> run kamailio from console with -E -ddd command line parameters and read >> the p

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

2010-12-14 Thread Alex Balashov
On 12/14/2010 10:29 PM, Graham Wooden wrote: This has been resolved. Apparently my broad-band NAT router was screwing up and wasn't getting the www digest back to the Q/A phone. We had that problem ourselves earlier today. :-) -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree

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, # they