|
From: | Adriana Sanchez |
Subject: | Re: SIP TRUNK MONIT |
Date: | Fri, 8 Jun 2012 14:16:33 -0430 |
I am monitoring two sip trunk but one that I can not get work. Could you help me to understand what is wrong?
MONITRC
# Troncal SIP ALODIGA ================> This is NOT working (SIP PROVIDER) Here i nedd to mark prefix
check host Alodiga with address 200.73.192.23
if failed port 5060 type udp protocol SIP
and target 99999*582812651546@200.73.192.23 maxforward 10
then alert
# Troncal SIP CONSULT =====================>this is working (Other asterisk)
check host C-251 with address 192.168.0.25
if failed port 5060 type udp protocol SIP
and target address@hidden maxforward 10
then alert
#Hello
U 192.168.30.24:52401 -> 200.73.192.23:5060
OPTIONS sip:99999*address@hidden SIP/2.0.
Via: SIP/2.0/UDP 192.168.30.24:52401;branch=z9hG4bKh768568267;rport.
Max-Forwards: 10.
To: <sip:99999*address@hidden>.
From: monit <sip:address@hidden>;tag=1709668153.
Call-ID: 1625147664.
CSeq: 63104 OPTIONS.
Contact: <sip:192.168.30.24:52401>.
Accept: application/sdp.
Content-Length: 0.
User-Agent: monit/5.2.4.
.
/var/log/monit.log
'Alodiga' failed protocol test [SIP] at INET[200.73.192.23:506099999*address@hidden] via UDP
error : SIP: error sending data -- No route to host
I dont know if is necesary, but i created a SIP extension called monit in my asterisk
AsteriskCCS*CLI> sip show peers like monit
Name/username Host Dyn Forcerport ACL Port Status
monit/monit 192.168.30.27 D 5063 OK (89 ms)
1 sip peers [Monitored: 1 online, 0 offline Unmonitored: 0 online, 0 offline]
[Prev in Thread] | Current Thread | [Next in Thread] |