[Freeswitch-users] No input audio with FSClient

Paul Mateer Paul.Mateer at outlook.com
Tue Jan 10 18:31:34 MSK 2017


OK. After a bit of further digging I've found that the CF_AUDIO flag is never set on one of the legs (I'm assuming it's leg A working on the principle that the thread always passes data from channel A to channel B).  As the flag is not set the function calls switch_ivr_sleep() for that leg and that causes the code to write a comfort noise frame.


I've tried changing the flag value in the debugger and I do get the audio stream transmitted to the server (and echoed back) although it's a bit choppy.  Now I need to try and determine where this would normally get set and why it isn't in this case.


Paul

________________________________
From: freeswitch-users-bounces at lists.freeswitch.org <freeswitch-users-bounces at lists.freeswitch.org> on behalf of Paul Mateer <Paul.Mateer at outlook.com>
Sent: 10 January 2017 11:18:27
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] No input audio with FSClient


OK, so I amended the FreeSWITCH.xml for FSClient to add a record_session action before the bridge action of the "number" extension in the default context of the dialplan section, and the client records the input audio stream fine.

I did the same thing in the "echo" extension of the default.xml in the FreeSWITCH dialplan folder and I get a recording of silence. This would seem to fit in with the fact that I don't see any RTP traffic data from the client to the server.


I have logs from both the server and the client (Debug Level set to 9 with SIP Trace active) but there is nothing notable logged between the start of the call and it's termination (I can provide the logs if that's of any help - and a WireShark trace).


Paul


PS. Sorry about the mailing issue yesterday - I think I hit reply to all instead of just reply.


________________________________
From: freeswitch-users-bounces at lists.freeswitch.org <freeswitch-users-bounces at lists.freeswitch.org> on behalf of Mitch Capper <mitch.capper at gmail.com>
Sent: 09 January 2017 20:44:53
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] No input audio with FSClient

Under options in FSClient for the event socket you can change them but otherwise just connect like normal debugging and sip_trace might be a good start,  you can use fs_logger as well to collect the logs for you if desired.  Let us know the result of the recording test as well.


~mitch

On Mon, Jan 9, 2017 at 9:08 AM, Mitch Capper <mitch.capper at gmail.com<mailto:mitch.capper at gmail.com>> wrote:
Hi Paul,
One place to start would be to record the call with FSClient and Freeswitch itself see if the audio is on the client but not FS.  Enabling logging on the client/server using fs_cli and see anything interesting there.  Finally make sure you have the right mic input selected in the FSClient options.




~mitch

On Mon, Jan 9, 2017 at 8:58 AM, Paul Mateer <paul.mateer at outlook.com<mailto:paul.mateer at outlook.com>> wrote:
I seem to have a problem with audio input when using FSClient.

I have one box running FreeSWITCH and another running FSClient. I can call the server no problem and get audio back (I dialled 9198 to get the Tetris tune) but when I provide an audio stream using the mic and dial 9196 I get nothing back.

I know the mic is providing sound and the FreeSWITCH server is operating OK because I can use X-Lite to perform the same test and I get the audio feed played back to me.

I'm not sure if there is something amiss in the configuration of FSClient (although it should be the default config) or if something else is amiss (there doesn't appear to be anything odd in the FreeSWITCH log for the client).

Does anyone have any thoughts on what might be wrong, or what i should look at?

Thanks,

Paul

Sent from my Windows 10 phone


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170110/80db23b6/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list