Aastra phone registered and incoming works. Outgoing doesn't

Hi,

I am bumping my head against the wall for the last four weeks. I have a reasonable common setup: Freepbx 11 server behind a firewall doing nat. All internal calls work flawlessly. The problem is with the external Aastra phones at people’s homes.

If I use a X-lite client, I can make and receive calls from the Asterisk box. If I use a Siemens home voip box, I can make and receive calls from the Asterisk box. When I try to make a call from an Aastra 6731i or 6739i, I get the call failed message. The Aastra’s register with their correct external ip address to the Asterisk server and making calls from X-lite or the Siemens in the same remote network to the Aastra who is also in this remote network, works perfectly.

I have tried using a STUN server in the Aastra, a TURN server, tried rport, all to no avail. As both X-lite, my mobile using a SIP stack and the Siemens box are working fine, I suspect the problem to be in the Aastra.

Please find the logentries of the Aastra below. I masked the ip addresses and company name. The 1XX.XX.XXX.XXX address is the external address of the Freepbx box, 9XX.XXX.XXX.XXX is the external address of the router at the remote network.
I know I am missing something but can’t figure out what. Any suggestion will be greatly appreciated!

=====OUT=====>>>>>>>>>>192.168.192.154: Sending SIP packet to: 1XX.XX.XXX.XXX
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.192.154:5060;branch=z9hG4bK01d97e5dd19b081ca
Max-Forwards: 70
From: “702” sip:[email protected];tag=f1246fe7b8
To: “703” sip:[email protected]
Call-ID: 5a4fa2ef648b8550
CSeq: 15771 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
Allow-Events: talk, hold, conference, LocalModeStatus
Contact: “702” sip:[email protected]:5060;transport=udp;+sip.instance="urn:uuid:00000000-0000-1000-8000-00085D25982F"
Supported: gruu, path, timer, 100rel, replaces
User-Agent: Aastra 6731i/2.6.0.66
Content-Type: application/sdp
Content-Length: 689

v=0
o=MxSIP 0 0 IN IP4 192.168.192.154
s=SIP Call
c=IN IP4 0.0.0.0
t=0 0
m=audio 0 RTP/AVP 0 18 106 107 113 110 111 112 4 4 98 97 115 96 9 108 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=rtpmap:106 BV16/8000
a=…

<<<<<<<<<<=====IN=====192.168.192.154: Received SIP packet from: 1XX.XX.XXX.XXX
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.192.154:5060;branch=z9hG4bK01d97e5dd19b081ca;received=9XX.XX.XXX.XXX;rport=5060
From: “702” sip:[email protected];tag=f1246fe7b8
To: “703” sip:[email protected];tag=as37100aa6
Call-ID: 5a4fa2ef648b8550
CSeq: 15771 INVITE
Server: FreePBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="458fa25b"
Content-Length: 0

<<<<<<<<<<=====IN=====END SIP packet

=====OUT=====>>>>>>>>>>192.168.192.154: Sending SIP packet to: 1XX.XX.XXX.XXX
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.192.154:5060;branch=z9hG4bK01d97e5dd19b081ca
Max-Forwards: 70
From: “702” sip:[email protected];tag=f1246fe7b8
To: “703” sip:[email protected];tag=as37100aa6
Call-ID: 5a4fa2ef648b8550
CSeq: 15771 ACK
User-Agent: Aastra 6731i/2.6.0.66
Content-Length: 0

=====OUT=====>>>>>>>>>>END SIP packet

=====OUT=====>>>>>>>>>>192.168.192.154: Sending SIP packet to: 1XX.XX.XXX.XXX
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.192.154:5060;branch=z9hG4bKbbb3517942969708a
Max-Forwards: 70
From: “702” sip:[email protected];tag=f1246fe7b8
To: “703” sip:[email protected]
Call-ID: 5a4fa2ef648b8550
CSeq: 15772 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
Allow-Events: talk, hold, conference, LocalModeStatus
Authorization: Digest username=“702”,realm=“asterisk”,nonce=“458fa25b”,uri="sip:[email protected]",response=“09f15ae1d9ef77ff69fc397e928ec0de”,algorithm=MD5
Contact: “702” sip:[email protected]:5060;transport=udp;+sip.instance="urn:uuid:00000000-0000-1000-8000-00085D25982F"
Supported: gruu, path, timer, 100rel, replaces
User-Agent: Aastra 6731i/2.6.0.66
Content-Type: application/sdp
Content-Length: 689

