Друзья, добрый день.
Подскажите, пожалуйста, направление.
Есть АТС на AsteriskNow. Есть загрузка данных в 1С. По некоторым пользователям история звонка правильно прикрепляется к сотруднику, по некоторым - сотрудник не заполняется. Есть различия в деталях звонка: у некоторых пользователей стоит их внутренний звонок, у других - номер транка. Понимаю, что на стороне АТС похоже что-то. Причем в настройках пользователя. Но визуально не могу найти различия в настройках.
Куда копать?
Прилагаю дебаги двух таких звонков.
Хорошо:
Плохо:
P.S. Кажется, форма отправки нового сообщения на форум не работает в Хроме.
Подскажите, пожалуйста, направление.
Есть АТС на AsteriskNow. Есть загрузка данных в 1С. По некоторым пользователям история звонка правильно прикрепляется к сотруднику, по некоторым - сотрудник не заполняется. Есть различия в деталях звонка: у некоторых пользователей стоит их внутренний звонок, у других - номер транка. Понимаю, что на стороне АТС похоже что-то. Причем в настройках пользователя. Но визуально не могу найти различия в настройках.
Куда копать?
Прилагаю дебаги двух таких звонков.
Хорошо:
Скрытый текст |
---|
{"#",4238019d-7e49-4fc9-91db-b6b951d5cf8e, {2, { {"S","CDR"}, {"#",acf6192e-81ca-46ef-93a6-5a6968b78663, {9, {34, {0,"AcctId", {"Pattern", {"L"}, {"N",10,0,1} },"AcctId",10}, {1,"id_pbx", {"Pattern", {"L"}, {"N",10,0,0} },"id_pbx",10}, {2,"UID", {"Pattern", {"L"}, {"N",32,0,1} },"UID",32}, {3,"calldate", {"Pattern", {"D"}, {"L"} },"calldate",19}, {4,"clid", {"Pattern", {"S",50,1}, {"L"} },"clid",50}, {5,"src", {"Pattern", {"S",50,1}, {"L"} },"src",50}, {6,"dst", {"Pattern", {"S",50,1}, {"L"} },"dst",50}, {7,"answer", {"Pattern", {"D"}, {"L"} },"answer",19}, {8,"dcontext", {"Pattern", {"S",300,1}, {"L"} },"dcontext",300}, {9,"channel", {"Pattern", {"S",300,1}, {"L"} },"channel",300}, {10,"dstchannel", {"Pattern", {"S",300,1}, {"L"} },"dstchannel",300}, {11,"lastapp", {"Pattern", {"S",50,1}, {"L"} },"lastapp",50}, {12,"lastdata", {"Pattern", {"S",500,1}, {"L"} },"lastdata",500}, {13,"start", {"Pattern", {"D"}, {"L"} },"start",19}, {14,"end", {"Pattern", {"D"}, {"L"} },"end",19}, {15,"duration", {"Pattern", {"L"}, {"N",10,0,0} },"duration",10}, {16,"billsec", {"Pattern", {"L"}, {"N",10,0,0} },"billsec",10}, {17,"disposition", {"Pattern", {"S",50,1}, {"L"} },"disposition",50}, {18,"amaflags", {"Pattern", {"S",50,1}, {"L"} },"amaflags",50}, {19,"accountcode", {"Pattern", {"S",50,1}, {"L"} },"accountcode",50}, {20,"uniqueid", {"Pattern", {"S",32,1}, {"L"} },"uniqueid",32}, {21,"userfield", {"Pattern", {"S",500,1}, {"L"} },"userfield",500}, {22,"InternalCalleridNum", {"Pattern", {"L"}, {"N",32,0,0} },"InternalCalleridNum",32}, {23,"recordingfile", {"Pattern", {"S",500,1}, {"L"} },"recordingfile",500}, {24,"origextension", {"Pattern", {"S",50,1}, {"L"} },"origextension",50}, {25,"aocs", {"Pattern", {"S",50,1}, {"L"} },"aocs",50}, {26,"aocd", {"Pattern", {"S",50,1}, {"L"} },"aocd",50}, {27,"aoce", {"Pattern", {"S",50,1}, {"L"} },"aoce",50}, {28,"aoc_costs_per_unit", {"Pattern", {"S",50,1}, {"L"} },"aoc_costs_per_unit",50}, {29,"aoc_costs_per_unit_currency", {"Pattern", {"S",50,1}, {"L"} },"aoc_costs_per_unit_currency",50}, {30,"linkedid", {"Pattern", {"S",50,1}, {"L"} },"linkedid",50}, {31,"did", {"Pattern", {"S",50,1}, {"L"} },"did",50}, {32,"cnum", {"Pattern", {"S",30,1}, {"L"} },"cnum",30}, {33,"cnam", {"Pattern", {"S",50,1}, {"L"} },"cnam",50} }, {2,34,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,30,30,31,31,32,32,33,33, {1,1, {2,0,34, {"N",105280}, {"N",1}, {"N",115705247982147}, {"D",20191008145318}, {"S",""""" <138>"}, {"S","138"}, {"S","87172485727"}, {"D",20191008145328}, {"S","from-internal"}, {"S","PJSIP/138-000001f0"}, {"S","PJSIP/501072_(Sutusheva)-000001f1"}, {"S","Dial"}, {"S","PJSIP/87172485727@501072_(Sutusheva),300,T"}, {"D",20191008145318}, {"D",20191008145412}, {"N",55}, {"N",45}, {"S","ANSWERED"}, {"S","DOCUMENTATION"}, {"S",""}, {"S","1570524798.2147"}, {"S",""}, {"N",0}, {"S","out-87172485727-138-20191008-145318-1570524798.2147.wav"}, {"S",""}, {"S",""}, {"S",""}, {"S",""}, {"S",""}, {"S",""}, {"S","1570524798.2147"}, {"S",""}, {"S","138"}, {"S",""},0} },33,0}, {0,0} } } }, { {"S","CEL"}, {"#",acf6192e-81ca-46ef-93a6-5a6968b78663, {9, {23, {0,"AcctId", {"Pattern", {"L"}, {"N",10,0,1} },"AcctId",10}, {1,"id_pbx", {"Pattern", {"L"}, {"N",10,0,0} },"id_pbx",10}, {2,"UID", {"Pattern", {"L"}, {"N",32,0,1} },"UID",32}, {3,"eventtype", {"Pattern", {"S",50,1}, {"L"} },"eventtype",50}, {4,"eventtime", {"Pattern", {"D"}, {"L"} },"eventtime",19}, {5,"cidname", {"Pattern", {"S",50,1}, {"L"} },"cidname",50}, {6,"cidnum", {"Pattern", {"S",50,1}, {"L"} },"cidnum",50}, {7,"cidani", {"Pattern", {"S",50,1}, {"L"} },"cidani",50}, {8,"cidrdnis", {"Pattern", {"S",50,1}, {"L"} },"cidrdnis",50}, {9,"ciddnid", {"Pattern", {"S",50,1}, {"L"} },"ciddnid",50}, {10,"context", {"Pattern", {"S",300,1}, {"L"} },"context",300}, {11,"exten", {"Pattern", {"S",50,1}, {"L"} },"exten",50}, {12,"channame", {"Pattern", {"S",300,1}, {"L"} },"channame",300}, {13,"appname", {"Pattern", {"S",50,1}, {"L"} },"appname",50}, {14,"appdata", {"Pattern", {"S",300,1}, {"L"} },"appdata",300}, {15,"amaflags", {"Pattern", {"S",50,1}, {"L"} },"amaflags",50}, {16,"accountcode", {"Pattern", {"S",50,1}, {"L"} },"accountcode",50}, {17,"uniqueid", {"Pattern", {"S",50,1}, {"L"} },"uniqueid",50}, {18,"peer", {"Pattern", {"S",300,1}, {"L"} },"peer",300}, {19,"userdeftype", {"Pattern", {"S",50,1}, {"L"} },"userdeftype",50}, {20,"eventextra", {"Pattern", {"S",50,1}, {"L"} },"eventextra",50}, {21,"linkedid", {"Pattern", {"S",32,1}, {"L"} },"linkedid",32}, {22,"userfield", {"Pattern", {"S",50,1}, {"L"} },"userfield",50} }, {2,23,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21,22,22, {1,4, {2,0,23, {"N",1600479}, {"N",1}, {"N",115705247982147}, {"S","BRIDGE_START"}, {"D",20191008145328}, {"S","CID:138"}, {"S","87172485727"}, {"S",""}, {"S",""}, {"S",""}, {"S","from-pstn"}, {"S",""}, {"S","PJSIP/501072_(Sutusheva)-000001f1"}, {"S","AppDial"}, {"S","(Outgoing Line)"}, {"S","3"}, {"S",""}, {"S","1570524798.2148"}, {"S",""}, {"S",""}, {"S",""}, {"S","1570524798.2147"}, {"S",""},0}, {2,1,23, {"N",1600480}, {"N",1}, {"N",115705247982147}, {"S","BRIDGE_START"}, {"D",20191008145328}, {"S",""}, {"S","138"}, {"S","138"}, {"S",""}, {"S","87172485727"}, {"S","macro-dialout-trunk"}, {"S","s"}, {"S","PJSIP/138-000001f0"}, {"S","Dial"}, {"S","PJSIP/87172485727@501072_(Sutusheva),300,T"}, {"S","3"}, {"S",""}, {"S","1570524798.2147"}, {"S","PJSIP/501072_(Sutusheva)-000001f1"}, {"S",""}, {"S",""}, {"S","1570524798.2147"}, {"S",""},0}, {2,2,23, {"N",1600485}, {"N",1}, {"N",115705247982147}, {"S","BRIDGE_END"}, {"D",20191008145412}, {"S",""}, {"S","138"}, {"S","138"}, {"S",""}, {"S","87172485727"}, {"S","macro-dialout-trunk"}, {"S","s"}, {"S","PJSIP/138-000001f0"}, {"S","Dial"}, {"S","PJSIP/87172485727@501072_(Sutusheva),300,T"}, {"S","3"}, {"S",""}, {"S","1570524798.2147"}, {"S","PJSIP/501072_(Sutusheva)-000001f1"}, {"S",""}, {"S",""}, {"S","1570524798.2147"}, {"S",""},0}, {2,3,23, {"N",1600486}, {"N",1}, {"N",115705247982147}, {"S","BRIDGE_END"}, {"D",20191008145412}, {"S","CID:138"}, {"S","87172485727"}, {"S",""}, {"S",""}, {"S",""}, {"S","from-pstn"}, {"S",""}, {"S","PJSIP/501072_(Sutusheva)-000001f1"}, {"S","AppDial"}, {"S","(Outgoing Line)"}, {"S","3"}, {"S",""}, {"S","1570524798.2148"}, {"S",""}, {"S",""}, {"S",""}, {"S","1570524798.2147"}, {"S",""},0} },22,3}, {0,0} } } } } } |
Плохо:
Скрытый текст |
---|
{"#",4238019d-7e49-4fc9-91db-b6b951d5cf8e, {2, { {"S","CDR"}, {"#",acf6192e-81ca-46ef-93a6-5a6968b78663, {9, {34, {0,"AcctId", {"Pattern", {"L"}, {"N",10,0,1} },"AcctId",10}, {1,"id_pbx", {"Pattern", {"L"}, {"N",10,0,0} },"id_pbx",10}, {2,"UID", {"Pattern", {"L"}, {"N",32,0,1} },"UID",32}, {3,"calldate", {"Pattern", {"D"}, {"L"} },"calldate",19}, {4,"clid", {"Pattern", {"S",50,1}, {"L"} },"clid",50}, {5,"src", {"Pattern", {"S",50,1}, {"L"} },"src",50}, {6,"dst", {"Pattern", {"S",50,1}, {"L"} },"dst",50}, {7,"answer", {"Pattern", {"D"}, {"L"} },"answer",19}, {8,"dcontext", {"Pattern", {"S",300,1}, {"L"} },"dcontext",300}, {9,"channel", {"Pattern", {"S",300,1}, {"L"} },"channel",300}, {10,"dstchannel", {"Pattern", {"S",300,1}, {"L"} },"dstchannel",300}, {11,"lastapp", {"Pattern", {"S",50,1}, {"L"} },"lastapp",50}, {12,"lastdata", {"Pattern", {"S",500,1}, {"L"} },"lastdata",500}, {13,"start", {"Pattern", {"D"}, {"L"} },"start",19}, {14,"end", {"Pattern", {"D"}, {"L"} },"end",19}, {15,"duration", {"Pattern", {"L"}, {"N",10,0,0} },"duration",10}, {16,"billsec", {"Pattern", {"L"}, {"N",10,0,0} },"billsec",10}, {17,"disposition", {"Pattern", {"S",50,1}, {"L"} },"disposition",50}, {18,"amaflags", {"Pattern", {"S",50,1}, {"L"} },"amaflags",50}, {19,"accountcode", {"Pattern", {"S",50,1}, {"L"} },"accountcode",50}, {20,"uniqueid", {"Pattern", {"S",32,1}, {"L"} },"uniqueid",32}, {21,"userfield", {"Pattern", {"S",500,1}, {"L"} },"userfield",500}, {22,"InternalCalleridNum", {"Pattern", {"L"}, {"N",32,0,0} },"InternalCalleridNum",32}, {23,"recordingfile", {"Pattern", {"S",500,1}, {"L"} },"recordingfile",500}, {24,"origextension", {"Pattern", {"S",50,1}, {"L"} },"origextension",50}, {25,"aocs", {"Pattern", {"S",50,1}, {"L"} },"aocs",50}, {26,"aocd", {"Pattern", {"S",50,1}, {"L"} },"aocd",50}, {27,"aoce", {"Pattern", {"S",50,1}, {"L"} },"aoce",50}, {28,"aoc_costs_per_unit", {"Pattern", {"S",50,1}, {"L"} },"aoc_costs_per_unit",50}, {29,"aoc_costs_per_unit_currency", {"Pattern", {"S",50,1}, {"L"} },"aoc_costs_per_unit_currency",50}, {30,"linkedid", {"Pattern", {"S",50,1}, {"L"} },"linkedid",50}, {31,"did", {"Pattern", {"S",50,1}, {"L"} },"did",50}, {32,"cnum", {"Pattern", {"S",30,1}, {"L"} },"cnum",30}, {33,"cnam", {"Pattern", {"S",50,1}, {"L"} },"cnam",50} }, {2,34,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,30,30,31,31,32,32,33,33, {1,1, {2,0,34, {"N",105750}, {"N",1}, {"N",115706109272604}, {"D",20191009144847}, {"S",""""" <501072>"}, {"S","501072"}, {"S","87172556823"}, {"D",20191009144854}, {"S","from-internal"}, {"S","PJSIP/117-00000235"}, {"S","PJSIP/501072_(Sutusheva)-00000236"}, {"S","Dial"}, {"S","PJSIP/87172556823@501072_(Sutusheva),300,T"}, {"D",20191009144847}, {"D",20191009144919}, {"N",32}, {"N",25}, {"S","ANSWERED"}, {"S","DOCUMENTATION"}, {"S",""}, {"S","1570610927.2604"}, {"S",""}, {"N",0}, {"S","out-87172556823-117-20191009-144847-1570610927.2604.wav"}, {"S",""}, {"S",""}, {"S",""}, {"S",""}, {"S",""}, {"S",""}, {"S","1570610927.2604"}, {"S",""}, {"S","117"}, {"S",""},0} },33,0}, {0,0} } } }, { {"S","CEL"}, {"#",acf6192e-81ca-46ef-93a6-5a6968b78663, {9, {23, {0,"AcctId", {"Pattern", {"L"}, {"N",10,0,1} },"AcctId",10}, {1,"id_pbx", {"Pattern", {"L"}, {"N",10,0,0} },"id_pbx",10}, {2,"UID", {"Pattern", {"L"}, {"N",32,0,1} },"UID",32}, {3,"eventtype", {"Pattern", {"S",50,1}, {"L"} },"eventtype",50}, {4,"eventtime", {"Pattern", {"D"}, {"L"} },"eventtime",19}, {5,"cidname", {"Pattern", {"S",50,1}, {"L"} },"cidname",50}, {6,"cidnum", {"Pattern", {"S",50,1}, {"L"} },"cidnum",50}, {7,"cidani", {"Pattern", {"S",50,1}, {"L"} },"cidani",50}, {8,"cidrdnis", {"Pattern", {"S",50,1}, {"L"} },"cidrdnis",50}, {9,"ciddnid", {"Pattern", {"S",50,1}, {"L"} },"ciddnid",50}, {10,"context", {"Pattern", {"S",300,1}, {"L"} },"context",300}, {11,"exten", {"Pattern", {"S",50,1}, {"L"} },"exten",50}, {12,"channame", {"Pattern", {"S",300,1}, {"L"} },"channame",300}, {13,"appname", {"Pattern", {"S",50,1}, {"L"} },"appname",50}, {14,"appdata", {"Pattern", {"S",300,1}, {"L"} },"appdata",300}, {15,"amaflags", {"Pattern", {"S",50,1}, {"L"} },"amaflags",50}, {16,"accountcode", {"Pattern", {"S",50,1}, {"L"} },"accountcode",50}, {17,"uniqueid", {"Pattern", {"S",50,1}, {"L"} },"uniqueid",50}, {18,"peer", {"Pattern", {"S",300,1}, {"L"} },"peer",300}, {19,"userdeftype", {"Pattern", {"S",50,1}, {"L"} },"userdeftype",50}, {20,"eventextra", {"Pattern", {"S",50,1}, {"L"} },"eventextra",50}, {21,"linkedid", {"Pattern", {"S",32,1}, {"L"} },"linkedid",32}, {22,"userfield", {"Pattern", {"S",50,1}, {"L"} },"userfield",50} }, {2,23,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21,22,22, {1,4, {2,0,23, {"N",1608935}, {"N",1}, {"N",115706109272604}, {"S","BRIDGE_START"}, {"D",20191009144854}, {"S","CID:501072"}, {"S","87172556823"}, {"S",""}, {"S",""}, {"S",""}, {"S","from-pstn"}, {"S",""}, {"S","PJSIP/501072_(Sutusheva)-00000236"}, {"S","AppDial"}, {"S","(Outgoing Line)"}, {"S","3"}, {"S",""}, {"S","1570610927.2605"}, {"S",""}, {"S",""}, {"S",""}, {"S","1570610927.2604"}, {"S",""},0}, {2,1,23, {"N",1608936}, {"N",1}, {"N",115706109272604}, {"S","BRIDGE_START"}, {"D",20191009144854}, {"S",""}, {"S","501072"}, {"S","117"}, {"S",""}, {"S","87172556823"}, {"S","macro-dialout-trunk"}, {"S","s"}, {"S","PJSIP/117-00000235"}, {"S","Dial"}, {"S","PJSIP/87172556823@501072_(Sutusheva),300,T"}, {"S","3"}, {"S",""}, {"S","1570610927.2604"}, {"S","PJSIP/501072_(Sutusheva)-00000236"}, {"S",""}, {"S",""}, {"S","1570610927.2604"}, {"S",""},0}, {2,2,23, {"N",1608937}, {"N",1}, {"N",115706109272604}, {"S","BRIDGE_END"}, {"D",20191009144919}, {"S","CID:501072"}, {"S","87172556823"}, {"S",""}, {"S",""}, {"S",""}, {"S","from-pstn"}, {"S",""}, {"S","PJSIP/501072_(Sutusheva)-00000236"}, {"S","AppDial"}, {"S","(Outgoing Line)"}, {"S","3"}, {"S",""}, {"S","1570610927.2605"}, {"S","PJSIP/117-00000235"}, {"S",""}, {"S",""}, {"S","1570610927.2604"}, {"S",""},0}, {2,3,23, {"N",1608940}, {"N",1}, {"N",115706109272604}, {"S","BRIDGE_END"}, {"D",20191009144919}, {"S",""}, {"S","501072"}, {"S","117"}, {"S",""}, {"S","87172556823"}, {"S","macro-dialout-trunk"}, {"S","s"}, {"S","PJSIP/117-00000235"}, {"S","Dial"}, {"S","PJSIP/87172556823@501072_(Sutusheva),300,T"}, {"S","3"}, {"S",""}, {"S","1570610927.2604"}, {"S",""}, {"S",""}, {"S",""}, {"S","1570610927.2604"}, {"S",""},0} },22,3}, {0,0} } } } } } |
P.S. Кажется, форма отправки нового сообщения на форум не работает в Хроме.