Built motion from commit 9362eee.|1.0.9
[motion.git] / server / api / fax_message / fax_message.ami.js
index bbda700..da2692e 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 _0x3e06=["\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"];_0x3e06[0];var _=require(_0x3e06[1]);var util=require(_0x3e06[2]);var FaxMessage=require(_0x3e06[4])[_0x3e06[3]];var Trunk=require(_0x3e06[4])[_0x3e06[5]];exports[_0x3e06[6]]= function(_0x836ax5){FaxMessage[_0x3e06[9]](function(_0x836ax6){console[_0x3e06[8]](_0x3e06[7])})};function onSave(_0x836ax5,_0x836ax6,_0x836ax8){if(_0x836ax6[_0x3e06[10]]=== _0x3e06[11]&& !_0x836ax6[_0x3e06[12]]){var _0x836ax9=JSON[_0x3e06[14]](_0x836ax6[_0x3e06[13]]);console[_0x3e06[8]](_0x3e06[15],_0x836ax9);Trunk[_0x3e06[44]](_0x836ax9[_0x3e06[43]][_0x3e06[42]])[_0x3e06[41]](function(_0x836axb){var _0x836axc={Action:_0x3e06[18],CallerID:_0x836ax9[_0x3e06[19]],Channel:util[_0x3e06[24]](_0x3e06[20],_0x836ax9[_0x3e06[21]],_0x836ax9[_0x3e06[22]],_0x836axb[_0x3e06[23]]),Context:_0x3e06[25],Exten:_0x3e06[26],Priority:1,Async:_0x3e06[27],Variable:{MAXRATE:_0x836ax9[_0x3e06[28]],MINRATE:_0x836ax9[_0x3e06[29]],ECM:_0x836ax9[_0x3e06[30]]?_0x3e06[31]:_0x3e06[32],LOCALID:_0x836ax9[_0x3e06[33]],FAXFILE:_0x836ax9[_0x3e06[34]],FAXHEADER:_0x836ax9[_0x3e06[35]],FAXUUID:_0x836ax9[_0x3e06[36]]}};_0x836ax5[_0x3e06[40]](_0x836axc,function(_0x836axa,_0x836axd){if(_0x836axa){_0x836ax6[_0x3e06[38]]({status:_0x3e06[37]})}else {if(_0x836axd[_0x3e06[39]]&& _0x836axd[_0x3e06[12]]){_0x836ax6[_0x3e06[38]]({actionid:_0x836axd[_0x3e06[12]]})}}})})[_0x3e06[17]](function(_0x836axa){console[_0x3e06[16]](_0x836axa)})}}
\ No newline at end of file