[Freeswitch-users] How do you determine if DTMFs received are in-band or out-of-band?

Mark Melling mark.melling at savageminds.com
Fri Jul 7 16:14:44 UTC 2017


Thanks Brian.


On Fri, 7 Jul 2017 at 16:51 Brian : <brians at iptel.co> wrote:

> I believe thats 2833
>
> From the source:
>
> switch(dtmf->source) {
>
>                         case SWITCH_DTMF_INBAND_AUDIO:  /* From audio */
>
>                                 dtmf_source_str = "INBAND_AUDIO";
>
>                                 break;
>
>                         case SWITCH_DTMF_RTP:                   /*
> From RTP as a telephone event */
>
>                                 dtmf_source_str = "RTP";
>
>                                 break;
>
>                         case SWITCH_DTMF_ENDPOINT:              /*
> From endpoint signaling */
>
>                                 dtmf_source_str = "ENDPOINT";
>
>                                 break;
>
>                         case SWITCH_DTMF_APP:                   /*
> Injected by application */
>
>                                 dtmf_source_str = "APP";
>
>                                 break;
>
>                         case SWITCH_DTMF_UNKNOWN:               /*
> Unknown source */
>
>                         default:
>
>                                 dtmf_source_str = "UNKNOWN";
>
>                                 break;
>
> On Fri, Jul 7, 2017 at 4:28 PM, Mark Melling
> <mark.melling at savageminds.com> wrote:
> > Thanks Brian,
> >
> > Having done that it says
> >
> > DTMF-Source: RTP
> >
> > So I assume that means that the DTMF is in-band, is that right?
> >
> >
> >
> > On Fri, 7 Jul 2017 at 16:19 Brian : <brians at iptel.co> wrote:
> >>
> >> Hi Mark
> >>
> >> From fs_cli
> >>
> >> /event plain dtmf
> >>
> >> This will give you console logging of every DTMF event that FS handles
> >> and I'm pretty sure will give you the DTMF source.
> >>
> >>
> >>
> >> On Fri, Jul 7, 2017 at 10:44 AM, Mark Melling
> >> <mark.melling at savageminds.com> wrote:
> >> > Hi,
> >> >
> >> > How can you determine if Freeswitch is receiving DTMFs in-band or
> >> > out-of-band?
> >> >
> >> > I'm not entirely clear on terminology here, but is out-of-band the
> same
> >> > as
> >> > rfc 2833?
> >> >
> >> > Thanks
> >> >
> >> > Mark
> >> >
> >> >
> >> >
> >> >
> _________________________________________________________________________
> >> > Professional FreeSWITCH Consulting Services:
> >> > consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170707/eaf95fac/attachment-0001.html>


More information about the FreeSWITCH-users mailing list