[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 2 Votes - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
One-way audio issue with PJSIP: assincronous codecs
Author Message
mbello Offline
Junior Member
**

Posts: 14
Joined: Jan 2015
Reputation: 0
Post: #1
One-way audio issue with PJSIP: assincronous codecs
Hi, following this discussion on FreePBX forums:

http://community.freepbx.org/t/fpbx13-rc...l/31042/51

It appears that Yealink phones are the culprit.

I captured pcap files that I believe will help understand the problem. The pcap is for a call from a Yealink T46g phone to an asterisk 13.5 box, the call is to the Echo service (*43).

The call should go like this:
- First, Asterisk plays a message that explains how the echo service works. This message lasts for about 25 seconds;
- Then the echo test begins and everything I say is echoed back to me.

Looking at the pcap, it happened like this:
- Asterisk on SDP offered codecs ALAW and G722;
- Yealink T46G offered G722 and ALAW;
- Asterisk started sendng G711 but then 1 second after, it switched to G722 to play the message. I could not hear anything that was played, the phone was silent;
- During this time while asterisk was sending audio in G722 format, the T46g phone was sending back in G711 format;
- After the initial announcement played, Asterisk went back to sending audio in codec G711 and I then could here the echo test.

Other notes:
- If on Asterisk I make G722 the first option than everything works fine.;
- With exactly the same codec priority as set on the T46g, my Bria Android client worked just fine and I could hear the announcement;
- However, grandstream phones also suffered the same problem, I could not hear the announcement from echo test.

Could Yealink please investigate this issue?


Attached File(s)
.pcap  g722.pcap (Size: 640.25 KB / Downloads: 11)
(This post was last modified: 11-04-2016 03:01 AM by mbello.)
09-22-2015 11:57 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Bryan Nelson Offline
Member
***

Posts: 71
Joined: Feb 2013
Reputation: 0
Post: #2
RE: Bug involving codec G722
I just wanted to add my vote to this thread.

In my case, there is no "live" change of codecs, simply the final 200 OK containing multiple codecs in the SDP as allowed by RFC. The phone accepts that 200 OK, but only sets up the incoming media stream to the highest codec in the SDP, so any other codec sent is simply dropped.
(This post was last modified: 06-23-2016 04:30 AM by Bryan Nelson.)
11-21-2015 07:48 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
1sae Offline
Junior Member
**

Posts: 6
Joined: Nov 2013
Reputation: 0
Post: #3
RE: Bug involving codec G722
Is this still an active bug? I'm experiencing the same problem using Freepbx and Asterisk 13. I noticed this only happens when using the phone as a pjsip extension. When I change it to chan sip it's working fine.
(This post was last modified: 07-27-2016 07:48 AM by 1sae.)
07-27-2016 06:14 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
amessina Offline
Junior Member
**

Posts: 5
Joined: Sep 2016
Reputation: 0
Post: #4
RE: Bug involving codec G722
(07-27-2016 06:14 AM)1sae Wrote:  Is this still an active bug? I'm experiencing the same problem using Freepbx and Asterisk 13. I noticed this only happens when using the phone as a pjsip extension. When I change it to chan sip it's working fine.

This certainly still *is* an issue with Asterisk-14.0.0-beta2/PJSIP and the T48G. Does Yealink not handle scenarios where different call legs use different codecs?
09-06-2016 02:57 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Lucia_Yealink Offline
Super Moderator
******

Posts: 467
Joined: Aug 2016
Reputation: 5
Post: #5
RE: Bug involving codec G722
Hi Sir,

About the issue, we have solve it and modify it in the new firmware, you can download the firmware in the FTP link below, and it will be invalid in 2017.03.05:
http://ftp.yealink.com/?ShareToken=E4CDA...149227D803

Note: The link include the firmware of T46、T48、T49.

BR
Lucia
09-06-2016 09:24 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
amessina Offline
Junior Member
**

Posts: 5
Joined: Sep 2016
Reputation: 0
Post: #6
Thumbs Up RE: Bug involving codec G722
(09-06-2016 09:24 PM)Yealink_Lucia Wrote:  About the issue, we have solve it and modify it in the new firmware, you can download the firmware in the FTP link below, and it will be invalid in 2017.03.05:
http://ftp.yealink.com/?ShareToken=E4CDA...149227D803

Note: The link include the firmware of T46、T48、T49.

The T48-35.80.0.137.rom firmware from your link seems to have resolved the issue with the T48G <-> Asterisk/PJSIP <-> DAHDI using the uLaw codec. Thank you.
09-12-2016 03:15 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
mbello Offline
Junior Member
**

Posts: 14
Joined: Jan 2015
Reputation: 0
Post: #7
RE: Bug involving codec G722
I just tested this new firmware on a T46g and can attest it fixes the codec issue described in this thread when using PJSIP on Asterisk.

Kudos for Yealink for fixing it! Although the issue persisted for many months, Yealink is the first brand affected by this bug that has actually issued a fix.

Now.... can this fix ship on a "public" firmware release anytime soon?

(09-06-2016 09:24 PM)Yealink_Lucia Wrote:  Hi Sir,

About the issue, we have solve it and modify it in the new firmware, you can download the firmware in the FTP link below, and it will be invalid in 2017.03.05:
http://ftp.yealink.com/?ShareToken=E4CDA...149227D803

Note: The link include the firmware of T46、T48、T49.

BR
Lucia
10-04-2016 06:40 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
mbello Offline
Junior Member
**

Posts: 14
Joined: Jan 2015
Reputation: 0
Post: #8
RE: Bug involving codec G722
Lucia, when is Yealink going to release an official firmware with this fix? Please give us some news, this is an important fix that is long overdue.

Thanks!

(09-06-2016 09:24 PM)Yealink_Lucia Wrote:  Hi Sir,

About the issue, we have solve it and modify it in the new firmware, you can download the firmware in the FTP link below, and it will be invalid in 2017.03.05:
http://ftp.yealink.com/?ShareToken=E4CDA...149227D803

Note: The link include the firmware of T46、T48、T49.

BR
Lucia
11-04-2016 02:58 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
amessina Offline
Junior Member
**

Posts: 5
Joined: Sep 2016
Reputation: 0
Post: #9
RE: One-way audio issue with PJSIP: assincronous codecs
(09-06-2016 09:24 PM)Lucia Wrote:  Hi Sir,

About the issue, we have solve it and modify it in the new firmware, you can download the firmware in the FTP link below, and it will be invalid in 2017.03.05:
http://ftp.yealink.com/?ShareToken=E4CDA...149227D803

Note: The link include the firmware of T46、T48、T49.

BR
Lucia

Lucia, I have begun to see this issue again and have been using firmware 35.81.0.20 on a T48G. There have been some changes in my Asterisk installation that may trigger this issue, though I do not see this issue on any of my other phones/devices/softphones. Can you elaborate on the "fix" that was provided? What did it do to improve the codec handling? I'd like to check in on the Yealink side first since it isn't affecting other phones.
12-09-2016 02:42 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Lucia_Yealink Offline
Super Moderator
******

Posts: 467
Joined: Aug 2016
Reputation: 5
Post: #10
RE: One-way audio issue with PJSIP: assincronous codecs
Can you kindly provide the level 6 syslog, config.bin and pace trace for us to analyze. You can send the files to Lucia@yealink.com. Thank you.

Also, how many phones you have in total and how many of them have the issue?

Best Regards,
Lucia
12-09-2016 02:58 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  T43 issue with Teams Sip Gateway mecano427 1 671 03-01-2024 08:28 PM
Last Post: complex1
  T42U Issue on Teams / Direct Routing TheGarrison 1 1,676 08-11-2023 11:20 PM
Last Post: TheGarrison
  T46S issue with Showing Additional DSS Pages ama 1 1,488 06-10-2023 12:44 AM
Last Post: Yisroel_MongoTEL
  T46G/S Multicast on PC Port Issue MiKeDaDoC 5 11,904 01-02-2023 01:30 AM
Last Post: kw160008
  Hotdesking extra account issue gareth20202 0 1,531 08-05-2022 08:06 PM
Last Post: gareth20202
  T48U 'transfer.dsskey_deal_type' issue srcenturic 0 2,098 06-27-2022 02:52 PM
Last Post: srcenturic
Sad T46S: small and severe audio interruptions ronald.swaypc 0 2,007 04-05-2022 08:57 PM
Last Post: ronald.swaypc
Bug Transfer to Broadworks Network Directory Contacts - screen timeout issue livehappy42 0 2,770 10-27-2021 07:58 AM
Last Post: livehappy42
  OpenVPN issue with SIP/UDP fredoch 0 3,862 11-10-2020 03:47 PM
Last Post: fredoch
  Problems with bluetooth audio ccwtech 16 30,457 09-16-2020 07:20 PM
Last Post: complex1

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication