[Freeswitch-users] Alarms-codes

Jan Berger jan.berger at video24.no
Sat May 8 15:01:58 PDT 2010


You could add an "Alarm" statement in coding, but error's and warning's
serve the same purpose and you would in reality be coding an "alarm" side by
side with these. 

 

Actually - all I really want is the module name + code. Text, severity and
what to do we look up in a config database. 

 

jan

 

  _____  

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Moises
Silva
Sent: 8. mai 2010 20:01
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Alarms-codes

 

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
Canada
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
<https://signup.live.com/signup.aspx?id=60969>  now.


_______________________________________________
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/20100509/ca761ba4/attachment-0001.html 


More information about the FreeSWITCH-users mailing list