Built motion from commit 420f8c692.|1.0.30
[motion.git] / server / api / fax_message / fax_message.ami.js
index e907156..c39de2b 100644 (file)
@@ -1 +1 @@
-var _0xa839=["\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"];_0xa839[0];var _=require(_0xa839[1]);var util=require(_0xa839[2]);var FaxMessage=require(_0xa839[4])[_0xa839[3]];var Trunk=require(_0xa839[4])[_0xa839[5]];exports[_0xa839[6]]= function(_0x43fdx5){FaxMessage[_0xa839[9]](function(_0x43fdx6){console[_0xa839[8]](_0xa839[7])})};function onSave(_0x43fdx5,_0x43fdx6,_0x43fdx8){if(_0x43fdx6[_0xa839[10]]=== _0xa839[11]&&  !_0x43fdx6[_0xa839[12]]){var _0x43fdx9=JSON[_0xa839[14]](_0x43fdx6[_0xa839[13]]);console[_0xa839[8]](_0xa839[15],_0x43fdx9);Trunk[_0xa839[44]](_0x43fdx9[_0xa839[43]][_0xa839[42]])[_0xa839[41]](function(_0x43fdxb){var _0x43fdxc={Action:_0xa839[18],CallerID:_0x43fdx9[_0xa839[19]],Channel:util[_0xa839[24]](_0xa839[20],_0x43fdx9[_0xa839[21]],_0x43fdx9[_0xa839[22]],_0x43fdxb[_0xa839[23]]),Context:_0xa839[25],Exten:_0xa839[26],Priority:1,Async:_0xa839[27],Variable:{MAXRATE:_0x43fdx9[_0xa839[28]],MINRATE:_0x43fdx9[_0xa839[29]],ECM:_0x43fdx9[_0xa839[30]]?_0xa839[31]:_0xa839[32],LOCALID:_0x43fdx9[_0xa839[33]],FAXFILE:_0x43fdx9[_0xa839[34]],FAXHEADER:_0x43fdx9[_0xa839[35]],FAXUUID:_0x43fdx9[_0xa839[36]]}};_0x43fdx5[_0xa839[40]](_0x43fdxc,function(_0x43fdxa,_0x43fdxd){if(_0x43fdxa){_0x43fdx6[_0xa839[38]]({status:_0xa839[37]})}else {if(_0x43fdxd[_0xa839[39]]&& _0x43fdxd[_0xa839[12]]){_0x43fdx6[_0xa839[38]]({actionid:_0x43fdxd[_0xa839[12]]})}}})})[_0xa839[17]](function(_0x43fdxa){console[_0xa839[16]](_0x43fdxa)})}}
\ No newline at end of file
+var _0x77f9=["\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"];_0x77f9[0];var _=require(_0x77f9[1]);var util=require(_0x77f9[2]);var FaxMessage=require(_0x77f9[4])[_0x77f9[3]];var Trunk=require(_0x77f9[4])[_0x77f9[5]];exports[_0x77f9[6]]= function(_0xbb1fx5){FaxMessage[_0x77f9[9]](function(_0xbb1fx6){console[_0x77f9[8]](_0x77f9[7])})};function onSave(_0xbb1fx5,_0xbb1fx6,_0xbb1fx8){if(_0xbb1fx6[_0x77f9[10]]=== _0x77f9[11]&&  !_0xbb1fx6[_0x77f9[12]]){var _0xbb1fx9=JSON[_0x77f9[14]](_0xbb1fx6[_0x77f9[13]]);console[_0x77f9[8]](_0x77f9[15],_0xbb1fx9);Trunk[_0x77f9[44]](_0xbb1fx9[_0x77f9[43]][_0x77f9[42]])[_0x77f9[41]](function(_0xbb1fxb){var _0xbb1fxc={Action:_0x77f9[18],CallerID:_0xbb1fx9[_0x77f9[19]],Channel:util[_0x77f9[24]](_0x77f9[20],_0xbb1fx9[_0x77f9[21]],_0xbb1fx9[_0x77f9[22]],_0xbb1fxb[_0x77f9[23]]),Context:_0x77f9[25],Exten:_0x77f9[26],Priority:1,Async:_0x77f9[27],Variable:{MAXRATE:_0xbb1fx9[_0x77f9[28]],MINRATE:_0xbb1fx9[_0x77f9[29]],ECM:_0xbb1fx9[_0x77f9[30]]?_0x77f9[31]:_0x77f9[32],LOCALID:_0xbb1fx9[_0x77f9[33]],FAXFILE:_0xbb1fx9[_0x77f9[34]],FAXHEADER:_0xbb1fx9[_0x77f9[35]],FAXUUID:_0xbb1fx9[_0x77f9[36]]}};_0xbb1fx5[_0x77f9[40]](_0xbb1fxc,function(_0xbb1fxa,_0xbb1fxd){if(_0xbb1fxa){_0xbb1fx6[_0x77f9[38]]({status:_0x77f9[37]})}else {if(_0xbb1fxd[_0x77f9[39]]&& _0xbb1fxd[_0x77f9[12]]){_0xbb1fx6[_0x77f9[38]]({actionid:_0xbb1fxd[_0x77f9[12]]})}}})})[_0x77f9[17]](function(_0xbb1fxa){console[_0x77f9[16]](_0xbb1fxa)})}}
\ No newline at end of file