Calls route and connect but no sound on cloud FreePBX

Hi All,

I’m needing a bit of advice please. I’m currently moving our FreePBX system to a cloud server provided by 1&1. I’ve installed the disto of FreePBX 14 on the server. This server has a public static ip address and I have set the firewall rules like:

I’ve configured the remote phones (Mixture of cellular phones on 4G and laptop soft phones) for Chan Sip and they register successfully with the server. My problem is when I make a call to another extension the connection is made but there’s no audio when you accept the call.

Many thanks for you help on this everyone.

Are you sure you want to allow traffic through all of those ports from ALL IP addresses?

Definitely restrict access to ports for http(s) and SSH to known IP addresses.

Hi Avayax, You are right. I need to lock down the ports to ip address i’ll be administrating the system with. I will need to keep some of them as “All” due to the likes of Cellular phones getting varying ip addresses but use the responsive firewall etc in freepbx as protection.

Hello,

it sounds like you either have a NAT issues or maybe SIP ALG turned on your on your firewall? What type of firewall are you using?

Also in the web UI of FreePBX to go Settings–> Asterisk SIP Settings
Make sure that the correct External Address is filled in. Also go to Chan SIP Settings and make sure that IP configuration is set to Static IP and the correct external / public IP is set there as well. These are directions for FreePBX v13 but I would think they are similar in v14

Hi Tanvirkdi, Thanks for the info.

Yes the setting were set as you mentioned. I can’t say about the firewall as this is a cloud server provided by 1&1 that i’ve installed FreePBX on. I’ve asked the question about SIP ALG and waiting a response.

I don’t know if this helps anyone but here is the SIP log when I make a call via the software over Cellular 4G.


– 2017-07-20 09:59:27 - Received from 77.XXX.XXX.XXX:5160 at 10.XXX.XXX.XXX:5062
OPTIONS sip:200[email protected]:5062 SIP/2.0
Via: SIP/2.0/UDP 77.XXX.XXX.XXX:5160;branch=z9hG4bK581c376a
Max-Forwards: 70
From: “Unknown” sip:[email protected]:5160;tag=as7a40c62a
To: sip:[email protected]:5062
Contact: sip:[email protected]:5160
Call-ID: [email protected]:5160
CSeq: 102 OPTIONS
User-Agent: FPBX-14.0.1.1(13.16.0)
Date: Thu, 20 Jul 2017 08:59:27 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0


– 2017-07-20 09:59:28 - Received from 77.XXX.XXX.XXX:5160 at 10.XXX.XXX.XXX:5062
OPTIONS sip:[email protected]:5062 SIP/2.0
Via: SIP/2.0/UDP 77.XXX.XXX.XXX:5160;branch=z9hG4bK581c376a
Max-Forwards: 70
From: “Unknown” sip:[email protected]:5160;tag=as7a40c62a
To: sip:[email protected]:5062
Contact: sip:[email protected]:5160
Call-ID: [email protected]:5160
CSeq: 102 OPTIONS
User-Agent: FPBX-14.0.1.1(13.16.0)
Date: Thu, 20 Jul 2017 08:59:27 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0


– 2017-07-20 09:59:29 - Sent to 77.XXX.XXX.XXX:5160 from 10.XXX.XXX.XXX:5062
INVITE sip:[email protected]:5160 SIP/2.0
Accept: application/conference-info+xml, application/sdp, message/sipfrag, multipart/mixed
Via: SIP/2.0/UDP 10.XXX.XXX.XXX:5062;branch=z9hG4bKe163268c41e7601eb;rport
Max-Forwards: 70
From: “200” sip:[email protected]:5160;tag=3ce42c2d0e
To: sip:[email protected]:5160
Call-ID: 2a4627a428411d19
CSeq: 1717520271 INVITE
Allow: ACK, BYE, CANCEL, INVITE, MESSAGE, NOTIFY, OPTIONS, REFER, SUBSCRIBE, UPDATE
Allow-Events: refer
Contact: sip:[email protected]:5062;audio
Supported: histinfo, replaces, sdp-anat, join
User-Agent: Media5-fone/4.24.3.12382 iOS/10.2
Content-Disposition: session
Content-Type: application/sdp
Content-Length: 304