v=0
o=MxSIP 0 0 IN IP4 192.168.192.154
s=SIP Call
c=IN IP4 0.0…

=====OUT=====>>>>>>>>>>192.168.192.154: Sending SIP packet to: 1XX.XX.XXX.XXX
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.192.154:5060;branch=z9hG4bKbbb3517942969708a
Max-Forwards: 70
From: “702” sip:[email protected];tag=f1246fe7b8
To: “703” sip:[email protected]
Call-ID: 5a4fa2ef648b8550
CSeq: 15772 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
Allow-Events: talk, hold, conference, LocalModeStatus
Authorization: Digest username=“702”,realm=“asterisk”,nonce=“458fa25b”,uri="sip:[email protected]",response=“09f15ae1d9ef77ff69fc397e928ec0de”,algorithm=MD5
Contact: “702” sip:[email protected]:5060;transport=udp;+sip.instance="urn:uuid:00000000-0000-1000-8000-00085D25982F"
Supported: gruu, path, timer, 100rel, replaces
User-Agent: Aastra 6731i/2.6.0.66
Content-Type: application/sdp
Content-Length: 689

v=0
o=MxSIP 0 0 IN IP4 192.168.192.154
s=SIP Call
c=IN IP4 0.0…

=====OUT=====>>>>>>>>>>192.168.192.154: Sending SIP packet to: 1XX.XX.XXX.XXX
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.192.154:5060;branch=z9hG4bKbbb3517942969708a
Max-Forwards: 70
From: “702” sip:[email protected];tag=f1246fe7b8
To: “703” sip:[email protected]
Call-ID: 5a4fa2ef648b8550
CSeq: 15772 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
Allow-Events: talk, hold, conference, LocalModeStatus
Authorization: Digest username=“702”,realm=“asterisk”,nonce=“458fa25b”,uri="sip:[email protected]",response=“09f15ae1d9ef77ff69fc397e928ec0de”,algorithm=MD5
Contact: “702” sip:[email protected]:5060;transport=udp;+sip.instance="urn:uuid:00000000-0000-1000-8000-00085D25982F"
Supported: gruu, path, timer, 100rel, replaces
User-Agent: Aastra 6731i/2.6.0.66
Content-Type: application/sdp
Content-Length: 689

v=0
o=MxSIP 0 0 IN IP4 192.168.192.154
s=SIP Call
c=IN IP4 0.0…

=====OUT=====>>>>>>>>>>192.168.192.154: Sending SIP packet to: 1XX.XX.XXX.XXX
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.192.154:5060;branch=z9hG4bKbbb3517942969708a
Max-Forwards: 70
From: “702” sip:[email protected];tag=f1246fe7b8
To: “703” sip:[email protected]
Call-ID: 5a4fa2ef648b8550
CSeq: 15772 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
Allow-Events: talk, hold, conference, LocalModeStatus
Authorization: Digest username=“702”,realm=“asterisk”,nonce=“458fa25b”,uri="sip:[email protected]",response=“09f15ae1d9ef77ff69fc397e928ec0de”,algorithm=MD5
Contact: “702” sip:[email protected]:5060;transport=udp;+sip.instance="urn:uuid:00000000-0000-1000-8000-00085D25982F"
Supported: gruu, path, timer, 100rel, replaces
User-Agent: Aastra 6731i/2.6.0.66
Content-Type: application/sdp
Content-Length: 689

v=0
o=MxSIP 0 0 IN IP4 192.168.192.154
s=SIP Call
c=IN IP4 0.0…

=====OUT=====>>>>>>>>>>192.168.192.154: Sending SIP packet to: 1XX.XX.XXX.XXX
REGISTER sip:some.com.pany.com SIP/2.0
Via: SIP/2.0/UDP 192.168.192.154:5060;branch=z9hG4bKa77e779649e1bf3d3
Max-Forwards: 70
From: sip:[email protected];tag=801fe72239
To: sip:[email protected]
Call-ID: a7291f68062fad82
CSeq: 14876 REGISTER
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
Allow-Events: talk, hold, conference, LocalModeStatus
Authorization: Digest username=“702”,realm=“asterisk”,nonce=“0c0c4038”,uri=“sip:some.com.pany.com”,response=“a62b1f72bfc80da79c0003037c2197dc”,algorithm=MD5
Contact: “702” sip:[email protected]:5060;transport=udp;+sip.instance="urn:uuid:00000000-0000-1000-8000-00085D25982F"
Supported: gruu, path
User-Agent: Aastra 6731i/2.6.0.66
Content-Length: 0

