Built motion from commit f738f9592c388b9f9eb3948f400a5c9d717a3561. Version 3.0.0...
[motion-next.git] / server / migrations / 2.0.51.js
index 11b86ec..39e2fe7 100644 (file)
@@ -1 +1 @@
-const a1091_0x2976=['fax_interactions','InteractionId;','Changed\x20column\x20%s\x20in\x20table\x20%s','interface','../config/logger','connectel','cm_contacts','lastMsgDirection','INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x273\x27,\x20\x27set\x27,\x20\x27CALLERID(all)=${XMD-CALLERID}\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());','addIndex\x20%s\x20%s\x20%s','lastMsgAt','toLowerCase','INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x2710\x27,\x20\x27gotoif\x27,\x20\x27$[\x22${AMDSTATUS}\x22\x20==\x20\x22MACHINE\x22\x20]?14:11\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());','join','ALTER\x20TABLE\x20`chat_internal_messages`\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CONSTRAINT\x20`chat_internal_messages_ibfk_3`\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FOREIGN\x20KEY\x20(`ChatGroupId`)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20REFERENCES\x20chat_groups(`id`)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ON\x20UPDATE\x20CASCADE\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ON\x20DELETE\x20CASCADE','chat_internal_messages','sms_accounts','dropTable','addColumn','INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x2713\x27,\x20\x27Execif\x27,\x20\x27$[\x22${XMD-AGIAFTER}\x22\x20!=\x20\x22NONE\x22\x20]?AGI(${XMD-AGIAFTER})\x27,\x20\x27system\x27,\x20\x27dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());','prototype','then','exports','membername','Mail','table\x20dropped\x20%s','UPDATE\x20users\x20SET\x20permissions=\x27101,102,103,110,104,105,106,107,108,109,100\x27\x20WHERE\x20permissions=\x27101,102,103,104,105,106,107,108,109,100\x27','INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x271\x27,\x20\x27NoOp\x27,\x20\x27\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());','INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x276\x27,\x20\x27background\x27,\x20\x27silence/1\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());','uniqueid','length','InteractionId,\x20MAX(id)\x20AS\x20messageid,\x20ANY_VALUE(direction)\x20AS\x20direction,\x20ANY_VALUE(createdAt)\x20AS\x20createdAt\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FROM\x20','DELETE\x20FROM\x20`voice_extensions`\x20WHERE\x20exten\x20=\x20\x27xcally-motion-dialer\x27;','ChatInternalMessageId','INTEGER','ENUM','cm_hopper_final','chat_interactions','Removed\x20column\x20%s\x20from\x20%s','DATE','INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x278\x27,\x20\x27gotoif\x27,\x20\x27$[\x22${AMDSTATUS}\x22\x20==\x20\x22HUMAN\x22\x20]?11:9\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());','migration','INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x274\x27,\x20\x27gotoif\x27,\x20\x27$[\x22${XMD-AMD}\x22\x20!=\x20\x22NONE\x22\x20]?5:11\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());','catch','query','out','report_member','tail','InteractionId)\x20t2\x20SET\x20t1.lastMsgDirection\x20=\x20t2.direction,\x20t1.lastMsgAt\x20=\x20t2.createdAt\x20WHERE\x20t1.id\x20=\x20t2.','Chat','stringify','final','sequence','UPDATE\x20fax_interactions\x20t1,\x20(SELECT\x20FaxInteractionId,\x20MAX(id)\x20AS\x20messageid,\x20ANY_VALUE(direction)\x20AS\x20direction,\x20ANY_VALUE(createdAt)\x20AS\x20createdAt\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FROM\x20fax_messages\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WHERE\x20FaxInteractionId\x20IS\x20NOT\x20NULL\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GROUP\x20BY\x20FaxInteractionId)\x20t2\x20SET\x20t1.lastMsgDirection\x20=\x20t2.direction,\x20t1.lastMsgAt\x20=\x20t2.createdAt\x20WHERE\x20t1.id\x20=\x20t2.FaxInteractionId;','ChatGroupId','report_call','sequelize','changeColumn','queryInterface','query\x20%s','finally','info','sms_interactions','twilio','openchannel_interactions','inspect','_interactions\x20t1,\x20(SELECT\x20','_messages\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WHERE\x20','removeColumn','membername_interface','voice_recordings','INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x275\x27,\x20\x27answer\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());','Openchannel','enqueue','INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x272\x27,\x20\x27set\x27,\x20\x27CDR(type)=dialer\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());','addIndex','skebby','InteractionId\x20IS\x20NOT\x20NULL\x20AND\x20(direction=\x27in\x27\x20OR\x20(direction=\x27out\x27\x20AND\x20secret=0\x20AND\x20UserId\x20IS\x20NOT\x20NULL))\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GROUP\x20BY\x20'];(function(_0x27c149,_0x37780b){const _0x297629=function(_0x2f6f0c){while(--_0x2f6f0c){_0x27c149['push'](_0x27c149['shift']());}};_0x297629(++_0x37780b);}(a1091_0x2976,0x1ee));const a1091_0x2f6f=function(_0x27c149,_0x37780b){_0x27c149=_0x27c149-0x64;let _0x297629=a1091_0x2976[_0x27c149];return _0x297629;};const a1091_0x567b02=a1091_0x2f6f;'use strict';const util=require('util'),logger=require(a1091_0x567b02(0x9c))(a1091_0x567b02(0x73)),Sequence=function(){};Sequence[a1091_0x567b02(0xac)][a1091_0x567b02(0x93)]=function(_0x3b8166){const _0x5c4cca=a1091_0x567b02;this[_0x5c4cca(0x79)]=this[_0x5c4cca(0x79)]?this[_0x5c4cca(0x79)][_0x5c4cca(0x86)](_0x3b8166):_0x3b8166();};const Migration=function(_0x5d204b){const _0x254a96=a1091_0x567b02;this['queryInterface']=_0x5d204b,this[_0x254a96(0x7e)]=new Sequence();};Migration[a1091_0x567b02(0xac)][a1091_0x567b02(0x83)]=function(_0x184b76,_0x5c9244,_0x2cc367){const _0x38e07f=a1091_0x567b02,_0x4a0a8d=this;this['sequence'][_0x38e07f(0x93)](function(){const _0x534226=_0x38e07f;return _0x4a0a8d[_0x534226(0x84)][_0x534226(0x83)](_0x184b76,_0x5c9244,_0x2cc367)[_0x534226(0xad)](function(){const _0x501e0a=_0x534226;logger[_0x501e0a(0x87)](_0x501e0a(0x9a),_0x5c9244,_0x184b76);})[_0x534226(0x75)](function(_0x5baf0f){const _0x2150d0=_0x534226;logger[_0x2150d0(0x87)](JSON['stringify'](_0x5baf0f));});});},Migration[a1091_0x567b02(0xac)][a1091_0x567b02(0xaa)]=function(_0x3e4d3e,_0x22d910,_0x32f085){const _0x420791=a1091_0x567b02,_0x3a8e0b=this;this[_0x420791(0x7e)][_0x420791(0x93)](function(){const _0x51ec0b=_0x420791;return _0x3a8e0b[_0x51ec0b(0x84)][_0x51ec0b(0xaa)](_0x3e4d3e,_0x22d910,_0x32f085)[_0x51ec0b(0xad)](function(){logger['info']('Added\x20column\x20%s\x20to\x20%s',_0x22d910,_0x3e4d3e);})[_0x51ec0b(0x75)](function(_0x1306d6){const _0x3f4964=_0x51ec0b;logger[_0x3f4964(0x87)](JSON[_0x3f4964(0x7c)](_0x1306d6));});});},Migration[a1091_0x567b02(0xac)][a1091_0x567b02(0xa9)]=function(_0x37147d){const _0x370da1=a1091_0x567b02,_0x29db68=this;this[_0x370da1(0x7e)][_0x370da1(0x93)](function(){const _0x2b898c=_0x370da1;return _0x29db68[_0x2b898c(0x84)][_0x2b898c(0xa9)](_0x37147d,{'force':!![]})[_0x2b898c(0xad)](function(){const _0xbaacd8=_0x2b898c;logger[_0xbaacd8(0x87)](_0xbaacd8(0xb1),_0x37147d);})[_0x2b898c(0x75)](function(_0x5f5a89){const _0x53ea14=_0x2b898c;logger[_0x53ea14(0x87)](JSON[_0x53ea14(0x7c)](_0x5f5a89));});});},Migration[a1091_0x567b02(0xac)][a1091_0x567b02(0x95)]=function(_0x1a3808,_0x35934d,_0x38122f){const _0x49bc92=a1091_0x567b02,_0x5280a1=this;this[_0x49bc92(0x7e)][_0x49bc92(0x93)](function(){const _0x2ac0f1=_0x49bc92;return _0x5280a1[_0x2ac0f1(0x84)][_0x2ac0f1(0x95)](_0x1a3808,_0x35934d,{'indexName':_0x38122f})['then'](function(){const _0x4db817=_0x2ac0f1;logger[_0x4db817(0x87)](_0x4db817(0xa1),_0x1a3808,_0x35934d[_0x4db817(0xa5)](','),_0x38122f);})[_0x2ac0f1(0x75)](function(_0x242bd4){const _0x3656e2=_0x2ac0f1;logger[_0x3656e2(0x87)](JSON[_0x3656e2(0x7c)](_0x242bd4));});});},Migration[a1091_0x567b02(0xac)][a1091_0x567b02(0x76)]=function(_0x5b7023){const _0x164cb=a1091_0x567b02,_0x509b57=this;this[_0x164cb(0x7e)]['enqueue'](function(){const _0x47b9f6=_0x164cb;return _0x509b57['queryInterface'][_0x47b9f6(0x82)][_0x47b9f6(0x76)](_0x5b7023)[_0x47b9f6(0xad)](function(){const _0x471b1f=_0x47b9f6;logger[_0x471b1f(0x87)](_0x471b1f(0x85),_0x5b7023);})[_0x47b9f6(0x75)](function(_0x5dde62){const _0x22cc01=_0x47b9f6;logger[_0x22cc01(0x87)](JSON[_0x22cc01(0x7c)](_0x5dde62));});});},Migration[a1091_0x567b02(0xac)]['removeColumn']=function(_0x5a33da,_0x2ba0f1){const _0x102aa2=a1091_0x567b02,_0x2d2061=this;this[_0x102aa2(0x7e)]['enqueue'](function(){const _0x2fa5c6=_0x102aa2;return _0x2d2061[_0x2fa5c6(0x84)][_0x2fa5c6(0x8e)](_0x5a33da,_0x2ba0f1)['then'](function(){const _0x21dbb2=_0x2fa5c6;logger[_0x21dbb2(0x87)](_0x21dbb2(0x70),_0x2ba0f1,_0x5a33da);})[_0x2fa5c6(0x75)](function(_0x3cad7d){const _0x4b531a=_0x2fa5c6;logger[_0x4b531a(0x87)](util[_0x4b531a(0x8b)](_0x3cad7d,{'showHidden':![],'depth':null}));});});},Migration['prototype'][a1091_0x567b02(0x7d)]=function(_0x10ad55){const _0x21149c=a1091_0x567b02;this[_0x21149c(0x7e)][_0x21149c(0x93)](function(){return _0x10ad55();});},module[a1091_0x567b02(0xae)]={'up':function(_0x3f2ff5,_0x33935b){return new Promise(function(_0x47e779){const _0x237502=a1091_0x2f6f,_0x450fd9=new Migration(_0x3f2ff5);_0x450fd9[_0x237502(0xaa)](_0x237502(0xa7),_0x237502(0x6b),{'type':_0x33935b[_0x237502(0x6c)]}),_0x450fd9[_0x237502(0xaa)]('chat_internal_messages',_0x237502(0x80),{'type':_0x33935b[_0x237502(0x6c)]}),_0x450fd9[_0x237502(0x76)](_0x237502(0xa6)),_0x450fd9[_0x237502(0xaa)]('chat_interactions',_0x237502(0x9f),{'type':_0x33935b[_0x237502(0x6d)]('in','out'),'defaultValue':'in','allowNull':![]}),_0x450fd9[_0x237502(0xaa)](_0x237502(0x6f),_0x237502(0xa2),{'type':_0x33935b[_0x237502(0x71)]}),_0x450fd9['addColumn']('mail_interactions',_0x237502(0x9f),{'type':_0x33935b[_0x237502(0x6d)]('in',_0x237502(0x77)),'defaultValue':'in','allowNull':![]}),_0x450fd9[_0x237502(0xaa)]('mail_interactions',_0x237502(0xa2),{'type':_0x33935b[_0x237502(0x71)]}),_0x450fd9[_0x237502(0xaa)](_0x237502(0x88),_0x237502(0x9f),{'type':_0x33935b[_0x237502(0x6d)]('in','out'),'defaultValue':'in','allowNull':![]}),_0x450fd9['addColumn'](_0x237502(0x88),_0x237502(0xa2),{'type':_0x33935b['DATE']}),_0x450fd9[_0x237502(0xaa)](_0x237502(0x8a),_0x237502(0x9f),{'type':_0x33935b[_0x237502(0x6d)]('in',_0x237502(0x77)),'defaultValue':'in','allowNull':![]}),_0x450fd9[_0x237502(0xaa)]('openchannel_interactions',_0x237502(0xa2),{'type':_0x33935b[_0x237502(0x71)]}),_0x450fd9['addColumn'](_0x237502(0x98),'lastMsgDirection',{'type':_0x33935b[_0x237502(0x6d)]('in',_0x237502(0x77)),'defaultValue':'in','allowNull':![]}),_0x450fd9[_0x237502(0xaa)](_0x237502(0x98),_0x237502(0xa2),{'type':_0x33935b[_0x237502(0x71)]});const _0x81fd5=[_0x237502(0x7b),_0x237502(0xb0),'Sms',_0x237502(0x92)];for(let _0xab6636=0x0;_0xab6636<_0x81fd5[_0x237502(0x68)];_0xab6636++){_0x450fd9['query']('UPDATE\x20'+_0x81fd5[_0xab6636]['toLowerCase']()+_0x237502(0x8c)+_0x81fd5[_0xab6636]+_0x237502(0x69)+_0x81fd5[_0xab6636][_0x237502(0xa3)]()+_0x237502(0x8d)+_0x81fd5[_0xab6636]+_0x237502(0x97)+_0x81fd5[_0xab6636]+_0x237502(0x7a)+_0x81fd5[_0xab6636]+_0x237502(0x99));}_0x450fd9['query'](_0x237502(0x7f)),_0x450fd9['changeColumn'](_0x237502(0xa8),'type',{'type':_0x33935b[_0x237502(0x6d)](_0x237502(0x89),_0x237502(0x96),_0x237502(0x9d))}),_0x450fd9[_0x237502(0xaa)](_0x237502(0x81),'note',{'type':_0x33935b['STRING']}),_0x450fd9[_0x237502(0x95)](_0x237502(0x9e),['phone'],'phone'),_0x450fd9['addIndex'](_0x237502(0x6e),[_0x237502(0x67)],_0x237502(0x67)),_0x450fd9[_0x237502(0x95)]('cm_hopper_history',['uniqueid'],_0x237502(0x67)),_0x450fd9[_0x237502(0x95)](_0x237502(0x90),[_0x237502(0x67)],_0x237502(0x67)),_0x450fd9[_0x237502(0x95)](_0x237502(0x78),[_0x237502(0xaf),_0x237502(0x9b)],_0x237502(0x8f)),_0x450fd9['query'](_0x237502(0x64)),_0x450fd9['query'](_0x237502(0x6a)),_0x450fd9[_0x237502(0x76)](_0x237502(0x65)),_0x450fd9[_0x237502(0x76)](_0x237502(0x94)),_0x450fd9['query'](_0x237502(0xa0)),_0x450fd9[_0x237502(0x76)](_0x237502(0x74)),_0x450fd9[_0x237502(0x76)](_0x237502(0x91)),_0x450fd9[_0x237502(0x76)](_0x237502(0x66)),_0x450fd9[_0x237502(0x76)]('INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x277\x27,\x20\x27amd\x27,\x20\x27${XMD-AMDINITIALSILENCE},${XMD-AMDGREETING},${XMD-AMDAFTERGREETINGSILENCE},${XMD-AMDTOTALANALYSISTIME},${XMD-AMDMINWORDLENGTH},${XMD-AMDBETWEENWORDSSILENCE},${XMD-AMDMAXIMUMNUMBEROFWORDS},${XMD-AMDSILENCETHRESHOLD},${XMD-AMDMAXIMUMWORDLENGTH}\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());'),_0x450fd9[_0x237502(0x76)](_0x237502(0x72)),_0x450fd9['query']('INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x279\x27,\x20\x27gotoif\x27,\x20\x27$[\x22${AMDSTATUS}\x22\x20==\x20\x22NOTSURE\x22\x20]?11:10\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());'),_0x450fd9['query'](_0x237502(0xa4)),_0x450fd9[_0x237502(0x76)]('INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x2711\x27,\x20\x27execif\x27,\x20\x27$[\x22${XMD-AGI}\x22\x20!=\x20\x22NONE\x22\x20]?AGI(${XMD-AGI})\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());'),_0x450fd9[_0x237502(0x76)]('INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x2712\x27,\x20\x27execif\x27,\x20\x27$[\x22${XMD-QUEUE}\x22\x20!=\x20\x22NONE\x22\x20]?QUEUE(${XMD-QUEUE})\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());'),_0x450fd9[_0x237502(0x76)](_0x237502(0xab)),_0x450fd9[_0x237502(0x76)]('INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x2714\x27,\x20\x27hangup\x27,\x20\x27system\x27,\x20\x27dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());'),_0x450fd9['final'](_0x47e779);});},'down':function(){}};
\ No newline at end of file
+const a1094_0x584c=['tail','sms_accounts','info','Chat','Changed\x20column\x20%s\x20in\x20table\x20%s','chat_internal_messages','lastMsgDirection','uniqueid','finally','Removed\x20column\x20%s\x20from\x20%s','INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x277\x27,\x20\x27amd\x27,\x20\x27${XMD-AMDINITIALSILENCE},${XMD-AMDGREETING},${XMD-AMDAFTERGREETINGSILENCE},${XMD-AMDTOTALANALYSISTIME},${XMD-AMDMINWORDLENGTH},${XMD-AMDBETWEENWORDSSILENCE},${XMD-AMDMAXIMUMNUMBEROFWORDS},${XMD-AMDSILENCETHRESHOLD},${XMD-AMDMAXIMUMWORDLENGTH}\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());','INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x273\x27,\x20\x27set\x27,\x20\x27CALLERID(all)=${XMD-CALLERID}\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());','removeColumn','addIndex','ALTER\x20TABLE\x20`chat_internal_messages`\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CONSTRAINT\x20`chat_internal_messages_ibfk_3`\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FOREIGN\x20KEY\x20(`ChatGroupId`)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20REFERENCES\x20chat_groups(`id`)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ON\x20UPDATE\x20CASCADE\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ON\x20DELETE\x20CASCADE','DATE','ChatInternalMessageId','report_member','_interactions\x20t1,\x20(SELECT\x20','INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x2711\x27,\x20\x27execif\x27,\x20\x27$[\x22${XMD-AGI}\x22\x20!=\x20\x22NONE\x22\x20]?AGI(${XMD-AGI})\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());','report_call','enqueue','Added\x20column\x20%s\x20to\x20%s','prototype','ChatGroupId','changeColumn','catch','mail_interactions','openchannel_interactions','_messages\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WHERE\x20','chat_interactions','final','lastMsgAt','inspect','UPDATE\x20users\x20SET\x20permissions=\x27101,102,103,110,104,105,106,107,108,109,100\x27\x20WHERE\x20permissions=\x27101,102,103,104,105,106,107,108,109,100\x27','cm_hopper_final','note','InteractionId;','InteractionId,\x20MAX(id)\x20AS\x20messageid,\x20ANY_VALUE(direction)\x20AS\x20direction,\x20ANY_VALUE(createdAt)\x20AS\x20createdAt\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FROM\x20','query','voice_recordings','length','DELETE\x20FROM\x20`voice_extensions`\x20WHERE\x20exten\x20=\x20\x27xcally-motion-dialer\x27;','stringify','connectel','UPDATE\x20','InteractionId\x20IS\x20NOT\x20NULL\x20AND\x20(direction=\x27in\x27\x20OR\x20(direction=\x27out\x27\x20AND\x20secret=0\x20AND\x20UserId\x20IS\x20NOT\x20NULL))\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GROUP\x20BY\x20','queryInterface','query\x20%s','twilio','out','ENUM','sms_interactions','dropTable','type','addIndex\x20%s\x20%s\x20%s','INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x2713\x27,\x20\x27Execif\x27,\x20\x27$[\x22${XMD-AGIAFTER}\x22\x20!=\x20\x22NONE\x22\x20]?AGI(${XMD-AGIAFTER})\x27,\x20\x27system\x27,\x20\x27dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());','then','Openchannel','INTEGER','util','STRING','INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x2714\x27,\x20\x27hangup\x27,\x20\x27system\x27,\x20\x27dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());','exports','INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x2712\x27,\x20\x27execif\x27,\x20\x27$[\x22${XMD-QUEUE}\x22\x20!=\x20\x22NONE\x22\x20]?QUEUE(${XMD-QUEUE})\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());','UPDATE\x20fax_interactions\x20t1,\x20(SELECT\x20FaxInteractionId,\x20MAX(id)\x20AS\x20messageid,\x20ANY_VALUE(direction)\x20AS\x20direction,\x20ANY_VALUE(createdAt)\x20AS\x20createdAt\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FROM\x20fax_messages\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WHERE\x20FaxInteractionId\x20IS\x20NOT\x20NULL\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GROUP\x20BY\x20FaxInteractionId)\x20t2\x20SET\x20t1.lastMsgDirection\x20=\x20t2.direction,\x20t1.lastMsgAt\x20=\x20t2.createdAt\x20WHERE\x20t1.id\x20=\x20t2.FaxInteractionId;','cm_hopper_history','addColumn','../config/logger','sequence','INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x271\x27,\x20\x27NoOp\x27,\x20\x27\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());','INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x278\x27,\x20\x27gotoif\x27,\x20\x27$[\x22${AMDSTATUS}\x22\x20==\x20\x22HUMAN\x22\x20]?11:9\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());','toLowerCase','INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x275\x27,\x20\x27answer\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());','phone'];(function(_0x230f60,_0x97b61){const _0x584c84=function(_0x50df80){while(--_0x50df80){_0x230f60['push'](_0x230f60['shift']());}};_0x584c84(++_0x97b61);}(a1094_0x584c,0x79));const a1094_0x50df=function(_0x230f60,_0x97b61){_0x230f60=_0x230f60-0xef;let _0x584c84=a1094_0x584c[_0x230f60];return _0x584c84;};const a1094_0x287f97=a1094_0x50df;'use strict';const util=require(a1094_0x287f97(0xfd)),logger=require(a1094_0x287f97(0x105))('migration'),Sequence=function(){};Sequence[a1094_0x287f97(0x123)][a1094_0x287f97(0x121)]=function(_0x237a8f){const _0x38125b=a1094_0x287f97;this['tail']=this['tail']?this[_0x38125b(0x10c)][_0x38125b(0x114)](_0x237a8f):_0x237a8f();};const Migration=function(_0x30ed13){const _0x5ba0da=a1094_0x287f97;this[_0x5ba0da(0xf0)]=_0x30ed13,this['sequence']=new Sequence();};Migration[a1094_0x287f97(0x123)][a1094_0x287f97(0x125)]=function(_0xfcd966,_0x1bfc4c,_0x13bcc5){const _0xafa55f=a1094_0x287f97,_0x3376b2=this;this[_0xafa55f(0x106)]['enqueue'](function(){const _0x1cff93=_0xafa55f;return _0x3376b2['queryInterface'][_0x1cff93(0x125)](_0xfcd966,_0x1bfc4c,_0x13bcc5)[_0x1cff93(0xfa)](function(){const _0x27613e=_0x1cff93;logger[_0x27613e(0x10e)](_0x27613e(0x110),_0x1bfc4c,_0xfcd966);})[_0x1cff93(0x126)](function(_0x453ac9){const _0x364585=_0x1cff93;logger[_0x364585(0x10e)](JSON['stringify'](_0x453ac9));});});},Migration[a1094_0x287f97(0x123)][a1094_0x287f97(0x104)]=function(_0x31fcc7,_0x10e192,_0x94b1df){const _0x1e041b=a1094_0x287f97,_0x5998f9=this;this[_0x1e041b(0x106)][_0x1e041b(0x121)](function(){const _0x377204=_0x1e041b;return _0x5998f9[_0x377204(0xf0)]['addColumn'](_0x31fcc7,_0x10e192,_0x94b1df)['then'](function(){const _0x2619fc=_0x377204;logger[_0x2619fc(0x10e)](_0x2619fc(0x122),_0x10e192,_0x31fcc7);})[_0x377204(0x126)](function(_0x112206){const _0x2da6d0=_0x377204;logger[_0x2da6d0(0x10e)](JSON['stringify'](_0x112206));});});},Migration[a1094_0x287f97(0x123)][a1094_0x287f97(0xf6)]=function(_0x18cb55){const _0x1620bc=a1094_0x287f97,_0x3ba3d4=this;this[_0x1620bc(0x106)][_0x1620bc(0x121)](function(){const _0x507bca=_0x1620bc;return _0x3ba3d4[_0x507bca(0xf0)]['dropTable'](_0x18cb55,{'force':!![]})['then'](function(){const _0xc704b8=_0x507bca;logger[_0xc704b8(0x10e)]('table\x20dropped\x20%s',_0x18cb55);})[_0x507bca(0x126)](function(_0x2cf83a){const _0x919373=_0x507bca;logger[_0x919373(0x10e)](JSON['stringify'](_0x2cf83a));});});},Migration['prototype'][a1094_0x287f97(0x119)]=function(_0x14831b,_0x361710,_0x7c4b90){const _0x459a1b=a1094_0x287f97,_0x226b56=this;this[_0x459a1b(0x106)]['enqueue'](function(){const _0x1481e8=_0x459a1b;return _0x226b56[_0x1481e8(0xf0)]['addIndex'](_0x14831b,_0x361710,{'indexName':_0x7c4b90})[_0x1481e8(0xfa)](function(){const _0x594c44=_0x1481e8;logger['info'](_0x594c44(0xf8),_0x14831b,_0x361710['join'](','),_0x7c4b90);})['catch'](function(_0x46efb9){const _0x270f3c=_0x1481e8;logger[_0x270f3c(0x10e)](JSON[_0x270f3c(0x137)](_0x46efb9));});});},Migration['prototype'][a1094_0x287f97(0x133)]=function(_0x562cc2){const _0x14268d=a1094_0x287f97,_0x25cff5=this;this[_0x14268d(0x106)][_0x14268d(0x121)](function(){const _0x23ccaa=_0x14268d;return _0x25cff5[_0x23ccaa(0xf0)]['sequelize'][_0x23ccaa(0x133)](_0x562cc2)['then'](function(){const _0x1458f8=_0x23ccaa;logger['info'](_0x1458f8(0xf1),_0x562cc2);})[_0x23ccaa(0x126)](function(_0x53d4aa){const _0x475120=_0x23ccaa;logger[_0x475120(0x10e)](JSON[_0x475120(0x137)](_0x53d4aa));});});},Migration[a1094_0x287f97(0x123)][a1094_0x287f97(0x118)]=function(_0x16f494,_0x24bb08){const _0x4242ec=a1094_0x287f97,_0x396246=this;this[_0x4242ec(0x106)][_0x4242ec(0x121)](function(){const _0x40426b=_0x4242ec;return _0x396246[_0x40426b(0xf0)][_0x40426b(0x118)](_0x16f494,_0x24bb08)[_0x40426b(0xfa)](function(){const _0x52aaf7=_0x40426b;logger[_0x52aaf7(0x10e)](_0x52aaf7(0x115),_0x24bb08,_0x16f494);})[_0x40426b(0x126)](function(_0x2f1d0b){const _0x1857dd=_0x40426b;logger[_0x1857dd(0x10e)](util[_0x1857dd(0x12d)](_0x2f1d0b,{'showHidden':![],'depth':null}));});});},Migration[a1094_0x287f97(0x123)][a1094_0x287f97(0x12b)]=function(_0x434599){const _0x1887a0=a1094_0x287f97;this[_0x1887a0(0x106)][_0x1887a0(0x121)](function(){return _0x434599();});},module[a1094_0x287f97(0x100)]={'up':function(_0x2b336e,_0x49821d){return new Promise(function(_0x2fd08e){const _0x138047=a1094_0x50df,_0x4f99f4=new Migration(_0x2b336e);_0x4f99f4['addColumn'](_0x138047(0x111),_0x138047(0x11c),{'type':_0x49821d[_0x138047(0xfc)]}),_0x4f99f4['addColumn'](_0x138047(0x111),_0x138047(0x124),{'type':_0x49821d[_0x138047(0xfc)]}),_0x4f99f4[_0x138047(0x133)](_0x138047(0x11a)),_0x4f99f4[_0x138047(0x104)](_0x138047(0x12a),'lastMsgDirection',{'type':_0x49821d[_0x138047(0xf4)]('in',_0x138047(0xf3)),'defaultValue':'in','allowNull':![]}),_0x4f99f4[_0x138047(0x104)](_0x138047(0x12a),_0x138047(0x12c),{'type':_0x49821d[_0x138047(0x11b)]}),_0x4f99f4['addColumn'](_0x138047(0x127),_0x138047(0x112),{'type':_0x49821d[_0x138047(0xf4)]('in',_0x138047(0xf3)),'defaultValue':'in','allowNull':![]}),_0x4f99f4[_0x138047(0x104)](_0x138047(0x127),_0x138047(0x12c),{'type':_0x49821d[_0x138047(0x11b)]}),_0x4f99f4[_0x138047(0x104)]('sms_interactions',_0x138047(0x112),{'type':_0x49821d[_0x138047(0xf4)]('in','out'),'defaultValue':'in','allowNull':![]}),_0x4f99f4[_0x138047(0x104)](_0x138047(0xf5),'lastMsgAt',{'type':_0x49821d[_0x138047(0x11b)]}),_0x4f99f4[_0x138047(0x104)](_0x138047(0x128),_0x138047(0x112),{'type':_0x49821d[_0x138047(0xf4)]('in',_0x138047(0xf3)),'defaultValue':'in','allowNull':![]}),_0x4f99f4[_0x138047(0x104)](_0x138047(0x128),_0x138047(0x12c),{'type':_0x49821d[_0x138047(0x11b)]}),_0x4f99f4[_0x138047(0x104)]('fax_interactions',_0x138047(0x112),{'type':_0x49821d['ENUM']('in','out'),'defaultValue':'in','allowNull':![]}),_0x4f99f4[_0x138047(0x104)]('fax_interactions',_0x138047(0x12c),{'type':_0x49821d[_0x138047(0x11b)]});const _0x284f7d=[_0x138047(0x10f),'Mail','Sms',_0x138047(0xfb)];for(let _0x113222=0x0;_0x113222<_0x284f7d[_0x138047(0x135)];_0x113222++){_0x4f99f4[_0x138047(0x133)](_0x138047(0x139)+_0x284f7d[_0x113222][_0x138047(0x109)]()+_0x138047(0x11e)+_0x284f7d[_0x113222]+_0x138047(0x132)+_0x284f7d[_0x113222][_0x138047(0x109)]()+_0x138047(0x129)+_0x284f7d[_0x113222]+_0x138047(0xef)+_0x284f7d[_0x113222]+'InteractionId)\x20t2\x20SET\x20t1.lastMsgDirection\x20=\x20t2.direction,\x20t1.lastMsgAt\x20=\x20t2.createdAt\x20WHERE\x20t1.id\x20=\x20t2.'+_0x284f7d[_0x113222]+_0x138047(0x131));}_0x4f99f4['query'](_0x138047(0x102)),_0x4f99f4[_0x138047(0x125)](_0x138047(0x10d),_0x138047(0xf7),{'type':_0x49821d[_0x138047(0xf4)](_0x138047(0xf2),'skebby',_0x138047(0x138))}),_0x4f99f4[_0x138047(0x104)](_0x138047(0x120),_0x138047(0x130),{'type':_0x49821d[_0x138047(0xfe)]}),_0x4f99f4['addIndex']('cm_contacts',[_0x138047(0x10b)],'phone'),_0x4f99f4[_0x138047(0x119)](_0x138047(0x12f),[_0x138047(0x113)],_0x138047(0x113)),_0x4f99f4[_0x138047(0x119)](_0x138047(0x103),[_0x138047(0x113)],_0x138047(0x113)),_0x4f99f4[_0x138047(0x119)](_0x138047(0x134),[_0x138047(0x113)],_0x138047(0x113)),_0x4f99f4[_0x138047(0x119)](_0x138047(0x11d),['membername','interface'],'membername_interface'),_0x4f99f4[_0x138047(0x133)](_0x138047(0x12e)),_0x4f99f4[_0x138047(0x133)](_0x138047(0x136)),_0x4f99f4['query'](_0x138047(0x107)),_0x4f99f4['query']('INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x272\x27,\x20\x27set\x27,\x20\x27CDR(type)=dialer\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());'),_0x4f99f4['query'](_0x138047(0x117)),_0x4f99f4[_0x138047(0x133)]('INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x274\x27,\x20\x27gotoif\x27,\x20\x27$[\x22${XMD-AMD}\x22\x20!=\x20\x22NONE\x22\x20]?5:11\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());'),_0x4f99f4[_0x138047(0x133)](_0x138047(0x10a)),_0x4f99f4[_0x138047(0x133)]('INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,\x20`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x276\x27,\x20\x27background\x27,\x20\x27silence/1\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());'),_0x4f99f4['query'](_0x138047(0x116)),_0x4f99f4[_0x138047(0x133)](_0x138047(0x108)),_0x4f99f4['query']('INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x279\x27,\x20\x27gotoif\x27,\x20\x27$[\x22${AMDSTATUS}\x22\x20==\x20\x22NOTSURE\x22\x20]?11:10\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());'),_0x4f99f4[_0x138047(0x133)]('INSERT\x20INTO\x20`voice_extensions`\x20(`context`,\x20`exten`,\x20`priority`,\x20`app`,\x20`appdata`,\x20`type`,\x20`description`,`createdAt`,\x20`updatedAt`)\x20VALUES\x20(\x27from-sip\x27,\x20\x27xcally-motion-dialer\x27,\x20\x2710\x27,\x20\x27gotoif\x27,\x20\x27$[\x22${AMDSTATUS}\x22\x20==\x20\x22MACHINE\x22\x20]?14:11\x27,\x20\x27system\x27,\x20\x27Dialer\x20extensions\x20auto\x20generated\x27,\x20NOW(),\x20NOW());'),_0x4f99f4['query'](_0x138047(0x11f)),_0x4f99f4['query'](_0x138047(0x101)),_0x4f99f4[_0x138047(0x133)](_0x138047(0xf9)),_0x4f99f4[_0x138047(0x133)](_0x138047(0xff)),_0x4f99f4[_0x138047(0x12b)](_0x2fd08e);});},'down':function(){}};
\ No newline at end of file