Open adriavidal opened 1 year ago
Your console request is likely executing before the channel var has been set. Try putting as setTimeout, or listeing for an event that the channel var has been set?
@adriavidal , the channel name content id of channel?
I've stop using the library in the project.
Will try if needed in the future, thanks
Missatge de dorlanpabon @.***> del dia dt., 5 de març 2024 a les 14:32:
@adriavidal https://github.com/adriavidal , the channel name content id of channel?
— Reply to this email directly, view it on GitHub https://github.com/asterisk/node-ari-client/issues/155#issuecomment-1978784447, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFRMEO2SZHZ3PCL6HLICGLYWXCNJAVCNFSM6AAAAAAVQ5GQHKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZYG44DINBUG4 . You are receiving this because you were mentioned.Message ID: @.***>
I'm triying to use the setChannelVar ,but nothing comes to the Asterisk side.
Tried like these
channel.setChannelVar( {channelId: channel.id, CUSTOM_DIGITS: digit}, function (err) {}
and like these too.