sparticus1701
asked on
Check Early Media configuration
I am using AsteriskNOW 1.5 with Asterisk 1.6. People are calling in and not getting the ringing sound before we pick up the phone. The guys at Bandwidth.com say we need to check the Early Media configuration. How do I do that?
ASKER
I added that command and restarted Asterisk, but there is still no ringing. This is what Bandwidth.com says:
========================== ==
Based on the below messaging, I am seeing 16 seconds of 183 with SDP before receiving a 180 with no SDP. Can you confirm Early Media is properly configured on your Asterisk 1.6 PBX?
Mon Jun 28 22:56:50 2010 64.146.xxx.xxx:5060 ---> 216.82.224.202:5060
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 216.82.224.202;branch=z9hG 4bKacd1.13 820505.0;r eceived=21 6.82.224.2 02
Via: SIP/2.0/UDP 67.231.8.93;branch=z9hG4bK acd1.d202d a93.0
Via: SIP/2.0/UDP 4.68.250.148:5060;branch=z 9hG4bK5060 71629460-1 2569842404 71
Record-Route:<sip:216.82.2 24.202;lr; ftag=VPSF5 0607162946 0>
Record-Route:<sip:67.231.8 .93;lr=on; ftag=VPSF5 0607162946 0>
From:"PT ANGELES WA"<sip:+1360460xxxx@4.68. 250.148>;t ag=VPSF506 071629460
To:<sip:+1360681xxxx@67.23 1.8.93:506 0>;tag=as6 1e769ca
Call-ID: SEAMGC01201006282256500155 76@209.244 .63.11
CSeq: 1 INVITE
Server: Asterisk PBX 1.6.2.8
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Contact:<sip:+136068xxxxx@ 64.146.xxx .xxx>
Content-Type: application/sdp
Content-Length: 261
v=0
o=root 1864940 1864940 IN IP4 64.146.xxx.xxx
s=Asterisk PBX 1.6.2.8
c=IN IP4 64.146.xxx.xxx
t=0 0
m=audio 36004 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
--
Mon Jun 28 22:57:06 2010 64.146.xxx.xxx:5060 ---> 216.82.224.202:5060
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 216.82.224.202;branch=z9hG 4bKacd1.13 820505.0;r eceived=21 6.82.224.2 02
Via: SIP/2.0/UDP 67.231.8.93;branch=z9hG4bK acd1.d202d a93.0
Via: SIP/2.0/UDP 4.68.250.148:5060;branch=z 9hG4bK5060 71629460-1 2569842404 71
Record-Route:<sip:216.82.2 24.202;lr; ftag=VPSF5 0607162946 0>
Record-Route:<sip:67.231.8 .93;lr=on; ftag=VPSF5 0607162946 0>
From:"PT ANGELES WA"<sip:+1360460xxxx@4.68. 250.148>;t ag=VPSF506 071629460
To:<sip:+1360681xxxx@67.23 1.8.93:506 0>;tag=as6 1e769ca
Call-ID: SEAMGC01201006282256500155 76@209.244 .63.11
CSeq: 1 INVITE
Server: Asterisk PBX 1.6.2.8
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Contact:<sip:+1360681xxxx@ 64.146.xxx .xxx>
Content-Length: 0
========================== ==
I also noticed a progressinband field in Asterisk documentation, which seems to relate to ringing signals. It defaults to 'never', and it is not currently present in my sip.conf (sip_general_custom.conf). Should it be there?
==========================
Based on the below messaging, I am seeing 16 seconds of 183 with SDP before receiving a 180 with no SDP. Can you confirm Early Media is properly configured on your Asterisk 1.6 PBX?
Mon Jun 28 22:56:50 2010 64.146.xxx.xxx:5060 ---> 216.82.224.202:5060
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 216.82.224.202;branch=z9hG
Via: SIP/2.0/UDP 67.231.8.93;branch=z9hG4bK
Via: SIP/2.0/UDP 4.68.250.148:5060;branch=z
Record-Route:<sip:216.82.2
Record-Route:<sip:67.231.8
From:"PT ANGELES WA"<sip:+1360460xxxx@4.68.
To:<sip:+1360681xxxx@67.23
Call-ID: SEAMGC01201006282256500155
CSeq: 1 INVITE
Server: Asterisk PBX 1.6.2.8
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Contact:<sip:+136068xxxxx@
Content-Type: application/sdp
Content-Length: 261
v=0
o=root 1864940 1864940 IN IP4 64.146.xxx.xxx
s=Asterisk PBX 1.6.2.8
c=IN IP4 64.146.xxx.xxx
t=0 0
m=audio 36004 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
--
Mon Jun 28 22:57:06 2010 64.146.xxx.xxx:5060 ---> 216.82.224.202:5060
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 216.82.224.202;branch=z9hG
Via: SIP/2.0/UDP 67.231.8.93;branch=z9hG4bK
Via: SIP/2.0/UDP 4.68.250.148:5060;branch=z
Record-Route:<sip:216.82.2
Record-Route:<sip:67.231.8
From:"PT ANGELES WA"<sip:+1360460xxxx@4.68.
To:<sip:+1360681xxxx@67.23
Call-ID: SEAMGC01201006282256500155
CSeq: 1 INVITE
Server: Asterisk PBX 1.6.2.8
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Contact:<sip:+1360681xxxx@
Content-Length: 0
==========================
I also noticed a progressinband field in Asterisk documentation, which seems to relate to ringing signals. It defaults to 'never', and it is not currently present in my sip.conf (sip_general_custom.conf).
progressinband is the parameter you need to be using for this problem. You can add it to sip_general_custom, but then it will apply to all sip peers so it would be preferable to add it only to the bandwidth.com trunk definition. You should be able to add it in the boxes where you define the Outgoing PEER details and the Incoming USER details (try adding it to the Incoming USER details first - if that makes no difference, add it to both Incoming and Outgoing details).
I suggest you try setting it to yes first. That should fix the problem. It is possible that a setting of no will also work. The default setting of never is certainly not going to help you.
I suggest you try setting it to yes first. That should fix the problem. It is possible that a setting of no will also work. The default setting of never is certainly not going to help you.
ASKER
I just tried every combination of the two settings prematuremedia and progressinband, and restarted Asterisk between each one. At least on the Verizon phone I tried, none of the combinations worked.
I currently have the settings to prematuremedia=no and progressinband=yes.
I used sip_general_custom since the Bandwidth.com trunks are the only trunks we have.
I currently have the settings to prematuremedia=no and progressinband=yes.
I used sip_general_custom since the Bandwidth.com trunks are the only trunks we have.
In that case, please set the "sip_general_custom.conf" file back to the way it was in the first place and try the following instead:
On the GUI form for the Inbound Route, check the box for "Signal RINGING" which is located in the Options section. See if that makes a difference.
On the GUI form for the Inbound Route, check the box for "Signal RINGING" which is located in the Options section. See if that makes a difference.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Moderator,
I found the solution to the problem but I would like to award 60 points each to the two responders. I'm not sure if or how I can do that. Thanks!
I found the solution to the problem but I would like to award 60 points each to the two responders. I'm not sure if or how I can do that. Thanks!
In sip.conf in the general section, set prematuremedia=no. Default is "yes".
Setting this to "no" will stop any media before we have call progress.