Jump to content

Snom Provisioning Server Redirection doesn't work


digilabit
 Share

Recommended Posts

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

Link to comment
Share on other sites

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>

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 2 weeks later...

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...