[OpenSIPS-Users] Opensips maintenance mode

Mike Kane kanem1 at gmail.com
Mon Nov 10 18:45:50 CET 2014


Hey Jeff, much appreciated.

Mike

On Mon, Nov 10, 2014 at 12:43 PM, Jeff Pyle <jpyle at fidelityvoice.com> wrote:

> Mike,
>
> 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
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20141110/6d24b426/attachment.htm>


More information about the Users mailing list