I assume the server where your sipXconfig is running is -- toor.itcnetworks.ro 
, and the secondary (where the registrar is running) is 
laurentiu.itcnetworks.ro 

>From the logs, it looks like ImdbTable.read fails because you call it with the 
>argument "laurentiu.itcnetworks.ro" instead of "toor.itcnetworks.ro". This is 
>supposed to be the hostname of the server who makes the ImdbTable.read call, 
>not the name of the server you are making the call to.

Arjun



Laurentiu Ceausescu wrote:
> Hi all,
> 
> I'm working on http://track.sipfoundry.org/browse/XX-6472 - "When
> 'Primary SIP router' is selected to be the other machine, registrations
> are not shown in the config UI".
> I made a HA configuration, I moved 'Primary SIP router' on secondary
> server and I made some changes in sipXconfig side in order to retrieve
> registrations from the secondary server (when registrar is installed).
> 
> Looking in sipxsupervisor.log from secondary I have:
> "2009-11-02T15:09:18.721953Z":247:XMLRPC:INFO:laurentiu.itcnetworks.ro:HttpServer-2:B7DBDB90:Supervisor:"XmlRpcDispatch::processRequest
> requestBody = \n<?xml
> version=\"1.0\"?><methodCall><methodName>ImdbTable.read</methodName><params><param><value>laurentiu.itcnetworks.ro</value></param><param><value>registration</value></param></params></methodCall>"
> "2009-11-02T15:09:18.722125Z":248:SUPERVISOR:ERR:laurentiu.itcnetworks.ro:HttpServer-2:B7DBDB90:Supervisor:"*ImdbTable.read
> failed: 'laurentiu.itcnetworks.ro' failed SSL authentication*"
> "2009-11-02T15:09:18.722269Z":249:XMLRPC:INFO:laurentiu.itcnetworks.ro:HttpServer-2:B7DBDB90:Supervisor:"XmlRpcDispatch::processRequest
> method 'ImdbTable.read' response status=FAILED\n<?xml version=\"1.0\"
> encoding=\"UTF-8\"?>\n<methodResponse><!-- ImdbTable.read
> -->\n<fault>\n<value><struct>\n<member>\n<name>faultCode</name><value><int>-4</int></value>\n</member>\n<member>\n<name>faultString</name><value><string>TLS
> Peer Authentication
> Failure</string></value>\n</member>\n</struct></value>\n</fault>\n</methodResponse>"
> 
> But after a replication (or after I made a snapshot) everything looks
> fine and I didn't sea any SSL authentication error:
> "2009-11-02T15:09:26.562990Z":314:SIP:INFO:laurentiu.itcnetworks.ro:HttpServer-2:B7DBDB90:Supervisor:"HttpServer::processRequest
> POST '/RPC2'"
> "2009-11-02T15:09:26.563159Z":315:XMLRPC:INFO:laurentiu.itcnetworks.ro:HttpServer-2:B7DBDB90:Supervisor:"XmlRpcDispatch::processRequest
> requestBody = \n<?xml
> version=\"1.0\"?><methodCall><methodName>ImdbTable.replace</methodName><params><param><value>toor.itcnetworks.ro</value></param><param><value>alias</value></param><param><value><array><data><value><struct><member><name>contact</name><value>sip:*[email protected]:5130</value></member><member><name>identity</name><value>*[email protected]</value></member></struct></value><value><struct><member><name>contact</name><value>sip:*[email protected]:5130</value></member><member><name>identity</name><value>*[email protected]</value></member>
> </struct></value></data></array></value></param></params></methodCall>"
> "2009-11-02T15:09:26.579192Z":316:SUPERVISOR:NOTICE:laurentiu.itcnetworks.ro:SipxProcess-53:B4686B90:Supervisor:"'SIPRegistrar':
> configuration changed in state 'Running', ignored"
> "2009-11-02T15:09:26.579364Z":317:XMLRPC:INFO:laurentiu.itcnetworks.ro:HttpServer-2:B7DBDB90:Supervisor:"XmlRpcDispatch::processRequest
> method '*ImdbTable.replace' response status=OK*\n<?xml version=\"1.0\"
> encoding=\"UTF-8\"?>\n<methodResponse><!-- ImdbTable.replace
> -->\n<params>\n<param>\n<value><boolean>1</boolean></value>\n</param>\n</params>\n</methodResponse>"
> 
> My question is if there is something wrong with my configuration / my
> code or I is there something that I missed.
> Any suggestion is welcome.
> 
> Thanks,
> Laurentiu
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> sipx-dev mailing list [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-dev
> Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
> sipXecs IP PBX -- http://www.sipfoundry.org/

_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to