=====OUT=====>>>>>>>>>>END SIP packet

<<<<<<<<<<=====IN=====192.168.192.154: Received SIP packet from: 1XX.XX.XXX.XXX
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.192.154:5060;branch=z9hG4bKa77e779649e1bf3d3;received=9XX.XX.XXX.XXX;rport=5060
From: sip:[email protected];tag=801fe72239
To: sip:[email protected];tag=as3b6c54e8
Call-ID: a7291f68062fad82
CSeq: 14876 REGISTER
Server: FreePBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="29ba92fd"
Content-Length: 0

<<<<<<<<<<=====IN=====END SIP packet

=====OUT=====>>>>>>>>>>192.168.192.154: Sending SIP packet to: 1XX.XX.XXX.XXX
REGISTER sip:some.com.pany.com SIP/2.0
Via: SIP/2.0/UDP 192.168.192.154:5060;branch=z9hG4bK5043ffa5b72fa5f63
Max-Forwards: 70
From: sip:[email protected];tag=801fe72239
To: sip:[email protected]
Call-ID: a7291f68062fad82
CSeq: 14877 REGISTER
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
Allow-Events: talk, hold, conference, LocalModeStatus
Authorization: Digest username=“702”,realm=“asterisk”,nonce=“29ba92fd”,uri=“sip:some.com.pany.com”,response=“e10c0ca06a0c12040e9f39b6c7f5f665”,algorithm=MD5
Contact: “702” sip:[email protected]:5060;transport=udp;+sip.instance="urn:uuid:00000000-0000-1000-8000-00085D25982F"
Supported: gruu, path
User-Agent: Aastra 6731i/2.6.0.66
Content-Length: 0

=====OUT=====>>>>>>>>>>END SIP packet

<<<<<<<<<<=====IN=====192.168.192.154: Received SIP packet from: 1XX.XX.XXX.XXX
OPTIONS sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 1XX.XX.XXX.XXX:5060;branch=z9hG4bK6f171ac7;rport
Max-Forwards: 70
From: “Unknown” sip:[email protected];tag=as7da0203c
To: sip:[email protected]:5060;transport=udp
Contact: sip:[email protected]:5060
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
User-Agent: FreePBX
Date: Tue, 03 Sep 2013 15:34:52 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0

<<<<<<<<<<=====IN=====END SIP packet

<<<<<<<<<<=====IN=====192.168.192.154: Received SIP packet from: 1XX.XX.XXX.XXX
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.192.154:5060;branch=z9hG4bK5043ffa5b72fa5f63;received=9XX.XX.XXX.XXX;rport=5060
From: sip:[email protected];tag=801fe72239
To: sip:[email protected];tag=as3b6c54e8
Call-ID: a7291f68062fad82
CSeq: 14877 REGISTER
Server: FreePBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Expires: 120
Contact: sip:[email protected]:5060;transport=udp;expires=120
Date: Tue, 03 Sep 2013 15:34:52 GMT
Content-Length: 0

<<<<<<<<<<=====IN=====END SIP packet

<<<<<<<<<<=====IN=====192.168.192.154: Received SIP packet from: 1XX.XX.XXX.XXX
NOTIFY sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 1XX.XX.XXX.XXX:5060;branch=z9hG4bK36edd7aa;rport
Max-Forwards: 70
From: “Unknown” sip:[email protected];tag=as0c78e69a
To: sip:[email protected]:5060;transport=udp
Contact: sip:[email protected]:5060
Call-ID: [email protected]:5060
CSeq: 102 NOTIFY
User-Agent: FreePBX
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 89

Messages-Waiting: no
Message-Account: sip:*[email protected]
Voice-Message: 0/0 (0/0)
<<<<<<<<<<=====IN=====END SIP packet

