58b8b0380e0149387e1f65477f6f7bc2b9c9e43d
[motion.git] / server / api / voice_voicemail / voice_voicemail.socket.js
1 var _0x404f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x56\x6F\x69\x63\x65\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65\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\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x3A\x72\x65\x6D\x6F\x76\x65","\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x3A\x73\x61\x76\x65","\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x3A\x72\x65\x6D\x6F\x76\x65"];_0x404f[0];var VoiceVoicemail=require(_0x404f[2])[_0x404f[1]];var VoiceVoicemailMessages=require(_0x404f[2])[_0x404f[3]];exports[_0x404f[4]]=function(_0x2e6cx3){VoiceVoicemail[_0x404f[5]](function(_0x2e6cx4){onSave(_0x2e6cx3,_0x2e6cx4)});VoiceVoicemail[_0x404f[6]](function(_0x2e6cx4){onRemove(_0x2e6cx3,_0x2e6cx4)});VoiceVoicemailMessages[_0x404f[5]](function(_0x2e6cx4){onMessageSave(_0x2e6cx3,_0x2e6cx4)});VoiceVoicemailMessages[_0x404f[6]](function(_0x2e6cx4){onMessageRemove(_0x2e6cx3,_0x2e6cx4)})};function onSave(_0x2e6cx3,_0x2e6cx4,_0x2e6cx6){_0x2e6cx3[_0x404f[8]](_0x404f[7],_0x2e6cx4)}function onRemove(_0x2e6cx3,_0x2e6cx4,_0x2e6cx6){_0x2e6cx3[_0x404f[8]](_0x404f[9],_0x2e6cx4)}function onMessageSave(_0x2e6cx3,_0x2e6cx4,_0x2e6cx6){_0x2e6cx3[_0x404f[8]](_0x404f[10],_0x2e6cx4)}function onMessageRemove(_0x2e6cx3,_0x2e6cx4,_0x2e6cx6){_0x2e6cx3[_0x404f[8]](_0x404f[11],_0x2e6cx4)}