root@braserv:~# ping braserv.chickenkiller.com PING braserv.chickenkiller.com (192.168.0.1) 56(84) bytes of data. 64 bytes from braserv.chickenkiller.com (192.168.0.1): icmp_req=1 ttl=64 time=0.030 ms 64 bytes from braserv.chickenkiller.com (192.168.0.1): icmp_req=2 ttl=64 time=0.030 ms 64 bytes from braserv.chickenkiller.com (192.168.0.1): icmp_req=3 ttl=64 time=0.034 ms 64 bytes from braserv.chickenkiller.com (192.168.0.1): icmp_req=4 ttl=64 time=0.031 ms ^C --- braserv.chickenkiller.com ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 2999ms rtt min/avg/max/mdev = 0.030/0.031/0.034/0.004 ms root@braserv:~# vi /etc/hosts hosts hosts.allow hosts.deny hosts.equiv root@braserv:~# vi /etc/hosts root@braserv:~# ping braserv.chickenkiller.com PING braserv.chickenkiller.com (187.127.155.107) 56(84) bytes of data. 64 bytes from 187127155107.user.veloxzone.com.br (187.127.155.107): icmp_req=1 ttl=64 time=0.900 ms 64 bytes from 187127155107.user.veloxzone.com.br (187.127.155.107): icmp_req=2 ttl=64 time=0.750 ms 64 bytes from 187127155107.user.veloxzone.com.br (187.127.155.107): icmp_req=3 ttl=64 time=0.733 ms ^C --- braserv.chickenkiller.com ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 0.733/0.794/0.900/0.078 ms root@braserv:~# /etc/rc.d/rc.asterisk stop root@braserv:~# /etc/rc.d/rc.asterisk start Starting Asterisk /usr/sbin/asterisk root@braserv:~# asterisk -rvvvT [Jan 31 22:04:09] Asterisk 1.8.8.1, Copyright (C) 1999 - 2011 Digium, Inc. and others. Created by Mark Spencer 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. ========================================================================= [Jan 31 22:04:09] == Parsing '/etc/asterisk/asterisk.conf': [Jan 31 22:04:09] == Found [Jan 31 22:04:09] Connected to Asterisk 1.8.8.1 currently running on braserv (pid = 17383) Verbosity was 0 and is now 3 braserv*CLI> sip set debug on SIP Debugging enabled <--- SIP read from UDP:189.26.255.43:18421 ---> INVITE sip:900@braserv.chickenkiller.com SIP/2.0 Via: SIP/2.0/UDP 192.168.12.99:5060;branch=z9hG4bKd05f2cfb587403a3 From: "Casa Saxa Ludmila" ;tag=c57dbbb66ccdcbaf To: Contact: Supported: replaces, timer, path P-Early-Media: Supported Call-ID: 55dd1fc6aec64f79@192.168.12.99 CSeq: 50819 INVITE User-Agent: Grandstream GXP285 1.2.4.3 Max-Forwards: 70 Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE Content-Type: application/sdp Content-Length: 409 v=0 o=casasip 8000 8000 IN IP4 192.168.12.99 s=SIP Call c=IN IP4 192.168.12.99 t=0 0 m=audio 5058 RTP/AVP 0 8 4 18 2 97 9 3 101 a=sendrecv a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:4 G723/8000 a=rtpmap:18 G729/8000 a=rtpmap:2 G726-32/8000 a=rtpmap:97 iLBC/8000 a=fmtp:97 mode=30 a=rtpmap:9 G722/8000 a=rtpmap:3 GSM/8000 a=ptime:20 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-11 <-------------> --- (14 headers 19 lines) --- Sending to 189.26.255.43:18421 (NAT) Using INVITE request as basis request - 55dd1fc6aec64f79@192.168.12.99 Found peer 'casasip' for 'casasip' from 189.26.255.43:18421 <--- Reliably Transmitting (NAT) to 189.26.255.43:18421 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.12.99:5060;branch=z9hG4bKd05f2cfb587403a3;received=189.26.255.43;rport=18421 From: "Casa Saxa Ludmila" ;tag=c57dbbb66ccdcbaf To: ;tag=as5f366662 Call-ID: 55dd1fc6aec64f79@192.168.12.99 CSeq: 50819 INVITE Server: Asterisk PBX 1.8.8.1 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH upported: replaces, timer WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="09469532" Content-Length: 0 <------------> Scheduling destruction of SIP dialog '55dd1fc6aec64f79@192.168.12.99' in 6400 ms (Method: INVITE) <--- SIP read from UDP:189.26.255.43:18421 ---> ACK sip:900@braserv.chickenkiller.com SIP/2.0 Via: SIP/2.0/UDP 192.168.12.99:5060;branch=z9hG4bKd05f2cfb587403a3 From: "Casa Saxa Ludmila" ;tag=c57dbbb66ccdcbaf To: ;tag=as5f366662 Contact: Supported: path Call-ID: 55dd1fc6aec64f79@192.168.12.99 CSeq: 50819 ACK User-Agent: Grandstream GXP285 1.2.4.3 Max-Forwards: 70 Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE Content-Length: 0 <-------------> --- (12 headers 0 lines) --- <--- SIP read from UDP:189.26.255.43:18421 ---> INVITE sip:900@braserv.chickenkiller.com SIP/2.0 Via: SIP/2.0/UDP 192.168.12.99:5060;branch=z9hG4bK4c2e3f2ef6cb8263 From: "Casa Saxa Ludmila" ;tag=c57dbbb66ccdcbaf To: Contact: Supported: replaces, timer, path P-Early-Media: Supported Authorization: Digest username="casasip", realm="asterisk", algorithm=MD5, uri="sip:900@braserv.chickenkiller.com", nonce="09469532", response="5961b4700de99adb5b647fae6db5a549" Call-ID: 55dd1fc6aec64f79@192.168.12.99 CSeq: 50820 INVITE User-Agent: Grandstream GXP285 1.2.4.3 Max-Forwards: 70 Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE Content-Type: application/sdp Content-Length: 409 v=0 o=casasip 8000 8001 IN IP4 192.168.12.99 s=SIP Call c=IN IP4 192.168.12.99 t=0 0 m=audio 5058 RTP/AVP 0 8 4 18 2 97 9 3 101 a=sendrecv a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:4 G723/8000 a=rtpmap:18 G729/8000 a=rtpmap:2 G726-32/8000 a=rtpmap:97 iLBC/8000 a=fmtp:97 mode=30 a=rtpmap:9 G722/8000 a=rtpmap:3 GSM/8000 a=ptime:20 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-11 <-------------> --- (15 headers 19 lines) --- Sending to 189.26.255.43:18421 (NAT) Using INVITE request as basis request - 55dd1fc6aec64f79@192.168.12.99 Found peer 'casasip' for 'casasip' from 189.26.255.43:18421 == Using SIP RTP CoS mark 5 Found RTP audio format 0 Found RTP audio format 8 Found RTP audio format 4 Found RTP audio format 18 Found RTP audio format 2 Found RTP audio format 97 Found RTP audio format 9 Found RTP audio format 3 Found RTP audio format 101 Found audio description format PCMU for ID 0 Found audio description format PCMA for ID 8 Found audio description format G723 for ID 4 Found audio description format G729 for ID 18 Found audio description format G726-32 for ID 2 Found audio description format iLBC for ID 97 Found audio description format G722 for ID 9 Found audio description format GSM for ID 3 Found audio description format telephone-event for ID 101 Capabilities: us - 0x2 (gsm), peer - audio=0x1d0f (g723|gsm|ulaw|alaw|g726|g729|ilbc|g722)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0x2 (gsm) Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|) Peer audio RTP is at port 192.168.12.99:5058 Looking for 900 in sip-phones (domain braserv.chickenkiller.com) list_route: hop: <--- Transmitting (NAT) to 189.26.255.43:18421 ---> SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.12.99:5060;branch=z9hG4bK4c2e3f2ef6cb8263;received=189.26.255.43;rport=18421 From: "Casa Saxa Ludmila" ;tag=c57dbbb66ccdcbaf To: Call-ID: 55dd1fc6aec64f79@192.168.12.99 CSeq: 50820 INVITE Server: Asterisk PBX 1.8.8.1 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Contact: Content-Length: 0 <------------> -- Executing [900@sip-phones:1] VoiceMailMain("SIP/casasip-00000000", "") in new stack Audio is at 5060 Adding codec 0x2 (gsm) to SDP Adding non-codec 0x1 (telephone-event) to SDP <--- Reliably Transmitting (NAT) to 189.26.255.43:18421 ---> SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.12.99:5060;branch=z9hG4bK4c2e3f2ef6cb8263;received=189.26.255.43;rport=18421 From: "Casa Saxa Ludmila" ;tag=c57dbbb66ccdcbaf To: ;tag=as669786a2 Call-ID: 55dd1fc6aec64f79@192.168.12.99 CSeq: 50820 INVITE Server: Asterisk PBX 1.8.8.1 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Contact: Content-Type: application/sdp Content-Length: 239 v=0 o=root 790882530 790882530 IN IP4 187.127.155.107 s=Asterisk PBX 1.8.8.1 c=IN IP4 187.127.155.107 t=0 0 m=audio 10152 RTP/AVP 3 101 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv <------------> Retransmitting #1 (NAT) to 189.26.255.43:18421: SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.12.99:5060;branch=z9hG4bK4c2e3f2ef6cb8263;received=189.26.255.43;rport=18421 From: "Casa Saxa Ludmila" ;tag=c57dbbb66ccdcbaf To: ;tag=as669786a2 Call-ID: 55dd1fc6aec64f79@192.168.12.99 CSeq: 50820 INVITE Server: Asterisk PBX 1.8.8.1 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Contact: Content-Type: application/sdp Content-Length: 239 v=0 o=root 790882530 790882530 IN IP4 187.127.155.107 s=Asterisk PBX 1.8.8.1 c=IN IP4 187.127.155.107 t=0 0 m=audio 10152 RTP/AVP 3 101 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv --- <--- SIP read from UDP:189.26.255.43:18421 ---> ACK sip:900@187.127.155.107:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.12.99:5060;branch=z9hG4bK9c37236bcfb564de From: "Casa Saxa Ludmila" ;tag=c57dbbb66ccdcbaf To: ;tag=as669786a2 Contact: Supported: path Authorization: Digest username="casasip", realm="asterisk", algorithm=MD5, uri="sip:900@braserv.chickenkiller.com", nonce="09469532", response="5961b4700de99adb5b647fae6db5a549" Call-ID: 55dd1fc6aec64f79@192.168.12.99 CSeq: 50820 ACK User-Agent: Grandstream GXP285 1.2.4.3 Max-Forwards: 70 Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE Content-Length: 0 <-------------> --- (13 headers 0 lines) --- -- Playing 'vm-login.gsm' (language 'en') <--- SIP read from UDP:189.26.255.43:18421 ---> <-------------> <--- SIP read from UDP:189.26.255.43:18421 ---> BYE sip:900@187.127.155.107:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.12.99:5060;branch=z9hG4bKaa98a7abe5ad9cfd From: "Casa Saxa Ludmila" ;tag=c57dbbb66ccdcbaf To: ;tag=as669786a2 Supported: path Authorization: Digest username="casasip", realm="asterisk", algorithm=MD5, uri="sip:900@187.127.155.107:5060", nonce="09469532", response="895477fb1c86ebcab0366a08c47de296" Call-ID: 55dd1fc6aec64f79@192.168.12.99 CSeq: 50821 BYE User-Agent: Grandstream GXP285 1.2.4.3 Max-Forwards: 70 Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE Reason: SIP ;text="Onhook event" Content-Length: 0 <-------------> --- (13 headers 0 lines) --- Sending to 189.26.255.43:18421 (NAT) Scheduling destruction of SIP dialog '55dd1fc6aec64f79@192.168.12.99' in 6400 ms (Method: BYE) <--- Transmitting (NAT) to 189.26.255.43:18421 ---> SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.12.99:5060;branch=z9hG4bKaa98a7abe5ad9cfd;received=189.26.255.43;rport=18421 From: "Casa Saxa Ludmila" ;tag=c57dbbb66ccdcbaf To: ;tag=as669786a2 Call-ID: 55dd1fc6aec64f79@192.168.12.99 CSeq: 50821 BYE Server: Asterisk PBX 1.8.8.1 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Content-Length: 0 <------------> braserv*CLI> sip set debug off SIP Debugging Disabled braserv*CLI>