Hi, In Verto JS is there a way to detect if/when the following methods succeed or fail: call.dtmf() verto.newCall() For verto.newCall() for example, if it cannot connect through the websocket, it gets stuck in the requesting state. If there is no other way, I can do my own timeout and check the state then. Not ideal but if it's the recommended way, it can be done. However for call.dtmf() there does not seem any way to know whether it actually reached the FS or failed in some way.
Did you try with verto-debug=10 ?
From client side you should be able to subscribe to specific events and then receive them on client side, that is also configurable in Verto conf, i guess you should see failed event there.
On Wed, Sep 21, 2016 at 8:44 PM, Oleg Stolyar <olegstolyar@gmail.com> wrote:
Hi,
In Verto JS is there a way to detect if/when the following methods succeed or fail:
call.dtmf() verto.newCall()
For verto.newCall() for example, if it cannot connect through the websocket, it gets stuck in the requesting state. If there is no other way, I can do my own timeout and check the state then. Not ideal but if it's the recommended way, it can be done.
However for call.dtmf() there does not seem any way to know whether it actually reached the FS or failed in some way.
_________________________________________________________________________ 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
-- Regards, Mirko ¯\_(ツ)_/¯
participants (2)
-
Mirko Brankovic
-
Oleg Stolyar