[ARI] Start moh with of specific class

Hello,

I am trying to start music-on-hold on a channel while specifying the class name with ARI (v13). It keeps using the default class instead of the one a asked. my code is :
"/ari/channels/" + ChannelId + “/moh?mohClass=” + MohClass

From the dialplan it works correctly:
exten => 466,3,Set(CHANNEL(MUSICCLASS)=CHOK)
exten => 466,4,MusicOnHold()

What am I missing?

Thanks,
Eyal.

Howdy,

Most of the ARI-related traffic (people that use ARI) takes place on this mailing list:

lists.digium.com/cgi-bin/mailman … sk-app-dev

You’ll probably get a better response by posting there.

Cheers