monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SIP TRUNK MONIT


From: Martin Pala
Subject: Re: SIP TRUNK MONIT
Date: Mon, 11 Jun 2012 23:44:21 +0200

Hello,

please can you send the full network trace of the communication between Monit 
and Asterisk (200.73.192.23:5060/udp)?

Regards,
Martin


On Jun 8, 2012, at 8:43 PM, Adriana Sanchez wrote:

> Hello
> 
> 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 address@hidden 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
> 
> #
> U 192.168.30.24:52401 -> 200.73.192.23:5060
> OPTIONS sip:address@hidden SIP/2.0.
> Via: SIP/2.0/UDP 192.168.30.24:52401;branch=z9hG4bKh768568267;rport.
> Max-Forwards: 10.
> To: <sip: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.
> .
> 
> 
> ngrep -W byline port 5060  > monit1.txt
> 
> #
> U 192.168.30.24:37251 -> 200.73.192.23:5060
> OPTIONS sip:address@hidden SIP/2.0.
> Via: SIP/2.0/UDP 192.168.30.24:37251;branch=z9hG4bKh898206628;rport.
> Max-Forwards: 10.
> To: <sip:address@hidden>.
> From: monit <sip:address@hidden>;tag=2003916383.
> Call-ID: 376820923.
> CSeq: 63104 OPTIONS.
> Contact: <sip:192.168.30.24:37251>.
> 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: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]
> 
> 
> 
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

[Prev in Thread] Current Thread [Next in Thread]