I know it's a rare topic here, just try my luck to get solution.
How can I create a new KeyValueCollection under the AttributeExtension? My situation now is I want to change the music on hold (MOH) based on caller's preferred language. This is the RequestHoldCall message that I've got from someone:
message RequestHoldCall
AttributeThisDN '1234'
AttributeConnID 008101f3c4570003
AttributeExtensions [35] 00 01 00 00..
'music' '\music\on_hold\pcmu.wav'
AttributeReferenceID 10
I was told that if I can change the value of the music file under AttributeExtension, then it can work. My problem is I don't have AttributeExtension in my RequestHoldCall message. So how can I add it or set it in my coding?
By the way, I'm developing an agent desktop with the use of Genesys Platform SDK 8.5.