=====OUT=====>>>>>>>>>>192.168.192.154: Sending SIP packet to: 1XX.XX.XXX.XXX
SIP/2.0 200 OK
Via: SIP/2.0/UDP 1XX.XX.XXX.XXX:5060;branch=z9hG4bK6f171ac7;rport=5060;received=1XX.XX.XXX.XXX
From: “Unknown” sip:[email protected];tag=as7da0203c
To: sip:[email protected]:5060;transport=udp;tag=1319718454
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
Server: Aastra 6731i/2.6.0.66
Supported: gruu, timer, 100rel, replaces, path
Content-Length: 0

=====OUT=====>>>>>>>>>>END SIP packet

=====OUT=====>>>>>>>>>>192.168.192.154: Sending SIP packet to: 1XX.XX.XXX.XXX
SIP/2.0 200 OK
Via: SIP/2.0/UDP 1XX.XX.XXX.XXX:5060;branch=z9hG4bK36edd7aa;rport=5060;received=1XX.XX.XXX.XXX
From: “Unknown” sip:[email protected];tag=as0c78e69a
To: sip:[email protected]:5060;transport=udp;tag=1325422021
Call-ID: [email protected]:5060
CSeq: 102 NOTIFY
Contact: “702” sip:[email protected]:5060;transport=udp;+sip.instance="urn:uuid:00000000-0000-1000-8000-00085D25982F"
Server: Aastra 6731i/2.6.0.66
Content-Length: 0

=====OUT=====>>>>>>>>>>END SIP packet

<<<<<<<<<<=====IN=====192.168.192.154: Received SIP packet from: 1XX.XX.XXX.XXX
OPTIONS sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 1XX.XX.XXX.XXX:5060;branch=z9hG4bK5ff837a9;rport
Max-Forwards: 70
From: “Unknown” sip:[email protected];tag=as577d3525
To: sip:[email protected]:5060;transport=udp
Contact: sip:[email protected]:5060
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
User-Agent: FreePBX
Date: Tue, 03 Sep 2013 15:35:52 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0

<<<<<<<<<<=====IN=====END SIP packet

=====OUT=====>>>>>>>>>>192.168.192.154: Sending SIP packet to: 1XX.XX.XXX.XXX
SIP/2.0 200 OK
Via: SIP/2.0/UDP 1XX.XX.XXX.XXX:5060;branch=z9hG4bK5ff837a9;rport=5060;received=1XX.XX.XXX.XXX
From: “Unknown” sip:[email protected];tag=as577d3525
To: sip:[email protected]:5060;transport=udp;tag=4234218869
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
Server: Aastra 6731i/2.6.0.66
Supported: gruu, timer, 100rel, replaces, path
Content-Length: 0

=====OUT=====>>>>>>>>>>END SIP packet

=====OUT=====>>>>>>>>>>192.168.192.154: Sending SIP packet to: 1XX.XX.XXX.XXX
REGISTER sip:some.com.pany.com SIP/2.0
Via: SIP/2.0/UDP 192.168.192.154:5060;branch=z9hG4bK4e46863ce4b5b7dcc
Max-Forwards: 70
From: sip:[email protected];tag=801fe72239
To: sip:[email protected]
Call-ID: a7291f68062fad82
CSeq: 14878 REGISTER
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
Allow-Events: talk, hold, conference, LocalModeStatus
Authorization: Digest username=“702”,realm=“asterisk”,nonce=“29ba92fd”,uri=“sip:some.com.pany.com”,response=“e10c0ca06a0c12040e9f39b6c7f5f665”,algorithm=MD5
Contact: “702” sip:[email protected]:5060;transport=udp;+sip.instance="urn:uuid:00000000-0000-1000-8000-00085D25982F"
Supported: gruu, path
User-Agent: Aastra 6731i/2.6.0.66
Content-Length: 0

=====OUT=====>>>>>>>>>>END SIP packet

<<<<<<<<<<=====IN=====192.168.192.154: Received SIP packet from: 1XX.XX.XXX.XXX
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.192.154:5060;branch=z9hG4bK4e46863ce4b5b7dcc;received=9XX.XX.XXX.XXX;rport=5060
From: sip:[email protected];tag=801fe72239
To: sip:[email protected];tag=as0f92040d
Call-ID: a7291f68062fad82
CSeq: 14878 REGISTER
Server: FreePBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="049ec41b"
Content-Length: 0

<<<<<<<<<<=====IN=====END SIP packet

