[OpenSIPS-Users] Opensips maintenance mode
kanem1 at gmail.com
Mon Nov 10 18:45:50 CET 2014
Hey Jeff, much appreciated.
On Mon, Nov 10, 2014 at 12:43 PM, Jeff Pyle <jpyle at fidelityvoice.com> wrote:
> I accomplish this with the gflags module. I define a flag for
> maintenance, say flag 1. I check to see if gflag 1 is set early in the
> script but after handling any in-dialog requests. If it is set, I return a
> 503 and leave it to the client to go to the next server. If it is not set,
> I process the call as normal.
> If you wanted to have server-side control of where the call goes, you may
> be able to use a 302 instead.
> I set the flag with opensipsctl fifo set_gflags.
> - Jeff
> On Mon, Nov 10, 2014 at 12:14 PM, Mike Kane <kanem1 at gmail.com> wrote:
>> Hello all, is there a concept of placing Opensips in maintenance mode
>> where all ongoing call will be processed, but any new requests will be
>> diverted to another instance of Opensips. I thought I had read a thread on
>> this in relation to the DR module at one point.
>> Thanks Mike
>> Users mailing list
>> Users at lists.opensips.org
> Users mailing list
> Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users