Alex,

Thanks for these logs.

It looks as though your subscriber has been created in domain 
"Siren.sirenhome.net" (note the capital S), but is registering with domain 
"siren.sirenhome.net" (note the lowercase s).  Despite the fact that DNS is 
case-insensitive, the SIP authentication process is case-sensitive because it 
has to calculate an MD5 hash of the domain name.

Please can you configure your phone with domain/realm "Siren.sirenhome.net" and 
check this resolves the problem?

Thanks,

Matt

From: Alex Interrante [mailto:[email protected]]
Sent: 25 June 2013 15:29
To: Matt Williams
Cc: [email protected]
Subject: Re: [Clearwater] Softphone Registration Error

Matt,
Thanks for your help. I deleted all of the nodes and reinstalled everything 
from the stable version and now I am getting the following error in the 
homestead-0.log when I try to connect a softphone to clearwater:

2013-06-24 19:34:43,606 I main:108 11762:140402807412480] Going to listen for 
HTTP on port 8888
2013-06-24 19:40:10,642 I main:108 15636:140043069867776] Going to listen for 
HTTP on port 8888
2013-06-24 20:09:24,894 D _base:74 15636:140043069867776] 
HTTPRequest(protocol='http', 
host='hs.Siren.sirenhome.net:8888<http://hs.Siren.sirenhome.net:8888>', 
method='POST', 
uri='/credentials/6505550568%40Siren.sirenhome.net/sip%3A6505550568%40Siren.sirenhome.net/digest<http://40Siren.sirenhome.net/sip%3A6505550568%40Siren.sirenhome.net/digest>',
 version='HTTP/1.1', remote_ip='10.144.134.174', 
body='digest=718e260af8da791f851cfe92700ca0c7', headers={'Content-Length': 
'39', 'Connection': 'close', 'Content-Type': 
'application/x-www-form-urlencoded', 'Host': 
'hs.Siren.sirenhome.net:8888<http://hs.Siren.sirenhome.net:8888>', 
'Accept-Encoding': 'gzip'})
2013-06-24 20:09:30,414 D _base:74 15636:140043069867776] 
HTTPRequest(protocol='http', 
host='hs.Siren.sirenhome.net:8888<http://hs.Siren.sirenhome.net:8888>', 
method='PUT', 
uri='/filtercriteria/sip%3A6505550568%40Siren.sirenhome.net<http://40Siren.sirenhome.net>',
 version='HTTP/1.1', remote_ip='10.144.134.174', body='<?xml version="1.0" 
encoding="UTF-8"?><ServiceProfile><InitialFilterCriteria><TriggerPoint><ConditionTypeCNF>0</ConditionTypeCNF><SPT><ConditionNegated>0</ConditionNegated><Group>0</Group><Method>INVITE</Method><Extension></Extension></SPT></TriggerPoint><ApplicationServer><ServerName>sip:mmtel.Siren.sirenhome.net<http://mmtel.Siren.sirenhome.net></ServerName><DefaultHandling>0</DefaultHandling></ApplicationServer></InitialFilterCriteria></ServiceProfile>',
 headers={'Content-Length': '425', 'Connection': 'close', 'Content-Type': 
'application/json', 'Host': 
'hs.Siren.sirenhome.net:8888<http://hs.Siren.sirenhome.net:8888>', 
'Accept-Encoding': 'gzip'})
2013-06-25 02:45:30,753 D _base:74 15636:140043069867776] 
HTTPRequest(protocol='http', 
host='hs.Siren.sirenhome.net:8888<http://hs.Siren.sirenhome.net:8888>', 
method='GET', 
uri='/credentials/6505550568%40siren.sirenhome.net/sip%3A6505550568%40siren.sirenhome.net/digest<http://40siren.sirenhome.net/sip%3A6505550568%40siren.sirenhome.net/digest>',
 version='HTTP/1.1', remote_ip='10.147.162.181', body='', headers={'Host': 
'hs.Siren.sirenhome.net:8888<http://hs.Siren.sirenhome.net:8888>', 'Accept': 
'*/*'})
2013-06-25 02:45:30,801 E _base:109 15636:140043069867776] Uncaught exception 
GET 
/credentials/6505550568%40siren.sirenhome.net/sip%3A6505550568%40siren.sirenhome.net/digest<http://40siren.sirenhome.net/sip%3A6505550568%40siren.sirenhome.net/digest>
 (10.147.162.181)
HTTPRequest(protocol='http', 
host='hs.Siren.sirenhome.net:8888<http://hs.Siren.sirenhome.net:8888>', 
method='GET', 
uri='/credentials/6505550568%40siren.sirenhome.net/sip%3A6505550568%40siren.sirenhome.net/digest<http://40siren.sirenhome.net/sip%3A6505550568%40siren.sirenhome.net/digest>',
 version='HTTP/1.1', remote_ip='10.147.162.181', body='', headers={'Host': 
'hs.Siren.sirenhome.net:8888<http://hs.Siren.sirenhome.net:8888>', 'Accept': 
'*/*'})
2013-06-25 02:45:30,830 E _base:110 15636:140043069867776] Traceback (most 
recent call last):
  File 
"/usr/share/clearwater/homestead/env/local/lib/python2.7/site-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
 line 422, in errback
    self._startRunCallbacks(fail)
  File 
"/usr/share/clearwater/homestead/env/local/lib/python2.7/site-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
 line 489, in _startRunCallbacks
    self._runCallbacks()
  File 
"/usr/share/clearwater/homestead/env/local/lib/python2.7/site-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
 line 576, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File 
"/usr/share/clearwater/homestead/env/local/lib/python2.7/site-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
 line 1127, in gotResult
    _inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
  File 
"/usr/share/clearwater/homestead/env/local/lib/python2.7/site-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
 line 1069, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File 
"/usr/share/clearwater/homestead/env/local/lib/python2.7/site-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg/twisted/python/failure.py",
 line 389, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File 
"/usr/share/clearwater/homestead/env/local/lib/python2.7/site-packages/crest-0.1-py2.7.egg/metaswitch/crest/api/homestead/credentials.py",
 line 66, in get
    raise HTTPError(404)
cyclone.web.HTTPError: HTTP 404: Not Found
Any idea what this error means?
Thanks for your help,
Alex
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater

Reply via email to