On SipXecs when you get a 404 not found, it does not only mean the user was not found, it means that the registrations string was not matched, so it is quite possible that the server aliases are not put under the Domain so strings do not match
XXXX@sip1.sip.company.com needs to match
add sip1.sip.company.com under Domain =>Alias
Thursday, August 16, 2012
Tuesday, August 14, 2012
add functionality to snmpd to report the output of a script
Add functionality to snmpd to report the output of a script
1. Create the script
cat /usr/local/check_reg.sh
#!/bin/bash
grep uri /var/sipxdata/sipdb/registration.xml | wc -l
2. Add it to snmpd.conf
cat /etc/snmp/snmpd.conf
...
extend check_reg /usr/local/check_reg.sh
....
3. now snmpwalk it
snmpwalk -v2c -c pub localhost NET-SNMP-AGENT-MIB::nsExtensions
1. Create the script
cat /usr/local/check_reg.sh
#!/bin/bash
grep uri /var/sipxdata/sipdb/registration.xml | wc -l
2. Add it to snmpd.conf
cat /etc/snmp/snmpd.conf
...
extend check_reg /usr/local/check_reg.sh
....
3. now snmpwalk it
snmpwalk -v2c -c pub localhost NET-SNMP-AGENT-MIB::nsExtensions
Monday, August 13, 2012
listen to g722 RTP streams in a PCAP file
The easiest way to listen to g722 RTP streams in a pcap file is to
1. Open the pcap file and just save the RTP packets (remove the RTCP using the filter rtp.ssrc!=0xBADBADBA)
2. Upload the file in http://pcap2wav.xplico.org/ and download the wav files
Many Thanks to http://pcap2wav.xplico.org/
Subscribe to:
Posts (Atom)