How do you determine if DTMFs received are in-band or out-of-band?
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
Out of band allways means 'out of the audio RTP stream' ... could be RFC2833 or could be SIP-INFO 2017-07-07 10:44 GMT+01:00 Mark Melling <mark.melling@savageminds.com>:
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@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
OK, Thanks So if the DTMF was received as SIP-INFO I assume I could switch on sip tracing (sofia global siptrace on) and I would presumably see the relevant SIP packets. But what can I do, check for in the logs, or check say in terms of a channel variable, that would enable me verify that a DTMF was being received as RFC2833 and not received in-band? On Fri, 7 Jul 2017 at 14:51 Raúl Alexis Betancor Santana < rbetancor@gmail.com> wrote:
Out of band allways means 'out of the audio RTP stream' ... could be RFC2833 or could be SIP-INFO
2017-07-07 10:44 GMT+01:00 Mark Melling <mark.melling@savageminds.com>:
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@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
if you see "101 telephone-event" in SDP, you are getting DTMF as rfc2833. On 7 July 2017 at 18:59, Mark Melling <mark.melling@savageminds.com> wrote:
OK, Thanks
So if the DTMF was received as SIP-INFO I assume I could switch on sip tracing (sofia global siptrace on) and I would presumably see the relevant SIP packets.
But what can I do, check for in the logs, or check say in terms of a channel variable, that would enable me verify that a DTMF was being received as RFC2833 and not received in-band?
On Fri, 7 Jul 2017 at 14:51 Raúl Alexis Betancor Santana < rbetancor@gmail.com> wrote:
Out of band allways means 'out of the audio RTP stream' ... could be RFC2833 or could be SIP-INFO
2017-07-07 10:44 GMT+01:00 Mark Melling <mark.melling@savageminds.com>:
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@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
_________________________________________________________________________ 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
DTMF could be 'negotiated', so seen 101 is not always true ... ;) 2017-07-07 15:41 GMT+01:00 Aqs Younas <aqsyounas@gmail.com>:
if you see "101 telephone-event" in SDP, you are getting DTMF as rfc2833.
On 7 July 2017 at 18:59, Mark Melling <mark.melling@savageminds.com> wrote:
OK, Thanks
So if the DTMF was received as SIP-INFO I assume I could switch on sip tracing (sofia global siptrace on) and I would presumably see the relevant SIP packets.
But what can I do, check for in the logs, or check say in terms of a channel variable, that would enable me verify that a DTMF was being received as RFC2833 and not received in-band?
On Fri, 7 Jul 2017 at 14:51 Raúl Alexis Betancor Santana < rbetancor@gmail.com> wrote:
Out of band allways means 'out of the audio RTP stream' ... could be RFC2833 or could be SIP-INFO
2017-07-07 10:44 GMT+01:00 Mark Melling <mark.melling@savageminds.com>:
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@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
_________________________________________________________________________ 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
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@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@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
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@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@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@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
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@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@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@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@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
_________________________________________________________________________ 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
Thanks Brian. On Fri, 7 Jul 2017 at 16:51 Brian : <brians@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@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@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@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@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
_________________________________________________________________________ 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
RFC-2833 sends the DTMF as a special packet within the RTP stream. SIP-INFO sends it in the SIP dialog. INBAND DTMF come as a series of packets within the RTP stream that must be analyzed to find the frequencies corresponding to the different DTMF. I believe spandsp takes cares of this. Guillermo On Fri, Jul 7, 2017 at 1:14 PM, Mark Melling <mark.melling@savageminds.com> wrote:
Thanks Brian.
On Fri, 7 Jul 2017 at 16:51 Brian : <brians@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@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@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@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@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
____________________________________________________________
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
_________________________________________________________________________ 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
-- Guillermo Ruiz Camauer
Thanks for that, that is useful info. I posted a separate, but related question that you might have some suggestions about. Namely I'm assuming that for RFC-2833 DTMFs Freeswitch is generating a corresponding tone for the received DTMF (I don't know if this is actually true or not). If this is the case whether it is possible to disable this tone so that basically a user pressing a key (that generates a DTMF) doesn't hear anything. Thanks On Fri, 7 Jul 2017 at 19:22 Guillermo Ruiz Camauer <grcamauer@gmail.com> wrote:
RFC-2833 sends the DTMF as a special packet within the RTP stream. SIP-INFO sends it in the SIP dialog. INBAND DTMF come as a series of packets within the RTP stream that must be analyzed to find the frequencies corresponding to the different DTMF. I believe spandsp takes cares of this.
Guillermo
On Fri, Jul 7, 2017 at 1:14 PM, Mark Melling <mark.melling@savageminds.com
wrote:
Thanks Brian.
On Fri, 7 Jul 2017 at 16:51 Brian : <brians@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@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@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@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@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
_________________________________________________________________________
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
_________________________________________________________________________ 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
-- Guillermo Ruiz Camauer _________________________________________________________________________ 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
I don't know if FS allow you tu 'filter' the DTMFs and don't send them to the B leg ... but it doesn't matter either ... as if the B leg is hearing the DTMF it's because it's forwarded to it and it's the B leg SIP endpoint the responsible of 'let them hear it'. 2017-07-07 19:42 GMT+01:00 Mark Melling <mark.melling@savageminds.com>:
Thanks for that, that is useful info.
I posted a separate, but related question that you might have some suggestions about.
Namely I'm assuming that for RFC-2833 DTMFs Freeswitch is generating a corresponding tone for the received DTMF (I don't know if this is actually true or not). If this is the case whether it is possible to disable this tone so that basically a user pressing a key (that generates a DTMF) doesn't hear anything.
Thanks
On Fri, 7 Jul 2017 at 19:22 Guillermo Ruiz Camauer <grcamauer@gmail.com> wrote:
RFC-2833 sends the DTMF as a special packet within the RTP stream. SIP-INFO sends it in the SIP dialog. INBAND DTMF come as a series of packets within the RTP stream that must be analyzed to find the frequencies corresponding to the different DTMF. I believe spandsp takes cares of this.
Guillermo
On Fri, Jul 7, 2017 at 1:14 PM, Mark Melling < mark.melling@savageminds.com> wrote:
Thanks Brian.
On Fri, 7 Jul 2017 at 16:51 Brian : <brians@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@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@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@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@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
____________________________________________________________
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
____________________________________________________________ _____________ 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
-- Guillermo Ruiz Camauer _________________________________________________________________________ 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
Do you mead that the user ON THE OTHER END doesn't hear anything? Because I believe most devices will generate their own audible tone on the generating end. On Fri, Jul 7, 2017 at 3:42 PM, Mark Melling <mark.melling@savageminds.com> wrote:
Thanks for that, that is useful info.
I posted a separate, but related question that you might have some suggestions about.
Namely I'm assuming that for RFC-2833 DTMFs Freeswitch is generating a corresponding tone for the received DTMF (I don't know if this is actually true or not). If this is the case whether it is possible to disable this tone so that basically a user pressing a key (that generates a DTMF) doesn't hear anything.
Thanks
On Fri, 7 Jul 2017 at 19:22 Guillermo Ruiz Camauer <grcamauer@gmail.com> wrote:
RFC-2833 sends the DTMF as a special packet within the RTP stream. SIP-INFO sends it in the SIP dialog. INBAND DTMF come as a series of packets within the RTP stream that must be analyzed to find the frequencies corresponding to the different DTMF. I believe spandsp takes cares of this.
Guillermo
On Fri, Jul 7, 2017 at 1:14 PM, Mark Melling < mark.melling@savageminds.com> wrote:
Thanks Brian.
On Fri, 7 Jul 2017 at 16:51 Brian : <brians@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@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@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@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@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
____________________________________________________________
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
____________________________________________________________ _____________ 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
-- Guillermo Ruiz Camauer _________________________________________________________________________ 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
-- Guillermo Ruiz Camauer
Yes, I mean that the caller who is pressing the buttons (although in this case the button presses are automated as they are included at the end of the original dial string). The reason why I believe this is possible is that in a different set-up, not using Freeswitch (rather using Twilio) we were successfully able to transmit DTMFs (as part of dial string) and they were not audible to the caller. I'm just wondering as I type this, if the fact that they were part of the dial string is significant? On Fri, 7 Jul 2017 at 20:05 Guillermo Ruiz Camauer <grcamauer@gmail.com> wrote:
Do you mead that the user ON THE OTHER END doesn't hear anything? Because I believe most devices will generate their own audible tone on the generating end.
On Fri, Jul 7, 2017 at 3:42 PM, Mark Melling <mark.melling@savageminds.com
wrote:
Thanks for that, that is useful info.
I posted a separate, but related question that you might have some suggestions about.
Namely I'm assuming that for RFC-2833 DTMFs Freeswitch is generating a corresponding tone for the received DTMF (I don't know if this is actually true or not). If this is the case whether it is possible to disable this tone so that basically a user pressing a key (that generates a DTMF) doesn't hear anything.
Thanks
On Fri, 7 Jul 2017 at 19:22 Guillermo Ruiz Camauer <grcamauer@gmail.com> wrote:
RFC-2833 sends the DTMF as a special packet within the RTP stream. SIP-INFO sends it in the SIP dialog. INBAND DTMF come as a series of packets within the RTP stream that must be analyzed to find the frequencies corresponding to the different DTMF. I believe spandsp takes cares of this.
Guillermo
On Fri, Jul 7, 2017 at 1:14 PM, Mark Melling < mark.melling@savageminds.com> wrote:
Thanks Brian.
On Fri, 7 Jul 2017 at 16:51 Brian : <brians@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@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@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@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@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
_________________________________________________________________________
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
_________________________________________________________________________ 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
-- Guillermo Ruiz Camauer _________________________________________________________________________ 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
-- Guillermo Ruiz Camauer _________________________________________________________________________ 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
So what your are looking it's to do some kind of callthrought, but don't whant the caller to hear the DTMF ... regardless of if you could, on FS, mute the DTMF or not ... if the caller phone plays them, and most of smartphones DOES, they will be able to hear the tones. 2017-07-07 20:17 GMT+01:00 Mark Melling <mark.melling@savageminds.com>:
Yes, I mean that the caller who is pressing the buttons (although in this case the button presses are automated as they are included at the end of the original dial string).
The reason why I believe this is possible is that in a different set-up, not using Freeswitch (rather using Twilio) we were successfully able to transmit DTMFs (as part of dial string) and they were not audible to the caller.
I'm just wondering as I type this, if the fact that they were part of the dial string is significant?
On Fri, 7 Jul 2017 at 20:05 Guillermo Ruiz Camauer <grcamauer@gmail.com> wrote:
Do you mead that the user ON THE OTHER END doesn't hear anything? Because I believe most devices will generate their own audible tone on the generating end.
On Fri, Jul 7, 2017 at 3:42 PM, Mark Melling < mark.melling@savageminds.com> wrote:
Thanks for that, that is useful info.
I posted a separate, but related question that you might have some suggestions about.
Namely I'm assuming that for RFC-2833 DTMFs Freeswitch is generating a corresponding tone for the received DTMF (I don't know if this is actually true or not). If this is the case whether it is possible to disable this tone so that basically a user pressing a key (that generates a DTMF) doesn't hear anything.
Thanks
On Fri, 7 Jul 2017 at 19:22 Guillermo Ruiz Camauer <grcamauer@gmail.com> wrote:
RFC-2833 sends the DTMF as a special packet within the RTP stream. SIP-INFO sends it in the SIP dialog. INBAND DTMF come as a series of packets within the RTP stream that must be analyzed to find the frequencies corresponding to the different DTMF. I believe spandsp takes cares of this.
Guillermo
On Fri, Jul 7, 2017 at 1:14 PM, Mark Melling < mark.melling@savageminds.com> wrote:
Thanks Brian.
On Fri, 7 Jul 2017 at 16:51 Brian : <brians@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@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@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@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@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 > > > ____________________________________________________________ _____________ > 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
____________________________________________________________ _____________ 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
-- Guillermo Ruiz Camauer ____________________________________________________________ _____________ 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
-- Guillermo Ruiz Camauer _________________________________________________________________________ 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
So what your are looking it's to do some kind of callthrought, but don't whant the caller to hear the DTMF
This is what I'm trying to achieve. And to be clear the call is initiated from an Android phone. The DTMF digits are part of the dial string of the form <phone-number>,<some-digits># I'm not disagreeing with your comment that DTMF tones are audible at the smartphone end. I may have been approaching this problem in the wrong way, but what I do know is that with the previous system - which wasn't using Freeswitch, but Twilio we could successfully make calls from an android device and the DTMF tones were not audible at the android end. So what is going on that makes that possible? On Fri, 7 Jul 2017 at 20:43 Raúl Alexis Betancor Santana < rbetancor@gmail.com> wrote:
So what your are looking it's to do some kind of callthrought, but don't whant the caller to hear the DTMF ... regardless of if you could, on FS, mute the DTMF or not ... if the caller phone plays them, and most of smartphones DOES, they will be able to hear the tones.
2017-07-07 20:17 GMT+01:00 Mark Melling <mark.melling@savageminds.com>:
Yes, I mean that the caller who is pressing the buttons (although in this case the button presses are automated as they are included at the end of the original dial string).
The reason why I believe this is possible is that in a different set-up, not using Freeswitch (rather using Twilio) we were successfully able to transmit DTMFs (as part of dial string) and they were not audible to the caller.
I'm just wondering as I type this, if the fact that they were part of the dial string is significant?
On Fri, 7 Jul 2017 at 20:05 Guillermo Ruiz Camauer <grcamauer@gmail.com> wrote:
Do you mead that the user ON THE OTHER END doesn't hear anything? Because I believe most devices will generate their own audible tone on the generating end.
On Fri, Jul 7, 2017 at 3:42 PM, Mark Melling < mark.melling@savageminds.com> wrote:
Thanks for that, that is useful info.
I posted a separate, but related question that you might have some suggestions about.
Namely I'm assuming that for RFC-2833 DTMFs Freeswitch is generating a corresponding tone for the received DTMF (I don't know if this is actually true or not). If this is the case whether it is possible to disable this tone so that basically a user pressing a key (that generates a DTMF) doesn't hear anything.
Thanks
On Fri, 7 Jul 2017 at 19:22 Guillermo Ruiz Camauer <grcamauer@gmail.com> wrote:
RFC-2833 sends the DTMF as a special packet within the RTP stream. SIP-INFO sends it in the SIP dialog. INBAND DTMF come as a series of packets within the RTP stream that must be analyzed to find the frequencies corresponding to the different DTMF. I believe spandsp takes cares of this.
Guillermo
On Fri, Jul 7, 2017 at 1:14 PM, Mark Melling < mark.melling@savageminds.com> wrote:
Thanks Brian.
On Fri, 7 Jul 2017 at 16:51 Brian : <brians@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@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@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@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@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 > > > > > > > _________________________________________________________________________ > > 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
_________________________________________________________________________ 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
-- Guillermo Ruiz Camauer
_________________________________________________________________________ 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
-- Guillermo Ruiz Camauer _________________________________________________________________________ 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
_________________________________________________________________________ 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
Just to add to my previous comment - it was because with our previous set-up where DTMF digits at the end of the dial string were not audible that I assumed that it must be Freeswitch that was generating a tone for each received DTMF - may be this assumption is wrong. On Fri, 7 Jul 2017 at 21:07 Mark Melling <mark.melling@savageminds.com> wrote:
So what your are looking it's to do some kind of callthrought, but don't whant the caller to hear the DTMF
This is what I'm trying to achieve. And to be clear the call is initiated from an Android phone. The DTMF digits are part of the dial string of the form
<phone-number>,<some-digits>#
I'm not disagreeing with your comment that DTMF tones are audible at the smartphone end. I may have been approaching this problem in the wrong way, but what I do know is that with the previous system - which wasn't using Freeswitch, but Twilio we could successfully make calls from an android device and the DTMF tones were not audible at the android end.
So what is going on that makes that possible?
On Fri, 7 Jul 2017 at 20:43 Raúl Alexis Betancor Santana < rbetancor@gmail.com> wrote:
So what your are looking it's to do some kind of callthrought, but don't whant the caller to hear the DTMF ... regardless of if you could, on FS, mute the DTMF or not ... if the caller phone plays them, and most of smartphones DOES, they will be able to hear the tones.
2017-07-07 20:17 GMT+01:00 Mark Melling <mark.melling@savageminds.com>:
Yes, I mean that the caller who is pressing the buttons (although in this case the button presses are automated as they are included at the end of the original dial string).
The reason why I believe this is possible is that in a different set-up, not using Freeswitch (rather using Twilio) we were successfully able to transmit DTMFs (as part of dial string) and they were not audible to the caller.
I'm just wondering as I type this, if the fact that they were part of the dial string is significant?
On Fri, 7 Jul 2017 at 20:05 Guillermo Ruiz Camauer <grcamauer@gmail.com> wrote:
Do you mead that the user ON THE OTHER END doesn't hear anything? Because I believe most devices will generate their own audible tone on the generating end.
On Fri, Jul 7, 2017 at 3:42 PM, Mark Melling < mark.melling@savageminds.com> wrote:
Thanks for that, that is useful info.
I posted a separate, but related question that you might have some suggestions about.
Namely I'm assuming that for RFC-2833 DTMFs Freeswitch is generating a corresponding tone for the received DTMF (I don't know if this is actually true or not). If this is the case whether it is possible to disable this tone so that basically a user pressing a key (that generates a DTMF) doesn't hear anything.
Thanks
On Fri, 7 Jul 2017 at 19:22 Guillermo Ruiz Camauer < grcamauer@gmail.com> wrote:
RFC-2833 sends the DTMF as a special packet within the RTP stream. SIP-INFO sends it in the SIP dialog. INBAND DTMF come as a series of packets within the RTP stream that must be analyzed to find the frequencies corresponding to the different DTMF. I believe spandsp takes cares of this.
Guillermo
On Fri, Jul 7, 2017 at 1:14 PM, Mark Melling < mark.melling@savageminds.com> wrote:
> Thanks Brian. > > > On Fri, 7 Jul 2017 at 16:51 Brian : <brians@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@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@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@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@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 >> > >> > >> > >> _________________________________________________________________________ >> > 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 > > > > _________________________________________________________________________ > 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 >
-- Guillermo Ruiz Camauer
_________________________________________________________________________ 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
-- Guillermo Ruiz Camauer
_________________________________________________________________________ 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
_________________________________________________________________________ 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
Maybe you are looking for drop_dtmf() https://wiki.freeswitch.org/wiki/Variable_drop_dtmf -- Sent with Airmail From: Mark Melling <mark.melling@savageminds.com> <mark.melling@savageminds.com> Reply: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> <freeswitch-users@lists.freeswitch.org> Date: July 8, 2017 at 1:23:37 AM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] How do you determine if DTMFs received are in-band or out-of-band? Just to add to my previous comment - it was because with our previous set-up where DTMF digits at the end of the dial string were not audible that I assumed that it must be Freeswitch that was generating a tone for each received DTMF - may be this assumption is wrong. On Fri, 7 Jul 2017 at 21:07 Mark Melling <mark.melling@savageminds.com> wrote:
So what your are looking it's to do some kind of callthrought, but don't whant the caller to hear the DTMF
This is what I'm trying to achieve. And to be clear the call is initiated from an Android phone. The DTMF digits are part of the dial string of the form
<phone-number>,<some-digits>#
I'm not disagreeing with your comment that DTMF tones are audible at the smartphone end. I may have been approaching this problem in the wrong way, but what I do know is that with the previous system - which wasn't using Freeswitch, but Twilio we could successfully make calls from an android device and the DTMF tones were not audible at the android end.
So what is going on that makes that possible?
On Fri, 7 Jul 2017 at 20:43 Raúl Alexis Betancor Santana < rbetancor@gmail.com> wrote:
So what your are looking it's to do some kind of callthrought, but don't whant the caller to hear the DTMF ... regardless of if you could, on FS, mute the DTMF or not ... if the caller phone plays them, and most of smartphones DOES, they will be able to hear the tones.
2017-07-07 20:17 GMT+01:00 Mark Melling <mark.melling@savageminds.com>:
Yes, I mean that the caller who is pressing the buttons (although in this case the button presses are automated as they are included at the end of the original dial string).
The reason why I believe this is possible is that in a different set-up, not using Freeswitch (rather using Twilio) we were successfully able to transmit DTMFs (as part of dial string) and they were not audible to the caller.
I'm just wondering as I type this, if the fact that they were part of the dial string is significant?
On Fri, 7 Jul 2017 at 20:05 Guillermo Ruiz Camauer <grcamauer@gmail.com> wrote:
Do you mead that the user ON THE OTHER END doesn't hear anything? Because I believe most devices will generate their own audible tone on the generating end.
On Fri, Jul 7, 2017 at 3:42 PM, Mark Melling < mark.melling@savageminds.com> wrote:
Thanks for that, that is useful info.
I posted a separate, but related question that you might have some suggestions about.
Namely I'm assuming that for RFC-2833 DTMFs Freeswitch is generating a corresponding tone for the received DTMF (I don't know if this is actually true or not). If this is the case whether it is possible to disable this tone so that basically a user pressing a key (that generates a DTMF) doesn't hear anything.
Thanks
On Fri, 7 Jul 2017 at 19:22 Guillermo Ruiz Camauer < grcamauer@gmail.com> wrote:
RFC-2833 sends the DTMF as a special packet within the RTP stream. SIP-INFO sends it in the SIP dialog. INBAND DTMF come as a series of packets within the RTP stream that must be analyzed to find the frequencies corresponding to the different DTMF. I believe spandsp takes cares of this.
Guillermo
On Fri, Jul 7, 2017 at 1:14 PM, Mark Melling < mark.melling@savageminds.com> wrote:
> Thanks Brian. > > > On Fri, 7 Jul 2017 at 16:51 Brian : <brians@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@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@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@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@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 >> > >> > >> > >> _________________________________________________________________________ >> > 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 > > > > _________________________________________________________________________ > 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 >
-- Guillermo Ruiz Camauer
_________________________________________________________________________ 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
-- Guillermo Ruiz Camauer
_________________________________________________________________________ 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
_________________________________________________________________________ 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
participants (6)
-
Aqs Younas
-
Brian :
-
Guillermo Ruiz Camauer
-
Mark Melling
-
Muhammad Naseer Bhatti
-
Raúl Alexis Betancor Santana