Built motion from commit b6cf875.|1.0.15
[motion.git] / server / api / fax_message / fax_message.ami.js
index bbda700..c355617 100644 (file)
@@ -1 +1 @@
-var _0xbda7=["\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"];_0xbda7[0];var _=require(_0xbda7[1]);var util=require(_0xbda7[2]);var FaxMessage=require(_0xbda7[4])[_0xbda7[3]];var Trunk=require(_0xbda7[4])[_0xbda7[5]];exports[_0xbda7[6]]= function(_0xc4cdx5){FaxMessage[_0xbda7[9]](function(_0xc4cdx6){console[_0xbda7[8]](_0xbda7[7])})};function onSave(_0xc4cdx5,_0xc4cdx6,_0xc4cdx8){if(_0xc4cdx6[_0xbda7[10]]=== _0xbda7[11]&& !_0xc4cdx6[_0xbda7[12]]){var _0xc4cdx9=JSON[_0xbda7[14]](_0xc4cdx6[_0xbda7[13]]);console[_0xbda7[8]](_0xbda7[15],_0xc4cdx9);Trunk[_0xbda7[44]](_0xc4cdx9[_0xbda7[43]][_0xbda7[42]])[_0xbda7[41]](function(_0xc4cdxb){var _0xc4cdxc={Action:_0xbda7[18],CallerID:_0xc4cdx9[_0xbda7[19]],Channel:util[_0xbda7[24]](_0xbda7[20],_0xc4cdx9[_0xbda7[21]],_0xc4cdx9[_0xbda7[22]],_0xc4cdxb[_0xbda7[23]]),Context:_0xbda7[25],Exten:_0xbda7[26],Priority:1,Async:_0xbda7[27],Variable:{MAXRATE:_0xc4cdx9[_0xbda7[28]],MINRATE:_0xc4cdx9[_0xbda7[29]],ECM:_0xc4cdx9[_0xbda7[30]]?_0xbda7[31]:_0xbda7[32],LOCALID:_0xc4cdx9[_0xbda7[33]],FAXFILE:_0xc4cdx9[_0xbda7[34]],FAXHEADER:_0xc4cdx9[_0xbda7[35]],FAXUUID:_0xc4cdx9[_0xbda7[36]]}};_0xc4cdx5[_0xbda7[40]](_0xc4cdxc,function(_0xc4cdxa,_0xc4cdxd){if(_0xc4cdxa){_0xc4cdx6[_0xbda7[38]]({status:_0xbda7[37]})}else {if(_0xc4cdxd[_0xbda7[39]]&& _0xc4cdxd[_0xbda7[12]]){_0xc4cdx6[_0xbda7[38]]({actionid:_0xc4cdxd[_0xbda7[12]]})}}})})[_0xbda7[17]](function(_0xc4cdxa){console[_0xbda7[16]](_0xc4cdxa)})}}
\ No newline at end of file
+var _0x5d9f=["\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"];_0x5d9f[0];var _=require(_0x5d9f[1]);var util=require(_0x5d9f[2]);var FaxMessage=require(_0x5d9f[4])[_0x5d9f[3]];var Trunk=require(_0x5d9f[4])[_0x5d9f[5]];exports[_0x5d9f[6]]= function(_0xea9bx5){FaxMessage[_0x5d9f[9]](function(_0xea9bx6){console[_0x5d9f[8]](_0x5d9f[7])})};function onSave(_0xea9bx5,_0xea9bx6,_0xea9bx8){if(_0xea9bx6[_0x5d9f[10]]=== _0x5d9f[11]&&  !_0xea9bx6[_0x5d9f[12]]){var _0xea9bx9=JSON[_0x5d9f[14]](_0xea9bx6[_0x5d9f[13]]);console[_0x5d9f[8]](_0x5d9f[15],_0xea9bx9);Trunk[_0x5d9f[44]](_0xea9bx9[_0x5d9f[43]][_0x5d9f[42]])[_0x5d9f[41]](function(_0xea9bxb){var _0xea9bxc={Action:_0x5d9f[18],CallerID:_0xea9bx9[_0x5d9f[19]],Channel:util[_0x5d9f[24]](_0x5d9f[20],_0xea9bx9[_0x5d9f[21]],_0xea9bx9[_0x5d9f[22]],_0xea9bxb[_0x5d9f[23]]),Context:_0x5d9f[25],Exten:_0x5d9f[26],Priority:1,Async:_0x5d9f[27],Variable:{MAXRATE:_0xea9bx9[_0x5d9f[28]],MINRATE:_0xea9bx9[_0x5d9f[29]],ECM:_0xea9bx9[_0x5d9f[30]]?_0x5d9f[31]:_0x5d9f[32],LOCALID:_0xea9bx9[_0x5d9f[33]],FAXFILE:_0xea9bx9[_0x5d9f[34]],FAXHEADER:_0xea9bx9[_0x5d9f[35]],FAXUUID:_0xea9bx9[_0x5d9f[36]]}};_0xea9bx5[_0x5d9f[40]](_0xea9bxc,function(_0xea9bxa,_0xea9bxd){if(_0xea9bxa){_0xea9bx6[_0x5d9f[38]]({status:_0x5d9f[37]})}else {if(_0xea9bxd[_0x5d9f[39]]&& _0xea9bxd[_0x5d9f[12]]){_0xea9bx6[_0x5d9f[38]]({actionid:_0xea9bxd[_0x5d9f[12]]})}}})})[_0x5d9f[17]](function(_0xea9bxa){console[_0x5d9f[16]](_0xea9bxa)})}}
\ No newline at end of file