[Freeswitch-dev] start_dtmf bug?
I am trying to use portaudio to bride a radio device into freeswitch. I encountered a problem that I believe to be a bug, although I am not sure, so I am asking if anyone can confirm this. <extension name="radio_conference"> <condition field="destination_number" expression="^123$"> <action application="answer"/> <action application="sleep" data="1000"/> <action application="start_dtmf"/> <action application="conference" data="radio@default"/> </condition> </extension> if I call that from portaudio all input from the microphone appears to be discarded. If I call it without the start_dtmf it works as expected. To avoid any potential for confusion, I do actually need inband DTMF detection from the radio side of things. I only looked at this from the portaudio side of things, so if anyone who has an otherwise working portaudio configuration could look to see if this is present in their systems I would appreciate it to know if this is something I did or something else. Once confirmed I will look at posting a bug report, but I dont want to do it if its just me. Thanks, -- Trixter http://www.0xdecafbad.com Bret McDanel pgp key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8AE5C721
On Thu, Sep 3, 2009 at 7:36 AM, Trixter aka Bret McDanel < trixter@0xdecafbad.com> wrote:
I am trying to use portaudio to bride a radio device into freeswitch. I encountered a problem that I believe to be a bug, although I am not sure, so I am asking if anyone can confirm this.
<extension name="radio_conference"> <condition field="destination_number" expression="^123$"> <action application="answer"/> <action application="sleep" data="1000"/> <action application="start_dtmf"/> <action application="conference" data="radio@default"/> </condition> </extension>
if I call that from portaudio all input from the microphone appears to be discarded. If I call it without the start_dtmf it works as expected. To avoid any potential for confusion, I do actually need inband DTMF detection from the radio side of things.
I only looked at this from the portaudio side of things, so if anyone who has an otherwise working portaudio configuration could look to see if this is present in their systems I would appreciate it to know if this is something I did or something else.
Once confirmed I will look at posting a bug report, but I dont want to do it if its just me.
Bret, I was able to reproduce this behavior. In fact, I added <action application="start_dtmf"/> to extension 9996 (echo test) and the echo worked fine on a SIP call but no audio on a PA call. Without the start_dtmf the echo test works perfectly with portaudio. -MC
it's fixed now in trunk On Thu, Sep 3, 2009 at 12:47 PM, Michael Collins <msc@freeswitch.org> wrote:
On Thu, Sep 3, 2009 at 7:36 AM, Trixter aka Bret McDanel < trixter@0xdecafbad.com> wrote:
I am trying to use portaudio to bride a radio device into freeswitch. I encountered a problem that I believe to be a bug, although I am not sure, so I am asking if anyone can confirm this.
<extension name="radio_conference"> <condition field="destination_number" expression="^123$"> <action application="answer"/> <action application="sleep" data="1000"/> <action application="start_dtmf"/> <action application="conference" data="radio@default"/> </condition> </extension>
if I call that from portaudio all input from the microphone appears to be discarded. If I call it without the start_dtmf it works as expected. To avoid any potential for confusion, I do actually need inband DTMF detection from the radio side of things.
I only looked at this from the portaudio side of things, so if anyone who has an otherwise working portaudio configuration could look to see if this is present in their systems I would appreciate it to know if this is something I did or something else.
Once confirmed I will look at posting a bug report, but I dont want to do it if its just me.
Bret,
I was able to reproduce this behavior. In fact, I added <action application="start_dtmf"/> to extension 9996 (echo test) and the echo worked fine on a SIP call but no audio on a PA call. Without the start_dtmf the echo test works perfectly with portaudio.
-MC
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
participants (3)
-
Anthony Minessale
-
Michael Collins
-
Trixter aka Bret McDanel