[Freeswitch-dev] start_dtmf detects dtmf as may times per dtmf as many times start_dtmf issued.
Just noted that my ESL get as may DTMF events per single keypress as, many times I issued start_dtmf on the uuid. it means if I do: execute('start_dtmf') execute('start_dtmf') I get the same DTMF event twice. Is that expected behavior? Logically, it supposed to to trigger detection on/off
Update, for SIP-INFO and (supposelly) rfc2833 it doesn't. But does for INBAND 2011/5/12 Anton VG <anton.vazir@gmail.com>:
Just noted that my ESL get as may DTMF events per single keypress as, many times I issued start_dtmf on the uuid.
it means if I do:
execute('start_dtmf') execute('start_dtmf')
I get the same DTMF event twice.
Is that expected behavior? Logically, it supposed to to trigger detection on/off
start_dtmf is only used for detecting inband DTMF On 12 May 2011 18:16, Anton VG <anton.vazir@gmail.com> wrote:
Update, for SIP-INFO and (supposelly) rfc2833 it doesn't. But does for INBAND
2011/5/12 Anton VG <anton.vazir@gmail.com>:
Just noted that my ESL get as may DTMF events per single keypress as, many times I issued start_dtmf on the uuid.
it means if I do:
execute('start_dtmf') execute('start_dtmf')
I get the same DTMF event twice.
Is that expected behavior? Logically, it supposed to to trigger detection on/off
_______________________________________________ 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
Understand, so if nobody minds, I'll note that on freeswitch wiki. 2011/5/13 Steven Ayre <steveayre@gmail.com>:
start_dtmf is only used for detecting inband DTMF
On 12 May 2011 18:16, Anton VG <anton.vazir@gmail.com> wrote:
Update, for SIP-INFO and (supposelly) rfc2833 it doesn't. But does for INBAND
2011/5/12 Anton VG <anton.vazir@gmail.com>:
Just noted that my ESL get as may DTMF events per single keypress as, many times I issued start_dtmf on the uuid.
it means if I do:
execute('start_dtmf') execute('start_dtmf')
I get the same DTMF event twice.
Is that expected behavior? Logically, it supposed to to trigger detection on/off
_______________________________________________ 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
_______________________________________________ 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
I think so. Is that expected behavior? Logically, it supposed to to trigger detection
on/off
No, it's start_dtmf not toggle_dtmf. It's an application that adds a media bug (callback) that gets given the audio. Multiple media bugs can attach to a call, so I can definitely see it adding the callback multiple times so it generates duplicates if you run it more than once. That's not to say it couldn't be patched to only attach once though. -Steve On 12 May 2011 18:13, Anton VG <anton.vazir@gmail.com> wrote:
Just noted that my ESL get as may DTMF events per single keypress as, many times I issued start_dtmf on the uuid.
it means if I do:
execute('start_dtmf') execute('start_dtmf')
I get the same DTMF event twice.
Is that expected behavior? Logically, it supposed to to trigger detection on/off
_______________________________________________ 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
participants (3)
-
Anton VG
-
Michael Collins
-
Steven Ayre