digilabit Posted March 24, 2013 Report Share Posted March 24, 2013 Hi, I'm new here. I've a Snom redirect service account but when I put my data in Pnp SnonONE Provisioning Server Redirection menu it doesn't work and I got this error: 5] 2013/03/24 18:48:08: Prov response: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> <title>401 Unauthorized</title> <style type="text/css"> #powered_by { margin-top: 20px; border-top: 2px solid black; font-style: italic; } #traceback { color: red; } </style> </head> <body> <h2>401 Unauthorized</h2> <p>You are not authorized to access that resource</p> <pre id="traceback">Traceback (most recent call last): File "/srv/PrAppServer/PyLib/CherryPy-3.1.0beta3-py2.5.egg/cherrypy/_cprequest.py", line 573, in respond self.hooks.run('on_start_resource') File "/srv/PrAppServer/PyLib/CherryPy-3.1.0beta3-py2.5.egg/cherrypy/_cprequest.py", line 98, in run hook() File "/srv/PrAppServer/PyLib/CherryPy-3.1.0beta3-py2.5.egg/cherrypy/_cprequest.py", line 58, in __call__ return self.callback(**self.kwargs) File "/srv/PrAppServer/PyLib/CherryPy-3.1.0beta3-py2.5.egg/cherrypy/lib/auth.py", line 60, in basic_auth raise cherrypy.HTTPError(401, "You are not authorized to access that resource") HTTPError: (401, 'You are not authorized to access that resource') </pre> <div id="powered_by"> <span>Powered by <a href="http://www.cherrypy.org">CherryPy 3.1.0beta3</a></span> </div> </body> </html> Is there another redirect service or account at Snom? Regards, Alessandro Marzini Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted March 24, 2013 Report Share Posted March 24, 2013 Just checked on our server... Everything seems to be fine over here... Real MAC address replaced with XXXXXX. [5] 2013/03/24 16:03:33: Prov request: <?xml version='1.0'?> <methodCall> <methodName>redirect.registerPhone</methodName> <params> <param> <value><string>000413XXXXXX</string></value> </param> <param> <value><string>http://server1.snomone.com</string></value> </param> </params> </methodCall> [8] 2013/03/24 16:03:41: HTTP client: Connect to 80.237.155.31:8083, pending requests 1 [5] 2013/03/24 16:03:52: Prov response: <?xml version='1.0'?> <methodResponse> <params> <param> <value><array><data> <value><boolean>1</boolean></value> <value><string>Ok</string></value> </data></array></value> </param> </params> </methodResponse> Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted March 24, 2013 Report Share Posted March 24, 2013 P.S. I assume that you did register with snom? You will get the username and password from snom (in Germany). Quote Link to comment Share on other sites More sharing options...
digilabit Posted March 25, 2013 Author Report Share Posted March 25, 2013 P.S. I assume that you did register with snom? You will get the username and password from snom (in Germany). Yes I did register with Snom, I got an email from Sascha Kruszka with my account. My username is "digilab". Can you check if my user id active? I think something is wrong with my account.. Thank you Alessandro Marzini Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted March 25, 2013 Report Share Posted March 25, 2013 We cannot check that here... I would double double check that you put the right password in there and that the MAC that you are using is a "fresh" one (not used anywhere else). It should work--it does work for us, tested again in other cases today. Quote Link to comment Share on other sites More sharing options...
digilabit Posted April 6, 2013 Author Report Share Posted April 6, 2013 I checked with the Python script as described here: http://wiki.snom.com/Redirection_CLI and it works while from snomeONE 5.0.8 PnP page doesn't work, I still get this error: ] 2013/04/06 07:20:39: Prov request: <?xml version='1.0'?> <methodCall> <methodName>redirect.deregisterPhoneList</methodName> <params> <param> <value><array><data> <value><string>000413303F87</string></value> <value><string>0004137104CB</string></value> </data></array></value> </param> </params> </methodCall> [5] 2013/04/06 07:20:39: Prov request: <?xml version='1.0'?> <methodCall> <methodName>redirect.registerPhoneList</methodName> <params> <param> <value><array><data> <value><string>000413303F87</string></value> <value><string>0004137104CB</string></value> </data></array></value> </param> <param> <value><string>http://pbx.digilabit.com</string></value> </param> </params> </methodCall> [5] 2013/04/06 07:20:40: Prov response: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> <title>401 Unauthorized</title> <style type="text/css"> #powered_by { margin-top: 20px; border-top: 2px solid black; font-style: italic; } #traceback { color: red; } </style> </head> <body> <h2>401 Unauthorized</h2> <p>You are not authorized to access that resource</p> <pre id="traceback">Traceback (most recent call last): File "/srv/PrAppServer/PyLib/CherryPy-3.1.0beta3-py2.5.egg/cherrypy/_cprequest.py", line 573, in respond self.hooks.run('on_start_resource') File "/srv/PrAppServer/PyLib/CherryPy-3.1.0beta3-py2.5.egg/cherrypy/_cprequest.py", line 98, in run hook() File "/srv/PrAppServer/PyLib/CherryPy-3.1.0beta3-py2.5.egg/cherrypy/_cprequest.py", line 58, in __call__ return self.callback(**self.kwargs) File "/srv/PrAppServer/PyLib/CherryPy-3.1.0beta3-py2.5.egg/cherrypy/lib/auth.py", line 60, in basic_auth raise cherrypy.HTTPError(401, "You are not authorized to access that resource") HTTPError: (401, 'You are not authorized to access that resource') </pre> <div id="powered_by"> <span>Powered by <a href="http://www.cherrypy.org">CherryPy 3.1.0beta3</a></span> </div> </body> </html> Someone from Snom confirmed the bug in snomone5 saying "I just got to know that there is some software bug in snom ONE which is the reason for the redirection XMLRPC interface not working correctly. Will be fixed in 5.0.8" but also version 5.0.8 still doesn't work. Quote Link to comment Share on other sites More sharing options...
digilabit Posted April 6, 2013 Author Report Share Posted April 6, 2013 Saving again the password seems working, I'll test more Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted April 7, 2013 Report Share Posted April 7, 2013 Well double check in the pbx.xml file if the password from snom is really there (provpass). That was definitively a major problem with 5.0.7 and earlier versions. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.