Anca,
for some strange reason I am getting "SIP/2.0 483 Too Many Hops" back when I try to register.
I am running kamaikio -EEEEEE and I see we get authenticated correctly but then lots of other info is spit out very quickly and I am having a hard time trying to understand it.
I think it may have to do with the location table. But I could be wrong.
Any ideas how to debug?
Thank you.
Hi David,
I believe it has to do more with your configuration fine than with location and db_cassandra, but lets see exactly what happens. First of all do a message capture on the server to see that happens to the Invite the first time it passes the server. Look at the RURI. Is it changed to the contact in the location "table" (column family)? Then increase the debug level to 4 and look through the logs when the Invite message is processed. Look after usrloc and db_cassandra logs. You could also send those here so I can take a look. Also have you looked in cassandra in the location column family? Do you see the records there?
Regards, Anca
On 01/26/2012 08:04 AM, David wrote:
Anca,
for some strange reason I am getting "SIP/2.0 483 Too Many Hops" back when I try to register.
I am running kamaikio -EEEEEE and I see we get authenticated correctly but then lots of other info is spit out very quickly and I am having a hard time trying to understand it.
I think it may have to do with the location table. But I could be wrong.
Any ideas how to debug?
Thank you.
Thanks Anca,
No the records are not in the location db. I did modify the location table and included "domain(string)" I dont know if that is necessary or not but logically to me it makes sense.
However the records are not written to the table. I know for certain that the user is authenticated because before I added the user to cassandra I was getting a 401 unauthorized. Since I added the user it seems to authenticate and then send me a 483.
I am using the default cassandra config as of now.
I did enable the domain modules in that config.
I will try the debug methods you mentioned below and report back.
Thanks
David
On 1/26/12 4:22 AM, Anca Vamanu wrote:
Hi David,
I believe it has to do more with your configuration fine than with location and db_cassandra, but lets see exactly what happens. First of all do a message capture on the server to see that happens to the Invite the first time it passes the server. Look at the RURI. Is it changed to the contact in the location "table" (column family)? Then increase the debug level to 4 and look through the logs when the Invite message is processed. Look after usrloc and db_cassandra logs. You could also send those here so I can take a look. Also have you looked in cassandra in the location column family? Do you see the records there?
Regards, Anca
On 01/26/2012 08:04 AM, David wrote:
Anca,
for some strange reason I am getting "SIP/2.0 483 Too Many Hops" back when I try to register.
I am running kamaikio -EEEEEE and I see we get authenticated correctly but then lots of other info is spit out very quickly and I am having a hard time trying to understand it.
I think it may have to do with the location table. But I could be wrong.
Any ideas how to debug?
Thank you.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hi David,
Do you see any errors in sip-router log?
Also how have you created the column family in cassandra? Probably you already created it correctly but I will mention here the way to do it anyway.
You have to create a keyspace corresponding to the name of the database.
Then you have to create a column family inside that keyspace with name 'location'. Take care to put the validator and comparator to Utf8Type or AsciiType. Ex: create column family 'location' with comparator='UTF8Type' and default_validation_class='UTF8Type' and key_validation_class='UTF8Type' ;
I will explain this also in the readme.
Regards, Anca
On 01/26/2012 11:04 PM, David wrote:
Thanks Anca,
No the records are not in the location db. I did modify the location table and included "domain(string)" I dont know if that is necessary or not but logically to me it makes sense.
However the records are not written to the table. I know for certain that the user is authenticated because before I added the user to cassandra I was getting a 401 unauthorized. Since I added the user it seems to authenticate and then send me a 483.
I am using the default cassandra config as of now.
I did enable the domain modules in that config.
I will try the debug methods you mentioned below and report back.
Thanks
David