From: "Kondratenko Boris" Received: by mx.demos.su (CommuniGate Pro PIPE 5.0.14) with PIPE id 548485287; Tue, 26 Feb 2013 20:06:40 +0400 X-Spam-Status: No, hits=-0.5 required=5.0 tests=BAYES_00,SPF_HELO_PASS 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: -0.5 points, 5.0 required; * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -0.5 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from [176.9.83.240] (HELO upakovano.ru) by mx.demos.su (CommuniGate Pro SMTP 5.0.14) with ESMTPS id 548485286 for CGatePro@mx.ru; Tue, 26 Feb 2013 20:06:36 +0400 Received: from [79.135.229.162] (account kondor7@pmh.ru HELO [192.168.40.107]) by upakovano.ru (CommuniGate Pro SMTP 6.0.1) with ESMTPA id 9752078 for CGatePro@mx.ru; Tue, 26 Feb 2013 17:09:37 +0100 Message-ID: <1361894787.15943.12.camel@kondor71-SVZ1311Z9RXI> Subject: Re: [CGP] =?koi8-r?Q?=EE=C5?= =?koi8-r?Q?_=C8=D7=C1=D4=C1=C5=D4?= =?koi8-r?Q?_=D0=D2=C1=D7?= , =?koi8-r?Q?=DE=D4=CF=C2=D9?= =?koi8-r?Q?_=D3=CF=D7=C5=D2=DB=C9=D4=D8?= =?koi8-r?Q?_=C9=D3=C8=CF=C4=D1=DD=C9=CA?= =?koi8-r?Q?_=DA=D7=CF=CE=CF=CB?= To: CommuniGate Pro Russian Discussions Date: Tue, 26 Feb 2013 20:06:27 +0400 In-Reply-To: References: Disposition-Notification-To: kondor7@pmh.ru Organization: =?koi8-r?Q?=F0=C1=CB=CB=C5=D2=ED=C1=DB?= Content-Type: text/plain; charset="KOI8-R" X-Mailer: Evolution 3.6.2-0ubuntu0.1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Спасибо, решение подошло. В настройках pbx справа нажал на права и добавил нужные (не обращал внимание на наличие этой кнопки). Попутно возникла другая проблема (не могу понять моя или у sip провайдера). Звонки внутри CGP (в том числе между доменами) ходят нормально. Входящие в CGP из PTSN (через SIP провайдера) работают, но при попытке позвонить в PTSN через Pronto!, установленный на мобильный вылетает ошибка ProgramLog: "call failed: 401-Authentication required". Настройки PTSN проверены много раз. На всякий случай лог ниже. Что скажут гуру? Куда копать? > 09:21:46.129 2 CALLLEG-001594 created as outleg4 for kondor7@pmh.ru > 09:21:46.129 2 CALLLEG-001594 calling sip:+791577777777@pmh.ru > 09:21:46.129 2 SIGNAL-009242 NODE-001594: INVITE sip:+79157777777@pmh.ru > 09:21:46.129 2 DIALOG-000195 created(authOut) > 09:21:46.129 2 SIGNAL-009242 INVITE sip:+79157777777@pmh.ru via sip:+79157777777@pmh.ru > 09:21:46.129 2 PBXLEG-001596 'gatewaycaller' created for pbx@upakovano.ru > 09:21:46.129 2 SIGNAL-009242 {1} sent to NODE-001596: INVITE sip:+79157777777@pmh.ru > 09:21:46.129 2 DIALOG-000196 created as DIALOG-000195 copy(copy) > 09:21:46.129 2 PBXLEG-001596 DIALOG-000196(inp) started with kondor7@pmh.ru(sip:signode-1595-4ACAB926@upakovano.ru)(canTransfer) > 09:21:46.129 2 PBXLEG-001596 session refresh=300(passive) > 09:21:46.129 2 PBXLEG-001596 peer authenticated as 'kondor7@pmh.ru' > 09:21:46.129 2 PBXLEG-001596 gatewaycaller.sppr(Main) started > 09:21:46.129 2 PBXLEG-001596 ProgramLog: "calling '+79157777777'..." > 09:21:46.129 3 SYSTEM failed to read PBX file 'russian/billingplan.objdata' > 09:21:46.129 2 PBXLEG-001596 ProgramLog: "Price: #0" > 09:21:46.130 2 PBXLEG-001596 ProgramLog: "callerLeg:{\"\"=\"sip:+79157777777@sipnet.ru\";Call-ID=ximss-C2C22A7F56FDF598D970-6906@upakovano.ru.gwout9778;From=\"sip:*********@sipnet.ru\";Max-Forwards=#70;activeSide=YES;allowedAudioCodecs=(\"PCMU/8000\",\"PCMA/8000\",\"G729/8000\",\"telephone-event/8000\");allowedVideoCodecs=();authUsername=***********@sipnet.ru;callBridged=YES;impersonate=kondor7@pmh.ru;provisionDTMF=YES;}" > 09:21:46.130 2 PBXLEG-001596 spawning PBXLEG-001598 > 09:21:46.130 2 PBXLEG-001598 spawned by PBXLEG-001596 > 09:21:46.130 2 PBXLEG-001596 Event([bridgeStart]) to NODE-001598 sent > 09:21:46.130 2 PBXLEG-001596 bridge(NODE-001598) starting > 09:21:46.130 2 PBXLEG-001598 callerleg.sppi(bridgeCaller) started > 09:21:46.130 2 PBXLEG-001598 impersonated as 'kondor7@pmh.ru'(kondor7@pmh.ru) > 09:21:46.130 2 PBXLEG-001598 Event([bridgeStart]) from NODE-001596 retrieved > 09:21:46.130 2 PBXLEG-001598 calling sip:+79157777777@sipnet.ru > 09:21:46.130 2 SIGNAL-009244 NODE-001598: INVITE sip:+79157777777@sipnet.ru > 09:21:46.130 2 DIALOG-000197 created(authOut) > 09:21:46.130 2 SIGNAL-009244 INVITE sip:+79157777777@sipnet.ru via sip:+79157777777@sipnet.ru > 09:21:46.130 2 SIGNAL-009244 relaying to sip:+79157777777@sipnet.ru via sip:sipnet.ru > 09:21:46.130 2 SIGNAL-009244 {1} sent to SIPC-000866: INVITE sip:+79157777777@sipnet.ru > 09:21:46.130 2 SIPC-000866 INVITE sip:+79157777777@sipnet.ru via sip:sipnet.ru > 09:21:46.130 2 DIALOG-000198 created as DIALOG-000197 copy(copy) > 09:21:46.130 2 SIPC-000866 DIALOG-000198 created(copy) > 09:21:46.130 2 SIPC-000866 creating media proxy > 09:21:46.130 2 MEDIAPROXY-000042 created for DIALOG-000198: [127.0.0.1] -> > 09:21:46.130 2 DIALOG-000198 MEDIAPROXY-000042 created > 09:21:46.130 2 SIPC-000866 MEDIAPROXY-000042 created > 09:21:46.130 2 MEDIAPROXY-000042 processing SDP(1 media) -> > 09:21:46.130 2 UDPPROXY-000092 created (port=60000/2) > 09:21:46.130 2 UDPPROXY-000092 processing started > 09:21:46.130 2 MEDIAPROXY-000042 UDPPROXY-000092 created > 09:21:46.130 2 UDPPROXY-000092 [213.87.135.100]:0:0(NATed-flex) <-> [0.0.0.0]:0:0 by SDP > 09:21:46.130 2 MEDIAPROXY-000042 set: [213.87.135.100](NATed) <-> [212.53.40.40] > 09:21:46.130 2 SIPC-000866 DIALOG-000198 updated request SDP > 09:21:46.130 2 SIPDATA-007728 out: req [176.9.83.240]:5060 -> udp[212.53.40.40]:5060 INVITE(1100 bytes) sip:+79157777777@sipnet.ru > 09:21:46.130 2 SIPC-000866 [007728] INVITE sip:+79157777777@sipnet.ru sent [176.9.83.240]:5060 -> udp[212.53.40.40]:5060 > 09:21:46.192 2 SIPDATA-007729 inp: rsp [0.0.0.0]:5060 <- udp[212.53.40.40]:5060 100-INVITE(313 bytes) > 09:21:46.192 2 SIPDATA-007729 sent to SIPC-000866 > 09:21:46.192 2 SIPC-000866 [007729] 100-INVITE received > 09:21:46.193 2 SIPDATA-007730 inp: rsp [0.0.0.0]:5060 <- udp[212.53.40.40]:5060 401-INVITE(458 bytes) > 09:21:46.193 2 SIPDATA-007730 sent to SIPC-000866 > 09:21:46.193 2 SIPC-000866 [007730] 401-INVITE received > 09:21:46.193 2 SIPC-000866 sending ACK > 09:21:46.193 2 SIGNAL-009244 401 received from SIPC-000866 > 09:21:46.193 2 SIGNAL-009244 DIALOG-000197 updating on negative 401-response > 09:21:46.193 2 SIPDATA-007731 out: req [176.9.83.240]:5060 -> udp[212.53.40.40]:5060 ACK(368 bytes) sip:+79157777777@sipnet.ru > 09:21:46.193 2 SIPC-000866 [007731] ACK sip:+79157777777@sipnet.ru sent [176.9.83.240]:5060 -> udp[212.53.40.40]:5060 > 09:21:46.193 2 SIPC-000866 DIALOG-000198 killing > 09:21:46.193 2 DIALOG-000198 dequeued(kill) > 09:21:46.193 2 DIALOG-000198 MEDIAPROXY-000042 removing > 09:21:46.193 2 MEDIAPROXY-000042 UDPPROXY-000092 removed > 09:21:46.193 2 SIGNAL-009244 401 relaying > 09:21:46.193 2 SIGNAL-009244 releasing > 09:21:46.193 2 PBXLEG-001598 Event([asyncCallFinal]) retrieved > 09:21:46.193 2 PBXLEG-001598 ProgramLog: "call failed: 401-Authentication required" > 09:21:46.193 2 PBXLEG-001598 bridge-start rejected(401-Authentication required) > 09:21:46.193 2 PBXLEG-001598 Event([bridgeRejected]) to NODE-001596 sent > 09:21:46.193 2 PBXLEG-001598 program stopped > 09:21:46.193 1 PBXLEG-001596 bridge(NODE-001598) start transaction failed. Error Code=401-Authentication required->Request Rejected > 09:21:46.193 1 PBXLEG-001596 bridge(NODE-001598) start transaction failed. Error Code=Request Rejected > 09:21:46.193 2 PBXLEG-001598 releasing > 09:21:46.193 3 PBXLEG-001596 Event(stop) to NODE-001598 failed. Error Code=async Object not found > 09:21:46.193 2 PBXLEG-001596 ProgramLog: "call failed: errorCode=401-Authentication required" > 09:21:46.393 2 UDPPROXY-000092 released. 0(0) <-> 0(0) sent in 0 seconds > 09:21:46.393 2 MEDIAPROXY-000042 released > 09:21:46.393 2 DIALOG-000198 released > 09:21:46.618 2 SIGNAL-009242 401 received from NODE-001596 > 09:21:46.618 2 SIGNAL-009242 DIALOG-000195 updating on negative 401-response > 09:21:46.619 2 PBXLEG-001596 DIALOG-000196 killing > 09:21:46.619 2 DIALOG-000196 dequeued(kill) > 09:21:46.619 2 DIALOG-000196 released > 09:21:46.619 2 PBXLEG-001596 rejecting done > 09:21:46.619 2 PBXLEG-001596 program stopped > 09:21:46.619 2 PBXLEG-001596 releasing > 09:21:46.619 2 SIGNAL-009242 401 relaying > 09:21:46.619 2 SIGNAL-009242 releasing > 09:21:46.619 2 DIALOG-000195 released -- Kondratenko Boris ПаккерМаш В Вт., 26/02/2013 в 12:07 +0400, Dmitry Akindinov пишет: > Здравствуйте, > > On 2013-02-26 11:53, Kondratenko Boris wrote: > > Сделал следующие права на pbx@upakovano.ru > > > > > > Что > > uid=pbx,cn=upakovano.ru > > Bind DN > > * > > Тип > > Разрешено > > Читаемые Атрибуты > > objectClass,officeEmail,roomNumber,cn,uid > > Поиск по атрибутам > > objectClass,officeEmail,roomNumber,cn,uid > > > > Эффекта никакого, ошибка та же... > > Не о тех правах была речь. У аккаунта pbx есть по умолчанию > административное право читать настройки других аккаунтов - но только в > своём домене. Можно дать аккаунту право на администрирование других > доменов, а можно просто переписать правило в таблице роутера, чтобы > gatewaycaller запускался от имени аккаунта postmaster в главном домене - > у него есть все права. >