Giter VIP home page Giter VIP logo

Comments (12)

jcolp avatar jcolp commented on June 14, 2024

What exactly is the AGI doing? What codecs are in use? I see that you are using a third-party unsupported g729 codec translator, does this issue occur without it?

from asterisk.

jiangxc avatar jiangxc commented on June 14, 2024

The call was initiated using the Originate method,originate PJSIP/5001 extension 6000@robot,The call was initiated using the G.729 codec. and I will try using A-law encoding again.

from asterisk.

jcolp avatar jcolp commented on June 14, 2024

Asterisk version 20.0.1 is also over a year old, and a newer version should be tested too.

from asterisk.

jiangxc avatar jiangxc commented on June 14, 2024

Ok, I will try again after upgrading to 20.5.2.

from asterisk.

jiangxc avatar jiangxc commented on June 14, 2024

I have upgraded to 20.5.2, and the codec order is alaw, ulaw, g729, gsm, g726, but the crash still occurs. I have uploaded the log file. Since the crash occurs at irregular intervals, the full.log file is relatively large. I have extracted some parts of it. If you need me to upload the complete file, please let me know what the problem might be. Thank you.

core-asterisk-2024-01-05T03-56-30Z-brief.txt
core-asterisk-2024-01-05T03-56-30Z-full.txt
core-asterisk-2024-01-05T03-56-30Z-info.txt
core-asterisk-2024-01-05T03-56-30Z-locks.txt
core-asterisk-2024-01-05T03-56-30Z-thread1.txt
full.log

from asterisk.

jcolp avatar jcolp commented on June 14, 2024

I still see a line about setting up a translation path involving the outside g729 module. Please remove the module and ensure that g729 is NOT used:

[Jan 5 11:56:30] DEBUG[14549][C-000000f9] channel.c: Channel PJSIP/t60111111-000002a9 setting write format path: slin -> g729

That module must be eliminated as a possible source of issue.

from asterisk.

jiangxc avatar jiangxc commented on June 14, 2024

Okay, I will try again after deleting g729 from the allow column in the table ps_endpoints.

from asterisk.

jiangxc avatar jiangxc commented on June 14, 2024

I have uninstalled the external g729 plugin,set allow=alaw,ulaw,gsm,g726, and now it crashes again. Could you please take a look and let me know what's going on? Thank you very much.
asterisk -rx "module show like g729" Module Description Use Count Status Support Level codec_g729a.so Digium G.729 Annex A Codec (optimized fo 0 Running extended format_g729.so Raw G.729 data 0 Running core res_format_attr_g729.so G.729 Format Attribute Module 1 Running core 3 modules loaded

core-asterisk-2024-01-09T10-23-38Z-brief.txt
core-asterisk-2024-01-09T10-23-38Z-full.txt
core-asterisk-2024-01-09T10-23-38Z-info.txt
core-asterisk-2024-01-09T10-23-38Z-locks.txt
core-asterisk-2024-01-09T10-23-38Z-thread1.txt
full.log

from asterisk.

jcolp avatar jcolp commented on June 14, 2024

It's memory corruption. What further complicates things (and something I didn't notice before) is that you're using a second third party module, one for speech recognition. We've received no other reports of such things that I can see. Does this only occur when speech recognition is done?

from asterisk.

jiangxc avatar jiangxc commented on June 14, 2024

yes,I use the scene of originate to initiate a call, then there is a res plugin that listens to voice data, and then sends voice data through websocket to the voice recognition end, the code is as follows,thanks!
resspeech.txt

from asterisk.

jcolp avatar jcolp commented on June 14, 2024

That is outside code that I will not look at. My question was strictly - does it only happen when SpeechRecognize is being done? That would most likely isolate it to that, or in some way the outside module.

from asterisk.

jiangxc avatar jiangxc commented on June 14, 2024

Okay, thank you. I have only used this scenario so far. I will check it again. Thank you once again.

from asterisk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.