[OpenSIPS-Users] Drouting and gateway monitoring
Flavio Goncalves
flavio at asteriskguide.com
Thu Sep 20 01:33:08 CEST 2012
Hi
You can use failure_route to generate events for gateway timeouts (Internal
408), save in cache the number of timeouts and after a certain thershold
raise an event. Seems simpler and more effective than checking all the time
using fifo.
Flavio E. Goncalves
CEO - SipPulse, www.sippulse.com
2012/9/15 Engineer voip <forvoip4 at gmail.com>
> Hi,
> I think the easiest way is to use a script with cron and send an email following
> the result of the command fifo opensipsctl dr_status GatewayID without
> using the databases.
>
>
> 2012/9/14 alexandre Moutot <a.moutot at alphalink.fr>
>
>> Hi,
>>
>> Thank you for your answer. Yes i can actively check via fifo interface.
>> To have some alert, i need to keep all gateways status in a cache and check
>> all the time through the fifo. I can do that with a simple script, a little
>> database and cron. I'm looking for the other way to do that.
>>
>> Regards,
>>
>> MOUTOT Alexandre
>> a.moutot at alphalink.fr
>> +33 (0)6 62 91 95 14
>>
>> ----- Original Message -----
>> > From: "Max Mühlbronner" <mm at 42com.com>
>> > To: "OpenSIPS users mailling list" <users at lists.opensips.org>
>> > Sent: Friday, September 14, 2012 3:39:13 PM
>> > Subject: Re: [OpenSIPS-Users] Drouting and gateway monitoring
>> > Hello,
>> >
>> > Afaik there is no option for logging the disabled gateways (except at
>> > higher debug levels?).
>> >
>> > But you can actively check via fifo interface: "opensipsctl fifo
>> > dr_status GatewayID" which shows current status of the queried
>> > gateway.
>> >
>> >
>> > Best Regards
>> >
>> > Max M.
>> >
>> > On 09/14/2012 02:14 PM, alexandre Moutot wrote:
>> > > Hello,
>> > >
>> > > I'm using Opensips with the drouting module. All is ok and works
>> > > good. I'm using the probe_mode for several gateways : it works good
>> > > but i don't have any feedback about gateways status. Is there a
>> > > capability to have a log or to execute an action when a gateway
>> > > status is modified or otherwise when a gateway goes down.
>> > >
>> > > Regards,
>> > >
>> > > MOUTOT Alexandre
>> > > a.moutot at alphalink.fr
>> > > +33 (0)6 62 91 95 14
>> > >
>> > > _______________________________________________
>> > > Users mailing list
>> > > Users at lists.opensips.org
>> > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> >
>> >
>> > --
>> > Max Mühlbronner
>> >
>> > 42com Telecommunication GmbH
>> > Straße der Pariser Kommune 12-16
>> > 10243 Berlin
>> >
>> > E-Mail: mm at 42com.com
>> > Web: www.42com.com
>> >
>> > Firmenangaben/Company information:
>> > Handelsregister/Commercial register: Amtsgericht Berlin HRB 99071 B
>> > Umsatzsteuer-ID/VAT-ID: DE223812306
>> > Geschäftsführer/CEO: Thomas Reinig, Alexander Reinig
>> >
>> > Diese E-Mail enthält Informationen von 42com Telecommunication GmbH.
>> > Diese sind möglicherweise vertraulich und ausschließlich für den
>> > Adressaten bestimmt. Sollten Sie diese elektronische Nachricht
>> > irrtümlicherweise erhalten haben, so informieren Sie uns bitte
>> > unverzüglich telefonisch oder per E-Mail.
>> >
>> > This message is intended only for the use of the individual or entity
>> > to which it is addressed. If you have received this message by
>> > mistake, please notify us immediately.
>> >
>> >
>> > _______________________________________________
>> > 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
>>
>
>
>
> --
>
> Best Regards
>
>
> _______________________________________________
> 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/20120919/584f7a27/attachment-0001.htm>
More information about the Users
mailing list