Built motion from commit d3260923e.|1.0.29
[motion.git] / server / api / fax_message / fax_message.ami.js
index 9b8d60b..6ae5dc2 100644 (file)
@@ -1 +1 @@
-var _0x4ae7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x72\x65\x67\x69\x73\x74\x65\x72","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65\x20\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x6C\x6F\x67","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x4E\x4F\x54\x20\x53\x45\x4E\x54","\x61\x63\x74\x69\x6F\x6E\x69\x64","\x62\x6F\x64\x79","\x70\x61\x72\x73\x65","\x66\x61\x78\x42\x6F\x64\x79","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6F\x72\x69\x67\x69\x6E\x61\x74\x65","\x66\x72\x6F\x6D","\x25\x73\x2F\x25\x73\x40\x25\x73","\x74\x65\x63\x68\x6E\x6F\x6C\x6F\x67\x79","\x74\x6F","\x6E\x61\x6D\x65","\x66\x6F\x72\x6D\x61\x74","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x73","\x74\x72\x75\x65","\x6D\x61\x78\x72\x61\x74\x65","\x6D\x69\x6E\x72\x61\x74\x65","\x65\x63\x6D","\x79\x65\x73","\x6E\x6F","\x66\x61\x78\x5F\x6C\x6F\x63\x61\x6C\x69\x64","\x66\x61\x78\x5F\x66\x69\x6C\x65","\x66\x61\x78\x5F\x68\x65\x61\x64\x65\x72","\x75\x75\x69\x64","\x46\x41\x49\x4C\x45\x44","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x61\x63\x74\x69\x6F\x6E","\x74\x68\x65\x6E","\x69\x64","\x74\x72\x75\x6E\x6B","\x66\x69\x6E\x64\x42\x79\x49\x64"];_0x4ae7[0];var _=require(_0x4ae7[1]);var util=require(_0x4ae7[2]);var FaxMessage=require(_0x4ae7[4])[_0x4ae7[3]];var Trunk=require(_0x4ae7[4])[_0x4ae7[5]];exports[_0x4ae7[6]]= function(_0x303fx5){FaxMessage[_0x4ae7[9]](function(_0x303fx6){console[_0x4ae7[8]](_0x4ae7[7])})};function onSave(_0x303fx5,_0x303fx6,_0x303fx8){if(_0x303fx6[_0x4ae7[10]]=== _0x4ae7[11]&&  !_0x303fx6[_0x4ae7[12]]){var _0x303fx9=JSON[_0x4ae7[14]](_0x303fx6[_0x4ae7[13]]);console[_0x4ae7[8]](_0x4ae7[15],_0x303fx9);Trunk[_0x4ae7[44]](_0x303fx9[_0x4ae7[43]][_0x4ae7[42]])[_0x4ae7[41]](function(_0x303fxb){var _0x303fxc={Action:_0x4ae7[18],CallerID:_0x303fx9[_0x4ae7[19]],Channel:util[_0x4ae7[24]](_0x4ae7[20],_0x303fx9[_0x4ae7[21]],_0x303fx9[_0x4ae7[22]],_0x303fxb[_0x4ae7[23]]),Context:_0x4ae7[25],Exten:_0x4ae7[26],Priority:1,Async:_0x4ae7[27],Variable:{MAXRATE:_0x303fx9[_0x4ae7[28]],MINRATE:_0x303fx9[_0x4ae7[29]],ECM:_0x303fx9[_0x4ae7[30]]?_0x4ae7[31]:_0x4ae7[32],LOCALID:_0x303fx9[_0x4ae7[33]],FAXFILE:_0x303fx9[_0x4ae7[34]],FAXHEADER:_0x303fx9[_0x4ae7[35]],FAXUUID:_0x303fx9[_0x4ae7[36]]}};_0x303fx5[_0x4ae7[40]](_0x303fxc,function(_0x303fxa,_0x303fxd){if(_0x303fxa){_0x303fx6[_0x4ae7[38]]({status:_0x4ae7[37]})}else {if(_0x303fxd[_0x4ae7[39]]&& _0x303fxd[_0x4ae7[12]]){_0x303fx6[_0x4ae7[38]]({actionid:_0x303fxd[_0x4ae7[12]]})}}})})[_0x4ae7[17]](function(_0x303fxa){console[_0x4ae7[16]](_0x303fxa)})}}
\ No newline at end of file
+var _0x1e51=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x72\x65\x67\x69\x73\x74\x65\x72","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65\x20\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x6C\x6F\x67","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x4E\x4F\x54\x20\x53\x45\x4E\x54","\x61\x63\x74\x69\x6F\x6E\x69\x64","\x62\x6F\x64\x79","\x70\x61\x72\x73\x65","\x66\x61\x78\x42\x6F\x64\x79","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6F\x72\x69\x67\x69\x6E\x61\x74\x65","\x66\x72\x6F\x6D","\x25\x73\x2F\x25\x73\x40\x25\x73","\x74\x65\x63\x68\x6E\x6F\x6C\x6F\x67\x79","\x74\x6F","\x6E\x61\x6D\x65","\x66\x6F\x72\x6D\x61\x74","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x73","\x74\x72\x75\x65","\x6D\x61\x78\x72\x61\x74\x65","\x6D\x69\x6E\x72\x61\x74\x65","\x65\x63\x6D","\x79\x65\x73","\x6E\x6F","\x66\x61\x78\x5F\x6C\x6F\x63\x61\x6C\x69\x64","\x66\x61\x78\x5F\x66\x69\x6C\x65","\x66\x61\x78\x5F\x68\x65\x61\x64\x65\x72","\x75\x75\x69\x64","\x46\x41\x49\x4C\x45\x44","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x61\x63\x74\x69\x6F\x6E","\x74\x68\x65\x6E","\x69\x64","\x74\x72\x75\x6E\x6B","\x66\x69\x6E\x64\x42\x79\x49\x64"];_0x1e51[0];var _=require(_0x1e51[1]);var util=require(_0x1e51[2]);var FaxMessage=require(_0x1e51[4])[_0x1e51[3]];var Trunk=require(_0x1e51[4])[_0x1e51[5]];exports[_0x1e51[6]]= function(_0x9cadx5){FaxMessage[_0x1e51[9]](function(_0x9cadx6){console[_0x1e51[8]](_0x1e51[7])})};function onSave(_0x9cadx5,_0x9cadx6,_0x9cadx8){if(_0x9cadx6[_0x1e51[10]]=== _0x1e51[11]&&  !_0x9cadx6[_0x1e51[12]]){var _0x9cadx9=JSON[_0x1e51[14]](_0x9cadx6[_0x1e51[13]]);console[_0x1e51[8]](_0x1e51[15],_0x9cadx9);Trunk[_0x1e51[44]](_0x9cadx9[_0x1e51[43]][_0x1e51[42]])[_0x1e51[41]](function(_0x9cadxb){var _0x9cadxc={Action:_0x1e51[18],CallerID:_0x9cadx9[_0x1e51[19]],Channel:util[_0x1e51[24]](_0x1e51[20],_0x9cadx9[_0x1e51[21]],_0x9cadx9[_0x1e51[22]],_0x9cadxb[_0x1e51[23]]),Context:_0x1e51[25],Exten:_0x1e51[26],Priority:1,Async:_0x1e51[27],Variable:{MAXRATE:_0x9cadx9[_0x1e51[28]],MINRATE:_0x9cadx9[_0x1e51[29]],ECM:_0x9cadx9[_0x1e51[30]]?_0x1e51[31]:_0x1e51[32],LOCALID:_0x9cadx9[_0x1e51[33]],FAXFILE:_0x9cadx9[_0x1e51[34]],FAXHEADER:_0x9cadx9[_0x1e51[35]],FAXUUID:_0x9cadx9[_0x1e51[36]]}};_0x9cadx5[_0x1e51[40]](_0x9cadxc,function(_0x9cadxa,_0x9cadxd){if(_0x9cadxa){_0x9cadx6[_0x1e51[38]]({status:_0x1e51[37]})}else {if(_0x9cadxd[_0x1e51[39]]&& _0x9cadxd[_0x1e51[12]]){_0x9cadx6[_0x1e51[38]]({actionid:_0x9cadxd[_0x1e51[12]]})}}})})[_0x1e51[17]](function(_0x9cadxa){console[_0x1e51[16]](_0x9cadxa)})}}
\ No newline at end of file