Built motion from commit 762158a.|0.0.23
[motion.git] / server / api / voice_musiconhold / voice_musiconhold.socket.js
1 var _0xda4e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x56\x6F\x69\x63\x65\x4D\x75\x73\x69\x63\x4F\x6E\x48\x6F\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x76\x6F\x69\x63\x65\x5F\x6D\x75\x73\x69\x63\x6F\x6E\x68\x6F\x6C\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x76\x6F\x69\x63\x65\x5F\x6D\x75\x73\x69\x63\x6F\x6E\x68\x6F\x6C\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0xda4e[0];var VoiceMusicOnHold=require(_0xda4e[2])[_0xda4e[1]];exports[_0xda4e[3]]=function(_0x4cdbx2){VoiceMusicOnHold[_0xda4e[4]](function(_0x4cdbx3){onSave(_0x4cdbx2,_0x4cdbx3)});VoiceMusicOnHold[_0xda4e[5]](function(_0x4cdbx3){onRemove(_0x4cdbx2,_0x4cdbx3)});};function onSave(_0x4cdbx2,_0x4cdbx3,_0x4cdbx5){_0x4cdbx2[_0xda4e[7]](_0xda4e[6],_0x4cdbx3)}function onRemove(_0x4cdbx2,_0x4cdbx3,_0x4cdbx5){_0x4cdbx2[_0xda4e[7]](_0xda4e[8],_0x4cdbx3)}