[Freeswitch-users] portaudio and pulsaudio works on FS, but INCOPATIBLE DESTINATION (SOLVED)

Tamer Higazi th982a at googlemail.com
Sun Jan 12 14:28:01 UTC 2020


Yes....of course!

I try to simulate it once again with PulseAudio in combination with 
mod_portaudio.

In the meantime, could you please tell me how to raise the logginglevel 
and debugging for you and where it is saved?

I think logging on my machine is through mod_cdrcsv log.


Thanks.

On 2020-01-12 15:16, David Villasmil wrote:
> Can you provide more logging? And also a trace?
>
> On Sun, 12 Jan 2020 at 14:00, Tamer Higazi via FreeSWITCH-users 
> <freeswitch-users at lists.freeswitch.org 
> <mailto:freeswitch-users at lists.freeswitch.org>> wrote:
>
>
>
>
>     ---------- Forwarded message ----------
>     From: Tamer Higazi <th982a at googlemail.com
>     <mailto:th982a at googlemail.com>>
>     To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org
>     <mailto:freeswitch-users at lists.freeswitch.org>>
>     Cc:
>     Bcc:
>     Date: Sun, 12 Jan 2020 14:49:46 +0100
>     Subject: Re: [Freeswitch-users] portaudio and pulsaudio works on
>     FS, but INCOPATIBLE DESTINATION (SOLVED)
>     Dear John,
>
>     Thank you very much for your advise.
>     It works very well!
>
>     It works only good and without any problems, if I choose the device
>     directly.
>     If I choose "pulse" as ringdev, outdev and indev I have this
>     "cracking"
>     perioudicly in the line.
>
>
>     Thanks, Tamer
>
>     On 2020-01-12 08:06, John Covici wrote:
>     > How about <action application="export"
>     > data="media_mix_inbound_outbound_codecs=true"/>  See if that works.
>     >
>     > On Sat, 11 Jan 2020 19:52:54 -0500,
>     > Tamer Higazi via FreeSWITCH-users wrote:
>     >> [1  <message/rfc822 (7bit)>]
>     >> To: FreeSWITCH Users Help
>     <freeswitch-users at lists.freeswitch.org
>     <mailto:freeswitch-users at lists.freeswitch.org>>
>     >> Subject: Re: [Freeswitch-users] portaudio and pulsaudio works
>     on FS, but INCOPATIBLE DESTINATION
>     >> From: Tamer Higazi <th982a at googlemail.com
>     <mailto:th982a at googlemail.com>>
>     >> Date: Sun, 12 Jan 2020 01:16:57 +0100
>     >>
>     >> Dear David,
>     >>
>     >> This is what I thought as well (just shortly).
>     >>
>     >> with the SIP phone dialing it bridges through the gateway, it
>     >> works without any problems.
>     >>
>     >> But with mod_portaudio or mod_alsa I have this problem.
>     >>
>     >> Any ideas how to fix it or to get more informations or how to
>     fix it ?
>     >>
>     >> Because in the FS pages it's written nowhere what codecs should
>     >> be used or how to configure it ....
>     >>
>     >>
>     >> best, Tamer
>     >>
>     >> On 2020-01-12 01:12, David Villasmil wrote:
>     >>> That usually comes up when the far side and fs can’t agree on a
>     >>> codec. Make sure both sides have the same set of codecs
>     >>> enabled.
>     >>>
>     >>> On Sat, 11 Jan 2020 at 21:37, Tamer Higazi via FreeSWITCH-users
>     >>> <freeswitch-users at lists.freeswitch.org
>     <mailto:freeswitch-users at lists.freeswitch.org>
>     >>> <mailto:freeswitch-users at lists.freeswitch.org
>     <mailto:freeswitch-users at lists.freeswitch.org>>> wrote:
>     >>>
>     >>>
>     >>>
>     >>>
>     >>>      ---------- Forwarded message ----------
>     >>>      From: Tamer Higazi <th982a at googlemail.com
>     <mailto:th982a at googlemail.com>
>     >>>      <mailto:th982a at googlemail.com
>     <mailto:th982a at googlemail.com>>>
>     >>>      To: freeswitch-users at lists.freeswitch.org
>     <mailto:freeswitch-users at lists.freeswitch.org>
>     >>>      <mailto:freeswitch-users at lists.freeswitch.org
>     <mailto:freeswitch-users at lists.freeswitch.org>>
>     >>>      Cc:
>     >>>      Bcc:
>     >>>      Date: Sat, 11 Jan 2020 22:21:56 +0100
>     >>>      Subject: portaudio and pulsaudio works on FS, but INCOPATIBLE
>     >>>      DESTINATION
>     >>>      Hi people,
>     >>>
>     >>>      After long try and there I got "finally" portaudio
>     running on my cpu.
>     >>>
>     >>>      I got the dumb error message "connection refused" rid of
>     me, and FS
>     >>>      seems to access the soundcard.
>     >>>      I can choose the devices of my choice, and place a call.
>     >>>
>     >>>      But when I place a call, I still get this:
>     >>>
>     >>>      2020-01-11 22:18:33.847800 [DEBUG]
>     switch_core_state_machine.c:935
>     >>>      (sofia/external/123456) State REPORTING
>     >>>      2020-01-11 22:18:33.847800 [DEBUG]
>     switch_core_state_machine.c:174
>     >>>      sofia/external/123456 Standard REPORTING, cause:
>     >>>      INCOMPATIBLE_DESTINATION
>     >>>      2020-01-11 22:18:33.847800 [DEBUG]
>     switch_core_state_machine.c:935
>     >>>      (sofia/external/123456) State REPORTING going to sleep
>     >>>      2020-01-11 22:18:33.847800 [DEBUG]
>     switch_core_state_machine.c:610
>     >>>      (sofia/external/123456) State Change CS_REPORTING ->
>     CS_DESTROY
>     >>>      2020-01-11 22:18:33.847800 [DEBUG] switch_core_session.c:1715
>     >>>      Session 17
>     >>>      (sofia/external/123456) Locked, Waiting on external entities
>     >>>      2020-01-11 22:18:33.847800 [DEBUG]
>     switch_ivr_originate.c:3941
>     >>>      Originate
>     >>>      Resulted in Error Cause: 88 [INCOMPATIBLE_DESTINATION]
>     >>>      2020-01-11 22:18:33.847800 [NOTICE]
>     switch_core_session.c:1733
>     >>>      Session
>     >>>      17 (sofia/external/123456) Ended
>     >>>      2020-01-11 22:18:33.847800 [NOTICE]
>     switch_core_session.c:1737 Close
>     >>>      Channel sofia/external/123456 [CS_DESTROY]
>     >>>      2020-01-11 22:18:33.847800 [DEBUG] switch_channel.c:2047
>     >>>      (portaudio/1123456) Callstate Change RING_WAIT -> ACTIVE
>     >>>      2020-01-11 22:18:33.847800 [INFO] mod_dptools.c:3518
>     Originate
>     >>>      Failed.
>     >>>      Cause: INCOMPATIBLE_DESTINATION
>     >>>      2020-01-11 22:18:33.847800 [NOTICE] switch_channel.c:4857
>     Hangup
>     >>>      portaudio/1123456 [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]
>     >>>      2020-01-11 22:18:33.847800 [DEBUG]
>     switch_core_state_machine.c:738
>     >>>      (sofia/external/123456) Running State Change CS_DESTROY
>     (Cur 1 Tot 17)
>     >>>
>     >>>      Any ideas why this is the case ?
>     >>>
>     >>>
>     >>>      best, Tamer
>     >>>
>     >>>
>     >>>
>     >>>
>     >>>
>     >>>      ---------- Forwarded message ----------
>     >>>      From: Tamer Higazi via FreeSWITCH-users
>     >>>      <freeswitch-users at lists.freeswitch.org
>     <mailto:freeswitch-users at lists.freeswitch.org>
>     >>>      <mailto:freeswitch-users at lists.freeswitch.org
>     <mailto:freeswitch-users at lists.freeswitch.org>>>
>     >>>      To: freeswitch-users at lists.freeswitch.org
>     <mailto:freeswitch-users at lists.freeswitch.org>
>     >>>      <mailto:freeswitch-users at lists.freeswitch.org
>     <mailto:freeswitch-users at lists.freeswitch.org>>
>     >>>      Cc:
>     >>>      Bcc:
>     >>>      Date: Sat, 11 Jan 2020 13:37:37 -0800 (PST)
>     >>>      Subject: [Freeswitch-users] portaudio and pulsaudio works
>     on FS,
>     >>>      but INCOPATIBLE DESTINATION
>     >>>
>     _________________________________________________________________________
>     >>>
>     >>>      The FreeSWITCH project is sponsored by SignalWire
>     >>> https://signalwire.com
>     >>>      Enhance your FreeSWITCH install with disruptive priced
>     SMS and
>     >>>      PSTN services.
>     >>>      Build your next product on our scalable cloud platform.
>     >>>
>     >>>      Join our online community to chat in real time
>     >>> https://signalwire.community
>     >>>
>     >>>      Professional FreeSWITCH Services
>     >>> sales at freeswitch.com <mailto:sales at freeswitch.com>
>     <mailto:sales at freeswitch.com <mailto:sales at freeswitch.com>>
>     >>> https://freeswitch.com
>     >>>
>     >>>      Official FreeSWITCH Sites
>     >>> https://freeswitch.com/oss
>     >>> https://freeswitch.org/confluence
>     >>> https://cluecon.com
>     >>>
>     >>>      FreeSWITCH-users mailing list
>     >>> FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     >>>      <mailto: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
>     >>> https://freeswitch.com
>     >>>
>     >>> --
>     >>> Regards,
>     >>>
>     >>> David Villasmil
>     >>> email: david.villasmil.work at gmail.com
>     <mailto:david.villasmil.work at gmail.com>
>     >>> <mailto:david.villasmil.work at gmail.com
>     <mailto:david.villasmil.work at gmail.com>>
>     >>> phone: +34669448337
>     >> [2  <text/plain; utf-8 (base64)>]
>     >>
>     _________________________________________________________________________
>     >>
>     >> The FreeSWITCH project is sponsored by SignalWire
>     https://signalwire.com
>     >> Enhance your FreeSWITCH install with disruptive priced SMS and
>     PSTN services.
>     >> Build your next product on our scalable cloud platform.
>     >>
>     >> Join our online community to chat in real time
>     https://signalwire.community
>     >>
>     >> Professional FreeSWITCH Services
>     >> sales at freeswitch.com <mailto:sales at freeswitch.com>
>     >> https://freeswitch.com
>     >>
>     >> Official FreeSWITCH Sites
>     >> https://freeswitch.com/oss
>     >> https://freeswitch.org/confluence
>     >> https://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
>     >> https://freeswitch.com
>
>
>
>
>     ---------- Forwarded message ----------
>     From: Tamer Higazi via FreeSWITCH-users
>     <freeswitch-users at lists.freeswitch.org
>     <mailto:freeswitch-users at lists.freeswitch.org>>
>     To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org
>     <mailto:freeswitch-users at lists.freeswitch.org>>
>     Cc:
>     Bcc:
>     Date: Sun, 12 Jan 2020 06:00:54 -0800 (PST)
>     Subject: Re: [Freeswitch-users] portaudio and pulsaudio works on
>     FS, but INCOPATIBLE DESTINATION (SOLVED)
>     _________________________________________________________________________
>
>     The FreeSWITCH project is sponsored by SignalWire
>     https://signalwire.com
>     Enhance your FreeSWITCH install with disruptive priced SMS and
>     PSTN services.
>     Build your next product on our scalable cloud platform.
>
>     Join our online community to chat in real time
>     https://signalwire.community
>
>     Professional FreeSWITCH Services
>     sales at freeswitch.com <mailto:sales at freeswitch.com>
>     https://freeswitch.com
>
>     Official FreeSWITCH Sites
>     https://freeswitch.com/oss
>     https://freeswitch.org/confluence
>     https://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
>     https://freeswitch.com
>
> -- 
> Regards,
>
> David Villasmil
> email: david.villasmil.work at gmail.com 
> <mailto:david.villasmil.work at gmail.com>
> phone: +34669448337



More information about the FreeSWITCH-users mailing list