Let me say right up front that I am very new to the Asterisk world, so please pardon any total ignorance!
Here is what I am working with:
I followed the steps listed by DrDamnit in a post located here - experts-exchange.com/Network … ratch.html
I used Ubuntu Server version 10.10 for my base Linux (in hindsight I may reinstall with version 10.4 LTM)
Per DrD’s instructions (svn co svn.digium.com/svn/asterisk/trunk asterisk) I ended up with version: SVN-trunk-r293809 (I’m not sure if that is good or bad!)
I had previously installed and messed around with an “AsteriskNow 1.7” installation on a different server but it became evident that the config changes I needed to get my lab up on “pure Asterisk” were located in 4 files (extensions.conf, users.conf, sip.conf, and voicemail.conf)
So I get the new installation up and running, I copy the 4 config files from AsteriskNow 1.7 into /etc/asterisk on the new server (after preserving the originals of course) all 5 of my phones (3 on the local network and 2 remote) register, my SIP trunk registers, I can make calls (on and off net), I can leave Voicemail AND the voicemail gets sent off to my gmail account!
I am impressed with myself until I hit the first snag:
When I try to retrieve voicemail, from any of the phones, I dial the VM extension, I am asked for my password, I enter the password followed by the “#” key. As soon as I hit the # key the call is dropped.
Does anyone have any idea where I should start looking? OR Have I broken and “Golden Rules” while following the way I got this installed?
I am thinking a SIP debug from the CLI while trying to retrieve VM might be of help, so here it is:
<— SIP read from UDP:209.137.234.229:1027 —>
INVITE sip:6099@10.1.3.11 SIP/2.0
Via: SIP/2.0/UDP 209.137.234.229:1028;branch=z9hG4bK-168ed1c
From: SPA-Line1 sip:7544@10.1.3.11;tag=7fffb702ad09e62co0
To: sip:6099@10.1.3.11
Remote-Party-ID: SPA-Line1 sip:7544@10.1.3.11;screen=yes;party=calling
Call-ID: 51b5f03a-192a3e54@10.0.3.115
CSeq: 101 INVITE
Max-Forwards: 70
Contact: SPA-Line1 sip:7544@209.137.234.229:1028
Expires: 240
User-Agent: Linksys/SPA8000-6.1.3
Allow-Events: talk, hold, conference
Content-Length: 445
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Supported: x-sipura, replaces
Content-Type: application/sdp
v=0
o=- 8507079 8507079 IN IP4 10.0.3.115
s=-
c=IN IP4 209.137.234.229
t=0 0
m=audio 16420 RTP/AVP 0 2 4 8 18 96 97 98 100 101
a=rtpmap:0 PCMU/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:4 G723/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729a/8000
a=rtpmap:96 G726-40/8000
a=rtpmap:97 G726-24/8000
a=rtpmap:98 G726-16/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
<------------->
— (16 headers 20 lines) —
Sending to 209.137.234.229:1028 (no NAT)
Using INVITE request as basis request - 51b5f03a-192a3e54@10.0.3.115
Found peer ‘7544’ for ‘7544’ from 209.137.234.229:1027
<— Reliably Transmitting (NAT) to 209.137.234.229:1027 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 209.137.234.229:1028;branch=z9hG4bK-168ed1c;received=209.137.234.229;rport=1027
From: SPA-Line1 sip:7544@10.1.3.11;tag=7fffb702ad09e62co0
To: sip:6099@10.1.3.11;tag=as1d925884
Call-ID: 51b5f03a-192a3e54@10.0.3.115
CSeq: 101 INVITE
Server: Asterisk PBX SVN-trunk-r293809
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="734ce0cb"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog ‘51b5f03a-192a3e54@10.0.3.115’ in 32000 ms (Method: INVITE)
<— SIP read from UDP:209.137.234.229:1027 —>
ACK sip:6099@10.1.3.11 SIP/2.0
Via: SIP/2.0/UDP 209.137.234.229:1028;branch=z9hG4bK-168ed1c
From: SPA-Line1 sip:7544@10.1.3.11;tag=7fffb702ad09e62co0
To: sip:6099@10.1.3.11;tag=as1d925884
Call-ID: 51b5f03a-192a3e54@10.0.3.115
CSeq: 101 ACK
Max-Forwards: 70
Contact: SPA-Line1 sip:7544@209.137.234.229:1028
User-Agent: Linksys/SPA8000-6.1.3
Allow-Events: talk, hold, conference
Content-Length: 0
<------------->
— (11 headers 0 lines) —
<— SIP read from UDP:209.137.234.229:1027 —>
INVITE sip:6099@10.1.3.11 SIP/2.0
Via: SIP/2.0/UDP 209.137.234.229:1028;branch=z9hG4bK-a7cefe0
From: SPA-Line1 sip:7544@10.1.3.11;tag=7fffb702ad09e62co0
To: sip:6099@10.1.3.11
Remote-Party-ID: SPA-Line1 sip:7544@10.1.3.11;screen=yes;party=calling
Call-ID: 51b5f03a-192a3e54@10.0.3.115
CSeq: 102 INVITE
Max-Forwards: 70
Authorization: Digest username=“7544”,realm=“asterisk”,nonce=“734ce0cb”,uri="sip:6099@69.51.81.220",algorithm=MD5,response="3447af46135f47babdd196a8ab714b54"
Contact: SPA-Line1 sip:7544@209.137.234.229:1028
Expires: 240
User-Agent: Linksys/SPA8000-6.1.3
Allow-Events: talk, hold, conference
Content-Length: 445
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Supported: x-sipura, replaces
Content-Type: application/sdp
v=0
o=- 8507079 8507079 IN IP4 10.0.3.115
s=-
c=IN IP4 209.137.234.229
t=0 0
m=audio 16420 RTP/AVP 0 2 4 8 18 96 97 98 100 101
a=rtpmap:0 PCMU/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:4 G723/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729a/8000
a=rtpmap:96 G726-40/8000
a=rtpmap:97 G726-24/8000
a=rtpmap:98 G726-16/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
<------------->
— (17 headers 20 lines) —
Sending to 209.137.234.229:1027 (NAT)
Using INVITE request as basis request - 51b5f03a-192a3e54@10.0.3.115
Found peer ‘7544’ for ‘7544’ from 209.137.234.229:1027
Found RTP audio format 0
Found RTP audio format 2
Found RTP audio format 4
Found RTP audio format 8
Found RTP audio format 18
Found RTP audio format 96
Found RTP audio format 97
Found RTP audio format 98
Found RTP audio format 100
Found RTP audio format 101
Found audio description format PCMU for ID 0
Found audio description format G726-32 for ID 2
Found audio description format G723 for ID 4
Found audio description format PCMA for ID 8
Found audio description format G729a for ID 18
Found audio description format G726-40 for ID 96
Found audio description format G726-24 for ID 97
Found audio description format G726-16 for ID 98
Found audio description format NSE for ID 100
Found audio description format telephone-event for ID 101
Capabilities: us - 0x6 (gsm|ulaw), peer - audio=0x100d0d (g723|ulaw|alaw|g726|g729|ilbc|h263p)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0x4 (ulaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
Peer audio RTP is at port 209.137.234.229:16420
Looking for 6099 in from-sip (domain 10.1.3.11)
list_route: hop: sip:7544@209.137.234.229:1028
<— Transmitting (NAT) to 209.137.234.229:1027 —>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 209.137.234.229:1028;branch=z9hG4bK-a7cefe0;received=209.137.234.229;rport=1027
From: SPA-Line1 sip:7544@10.1.3.11;tag=7fffb702ad09e62co0
To: sip:6099@10.1.3.11
Call-ID: 51b5f03a-192a3e54@10.0.3.115
CSeq: 102 INVITE
Server: Asterisk PBX SVN-trunk-r293809
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: sip:6099@10.1.3.11:5060
Content-Length: 0
<------------>
Audio is at 5060
Adding codec 0x4 (ulaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
<— Reliably Transmitting (NAT) to 209.137.234.229:1027 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 209.137.234.229:1028;branch=z9hG4bK-a7cefe0;received=209.137.234.229;rport=1027
From: SPA-Line1 sip:7544@10.1.3.11;tag=7fffb702ad09e62co0
To: sip:6099@10.1.3.11;tag=as59d4c5f3
Call-ID: 51b5f03a-192a3e54@10.0.3.115
CSeq: 102 INVITE
Server: Asterisk PBX SVN-trunk-r293809
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: sip:6099@10.1.3.11:5060
Content-Type: application/sdp
Content-Length: 240
v=0
o=root 1979196128 1979196128 IN IP4 10.1.3.11
s=Asterisk PBX SVN-trunk-r293809
c=IN IP4 10.1.3.11
t=0 0
m=audio 14574 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
<------------>
<— SIP read from UDP:209.137.234.229:1027 —>
ACK sip:6099@10.1.3.11:5060 SIP/2.0
Via: SIP/2.0/UDP 209.137.234.229:1028;branch=z9hG4bK-94bbd2f5
From: SPA-Line1 sip:7544@10.1.3.11;tag=7fffb702ad09e62co0
To: sip:6099@10.1.3.11;tag=as59d4c5f3
Call-ID: 51b5f03a-192a3e54@10.0.3.115
CSeq: 102 ACK
Max-Forwards: 70
Authorization: Digest username=“7544”,realm=“asterisk”,nonce=“734ce0cb”,uri="sip:6099@69.51.81.220",algorithm=MD5,response="3447af46135f47babdd196a8ab714b54"
Contact: SPA-Line1 sip:7544@209.137.234.229:1028
User-Agent: Linksys/SPA8000-6.1.3
Allow-Events: talk, hold, conference
Content-Length: 0
<------------->
— (12 headers 0 lines) —
Scheduling destruction of SIP dialog ‘143d14341b8080e647a4c91e1d27fdb6@10.1.3.11:5060’ in 32000 ms (Method: NOTIFY)
Reliably Transmitting (NAT) to 209.137.234.229:1027:
NOTIFY sip:7544@209.137.234.229:1028 SIP/2.0
Via: SIP/2.0/UDP 10.1.3.11:5060;branch=z9hG4bK1c81e28b;rport
Max-Forwards: 70
From: “asterisk” sip:asterisk@10.1.3.11;tag=as42db6934
To: sip:7544@209.137.234.229:1028
Contact: sip:asterisk@10.1.3.11:5060
Call-ID: 143d14341b8080e647a4c91e1d27fdb6@10.1.3.11:5060
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX SVN-trunk-r293809
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 90
Messages-Waiting: no
Message-Account: sip:6099@10.1.3.11:5060
Voice-Message: 0/0 (0/0)
Scheduling destruction of SIP dialog ‘51b5f03a-192a3e54@10.0.3.115’ in 32000 ms (Method: ACK)
set_destination: Parsing sip:7544@209.137.234.229:1028 for address/port to send to
set_destination: set destination to 209.137.234.229:1028
Reliably Transmitting (NAT) to 209.137.234.229:1027:
BYE sip:7544@209.137.234.229:1028 SIP/2.0
Via: SIP/2.0/UDP 10.1.3.11:5060;branch=z9hG4bK7c9c3107;rport
Max-Forwards: 70
From: sip:6099@10.1.3.11;tag=as59d4c5f3
To: SPA-Line1 sip:7544@10.1.3.11;tag=7fffb702ad09e62co0
Call-ID: 51b5f03a-192a3e54@10.0.3.115
CSeq: 102 BYE
User-Agent: Asterisk PBX SVN-trunk-r293809
Proxy-Authorization: Digest username=“7544”, realm=“asterisk”, algorithm=MD5, uri=“10.1.3.11”, nonce="", response="f93556c226c8c0060ab8807b0814e50d"
X-Asterisk-HangupCause: Unknown
X-Asterisk-HangupCauseCode: 0
Content-Length: 0
<— SIP read from UDP:209.137.234.229:1027 —>
SIP/2.0 200 OK
To: sip:7544@209.137.234.229:1028;tag=f510729735960ba5i0
From: “asterisk” sip:asterisk@10.1.3.11;tag=as42db6934
Call-ID: 143d14341b8080e647a4c91e1d27fdb6@10.1.3.11:5060
CSeq: 102 NOTIFY
Via: SIP/2.0/UDP 10.1.3.11:5060;branch=z9hG4bK1c81e28b
Server: Linksys/SPA8000-6.1.3
Allow-Events: talk, hold, conference
Content-Length: 0
<------------->
— (9 headers 0 lines) —
Really destroying SIP dialog ‘143d14341b8080e647a4c91e1d27fdb6@10.1.3.11:5060’ Method: NOTIFY
<— SIP read from UDP:209.137.234.229:1027 —>
SIP/2.0 200 OK
To: SPA-Line1 sip:7544@10.1.3.11;tag=7fffb702ad09e62co0
From: sip:6099@10.1.3.11;tag=as59d4c5f3
Call-ID: 51b5f03a-192a3e54@10.0.3.115
CSeq: 102 BYE
Via: SIP/2.0/UDP 10.1.3.11:5060;branch=z9hG4bK7c9c3107
Server: Linksys/SPA8000-6.1.3
Allow-Events: talk, hold, conference
Content-Length: 0
<------------->
— (9 headers 0 lines) —
SIP Response message for INCOMING dialog BYE arrived
Really destroying SIP dialog ‘51b5f03a-192a3e54@10.0.3.115’ Method: ACK
Thanks in advance.
Brian