DTMF not working in my installation
Hello again, kind Freeswitch group. I am using ESL to control my calls entirely from a Node application. I am using the 'modesl <https://github.com/englercj/node-esl>' package to create an ESL connection and listen to the FS events <https://freeswitch.org/confluence/display/FREESWITCH/Event+List> and then answer a call if the number matches a dialplan I want to control using the mod_command "uuid_answer." I have gotten as far as attempting to recognise DTMF events, but I am getting no DTMF events through. So, I tested my Freeswitch installation using the IVR demo, and it looks like DTMF is not being received by Freeswitch at all. I monitored fs_cli and I can see that the demo is just waiting for digits, even though I can hear them being pressed in my softphone. Is there any particular modules that I need to ensure are installed, or configuration I need to make in order to enable DTMF? In a previous email to this list, I saw a message advising to set the following in sofia.conf. <param name="dtmf-type" value="rfc2833"/> I can see that the property is loaded inside sip_profiles > internal.xml But changing this has had no effect. I still do not get any DTMF events being recognised in fs_cli Many thanks for any help or advice you can provide. Kind regards, Euan
Hi Euan. I think you should probably check how your softphone sends DTMF (usually could be in-band, rfc2833 or SIP Info, and you have set FS to work with rfc2833 dtmf). Setting liberal-dtmf parameter could be of some help sometimes https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Fil... Hope it helps. SB Il giorno lun 27 mag 2019 alle ore 16:47 Euan Millar < euan@ensemblepourladifference.org> ha scritto:
Hello again, kind Freeswitch group.
I am using ESL to control my calls entirely from a Node application. I am using the 'modesl <https://github.com/englercj/node-esl>' package to create an ESL connection and listen to the FS events <https://freeswitch.org/confluence/display/FREESWITCH/Event+List> and then answer a call if the number matches a dialplan I want to control using the mod_command "uuid_answer."
I have gotten as far as attempting to recognise DTMF events, but I am getting no DTMF events through.
So, I tested my Freeswitch installation using the IVR demo, and it looks like DTMF is not being received by Freeswitch at all. I monitored fs_cli and I can see that the demo is just waiting for digits, even though I can hear them being pressed in my softphone.
Is there any particular modules that I need to ensure are installed, or configuration I need to make in order to enable DTMF?
In a previous email to this list, I saw a message advising to set the following in sofia.conf.
<param name="dtmf-type" value="rfc2833"/>
I can see that the property is loaded inside sip_profiles > internal.xml
But changing this has had no effect. I still do not get any DTMF events being recognised in fs_cli
Many thanks for any help or advice you can provide.
Kind regards,
Euan
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
Hi Euan, Maybe your device is sending in-band DTMF while your software expects RFC-2833. Try setting: <action application="start_dtmf"/> in the dialplan entry. cheers, Piotr Gregor Software Engineer M: (+44) 07483 866 525 L: (+44) 01444 415 862 www: dataandsignal.com On Wed, May 29, 2019 at 11:25 PM Sandro Bordacchini < sandro.bordacchini@nems.it> wrote:
Hi Euan. I think you should probably check how your softphone sends DTMF (usually could be in-band, rfc2833 or SIP Info, and you have set FS to work with rfc2833 dtmf). Setting liberal-dtmf parameter could be of some help sometimes https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Fil...
Hope it helps. SB
Il giorno lun 27 mag 2019 alle ore 16:47 Euan Millar < euan@ensemblepourladifference.org> ha scritto:
Hello again, kind Freeswitch group.
I am using ESL to control my calls entirely from a Node application. I am using the 'modesl <https://github.com/englercj/node-esl>' package to create an ESL connection and listen to the FS events <https://freeswitch.org/confluence/display/FREESWITCH/Event+List> and then answer a call if the number matches a dialplan I want to control using the mod_command "uuid_answer."
I have gotten as far as attempting to recognise DTMF events, but I am getting no DTMF events through.
So, I tested my Freeswitch installation using the IVR demo, and it looks like DTMF is not being received by Freeswitch at all. I monitored fs_cli and I can see that the demo is just waiting for digits, even though I can hear them being pressed in my softphone.
Is there any particular modules that I need to ensure are installed, or configuration I need to make in order to enable DTMF?
In a previous email to this list, I saw a message advising to set the following in sofia.conf.
<param name="dtmf-type" value="rfc2833"/>
I can see that the property is loaded inside sip_profiles > internal.xml
But changing this has had no effect. I still do not get any DTMF events being recognised in fs_cli
Many thanks for any help or advice you can provide.
Kind regards,
Euan
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
participants (3)
-
Euan Millar
-
Piotr Gregor
-
Sandro Bordacchini