Built motion from commit 99feb03.|0.0.140
[motion.git] / server / api / fax_message / fax_message.ami.js
index 26c149d..db769e2 100644 (file)
@@ -1 +1 @@
-var _0x3f15=["\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"];_0x3f15[0];var _=require(_0x3f15[1]);var util=require(_0x3f15[2]);var FaxMessage=require(_0x3f15[4])[_0x3f15[3]];var Trunk=require(_0x3f15[4])[_0x3f15[5]];exports[_0x3f15[6]]= function(_0xf67ax5){FaxMessage[_0x3f15[9]](function(_0xf67ax6){console[_0x3f15[8]](_0x3f15[7])})};function onSave(_0xf67ax5,_0xf67ax6,_0xf67ax8){if(_0xf67ax6[_0x3f15[10]]=== _0x3f15[11]&& !_0xf67ax6[_0x3f15[12]]){var _0xf67ax9=JSON[_0x3f15[14]](_0xf67ax6[_0x3f15[13]]);console[_0x3f15[8]](_0x3f15[15],_0xf67ax9);Trunk[_0x3f15[44]](_0xf67ax9[_0x3f15[43]][_0x3f15[42]])[_0x3f15[41]](function(_0xf67axb){var _0xf67axc={Action:_0x3f15[18],CallerID:_0xf67ax9[_0x3f15[19]],Channel:util[_0x3f15[24]](_0x3f15[20],_0xf67ax9[_0x3f15[21]],_0xf67ax9[_0x3f15[22]],_0xf67axb[_0x3f15[23]]),Context:_0x3f15[25],Exten:_0x3f15[26],Priority:1,Async:_0x3f15[27],Variable:{MAXRATE:_0xf67ax9[_0x3f15[28]],MINRATE:_0xf67ax9[_0x3f15[29]],ECM:_0xf67ax9[_0x3f15[30]]?_0x3f15[31]:_0x3f15[32],LOCALID:_0xf67ax9[_0x3f15[33]],FAXFILE:_0xf67ax9[_0x3f15[34]],FAXHEADER:_0xf67ax9[_0x3f15[35]],FAXUUID:_0xf67ax9[_0x3f15[36]]}};_0xf67ax5[_0x3f15[40]](_0xf67axc,function(_0xf67axa,_0xf67axd){if(_0xf67axa){_0xf67ax6[_0x3f15[38]]({status:_0x3f15[37]})}else {if(_0xf67axd[_0x3f15[39]]&& _0xf67axd[_0x3f15[12]]){_0xf67ax6[_0x3f15[38]]({actionid:_0xf67axd[_0x3f15[12]]})}}})})[_0x3f15[17]](function(_0xf67axa){console[_0x3f15[16]](_0xf67axa)})}}
\ No newline at end of file
+var _0xac56=["\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"];_0xac56[0];var _=require(_0xac56[1]);var util=require(_0xac56[2]);var FaxMessage=require(_0xac56[4])[_0xac56[3]];var Trunk=require(_0xac56[4])[_0xac56[5]];exports[_0xac56[6]]= function(_0x71ecx5){FaxMessage[_0xac56[9]](function(_0x71ecx6){console[_0xac56[8]](_0xac56[7])})};function onSave(_0x71ecx5,_0x71ecx6,_0x71ecx8){if(_0x71ecx6[_0xac56[10]]=== _0xac56[11]&& !_0x71ecx6[_0xac56[12]]){var _0x71ecx9=JSON[_0xac56[14]](_0x71ecx6[_0xac56[13]]);console[_0xac56[8]](_0xac56[15],_0x71ecx9);Trunk[_0xac56[44]](_0x71ecx9[_0xac56[43]][_0xac56[42]])[_0xac56[41]](function(_0x71ecxb){var _0x71ecxc={Action:_0xac56[18],CallerID:_0x71ecx9[_0xac56[19]],Channel:util[_0xac56[24]](_0xac56[20],_0x71ecx9[_0xac56[21]],_0x71ecx9[_0xac56[22]],_0x71ecxb[_0xac56[23]]),Context:_0xac56[25],Exten:_0xac56[26],Priority:1,Async:_0xac56[27],Variable:{MAXRATE:_0x71ecx9[_0xac56[28]],MINRATE:_0x71ecx9[_0xac56[29]],ECM:_0x71ecx9[_0xac56[30]]?_0xac56[31]:_0xac56[32],LOCALID:_0x71ecx9[_0xac56[33]],FAXFILE:_0x71ecx9[_0xac56[34]],FAXHEADER:_0x71ecx9[_0xac56[35]],FAXUUID:_0x71ecx9[_0xac56[36]]}};_0x71ecx5[_0xac56[40]](_0x71ecxc,function(_0x71ecxa,_0x71ecxd){if(_0x71ecxa){_0x71ecx6[_0xac56[38]]({status:_0xac56[37]})}else {if(_0x71ecxd[_0xac56[39]]&& _0x71ecxd[_0xac56[12]]){_0x71ecx6[_0xac56[38]]({actionid:_0x71ecxd[_0xac56[12]]})}}})})[_0xac56[17]](function(_0x71ecxa){console[_0xac56[16]](_0x71ecxa)})}}
\ No newline at end of file