Re: [Freeswitch-users] GSM Open - One Way Audio
Hello Nitin, if you succeed, please let me know, and send me all useful info. Patches are welcome, and better yet a pull request. Thanks, -giovanni On 8 August 2018 at 16:44, Nitin India <lohchab1@gmail.com> wrote:
Hi,
I tested once again with previous versions from the Branch v1.2_stable and v1.4 in them GSM Open is working properly without any audio issues. I think there is some problem related to the read codec GSMOpen is unable to read the stream properly from the Modem.
On Tue, Aug 7, 2018 at 8:11 PM, Nitin India <lohchab1@gmail.com> wrote:
Hi Giovanni,
Hope you are doing good, It has been long time we interacted.
Today, I tried to use gsmopen with FreeSwitch both the Stable 1.6.20 Version and the Latest Version 1.9.X on CentOS 7
First issue that I observed is that gsmlib residing in /src/mod/endpoints/mod_gsmopen/gsmlib/gsmlib-1.10-patched-13ubuntu has problem with the Incoming SMS it produce segmentation fault when any Incoming SMS is received. But works fine when GSMLib is compiled and installed from https://github.com/vbouchaud/gsmlib it do not crash and everything works good.
Now the Main Problem with both the cases is One Way Audio. FreeSwitch do not hear any kind of audio from the Mobile User. But DTMF Coming from the Mobile User is fine.
Lets say I have incoming call from gsmopen at interface1 and once it hit the dialplan like listed below..
<action application="ring_ready"/> <action application="answer"/> <action application="echo" data=""/>") <action application="hangup"/>
Mobile Subscriber is not able to hear himself back that confirms there is one way audio and the same problem is with record_session application it is not able to record the voice of Mobile User also tested with Sofia Endpoints they also can't hear the Mobile User but Sound Playing from FreeSwitch side goes fine to the Mobile User.
Now here is an another 2nd dialplan that seems to work fine and resolve the one way audio issue.
<action application="ring_ready"/> <action application="answer"/> <action application="playback" data="/home/files/song2.mp3"/> <action application="echo" data=""/>") <action application="hangup"/>
Mobile User is able to hear the Audio from FreeSwitch and also able to send DTMF Digits to FreeSwitch. Once the Playback application finishes playing and the next Echo Application is executed Mobile User is able to hear himself back that shows that freeswitch is now getting audio properly without any issues.
I used gsmopen about 4 years back and it use to work fine without any issues on CentOS 6.
-- ------------------------------------------------ Thanks & Regards Nitin
-- ------------------------------------------------ Thanks & Regards Nitin (+919999976157)
-- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18
On Wed, Aug 8, 2018 at 10:52 PM, Giovanni Maruzzelli <gmaruzz@gmail.com> wrote:
Hello Nitin,
if you succeed, please let me know, and send me all useful info.
Patches are welcome, and better yet a pull request.
I tested once again with previous versions from the Branch v1.2_stable and v1.4 in them GSM Open is working properly without any audio issues. I think there is some problem related to the read codec GSMOpen is unable to read the stream properly from the Modem.
Please let me know as well. I could never get gsmopen to work either. I'll try freeswitch-1.4.26.tar.xz to see this works. Thanks, Jeff
participants (2)
-
Giovanni Maruzzelli
-
Jeff Chua