hi,
today I tried to get the logs but I see no matter which verbosity is set I don’t get any logs except sip.
please see below, maybe you can find something meaningful. I don’t…
root@router:~# asterisk -rvvvvvvvvvvvvvvvvvv -ddddddddddddddddddddddddd
Asterisk 1.8.4.4~dfsg-2ubuntu1, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': Parsing /etc/asterisk/asterisk.conf
== Found
Seeding global EID '00:0d:b9:12:cf:90' from 'eth0' using 'siocgifhwaddr'
== Parsing '/etc/asterisk/extconfig.conf': Parsing /etc/asterisk/extconfig.conf
== Found
Connected to Asterisk 1.8.4.4~dfsg-2ubuntu1 currently running on router (pid = 3527)
Verbosity is at least 18
Core debug is at least 25
router*CLI> sip show peers
Name/username Host Dyn Forcerport ACL Port Status
901/901 46.2.136.4 D N A 5060 OK (104 ms)
902 (Unspecified) D N A 0 UNKNOWN
903 (Unspecified) D N A 0 UNKNOWN
905 (Unspecified) D N A 0 UNKNOWN
906 (Unspecified) D N A 0 UNKNOWN
990 (Unspecified) D N A 0 UNKNOWN
993 (Unspecified) D A 0 UNKNOWN
995/995 192.168.254.5 D A 5060 OK (12 ms)
996 (Unspecified) D N A 0 UNKNOWN
998 (Unspecified) D A 0 UNKNOWN
999/999 192.168.254.11 D A 5060 OK (8 ms)
aktun-istanbul/200004908 193.243.202.97 5060 Unmonitored
aktunx-istanbul/20018090 193.243.202.97 5060 Unmonitored
pstn-sip/PSTN 192.168.254.5 5061 Unmonitored
14 sip peers [Monitored: 3 online, 8 offline Unmonitored: 3 online, 0 offline]
router*CLI> sip show registry
Host dnsmgr Username Refresh State Reg.Time
193.243.202.97:5060 N 200004908502 585 Registered Sun, 26 Feb 2012 19:41:06
193.243.202.97:5060 N 200180908502 585 Registered Sun, 26 Feb 2012 19:41:06
2 SIP registrations.
router*CLI>
router*CLI> sip set debug ip 193.243.202.97
SIP Debugging Enabled for IP: 193.243.202.97
router*CLI> sip set debug peer 995
SIP Debugging Enabled for IP: 192.168.254.5
<--- SIP read from UDP:192.168.254.5:5060 --->
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.254.5:5060;branch=z9hG4bK-323df9e4
From: Home <sip:[email protected]>;tag=751feec6ea016d94o0
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 101 INVITE
Max-Forwards: 70
Contact: Home <sip:[email protected]:5060>
Expires: 240
User-Agent: Linksys/SPA3102-5.1.10(GW)
Content-Length: 310
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Supported: x-sipura, replaces
Content-Type: application/sdp
v=0
o=- 51628835 51628835 IN IP4 192.168.254.5
s=-
c=IN IP4 192.168.254.5
t=0 0
m=audio 16450 RTP/AVP 18 0 8 100 101
a=rtpmap:18 G729a/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:100 NSE/8000
a=fmtp:100 192-193
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:30
a=sendrecv
<------------->
--- (14 headers 15 lines) ---
Sending to 192.168.254.5:5060 (no NAT)
Using INVITE request as basis request - [email protected]
Found peer '995' for '995' from 192.168.254.5:5060
<--- Reliably Transmitting (no NAT) to 192.168.254.5:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.254.5:5060;branch=z9hG4bK-323df9e4;received=192.168.254.5
From: Home <sip:[email protected]>;tag=751feec6ea016d94o0
To: <sip:[email protected]>;tag=as768ce7ca
Call-ID: [email protected]
CSeq: 101 INVITE
Server: FPBX-2.8.1(1.8.4.4)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="39a67bbc"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog '[email protected]' in 6400 ms (Method: INVITE)
<--- SIP read from UDP:192.168.254.5:5060 --->
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.254.5:5060;branch=z9hG4bK-323df9e4
From: Home <sip:[email protected]>;tag=751feec6ea016d94o0
To: <sip:[email protected]>;tag=as768ce7ca
all-ID: [email protected]
CSeq: 101 ACK
Max-Forwards: 70
Contact: Home <sip:[email protected]:5060>
User-Agent: Linksys/SPA3102-5.1.10(GW)
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
<--- SIP read from UDP:192.168.254.5:5060 --->
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.254.5:5060;branch=z9hG4bK-88d01be0
From: Home <sip:[email protected]>;tag=751feec6ea016d94o0
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 INVITE
Max-Forwards: 70
Authorization: Digest username="995",realm="asterisk",nonce="39a67bbc",uri="sip:[email protected]",algorithm=MD5,response="7dfadfe9c5508258626d29b4fd34682c"
Contact: Home <sip:[email protected]:5060>
Expires: 240
User-Agent: Linksys/SPA3102-5.1.10(GW)
Content-Length: 310
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Supported: x-sipura, replaces
Content-Type: application/sdp
v=0
o=- 51628835 51628835 IN IP4 192.168.254.5
s=-
c=IN IP4 192.168.254.5
t=0 0
m=audio 16450 RTP/AVP 18 0 8 100 101
a=rtpmap:18 G729a/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:100 NSE/8000
a=fmtp:100 192-193
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:30
a=sendrecv
<------------->
--- (15 headers 15 lines) ---
Sending to 192.168.254.5:5060 (no NAT)
Using INVITE request as basis request - [email protected]
Found peer '995' for '995' from 192.168.254.5:5060
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
Found RTP audio format 18
Found RTP audio format 0
Found RTP audio format 8
Found RTP audio format 100
Found RTP audio format 101
Found audio description format G729a for ID 18
Found audio description format PCMU for ID 0
Found audio description format PCMA for ID 8
Found audio description format NSE for ID 100
Found audio description format telephone-event for ID 101
Capabilities: us - 0x8 (alaw), peer - audio=0x10c (ulaw|alaw|g729)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0x8 (alaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
Peer audio RTP is at port 192.168.254.5:16450
Looking for 02165563000 in access (domain 192.168.254.254)
<--- Reliably Transmitting (no NAT) to 192.168.254.5:5060 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.254.5:5060;branch=z9hG4bK-88d01be0;received=192.168.254.5
From: Home <sip:[email protected]>;tag=751feec6ea016d94o0
To: <sip:[email protected]>;tag=as768ce7ca
all-ID: [email protected]
CSeq: 102 INVITE
Server: FPBX-2.8.1(1.8.4.4)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog '[email protected]' in 6400 ms (Method: INVITE)
<--- SIP read from UDP:192.168.254.5:5060 --->
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.254.5:5060;branch=z9hG4bK-88d01be0
From: Home <sip:[email protected]>;tag=751feec6ea016d94o0
To: <sip:[email protected]>;tag=as768ce7ca
Call-ID: [email protected]
CSeq: 102 ACK
Max-Forwards: 70
Authorization: Digest username="995",realm="asterisk",nonce="39a67bbc",uri="sip:[email protected]",algorithm=MD5,response="7dfadfe9c6d08258626d29bb4d34682c"
Contact: Home <sip:[email protected]:5060>
User-Agent: Linksys/SPA3102-5.1.10(GW)
Content-Length: 0
<------------->
--- (11 headers 0 lines) ---
router*CLI>