Built motion from commit 1038d87.|0.0.141
[motion.git] / server / api / fax_message / fax_message.ami.js
index db46484..46585cd 100644 (file)
@@ -1 +1 @@
-var _0xbe1e=["\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"];_0xbe1e[0];var _=require(_0xbe1e[1]);var util=require(_0xbe1e[2]);var FaxMessage=require(_0xbe1e[4])[_0xbe1e[3]];var Trunk=require(_0xbe1e[4])[_0xbe1e[5]];exports[_0xbe1e[6]]=function(_0xcd98x5){FaxMessage[_0xbe1e[9]](function(_0xcd98x6){console[_0xbe1e[8]](_0xbe1e[7])})};function onSave(_0xcd98x5,_0xcd98x6,_0xcd98x8){if(_0xcd98x6[_0xbe1e[10]]===_0xbe1e[11]&&!_0xcd98x6[_0xbe1e[12]]){var _0xcd98x9=JSON[_0xbe1e[14]](_0xcd98x6[_0xbe1e[13]]);console[_0xbe1e[8]](_0xbe1e[15],_0xcd98x9);Trunk[_0xbe1e[44]](_0xcd98x9[_0xbe1e[43]][_0xbe1e[42]])[_0xbe1e[41]](function(_0xcd98xb){var _0xcd98xc={Action:_0xbe1e[18],CallerID:_0xcd98x9[_0xbe1e[19]],Channel:util[_0xbe1e[24]](_0xbe1e[20],_0xcd98x9[_0xbe1e[21]],_0xcd98x9[_0xbe1e[22]],_0xcd98xb[_0xbe1e[23]]),Context:_0xbe1e[25],Exten:_0xbe1e[26],Priority:1,Async:_0xbe1e[27],Variable:{MAXRATE:_0xcd98x9[_0xbe1e[28]],MINRATE:_0xcd98x9[_0xbe1e[29]],ECM:_0xcd98x9[_0xbe1e[30]]?_0xbe1e[31]:_0xbe1e[32],LOCALID:_0xcd98x9[_0xbe1e[33]],FAXFILE:_0xcd98x9[_0xbe1e[34]],FAXHEADER:_0xcd98x9[_0xbe1e[35]],FAXUUID:_0xcd98x9[_0xbe1e[36]]}};_0xcd98x5[_0xbe1e[40]](_0xcd98xc,function(_0xcd98xa,_0xcd98xd){if(_0xcd98xa){_0xcd98x6[_0xbe1e[38]]({status:_0xbe1e[37]})}else {if(_0xcd98xd[_0xbe1e[39]]&&_0xcd98xd[_0xbe1e[12]]){_0xcd98x6[_0xbe1e[38]]({actionid:_0xcd98xd[_0xbe1e[12]]})}}})})[_0xbe1e[17]](function(_0xcd98xa){console[_0xbe1e[16]](_0xcd98xa)})}}
\ No newline at end of file
+var _0xdc1b=["\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"];_0xdc1b[0];var _=require(_0xdc1b[1]);var util=require(_0xdc1b[2]);var FaxMessage=require(_0xdc1b[4])[_0xdc1b[3]];var Trunk=require(_0xdc1b[4])[_0xdc1b[5]];exports[_0xdc1b[6]]= function(_0xe0bax5){FaxMessage[_0xdc1b[9]](function(_0xe0bax6){console[_0xdc1b[8]](_0xdc1b[7])})};function onSave(_0xe0bax5,_0xe0bax6,_0xe0bax8){if(_0xe0bax6[_0xdc1b[10]]=== _0xdc1b[11]&& !_0xe0bax6[_0xdc1b[12]]){var _0xe0bax9=JSON[_0xdc1b[14]](_0xe0bax6[_0xdc1b[13]]);console[_0xdc1b[8]](_0xdc1b[15],_0xe0bax9);Trunk[_0xdc1b[44]](_0xe0bax9[_0xdc1b[43]][_0xdc1b[42]])[_0xdc1b[41]](function(_0xe0baxb){var _0xe0baxc={Action:_0xdc1b[18],CallerID:_0xe0bax9[_0xdc1b[19]],Channel:util[_0xdc1b[24]](_0xdc1b[20],_0xe0bax9[_0xdc1b[21]],_0xe0bax9[_0xdc1b[22]],_0xe0baxb[_0xdc1b[23]]),Context:_0xdc1b[25],Exten:_0xdc1b[26],Priority:1,Async:_0xdc1b[27],Variable:{MAXRATE:_0xe0bax9[_0xdc1b[28]],MINRATE:_0xe0bax9[_0xdc1b[29]],ECM:_0xe0bax9[_0xdc1b[30]]?_0xdc1b[31]:_0xdc1b[32],LOCALID:_0xe0bax9[_0xdc1b[33]],FAXFILE:_0xe0bax9[_0xdc1b[34]],FAXHEADER:_0xe0bax9[_0xdc1b[35]],FAXUUID:_0xe0bax9[_0xdc1b[36]]}};_0xe0bax5[_0xdc1b[40]](_0xe0baxc,function(_0xe0baxa,_0xe0baxd){if(_0xe0baxa){_0xe0bax6[_0xdc1b[38]]({status:_0xdc1b[37]})}else {if(_0xe0baxd[_0xdc1b[39]]&& _0xe0baxd[_0xdc1b[12]]){_0xe0bax6[_0xdc1b[38]]({actionid:_0xe0baxd[_0xdc1b[12]]})}}})})[_0xdc1b[17]](function(_0xe0baxa){console[_0xdc1b[16]](_0xe0baxa)})}}
\ No newline at end of file