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

How to set alerts in Cisco Voice gateway for PRI down

Yasir@1995
Level 1
Level 1

Dear Team,

 

Can anyone suggest how can I set alerts in Cisco ISR 4331 router when the PRI link goes down?

CUCM----SIP-----CISCO VG------ISDN-----ISP  

3 Replies 3

techguy150
Level 1
Level 1

You can configure the alerts in RTMT for "Number of Registered Gateways Decreased" and set the email address of whoever should receive the alert.

 

Please clarify how CUCM detects the gateway status if PRI registered not using MGCP protocol. 

We are using the SIP trunk in between CUCM and VG, SIP trunk status shows up irrespective of PRI status. 

You could use a EEM script on the router to do this. Something like this would work.

event manager environment mail_domain <domain.com>
event manager environment mail_To <user1.last@domain.com>
event manager environment mail_TP <user2.last@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."
!


Response Signature


Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: