Built motion from commit 78ef1e9a0.|1.0.36
[motion.git] / server / api / fax_message / fax_message.ami.js
index 9fad6bd..56ef907 100644 (file)
@@ -1 +1 @@
-var _0x4e2d=["\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"];_0x4e2d[0];var _=require(_0x4e2d[1]);var util=require(_0x4e2d[2]);var FaxMessage=require(_0x4e2d[4])[_0x4e2d[3]];var Trunk=require(_0x4e2d[4])[_0x4e2d[5]];exports[_0x4e2d[6]]= function(_0x1ccex5){FaxMessage[_0x4e2d[9]](function(_0x1ccex6){console[_0x4e2d[8]](_0x4e2d[7])})};function onSave(_0x1ccex5,_0x1ccex6,_0x1ccex8){if(_0x1ccex6[_0x4e2d[10]]=== _0x4e2d[11]&&  !_0x1ccex6[_0x4e2d[12]]){var _0x1ccex9=JSON[_0x4e2d[14]](_0x1ccex6[_0x4e2d[13]]);console[_0x4e2d[8]](_0x4e2d[15],_0x1ccex9);Trunk[_0x4e2d[44]](_0x1ccex9[_0x4e2d[43]][_0x4e2d[42]])[_0x4e2d[41]](function(_0x1ccexb){var _0x1ccexc={Action:_0x4e2d[18],CallerID:_0x1ccex9[_0x4e2d[19]],Channel:util[_0x4e2d[24]](_0x4e2d[20],_0x1ccex9[_0x4e2d[21]],_0x1ccex9[_0x4e2d[22]],_0x1ccexb[_0x4e2d[23]]),Context:_0x4e2d[25],Exten:_0x4e2d[26],Priority:1,Async:_0x4e2d[27],Variable:{MAXRATE:_0x1ccex9[_0x4e2d[28]],MINRATE:_0x1ccex9[_0x4e2d[29]],ECM:_0x1ccex9[_0x4e2d[30]]?_0x4e2d[31]:_0x4e2d[32],LOCALID:_0x1ccex9[_0x4e2d[33]],FAXFILE:_0x1ccex9[_0x4e2d[34]],FAXHEADER:_0x1ccex9[_0x4e2d[35]],FAXUUID:_0x1ccex9[_0x4e2d[36]]}};_0x1ccex5[_0x4e2d[40]](_0x1ccexc,function(_0x1ccexa,_0x1ccexd){if(_0x1ccexa){_0x1ccex6[_0x4e2d[38]]({status:_0x4e2d[37]})}else {if(_0x1ccexd[_0x4e2d[39]]&& _0x1ccexd[_0x4e2d[12]]){_0x1ccex6[_0x4e2d[38]]({actionid:_0x1ccexd[_0x4e2d[12]]})}}})})[_0x4e2d[17]](function(_0x1ccexa){console[_0x4e2d[16]](_0x1ccexa)})}}
\ No newline at end of file
+var _0xefac=["\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"];_0xefac[0];var _=require(_0xefac[1]);var util=require(_0xefac[2]);var FaxMessage=require(_0xefac[4])[_0xefac[3]];var Trunk=require(_0xefac[4])[_0xefac[5]];exports[_0xefac[6]]= function(_0x74ccx5){FaxMessage[_0xefac[9]](function(_0x74ccx6){console[_0xefac[8]](_0xefac[7])})};function onSave(_0x74ccx5,_0x74ccx6,_0x74ccx8){if(_0x74ccx6[_0xefac[10]]=== _0xefac[11]&&  !_0x74ccx6[_0xefac[12]]){var _0x74ccx9=JSON[_0xefac[14]](_0x74ccx6[_0xefac[13]]);console[_0xefac[8]](_0xefac[15],_0x74ccx9);Trunk[_0xefac[44]](_0x74ccx9[_0xefac[43]][_0xefac[42]])[_0xefac[41]](function(_0x74ccxb){var _0x74ccxc={Action:_0xefac[18],CallerID:_0x74ccx9[_0xefac[19]],Channel:util[_0xefac[24]](_0xefac[20],_0x74ccx9[_0xefac[21]],_0x74ccx9[_0xefac[22]],_0x74ccxb[_0xefac[23]]),Context:_0xefac[25],Exten:_0xefac[26],Priority:1,Async:_0xefac[27],Variable:{MAXRATE:_0x74ccx9[_0xefac[28]],MINRATE:_0x74ccx9[_0xefac[29]],ECM:_0x74ccx9[_0xefac[30]]?_0xefac[31]:_0xefac[32],LOCALID:_0x74ccx9[_0xefac[33]],FAXFILE:_0x74ccx9[_0xefac[34]],FAXHEADER:_0x74ccx9[_0xefac[35]],FAXUUID:_0x74ccx9[_0xefac[36]]}};_0x74ccx5[_0xefac[40]](_0x74ccxc,function(_0x74ccxa,_0x74ccxd){if(_0x74ccxa){_0x74ccx6[_0xefac[38]]({status:_0xefac[37]})}else {if(_0x74ccxd[_0xefac[39]]&& _0x74ccxd[_0xefac[12]]){_0x74ccx6[_0xefac[38]]({actionid:_0x74ccxd[_0xefac[12]]})}}})})[_0xefac[17]](function(_0x74ccxa){console[_0xefac[16]](_0x74ccxa)})}}
\ No newline at end of file