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

Brian : brians at iptel.co
Fri Jul 7 15:50:29 UTC 2017


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



More information about the FreeSWITCH-users mailing list