Hello,
I’m trying to send DTMF tones to a channel via ARI client (Java or NodeJS) and none seems to work. It gives me no errors but also no websocket events from asterisk. But if I press a key on the phone, asterisk responds with a ChannelDtmfReceived event as expected. What am I doing wrong?
I am using Asterisk 13 and 16 and Yate as softphone and CHAN_SIP extensions.
Here are my logs after invoking the above URL:
[2019-11-04 08:37:31] DEBUG[28468]: http.c:1405 handle_uri: HTTP Request URI is /ari/channels/f1414263-d73f-4fab-afc7-9ee190cbd97a/dtmf?dtmf=5&before=100&between=100&duration=100&after=100
…
[2019-11-04 08:37:31] DEBUG[28468]: res_ari.c:502 ast_ari_invoke: Checking dtmf
[2019-11-04 08:37:31] DEBUG[28468]: res_ari.c:522 ast_ari_invoke: Got it!
[2019-11-04 08:37:31] DEBUG[28436]: channel.c:5405 set_format: Set channel SIP/703-0000002d to write format slin
[2019-11-04 08:37:31] DEBUG[28436]: channel.c:3419 ast_settimeout_full: Scheduling timer at (50 requested / 50 actual) timer ticks per second
[2019-11-04 08:37:31] DEBUG[28436]: channel.c:7822 ast_channel_start_silence_generator: Started silence generator on ‘SIP/703-0000002d’
[2019-11-04 08:37:31] DEBUG[28436]: channel.c:3083 ast_waitfor_nandfds: Thread 0x7f4a140db700 is blocking ‘SIP/703-0000002d’, already blocked by thread 0x7f49bc874700 in procedure ast_waitfor_nandfds
[2019-11-04 08:37:31] DEBUG[28468]: res_ari.c:1000 ast_ari_callback: Examining ARI response:
204 No Content
Any help will be appreciated. Thank you!!
BR,
JB