No input audio with FSClient
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
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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi Mitch. Thanks for getting back so quickly. I have the both the Main Input and Speakerphone Input set to “Microphone (High Definition Audio Device)” in the Sofia Settings, although switching them to the alternative (Primary Sound Capture Driver) makes no difference. I know that the problem is at the server end of things because when I monitor communications between the client and the server I don't see any outgoing RTP packet traffic after the INVITE request is accepted by the server even though FSClient indicates the call has been answered. I didn't know that you could use fs_cli to configure logging in FreeSWITCH that is embedded in FSClient – presumably you need to specify particular values for some of the parameters to do that? Sent from my Windows 10 phone From: Mitch Capper<mailto:mitch.capper@gmail.com> Sent: 09 January 2017 17:11 To: FreeSWITCH Users Help<mailto:freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] No input audio with FSClient 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@outlook.com<mailto:paul.mateer@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@freeswitch.org<mailto:consulting@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@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Sorry. Just re-rest my last email and realised there was a typo – it should have read “I know that the problem is NOT at the server end of things” Sorry about that. Paul Sent from my Windows 10 phone From: Paul Mateer<mailto:paul.mateer@outlook.com> Sent: 09 January 2017 18:16 To: Mitch Capper<mailto:mitch.capper@gmail.com>; FreeSWITCH Users Help<mailto:freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] No input audio with FSClient Hi Mitch. Thanks for getting back so quickly. I have the both the Main Input and Speakerphone Input set to “Microphone (High Definition Audio Device)” in the Sofia Settings, although switching them to the alternative (Primary Sound Capture Driver) makes no difference. I know that the problem is at the server end of things because when I monitor communications between the client and the server I don't see any outgoing RTP packet traffic after the INVITE request is accepted by the server even though FSClient indicates the call has been answered. I didn't know that you could use fs_cli to configure logging in FreeSWITCH that is embedded in FSClient – presumably you need to specify particular values for some of the parameters to do that? Sent from my Windows 10 phone From: Mitch Capper<mailto:mitch.capper@gmail.com> Sent: 09 January 2017 17:11 To: FreeSWITCH Users Help<mailto:freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] No input audio with FSClient 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@outlook.com<mailto:paul.mateer@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@freeswitch.org<mailto:consulting@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@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@lists.freeswitch.org <freeswitch-users-bounces@lists.freeswitch.org> on behalf of Mitch Capper <mitch.capper@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@gmail.com<mailto:mitch.capper@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@outlook.com<mailto:paul.mateer@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@freeswitch.org<mailto:consulting@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@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@lists.freeswitch.org <freeswitch-users-bounces@lists.freeswitch.org> on behalf of Paul Mateer <Paul.Mateer@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@lists.freeswitch.org <freeswitch-users-bounces@lists.freeswitch.org> on behalf of Mitch Capper <mitch.capper@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@gmail.com<mailto:mitch.capper@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@outlook.com<mailto:paul.mateer@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@freeswitch.org<mailto:consulting@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@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Can you post the logs to the FS pastbin that may be the easiest way to look at them. fs_logger can anonymize the logs if needed. Also we should probably get build versions and the logs should give us the codec settings. ~mitch On Tue, Jan 10, 2017 at 3:18 AM, Paul Mateer <Paul.Mateer@outlook.com> wrote:
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@lists.freeswitch.org < freeswitch-users-bounces@lists.freeswitch.org> on behalf of Mitch Capper < mitch.capper@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi. Sorry for taking so long to post the logs but I got dragged into looking at something else and have only just gotten back to issue this now. The log file for the FreeSWITCH server is at https://pastebin.freeswitch.org/view/938cdb58 and the log file from the FSClient is at https://pastebin.freeswitch.org/view/b1255f02. Both the server and the client had the following entries in their freeswitch.xml file: <X-PRE-PROCESS cmd="set" data="call_debug=true"/> <X-PRE-PROCESS cmd="set" data="console_loglevel=debug"/> The server also had the following in the sip_profile file: <param name="debug" value="1"/> <param name="sip-trace" value="yes"/> <param name="sip-capture" value="yes"/> The latest source code for both FreeSWITCH and the FSClient were downloaded on 21/12/16 in response to the following posting: http://lists.freeswitch.org/pipermail/freeswitch-users/2016-December/124117.... Only some of the FSClient executables have file version numbers - the most relevant are probably that of FreeSwitch.dll (1.9.0.0), Freeswitch.Managed.dll (1.0.5.0) and FSClient.exe (1.2.3.5) Regards, Paul ________________________________ From: freeswitch-users-bounces@lists.freeswitch.org <freeswitch-users-bounces@lists.freeswitch.org> on behalf of Mitch Capper <mitch.capper@gmail.com> Sent: 11 January 2017 18:09:14 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] No input audio with FSClient Can you post the logs to the FS pastbin that may be the easiest way to look at them. fs_logger can anonymize the logs if needed. Also we should probably get build versions and the logs should give us the codec settings. ~mitch On Tue, Jan 10, 2017 at 3:18 AM, Paul Mateer <Paul.Mateer@outlook.com<mailto:Paul.Mateer@outlook.com>> wrote: 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@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> <freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>> on behalf of Mitch Capper <mitch.capper@gmail.com<mailto:mitch.capper@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@gmail.com<mailto:mitch.capper@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@outlook.com<mailto:paul.mateer@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@freeswitch.org<mailto:consulting@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@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@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@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Just wondering if anyone got a chance to look at the logs which I uploaded. I'd be interested in knowing if the problem with the lack of input audio is down to a misconfiguration at my end (although it's effectively just a standard build of FreeSWITCH and FSClient or if it is a potential issue with the FreeSWITCH code? Regards, Paul ________________________________ From: freeswitch-users-bounces@lists.freeswitch.org <freeswitch-users-bounces@lists.freeswitch.org> on behalf of Mitch Capper <mitch.capper@gmail.com> Sent: 11 January 2017 18:09:14 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] No input audio with FSClient Can you post the logs to the FS pastbin that may be the easiest way to look at them. fs_logger can anonymize the logs if needed. Also we should probably get build versions and the logs should give us the codec settings. ~mitch On Tue, Jan 10, 2017 at 3:18 AM, Paul Mateer <Paul.Mateer@outlook.com<mailto:Paul.Mateer@outlook.com>> wrote: 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@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> <freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>> on behalf of Mitch Capper <mitch.capper@gmail.com<mailto:mitch.capper@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@gmail.com<mailto:mitch.capper@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@outlook.com<mailto:paul.mateer@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@freeswitch.org<mailto:consulting@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@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@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@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Out of curiosity I decided to try installing the packaged version of FSClient at http://files.freeswitch.org/windows/installer/x86/FSClient.zip and I discovered that this version of the client works as expected. Unfortunately the FreeSwitch.dll module has no file version, but it's dated 22/01/2012. Since the configuration that I used with this installed version was the same as that for the version which I built from source, this would suggest that the problem is not environmental, but is instead tied to the version of the code used to create the executables. ________________________________ From: freeswitch-users-bounces@lists.freeswitch.org <freeswitch-users-bounces@lists.freeswitch.org> on behalf of Mitch Capper <mitch.capper@gmail.com> Sent: 09 January 2017 17:08:13 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] No input audio with FSClient 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@outlook.com<mailto:paul.mateer@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@freeswitch.org<mailto:consulting@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@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
OK. I'm wondering if this is a possible bug in the FreeSWITCH code? I see two threads running - each with it's own session and channel. One is an outbound channel called "sofia/softphone/9196", whilst the other is the inbound channel called "portaudio/sofia/gateway/2/9196". Now the CF_AUDIO flag is set on the inbound channel during a call to switch_core_media_negotiate_sdp(), but as far as I can tell the outbound channel never gets its CF_AUDIO flag set, which is why there's no audio transmitted. I can correct the problem by adding the following call to the if(channel_caller) statement block at the end of switch_ivr_originate() method: switch_channel_set_flag(caller_channel, CF_AUDIO); but as I only started working with FreeSWITCH before Christmas, I'm not sure if this is a definite issue and whether this is an appropriate correction. Does anyone have any thoughts on this? Paul ________________________________ From: Paul Mateer <paul.mateer@outlook.com> Sent: 09 January 2017 16:58:53 To: freeswitch-users@lists.freeswitch.org Subject: No input audio with FSClient 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
participants (3)
-
Mitch Capper
-
Paul Mateer
-
Paul Mateer