Re: [SR-Users] 503 on DB Error

2011-12-12 Thread Daniel-Constantin Mierla
Hello, On 12/12/11 10:46 AM, Alex Hermann wrote: On Monday 12 December 2011, Daniel-Constantin Mierla wrote: On 12/10/11 11:36 AM, Olle E. Johansson wrote: I have been thinking about this as well. We could implement a db_ping function so we could test in the routing script before calling funct

Re: [SR-Users] 503 on DB Error

2011-12-12 Thread Olle E. Johansson
12 dec 2011 kl. 11:26 skrev Daniel-Constantin Mierla: > Hello, > > On 12/12/11 10:49 AM, Olle E. Johansson wrote: >> 12 dec 2011 kl. 10:33 skrev Daniel-Constantin Mierla: >> >>> Hello, >>> >>> On 12/10/11 11:36 AM, Olle E. Johansson wrote: 9 dec 2011 kl. 18:54 skrev Spencer Thomason:

Re: [SR-Users] 503 on DB Error

2011-12-12 Thread Daniel-Constantin Mierla
Hello, On 12/12/11 10:49 AM, Olle E. Johansson wrote: 12 dec 2011 kl. 10:33 skrev Daniel-Constantin Mierla: Hello, On 12/10/11 11:36 AM, Olle E. Johansson wrote: 9 dec 2011 kl. 18:54 skrev Spencer Thomason: Hello all, Is it possible to configure Kamailio to reply to a request with a 503 if

Re: [SR-Users] 503 on DB Error

2011-12-12 Thread Olle E. Johansson
12 dec 2011 kl. 10:33 skrev Daniel-Constantin Mierla: > Hello, > > On 12/10/11 11:36 AM, Olle E. Johansson wrote: >> 9 dec 2011 kl. 18:54 skrev Spencer Thomason: >> >>> Hello all, >>> Is it possible to configure Kamailio to reply to a request with a 503 if it >>> cannot connect to a necessary

Re: [SR-Users] 503 on DB Error

2011-12-12 Thread Alex Hermann
On Monday 12 December 2011, Daniel-Constantin Mierla wrote: > On 12/10/11 11:36 AM, Olle E. Johansson wrote: > > I have been thinking about this as well. We could implement a db_ping > > function so we could test in the routing script before calling functions > > that use the DB. It's harder with s

Re: [SR-Users] 503 on DB Error

2011-12-12 Thread Daniel-Constantin Mierla
Hello, On 12/10/11 11:36 AM, Olle E. Johansson wrote: 9 dec 2011 kl. 18:54 skrev Spencer Thomason: Hello all, Is it possible to configure Kamailio to reply to a request with a 503 if it cannot connect to a necessary database for the operation? I.e. Kamailio cannot connect to the database, w

Re: [SR-Users] 503 on DB Error

2011-12-10 Thread Olle E. Johansson
9 dec 2011 kl. 18:54 skrev Spencer Thomason: > Hello all, > Is it possible to configure Kamailio to reply to a request with a 503 if it > cannot connect to a necessary database for the operation? > > I.e. Kamailio cannot connect to the database, when a REGISTER comes in and > userloc can't fi