SIP звонки через gatewaycaller на 2 BackEnd Static кластере

От: Nikolay A. Kostyakov <CGatePro_at_mx_ru>
Дата: Tue 26 Mar 2013 - 14:35:28 MSK


Пытаюсь разобраться и настроить звонки по 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" , что и вызывает ошибку.

Кто подскажет - куда пропадает имя и как это исправить?

Лог с сервера 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
Получено Tue Mar 26 10:35:40 2013

Этот архив был сгенерирован hypermail 2.1.8 : Fri 24 Apr 2015 - 16:17:30 MSK