cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
557
Views
5
Helpful
3
Replies

PRI Monitoring

Tazio4436
Level 1
Level 1

Hi,

Wanted to know if there is a way to monitor when my PRI goes down instead of getting calls from customers hours later that I cannot reach your office or even getting complaints from internal users that I can make internal calls but cannot make external calls.

Is there a way to be proactive instead being reactive?

I am using Cisco call manager and VG224

 

Thanks

Tazio

1 Accepted Solution

Accepted Solutions

A VG224 is an analogue gateway, so it can not be what you have your PRI connected to. You likely got it connected to an ISR2, like 29XX or 39XX router or an ISR 4K, like the 43XX or 44XX router.

That a side, one crude way of getting notified is to run a EEM script directly on the gateways. This is a script that we're been using for years and it works great.

event manager environment mail_domain domain.com
event manager environment mail_To john.doe@domain.com
event manager environment mail_TP bruce.wayne@domain.com
event manager environment mail_From networkvoicevideo.sdt@domain.com
event manager environment mail_smtp mail.domain.com
event manager applet Track_E1_down
event syslog pattern "Layer 2 for Interface Se0/2/0:15, TEI 0 changed to down"
action 100 info type routername
action 200 mail server "$mail_smtp" to "$mail_To" from "$mail_From" subject "PRI on $_info_routername is down" body "You have some problem with your PSTN connection. Please call your local PSTN provider and open a ticket for troubleshooting."
action 201 mail server "$mail_smtp" to "$mail_TP" from "$_info_routername@$mail_domain" subject "PRI on $_info_routername is down" body "E-mail sent to local OSS with instructions to contact the local PSTN provider for troubleshooting."
event manager applet Check_E1_up
event syslog pattern "Layer 2 for Interface Se0/2/0:15, TEI 0 changed to up"
action 101 info type routername
action 202 mail server "$mail_smtp" to "$mail_To" from "$mail_From" subject "PRI on $_info_routername is up" body "You had some problem with your PSTN connection. Please check that call work to PSTN. Call your local PSTN provider if needed."
action 203 mail server "$mail_smtp" to "$mail_TP" from "$_info_routername@$mail_domain" subject "PRI on $_info_routername is up" body "E-mail sent to OSS with instructions to check PSTN connection and contact the local PSTN provider if needed."

What this does is that it sends out two different emails, one to the local contact that is defined in the variable named "mail_To" and another to the central IT org that is defined in the variable named "mail_TP"



Response Signature


View solution in original post

3 Replies 3

A VG224 is an analogue gateway, so it can not be what you have your PRI connected to. You likely got it connected to an ISR2, like 29XX or 39XX router or an ISR 4K, like the 43XX or 44XX router.

That a side, one crude way of getting notified is to run a EEM script directly on the gateways. This is a script that we're been using for years and it works great.

event manager environment mail_domain domain.com
event manager environment mail_To john.doe@domain.com
event manager environment mail_TP bruce.wayne@domain.com
event manager environment mail_From networkvoicevideo.sdt@domain.com
event manager environment mail_smtp mail.domain.com
event manager applet Track_E1_down
event syslog pattern "Layer 2 for Interface Se0/2/0:15, TEI 0 changed to down"
action 100 info type routername
action 200 mail server "$mail_smtp" to "$mail_To" from "$mail_From" subject "PRI on $_info_routername is down" body "You have some problem with your PSTN connection. Please call your local PSTN provider and open a ticket for troubleshooting."
action 201 mail server "$mail_smtp" to "$mail_TP" from "$_info_routername@$mail_domain" subject "PRI on $_info_routername is down" body "E-mail sent to local OSS with instructions to contact the local PSTN provider for troubleshooting."
event manager applet Check_E1_up
event syslog pattern "Layer 2 for Interface Se0/2/0:15, TEI 0 changed to up"
action 101 info type routername
action 202 mail server "$mail_smtp" to "$mail_To" from "$mail_From" subject "PRI on $_info_routername is up" body "You had some problem with your PSTN connection. Please check that call work to PSTN. Call your local PSTN provider if needed."
action 203 mail server "$mail_smtp" to "$mail_TP" from "$_info_routername@$mail_domain" subject "PRI on $_info_routername is up" body "E-mail sent to OSS with instructions to check PSTN connection and contact the local PSTN provider if needed."

What this does is that it sends out two different emails, one to the local contact that is defined in the variable named "mail_To" and another to the central IT org that is defined in the variable named "mail_TP"



Response Signature


Thank you very much , it works .

 

Tazio

The option will be the one which @Roger Kallberg shared.

 

And vg224 doesn’t have a pri slot. So you need to use the script on pstn gateway 



Response Signature