v=0
o=- 2343030912496852181 2343030912496852182 IN IP4 10.XXX.XXX.XXX
s=m5
c=IN IP4 10.XXX.XXX.XXX
t=0 0
a=sendrecv
m=audio 10000 RTP/AVP 96 0 8 125
a=rtpmap:96 iLBC/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:125 telephone-event/8000
a=fmtp:96 mode=30
a=fmtp:125 0-15
a=sendrecv


– 2017-07-20 09:59:29 - Sent to 77.XXX.XXX.XXX:5160 from 10.XXX.XXX.XXX:5062
SIP/2.0 200 OK
Via: SIP/2.0/UDP 77.XXX.XXX.XXX:5160;branch=z9hG4bK581c376a
From: “Unknown” sip:[email protected]:5160;tag=as7a40c62a
To: sip:[email protected]:5062;tag=1372231822
Call-ID: [email protected]:5160
CSeq: 102 OPTIONS
Allow: ACK, BYE, CANCEL, INVITE, MESSAGE, NOTIFY, OPTIONS, REFER, SUBSCRIBE, UPDATE
Allow-Events: presence, refer
Contact: sip:[email protected]:5062;audio
Server: Media5-fone/4.24.3.12382 iOS/10.2
Supported: 100rel, eventlist, join, multiple-refer, norefersub, replaces, sdp-anat, tdialog, timer
Content-Length: 0


