From: "Nikolay A. Kostyakov" Received: by mx.demos.su (CommuniGate Pro PIPE 5.0.14) with PIPE id 548567669; Wed, 27 Mar 2013 16:11:05 +0400 X-Spam-Status: No, hits=-1.1 required=5.0 tests=BAYES_00,NORMAL_HTTP_TO_IP, RP_MATCHES_RCVD,SPF_PASS,UNPARSEABLE_RELAY autolearn=ham version=3.3.2-st2.demos X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 3.3.2-st2.demos (2011-06-06) X-Spam-Report: -1.1 points, 5.0 required; * -0.0 SPF_PASS SPF: sender matches SPF record * -0.6 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain * 0.0 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL * -0.5 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines Received: from mxs.vaz.ru ([195.144.199.29] verified) by mx.demos.su (CommuniGate Pro SMTP 5.0.14) with ESMTP id 548567668 for CGatePro@mx.ru; Wed, 27 Mar 2013 16:11:00 +0400 X-Stored-Out: test Received: from internal.domain; Wed, 27 Mar 2013 16:10:55 +0400 Message-ID: <5152E1CD.20308@vaz.ru> Date: Wed, 27 Mar 2013 16:10:53 +0400 Organization: =?KOI8-R?Q?=E1=F7=F4=EF=F7=E1=FA?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:19.0) Gecko/20100101 Firefox/19.0 SeaMonkey/2.16.2 MIME-Version: 1.0 To: CommuniGate Pro Russian Discussions Subject: Re: [CGP] SIP =?KOI8-R?Q?=DA=D7=CF=CE=CB=C9_=DE=C5=D2=C5=DA_?= =?KOI8-R?Q?gatewaycaller__=CE=C1_2_BackEnd_Static_=CB=CC=C1=D3?= =?KOI8-R?Q?=D4=C5=D2=C5?= References: In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Nikolay A. Kostyakov пишет: > Пытаюсь разобраться и настроить звонки по sip на статическом кластере > из двух бакэнд серверов A и B > CGP 6.0.2 Linux. > На сервере A есть маршрут > Signal:<641770@*> = gatewaycaller{641770,cm2}#pbx > На сервере B есть аккаунт bbb > > Если зарегистрироваться аккаунтом bbb через сервер A , то при звонке > на номер 641770 возникает ошибка > Server Internal Error . > По логам видно , что в gatewaycaller при запросе GetAccountSettings > при межсерверном запросе в кластере пропадает имя аккаунта - > GETACCOUNTSETTINGS "@dis.mydomain.ru" , что и вызывает ошибку. > > Кто подскажет - куда пропадает имя и как это исправить? > Добрый день ! Неужели никто не сталкивался и не использует звонки в кластере из статичных бэкенд серверов ? Как все-таки побороть пропажу логина аккаунта при внутрикластерном запросе по PWD GetAccountSettings и другие Account запросы между серверами-то : 13:59:22.535 5 ADMIN-000001 out: GETACCOUNTSETTINGS "@dis.mydomain.ru"\r\n 13:59:22.534 5 PWD-000001([172.25.50.50]) inp: GETACCOUNTSETTINGS "@dis.mydomain.ru" 13:59:22.535 5 ADMIN-000001 inp: 525 illegal name for a domain object > > > Лог с сервера A: > > 13:59:22.518 2 SIPDATA-000290 inp: req [0.0.0.0]:5060 <- > udp[172.20.10.181]:5060 INVITE(1161 bytes) sip:641770@dis.mydomain.ru > 13:59:22.518 2 SIPDATA-000290 created SIPS-000250 > 13:59:22.518 2 SIPS-000250 [000290] INVITE sip:641770@dis.mydomain.ru > from udp[172.20.10.181]:5060 > 13:59:22.518 2 SIPDATA-000291 out: rsp [0.0.0.0]:5060 -> > udp[172.20.10.181]:5060 100-INVITE(312 bytes) > 13:59:22.518 2 SIPS-000250 [000291] 100-INVITE(trying) sent > [0.0.0.0]:5060 -> udp[172.20.10.181]:5060 > 13:59:22.518 2 SIPS-000250 created SIGNAL-000258 > 13:59:22.518 2 SIGNAL-000258 SIPS-000250: INVITE > sip:641770@dis.mydomain.ru > 13:59:22.519 3 SIGNAL-000258 rejecting INVITE from bbb@dis.mydomain.ru > w/o authentication > 13:59:22.519 2 SIGNAL-000258 401 generated > 13:59:22.519 2 SIGNAL-000258 401 relaying > 13:59:22.519 2 SIGNAL-000258 releasing > 13:59:22.520 2 SIPDATA-000292 out: rsp [0.0.0.0]:5060 -> > udp[172.20.10.181]:5060 401-INVITE(455 bytes) > 13:59:22.520 2 SIPS-000250 [000292] 401-INVITE(final) sent > [0.0.0.0]:5060 -> udp[172.20.10.181]:5060 > 13:59:22.526 2 SIPDATA-000293 inp: req [0.0.0.0]:5060 <- > udp[172.20.10.181]:5060 ACK(325 bytes) sip:641770@dis.mydomain.ru > 13:59:22.526 2 SIPDATA-000293 sent to SIPS-000250 > 13:59:22.527 2 SIPS-000250 [000293] confirmed: ACK received > 13:59:22.528 2 SIPDATA-000294 inp: req [0.0.0.0]:5060 <- > udp[172.20.10.181]:5060 INVITE(1381 bytes) sip:641770@dis.mydomain.ru > 13:59:22.528 2 SIPDATA-000294 created SIPS-000252 > 13:59:22.529 2 SIPS-000252 [000294] INVITE sip:641770@dis.mydomain.ru > from udp[172.20.10.181]:5060 > 13:59:22.529 4 ADMIN-000001 resuming protocol > 13:59:22.529 5 ADMIN-000001 out: CHECKACCOUNTPASSWORD > "bbb@dis.mydomain.ru" DIGEST-HTTP "83976d94df92ccba1b539afb22aef27c" > KEY > "bbb:mxs.mydomain.ru:5BE12A15BB7476D8954B:00000001:xyz:auth:INVITE:sip:641770@dis.mydomain.ru" > ADDRESS "[172.20.10.181]:5060" METHOD "SIP"\r\n > 13:59:22.530 5 ADMIN-000001 inp: 201 > [NTYwMWFmNWUzY2IzN2UxZWYwMjhjYzhkMmY0MjRiYTM=] > 13:59:22.530 4 ADMIN-000001 suspending protocol > 13:59:22.530 2 SIPDATA-000295 out: rsp [0.0.0.0]:5060 -> > udp[172.20.10.181]:5060 100-INVITE(312 bytes) > 13:59:22.530 2 SIPS-000252 [000295] 100-INVITE(trying) sent > [0.0.0.0]:5060 -> udp[172.20.10.181]:5060 > 13:59:22.530 2 SIPS-000252 created SIGNAL-000260 > 13:59:22.530 2 SIGNAL-000260 SIPS-000252: INVITE > sip:641770@dis.mydomain.ru > 13:59:22.531 4 ADMIN-000001 resuming protocol > 13:59:22.531 5 ADMIN-000001 out: SIGNALOUTGOING "bbb@dis.mydomain.ru" > {Call-ID="4b4081dc3eab6d463f164237f6e81238@0:0:0:0:0:0:0:0";Date=#T26-03-2013_09:59:22;From=bbb@dis.mydomain.ru;To=641770@dis.mydomain.ru;authName=bbb@dis.mydomain.ru;fromC={""="sip:bbb@172.20.10.181:5060;transport=udp;registering_acc=dis_mydomain_ru";};fromTag=f4f019d1;signalRef=260-172.25.50.50;type=AV;}\r\n > 13:59:22.534 5 ADMIN-000001 inp: 201 {} > 13:59:22.534 4 ADMIN-000001 suspending protocol > 13:59:22.534 2 DIALOG-000017 created(authOut) > 13:59:22.534 2 SIGNAL-000260 INVITE sip:641770@dis.mydomain.ru via > sip:641770@dis.mydomain.ru > 13:59:22.534 2 PBXLEG-000024 'gatewaycaller' created for > pbx@dis.mydomain.ru > 13:59:22.534 2 SIGNAL-000260 {1} sent to NODE-000024: INVITE > sip:641770@dis.mydomain.ru > 13:59:22.534 2 DIALOG-000018 created as DIALOG-000017 copy(copy) > 13:59:22.534 2 PBXLEG-000024 DIALOG-000018(inp) started with > bbb@dis.mydomain.ru(sip:bbb@172.20.10.181:5060;transport=udp;registering_acc=dis_mydomain_ru) > 13:59:22.534 2 PBXLEG-000024 session refresh=300(active) > 13:59:22.534 2 PBXLEG-000024 peer authenticated as 'bbb@dis.mydomain.ru' > 13:59:22.534 2 PBXLEG-000024 gatewaycaller.sppr(Main) started > 13:59:22.535 4 ADMIN-000001 resuming protocol > 13:59:22.535 5 ADMIN-000001 out: GETACCOUNTSETTINGS > "@dis.mydomain.ru"\r\n > 13:59:22.535 5 ADMIN-000001 inp: 525 illegal name for a domain object > 13:59:22.535 4 ADMIN-000001 suspending protocol > 13:59:22.535 3 PBXLEG-000024 failed to read '@dis.mydomain.ru' > settings. Error Code=illegal name for a domain object > 13:59:22.535 2 PBXLEG-000024 DIALOG-000018 killing > 13:59:22.535 2 DIALOG-000018 dequeued(kill) > 13:59:22.535 2 DIALOG-000018 released > 13:59:22.535 2 PBXLEG-000024 rejecting done > 13:59:22.535 2 PBXLEG-000024 program stopped > 13:59:22.535 2 PBXLEG-000024 releasing > 13:59:22.535 2 SIGNAL-000260 500 received from NODE-000024 > 13:59:22.535 2 SIGNAL-000260 DIALOG-000017 updating on negative > 500-response > 13:59:22.535 4 ADMIN-000001 resuming protocol > 13:59:22.535 5 ADMIN-000001 out: SIGNALUPDATE "bbb@dis.mydomain.ru" > {Call-ID="4b4081dc3eab6d463f164237f6e81238@0:0:0:0:0:0:0:0";Date=#T26-03-2013_09:59:22;From=bbb@dis.mydomain.ru;To=641770@dis.mydomain.ru;dialogError="Server > Internal > Error";direction=out;disconnected=#T26-03-2013_09:59:22;fromC={""="sip:bbb@172.20.10.181:5060;transport=udp;registering_acc=dis_mydomain_ru";};fromTag=f4f019d1;started=#T26-03-2013_09:59:22;}\r\n > 13:59:22.538 5 ADMIN-000001 inp: 201 {} > 13:59:22.538 4 ADMIN-000001 suspending protocol > 13:59:22.538 2 ACCOUNT(pbx@dis.mydomain.ru) inp call > failed(bbb@dis.mydomain.ru). Error Code=Server Internal Error > 13:59:22.543 2 SIGNAL-000260 500 relaying > 13:59:22.543 2 SIGNAL-000260 releasing > 13:59:22.543 2 SIPDATA-000296 out: rsp [0.0.0.0]:5060 -> > udp[172.20.10.181]:5060 500-INVITE(340 bytes) > 13:59:22.543 2 SIPS-000252 [000296] 500-INVITE(final) sent > [0.0.0.0]:5060 -> udp[172.20.10.181]:5060 > 13:59:22.546 2 SIPDATA-000297 inp: req [0.0.0.0]:5060 <- > udp[172.20.10.181]:5060 ACK(325 bytes) sip:641770@dis.mydomain.ru > 13:59:22.546 2 SIPDATA-000297 sent to SIPS-000252 > 13:59:22.546 2 SIPS-000252 [000297] confirmed: ACK received > 13:59:27.000 2 DIALOG-000017 released > > > > Лог с сервера B > > 13:59:21.000 2 SIPC-000012 [000057] NOTIFY > sip:bbb@172.20.10.181:5060;transport=udp;maddr=172.20.10.181;registering_acc=dis_mydomain_ru > sent [172.25.50.60]:5060 -> udp[172.20.10.181]:5060 > 13:59:21.000 2 SIPC-000010 [000058] NOTIFY > sip:bbb@172.20.10.181:5060;transport=udp;maddr=172.20.10.181;registering_acc=dis_mydomain_ru > sent [172.25.50.60]:5060 -> udp[172.20.10.181]:5060 > 13:59:22.529 5 PWD-000001([172.25.50.50]) inp: CHECKACCOUNTPASSWORD > "bbb@dis.mydomain.ru" DIGEST-HTTP "83976d94df92ccba1b539afb22aef27c" > KEY > "bbb:mxs.mydomain.ru:5BE12A15BB7476D8954B:00000001:xyz:auth:INVITE:sip:641770@dis.mydomain.ru" > ADDRESS "[172.20.10.181]:5060" METHOD "SIP" > 13:59:22.529 5 PWD-000001([172.25.50.50]) out: 201 > [NTYwMWFmNWUzY2IzN2UxZWYwMjhjYzhkMmY0MjRiYTM=]\r\n > 13:59:22.530 5 PWD-000001([172.25.50.50]) inp: SIGNALOUTGOING > "bbb@dis.mydomain.ru" > {Call-ID="4b4081dc3eab6d463f164237f6e81238@0:0:0:0:0:0:0:0";Date=#T26-03-2013_09:59:22;From=bbb@dis.mydomain.ru;To=641770@dis.mydomain.ru;authName=bbb@dis.mydomain.ru;fromC={""="sip:bbb@172.20.10.181:5060;transport=udp;registering_acc=dis_mydomain_ru";};fromTag=f4f019d1;signalRef=260-172.25.50.50;type=AV;} > 13:59:22.533 5 PWD-000001([172.25.50.50]) out: 201 {}\r\n > 13:59:22.534 5 PWD-000001([172.25.50.50]) inp: GETACCOUNTSETTINGS > "@dis.mydomain.ru" > 13:59:22.534 5 PWD-000001([172.25.50.50]) out: 525 illegal name for a > domain object\r\n > 13:59:22.535 5 PWD-000001([172.25.50.50]) inp: SIGNALUPDATE > "bbb@dis.mydomain.ru" > {Call-ID="4b4081dc3eab6d463f164237f6e81238@0:0:0:0:0:0:0:0";Date=#T26-03-2013_09:59:22;From=bbb@dis.mydomain.ru;To=641770@dis.mydomain.ru;dialogError="Server > Internal > Error";direction=out;disconnected=#T26-03-2013_09:59:22;fromC={""="sip:bbb@172.20.10.181:5060;transport=udp;registering_acc=dis_mydomain_ru";};fromTag=f4f019d1;started=#T26-03-2013_09:59:22;} > 13:59:22.535 2 ACCOUNT(bbb@dis.mydomain.ru) out call > failed(641770@dis.mydomain.ru). Error Code=Server Internal Error > 13:59:22.537 5 PWD-000001([172.25.50.50]) out: 201 {}\r\n > 13:59:25.000 3 SIPC-000012 calling timeout, resending > 13:59:25.000 3 SIPC-000010 calling timeout, resending > 13:59:25.000 2 SIPDATA-000059 out: req [172.25.50.60]:5060 -> > udp[172.20.10.181]:5060 NOTIFY(636 bytes) > sip:bbb@172.20.10.181:5060;transport=udp;maddr=172.20.10.181;registering_acc=dis_mydomain_ru > 13:59:25.000 2 SIPDATA-000060 out: req [172.25.50.60]:5060 -> > udp[172.20.10.181]:5060 NOTIFY(768 bytes) > sip:bbb@172.20.10.181:5060;transport=udp;maddr=172.20.10.181;registering_acc=dis_mydomain_ru > 13:59:25.000 2 SIPC-000012 [000059] NOTIFY > sip:bbb@172.20.10.181:5060;transport=udp;maddr=172.20.10.181;registering_acc=dis_mydomain_ru > sent [172.25.50.60]:5060 -> udp[172.20.10.181]:5060 > 13:59:25.000 2 SIPC-000010 [000060] NOTIFY > sip:bbb@172.20.10.181:5060;transport=udp;maddr=172.20.10.181;registering_acc=dis_mydomain_ru > sent [172.25.50.60]:5060 -> udp[172.20.10.181]:5060 > 13:59:26.000 3 SIPC-000012 calling timeout > 13:59:26.000 1 SIPC-000012 NOTIFY > sip:bbb@172.20.10.181:5060;transport=udp;maddr=172.20.10.181;registering_acc=dis > failed. Error Code=Client transaction timed out > 13:59:26.000 3 SIPC-000010 calling timeout > 13:59:26.000 1 SIPC-000010 NOTIFY > sip:bbb@172.20.10.181:5060;transport=udp;maddr=172.20.10.181;registering_acc=dis > failed. Error Code=Client transaction timed out > 13:59:26.000 2 SIGNAL-000012 408 received from SIPC-000012 > 13:59:26.000 2 SIGNAL-000012 408 relaying > 13:59:26.000 2 SIGNAL-000012 releasing > 13:59:26.000 2 SIGNAL-000010 408 received from SIPC-000010 > 13:59:26.000 2 SIGNAL-000010 408 relaying > > > > > ################################################################## > Вы получили это сообщение потому, что подписаны на список рассылки > . > > Чтобы отписаться, отправьте сообщение на адрес > Чтобы переключиться в режим дайджеста - mailto: > Чтобы переключиться в индексный режим - mailto: > Для административных запросов адрес > Архив списка: http://mx.demos.su/lists/cgp-russian/ > > >