DTMF filter (RFC2833)
Hi list, I'm looking for a way to filter ingress DTMF on A leg. I receive "bad" DTMFs from SIP provider (Signal A,B,C, etc ...) I want to filter only these DTMF, not all others. I receive only RFC2833 DTMF. Ex: Sip Provider -- (DTMF 1,A,2,C on A leg) --> FS --> (DTMF 1,2 on B leg) --> Do you have an idea for me please ? Thanks in adavance FS version: FreeSWITCH Version 1.3.13b+git~20130213T200819Z~cd7d1efc2a (git cd7d1ef 2013-02-13 20:08:19Z) -- Mickaël HUBERT Responsable du service VoIP Tel: (+33) 03.26.79.30.05
I don't think this exists in FS. You can create a small dialplan APP that installs a DTMF hook and drops all digits that aren't 0-9,#,* by returning SWITCH_STATUS_FALSE to drop and SWITCH_STATUS_SUCCESS to allow. mod_dptools.c and switch_ivr_async.c have examples of DTMF hooks. On Tue, Aug 1, 2017 at 2:36 AM, Mickael Hubert <m.hubert@hexanet.fr> wrote:
Hi list, I'm looking for a way to filter ingress DTMF on A leg. I receive "bad" DTMFs from SIP provider (Signal A,B,C, etc ...) I want to filter only these DTMF, not all others. I receive only RFC2833 DTMF.
Ex: Sip Provider -- (DTMF 1,A,2,C on A leg) --> FS --> (DTMF 1,2 on B leg) -->
Do you have an idea for me please ?
Thanks in adavance
FS version: FreeSWITCH Version 1.3.13b+git~20130213T200819Z~cd7d1efc2a (git cd7d1ef 2013-02-13 20:08:19Z)
-- Mickaël HUBERT Responsable du service VoIP Tel: (+33) 03.26.79.30.05 <+33%203%2026%2079%2030%2005>
_________________________________________________________________________ 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 thanks a lot for your answer. I'll try that, even I'm not A developer :( I'll try to add a small application to call it into my dialplan, who drop "bad" dtmf. hardest ;) bye 2017-08-01 14:40 GMT+02:00 Christopher Rienzo <cmrienzo@gmail.com>:
I don't think this exists in FS. You can create a small dialplan APP that installs a DTMF hook and drops all digits that aren't 0-9,#,* by returning SWITCH_STATUS_FALSE to drop and SWITCH_STATUS_SUCCESS to allow. mod_dptools.c and switch_ivr_async.c have examples of DTMF hooks.
On Tue, Aug 1, 2017 at 2:36 AM, Mickael Hubert <m.hubert@hexanet.fr> wrote:
Hi list, I'm looking for a way to filter ingress DTMF on A leg. I receive "bad" DTMFs from SIP provider (Signal A,B,C, etc ...) I want to filter only these DTMF, not all others. I receive only RFC2833 DTMF.
Ex: Sip Provider -- (DTMF 1,A,2,C on A leg) --> FS --> (DTMF 1,2 on B leg) -->
Do you have an idea for me please ?
Thanks in adavance
FS version: FreeSWITCH Version 1.3.13b+git~20130213T200819Z~cd7d1efc2a (git cd7d1ef 2013-02-13 20:08:19Z)
-- Mickaël HUBERT Responsable du service VoIP Tel: (+33) 03.26.79.30.05 <+33%203%2026%2079%2030%2005>
_________________________________________________________________________ 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
-- Mickaël HUBERT Responsable du service VoIP Tel: (+33) 03.26.79.30.05
participants (2)
-
Christopher Rienzo
-
Mickael Hubert