I am testing WebRTC to make and receive calls.
Sometimes, there is a noisy sound when a call between extensions within the same Asterisk system is connected after the other party answers. I noticed that this occurs every time this message appears:
[2023-05-31 09:17:44] NOTICE res_pjsip_session.c: Call from '7002' (WSS:184.108.40.206:50779) to extension 'undefined' rejected because extension not found in context 'ddd'.
[2023-05-31 09:17:45] NOTICE res_pjsip_session.c: Call from '7002' (WSS:220.127.116.11:50779) to extension 'undefined' rejected because extension not found in context 'ddd'.
7002 is the source and 7052 is the destination.
Extension 7052 initiates the call, but when extension 7052 answers, it doesn’t hear anything.
Extension 7002, which originated the call, experiences noisy sound on the line.
18.104.22.168 is the IP address where the WebRTC application is running.
This problem occurs occasionally, where multiple calls are made without any issues until eventually one of them experiences this problem.
Can anyone explain why this happens and how to solve it?
I believe those errors were just a coincidence, as I ran some additional tests and experienced some noise for the caller while the destination didn’t hear anything, and no errors were generated in the console.
I tried with a different web client, and after several attempts, I encountered the same error. Is there any specific client you recommend or suggest for me to test?
I managed to solve it.
The issue occurred when I tried to use the
G722 codecs. I switched to the
ulaw codec, and the problem stopped occurring.
I don’t know how to explain why it sometimes worked when using
G722, and sometimes it caused issues.
I would be grateful if someone could provide an explanation for it.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.