X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2FfaxAccount.js;fp=server%2Fservices%2Fami%2Frpc%2FfaxAccount.js;h=1d6a747d9ee0e51d26dee7b9aa2fcba8d64e939b;hb=7cda1c65c6741ebe625028920920ca9ef572e569;hp=2dce7edf13cc0c26dae4e45f057d5569153fcb8f;hpb=4baefdac9c37d4300115b8e539c5781a6d78e036;p=motion2.git diff --git a/server/services/ami/rpc/faxAccount.js b/server/services/ami/rpc/faxAccount.js index 2dce7ed..1d6a747 100644 --- a/server/services/ami/rpc/faxAccount.js +++ b/server/services/ami/rpc/faxAccount.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdb28=['tech','TrunkId','ListId','key','Trunk','name','active','getFaxAccount','notify','NotifyFaxAccount','../client','getFaxAccounts','Request','GetFaxAccount','description','ecm','headerinfo','localstationid','minrate','modem','gateway'];(function(_0x218b81,_0x2207bd){var _0xe8cb2=function(_0x58f736){while(--_0x58f736){_0x218b81['push'](_0x218b81['shift']());}};_0xe8cb2(++_0x2207bd);}(_0xdb28,0x106));var _0x8db2=function(_0x53ef1b,_0xf1128b){_0x53ef1b=_0x53ef1b-0x0;var _0x36e7f5=_0xdb28[_0x53ef1b];return _0x36e7f5;};'use strict';var client=require(_0x8db2('0x0'));exports[_0x8db2('0x1')]=function(){return function(){return client[_0x8db2('0x2')](_0x8db2('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x8db2('0x4'),_0x8db2('0x5'),_0x8db2('0x6'),_0x8db2('0x7'),_0x8db2('0x8'),'maxrate',_0x8db2('0x9'),_0x8db2('0xa'),'faxdetect','t38timeout',_0x8db2('0xb'),_0x8db2('0xc'),_0x8db2('0xd'),_0x8db2('0xe')],'include':[{'model':_0x8db2('0xf'),'as':_0x8db2('0xf'),'attributes':['id',_0x8db2('0x10'),'callerid',_0x8db2('0x11')]}]},'log':_0x8db2('0x12')});};};exports[_0x8db2('0x13')]=function(_0x57015f,_0x1d9371){return client[_0x8db2('0x2')]('NotifyFaxAccount',{'account':{'id':_0x57015f},'body':_0x1d9371,'log':_0x8db2('0x14')});}; \ No newline at end of file +var _0x6a0b=['minrate','maxrate','gateway','faxdetect','t38timeout','tech','TrunkId','ListId','key','Trunk','Request','NotifyFaxAccount','../client','GetFaxAccount','name','ecm','headerinfo','localstationid'];(function(_0x3a4131,_0x453c2d){var _0x2f4e8f=function(_0x32d812){while(--_0x32d812){_0x3a4131['push'](_0x3a4131['shift']());}};_0x2f4e8f(++_0x453c2d);}(_0x6a0b,0xf6));var _0xb6a0=function(_0x2e4e55,_0x1e33ed){_0x2e4e55=_0x2e4e55-0x0;var _0x189a16=_0x6a0b[_0x2e4e55];return _0x189a16;};'use strict';var client=require(_0xb6a0('0x0'));exports['getFaxAccounts']=function(){return function(){return client['Request'](_0xb6a0('0x1'),{'options':{'raw':![],'attributes':['id',_0xb6a0('0x2'),'description',_0xb6a0('0x3'),_0xb6a0('0x4'),_0xb6a0('0x5'),_0xb6a0('0x6'),_0xb6a0('0x7'),'modem',_0xb6a0('0x8'),_0xb6a0('0x9'),_0xb6a0('0xa'),_0xb6a0('0xb'),_0xb6a0('0xc'),_0xb6a0('0xd'),_0xb6a0('0xe')],'include':[{'model':_0xb6a0('0xf'),'as':_0xb6a0('0xf'),'attributes':['id','name','callerid','active']}]},'log':'getFaxAccount'});};};exports['notify']=function(_0x3d6d0e,_0x5e7ad8){return client[_0xb6a0('0x10')](_0xb6a0('0x11'),{'account':{'id':_0x3d6d0e},'body':_0x5e7ad8,'log':'NotifyFaxAccount'});}; \ No newline at end of file