[Freeswitch-users] Alarms-codes

Moises Silva moises.silva at gmail.com
Sat May 8 11:01:05 PDT 2010

Hello Jan,

I believe you're confusing alarms with logging and those two are not the
same thing and I think should not be mixed. For alarms an special event
should be triggered ( as mentioned in other thread, may be SWITCH_EVENT_TRAP

mod_freetdm ( FreeSWITCH PSTN module ) is already sending a
SWITCH_EVENT_TRAP when any pstn port becomes alarmed, other modules may
start using it for their own type of alarms. Then we may add the alarm-code
and severity fields.

Moises Silva
Senior Software Engineer
Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3
t. 1 905 474 1990 x 128 | e. moy at sangoma.com

On Sat, May 8, 2010 at 2:47 AM, Jan Berger <janvb at live.com> wrote:

>  hi,
> I have playing around with FreeSWITCHf or a while and one of things I am
> looking for is unique Alarms-codes
> FreeSwitch has error, warning, info etc on the logging - but the message
> print module name and line-number - it does not incude a proper, unique
> alarm-code. Using the combination of module-name and line-number is possible
> - but this changes from release to release.
> The point with alarms is that they are forwarded into
> databases/applications/operating senters that monitor telecom equipmenet.
> The way this usually is done is that the forwarding mechanism filter on
> alarm-code/severity as we don't want to forward junk - but it's a
> requirement that we visualise those that affect business.
> ---
> It's doable to change logging so that every module insert a unique number -
> starting with 1 - this would make modulename + alarm-code an unique
> combination that would serve the purpose.
> Any suggestions?
> Jan
> ------------------------------
> Hotmail: Trusted email with Microsoft’s powerful SPAM protection. Sign up
> now. <https://signup.live.com/signup.aspx?id=60969>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100508/a6604b29/attachment.html 

More information about the FreeSWITCH-users mailing list