=====OUT=====>>>>>>>>>>192.168.192.154: Sending SIP packet to: 1XX.XX.XXX.XXX
REGISTER sip:some.com.pany.com SIP/2.0
Via: SIP/2.0/UDP 192.168.192.154:5060;branch=z9hG4bKbe14bb7bf0c4c66dc
Max-Forwards: 70
From: sip:[email protected];tag=801fe72239
To: sip:[email protected]
Call-ID: a7291f68062fad82
CSeq: 14879 REGISTER
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
Allow-Events: talk, hold, conference, LocalModeStatus
Authorization: Digest username=“702”,realm=“asterisk”,nonce=“049ec41b”,uri=“sip:some.com.pany.com”,response=“5752b38bfbadc266d74ffae33283b184”,algorithm=MD5
Contact: “702” sip:[email protected]:5060;transport=udp;+sip.instance="urn:uuid:00000000-0000-1000-8000-00085D25982F"
Supported: gruu, path
User-Agent: Aastra 6731i/2.6.0.66
Content-Length: 0

=====OUT=====>>>>>>>>>>END SIP packet

<<<<<<<<<<=====IN=====192.168.192.154: Received SIP packet from: 1XX.XX.XXX.XXX
OPTIONS sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 1XX.XX.XXX.XXX:5060;branch=z9hG4bK519d71ca;rport
Max-Forwards: 70
From: “Unknown” sip:[email protected];tag=as69f16e6b
To: sip:[email protected]:5060;transport=udp
Contact: sip:[email protected]:5060
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
User-Agent: FreePBX
Date: Tue, 03 Sep 2013 15:36:37 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0

<<<<<<<<<<=====IN=====END SIP packet

=====OUT=====>>>>>>>>>>192.168.192.154: Sending SIP packet to: 1XX.XX.XXX.XXX
SIP/2.0 200 OK
Via: SIP/2.0/UDP 1XX.XX.XXX.XXX:5060;branch=z9hG4bK519d71ca;rport=5060;received=1XX.XX.XXX.XXX
From: “Unknown” sip:[email protected];tag=as69f16e6b
To: sip:[email protected]:5060;transport=udp;tag=3296014454
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
Server: Aastra 6731i/2.6.0.66
Supported: gruu, timer, 100rel, replaces, path
Content-Length: 0

=====OUT=====>>>>>>>>>>END SIP packet

<<<<<<<<<<=====IN=====192.168.192.154: Received SIP packet from: 1XX.XX.XXX.XXX
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.192.154:5060;branch=z9hG4bKbe14bb7bf0c4c66dc;received=9XX.XX.XXX.XXX;rport=5060
From: sip:[email protected];tag=801fe72239
To: sip:[email protected];tag=as0f92040d
Call-ID: a7291f68062fad82
CSeq: 14879 REGISTER
Server: FreePBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Expires: 120
Contact: sip:[email protected]:5060;transport=udp;expires=120
Date: Tue, 03 Sep 2013 15:36:37 GMT
Content-Length: 0

<<<<<<<<<<=====IN=====END SIP packet

<<<<<<<<<<=====IN=====192.168.192.154: Received SIP packet from: 1XX.XX.XXX.XXX
NOTIFY sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 1XX.XX.XXX.XXX:5060;branch=z9hG4bK5ee682c4;rport
Max-Forwards: 70
From: “Unknown” sip:[email protected];tag=as5d4bcc7b
To: sip:[email protected]:5060;transport=udp
Contact: sip:[email protected]:5060
Call-ID: [email protected]:5060
CSeq: 102 NOTIFY
User-Agent: FreePBX
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 89

Messages-Waiting: no
Message-Account: sip:*[email protected]
Voice-Message: 0/0 (0/0)
<<<<<<<<<<=====IN=====END SIP packet

No one has any clue?

Check this - device options - try nat as yes

I had this happen on a phone that I had and I had to turn off the RTP option. As soon as I did this, it worked immediately. It was a SNOM Voip phone though, so it may be different

In case anyone ever runs into the same: in the Aastra, put the voice codecs to basic, NOT to all as the Aastra won’t negotiate the right codec. I changed it to basic (alaw, ulaw and G729) and I could immediately make outbound calls. Turns out that the codecs in the advanced SIP settings on FreePBX/Asterisk and on the Aastra should merely be the same.

2 Likes