– 2017-07-20 09:59:29 - Received from 77.XXX.XXX.XXX:5160 at 10.XXX.XXX.XXX:5062
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.XXX.XXX.XXX:5062;branch=z9hG4bKe163268c41e7601eb;received=85.XXX.XXX.XXX;rport=32867
From: “200” sip:[email protected]:5160;tag=3ce42c2d0e
To: sip:[email protected]:5160;tag=as52a780cd
Call-ID: 2a4627a428411d19
CSeq: 1717520271 INVITE
Server: FPBX-14.0.1.1(13.16.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="6563dbfc"
Content-Length: 0


– 2017-07-20 09:59:29 - Sent to 77.XXX.XXX.XXX:5160 from 10.XXX.XXX.XXX:5062
ACK sip:[email protected]:5160 SIP/2.0
Via: SIP/2.0/UDP 10.XXX.XXX.XXX:5062;branch=z9hG4bKe163268c41e7601eb;rport
Max-Forwards: 70
From: “200” sip:[email protected]:5160;tag=3ce42c2d0e
To: sip:[email protected]:5160;tag=as52a780cd
Call-ID: 2a4627a428411d19
CSeq: 1717520271 ACK
User-Agent: Media5-fone/4.24.3.12382 iOS/10.2
Content-Length: 0


– 2017-07-20 09:59:29 - Sent to 77.XXX.XXX.XXX:5160 from 10.XXX.XXX.XXX:5062
INVITE sip:[email protected]:5160 SIP/2.0
Accept: application/conference-info+xml, application/sdp, message/sipfrag, multipart/mixed
Via: SIP/2.0/UDP 10.XXX.XXX.XXX:5062;branch=z9hG4bKc19e18784ced172eb;rport
Max-Forwards: 70
From: “200” sip:[email protected]:5160;tag=3ce42c2d0e
To: sip:[email protected]:5160
Call-ID: 2a4627a428411d19
CSeq: 1717520272 INVITE
Allow: ACK, BYE, CANCEL, INVITE, MESSAGE, NOTIFY, OPTIONS, REFER, SUBSCRIBE, UPDATE
Allow-Events: refer
Authorization: Digest username=“200”,realm=“asterisk”,nonce=“6563dbfc”,uri=“sip:[email protected]:5160”,response=“8ff1a5c53cf5677a50ad69ddcbb9319b”,algorithm=MD5
Contact: sip:[email protected]:5062;audio
Supported: histinfo, replaces, sdp-anat, join
User-Agent: Media5-fone/4.24.3.12382 iOS/10.2
Content-Disposition: session
Content-Type: application/sdp
Content-Length: 304

v=0
o=- 2343030912496852181 2343030912496852182 IN IP4 10.XXX.XXX.XXX
s=m5
c=IN IP4 10.XXX.XXX.XXX
t=0 0
a=sendrecv
m=audio 10000 RTP/AVP 96 0 8 125
a=rtpmap:96 iLBC/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:125 telephone-event/8000
a=fmtp:96 mode=30
a=fmtp:125 0-15
a=sendrecv

– 2017-07-20 09:59:29 - Received from 77.XXX.XXX.XXX:5160 at 10.XXX.XXX.XXX:5062
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.XXX.XXX.XXX:5062;branch=z9hG4bKe163268c41e7601eb;received=85.XXX.XXX.XXX;rport=32867
From: “200” sip:[email protected]:5160;tag=3ce42c2d0e
To: sip:[email protected]:5160;tag=as52a780cd
Call-ID: 2a4627a428411d19
CSeq: 1717520271 INVITE
Server: FPBX-14.0.1.1(13.16.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="6563dbfc"
Content-Length: 0


– 2017-07-20 09:59:29 - Received from 77.XXX.XXX.XXX:5160 at 10.XXX.XXX.XXX:5062
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.XXX.XXX.XXX:5062;branch=z9hG4bKc19e18784ced172eb;received=85.XXX.XXX.XXX;rport=32867
From: “200” sip:[email protected]:5160;tag=3ce42c2d0e
To: sip:[email protected]:5160
Call-ID: 2a4627a428411d19
CSeq: 1717520272 INVITE
Server: FPBX-14.0.1.1(13.16.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Contact: sip:[email protected]:5160
Content-Length: 0


– 2017-07-20 09:59:29 - Sent to 77.XXX.XXX.XXX:5160 from 10.XXX.XXX.XXX:5062
ACK sip:[email protected]:5160 SIP/2.0
Via: SIP/2.0/UDP 10.XXX.XXX.XXX:5062;branch=z9hG4bKe163268c41e7601eb;rport
Max-Forwards: 70
From: “200” sip:[email protected]:5160;tag=3ce42c2d0e
To: sip:[email protected]:5160;tag=as52a780cd
Call-ID: 2a4627a428411d19
CSeq: 1717520271 ACK
User-Agent: Media5-fone/4.24.3.12382 iOS/10.2
Content-Length: 0


– 2017-07-20 09:59:29 - Received from 77.XXX.XXX.XXX:5160 at 10.XXX.XXX.XXX:5062
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 10.XXX.XXX.XXX:5062;branch=z9hG4bKc19e18784ced172eb;received=85.XXX.XXX.XXX;rport=32867
From: “200” sip:[email protected]:5160;tag=3ce42c2d0e
To: sip:[email protected]:5160;tag=as28450388
Call-ID: 2a4627a428411d19
CSeq: 1717520272 INVITE
Server: FPBX-14.0.1.1(13.16.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Contact: sip:[email protected]:5160
P-Asserted-Identity: “222” sip:[email protected]
Content-Length: 0


– 2017-07-20 09:59:29 - Received from 77.XXX.XXX.XXX:5160 at 10.XXX.XXX.XXX:5062
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 10.XXX.XXX.XXX:5062;branch=z9hG4bKc19e18784ced172eb;received=85.XXX.XXX.XXX;rport=32867
From: “200” sip:[email protected]:5160;tag=3ce42c2d0e
To: sip:[email protected]:5160;tag=as28450388
Call-ID: 2a4627a428411d19
CSeq: 1717520272 INVITE
Server: FPBX-14.0.1.1(13.16.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Contact: sip:[email protected]:5160
Content-Length: 0


– 2017-07-20 09:59:33 - Received from 77.XXX.XXX.XXX:5160 at 10.XXX.XXX.XXX:5062
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.XXX.XXX.XXX:5062;branch=z9hG4bKc19e18784ced172eb;received=85.XXX.XXX.XXX;rport=32867
From: “200” sip:[email protected]:5160;tag=3ce42c2d0e
To: sip:[email protected]:5160;tag=as28450388
Call-ID: 2a4627a428411d19
CSeq: 1717520272 INVITE
Server: FPBX-14.0.1.1(13.16.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Contact: sip:[email protected]:5160
P-Asserted-Identity: “222” sip:[email protected]
Content-Type: application/sdp
Content-Length: 274

v=0
o=root 554937755 554937755 IN IP4 77.XXX.XXX.XXX
s=Asterisk PBX 13.16.0
c=IN IP4 77.XXX.XXX.XXX
t=0 0
m=audio 16420 RTP/AVP 0 8 125
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:125 telephone-event/8000
a=fmtp:125 0-16
a=ptime:20
a=maxptime:150
a=sendrecv


– 2017-07-20 09:59:33 - Sent to 77.XXX.XXX.XXX:5160 from 10.XXX.XXX.XXX:5062
ACK sip:[email protected]:5160 SIP/2.0
Via: SIP/2.0/UDP 10.XXX.XXX.XXX:5062;branch=z9hG4bK0743f2bacbd08864d;rport
Max-Forwards: 70
From: “200” sip:[email protected]:5160;tag=3ce42c2d0e
To: sip:[email protected]:5160;tag=as28450388
Call-ID: 2a4627a428411d19
CSeq: 1717520272 ACK
Authorization: Digest username=“200”,realm=“asterisk”,nonce=“6563dbfc”,uri=“sip:[email protected]:5160”,response=“8ff1a5c53cf5677a50ad69ddcbb9319b”,algorithm=MD5
User-Agent: Media5-fone/4.24.3.12382 iOS/10.2
Content-Length: 0


– 2017-07-20 09:59:39 - Sent to 77.XXX.XXX.XXX:5160 from 10.XXX.XXX.XXX:5062
BYE sip:[email protected]:5160 SIP/2.0
Accept: application/sdp, message/sipfrag, multipart/mixed
Via: SIP/2.0/UDP 10.XXX.XXX.XXX:5062;branch=z9hG4bK7ee2404632e1cb668;rport
Max-Forwards: 70
From: “200” sip:[email protected]:5160;tag=3ce42c2d0e
To: sip:[email protected]:5160;tag=as28450388
Call-ID: 2a4627a428411d19
CSeq: 1717520273 BYE
Allow: ACK, BYE, CANCEL, INVITE, MESSAGE, NOTIFY, OPTIONS, REFER, SUBSCRIBE, UPDATE
Authorization: Digest username=“200”,realm=“asterisk”,nonce=“6563dbfc”,uri=“sip:[email protected]:5160”,response=“729ab4619e7d14a20e5f81b6c8e941dd”,algorithm=MD5
Supported: histinfo, replaces, sdp-anat, join
User-Agent: Media5-fone/4.24.3.12382 iOS/10.2
Content-Length: 0


– 2017-07-20 09:59:40 - Received from 77.XXX.XXX.XXX:5160 at 10.XXX.XXX.XXX:5062
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.XXX.XXX.XXX:5062;branch=z9hG4bK7ee2404632e1cb668;received=85.XXX.XXX.XXX;rport=32867
From: “200” sip:[email protected]:5160;tag=3ce42c2d0e
To: sip:[email protected]:5160;tag=as28450388
Call-ID: 2a4627a428411d19
CSeq: 1717520273 BYE
Server: FPBX-14.0.1.1(13.16.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0


RTCP statistics for Call: 2a4627a428411d19

Encoding: PCMU
Local Min Jitter: 0
Local Max Jitter: 0
Local Avg Jitter: 0
Local Packet Sent: 0
Local Packet Lost: 0
Local Packet Recv: 0
Local Min RTT: 0
Local Max RTT: 0
Local Avg RTT: 0
Remote Jitter: 0
Remote Packet Sent: 0
Remote Packet Lost: 0