Browse code

sbc: reg cache: debug log message when no alias was found

Stefan Sayer authored on 26/09/2014 09:07:26
Showing 1 changed files
... ...
@@ -1290,6 +1290,7 @@ string SBCCallProfile::retarget(const string& alias, AmBasicSipDialog& dlg) cons
1290 1290
     // REG-Cache lookup
1291 1291
     AliasEntry alias_entry;
1292 1292
     if(!RegisterCache::instance()->findAliasEntry(alias, alias_entry)) {
1293
+      DBG("No alias entry found for alias '%s', replying with 404\n", alias.c_str());
1293 1294
       throw AmSession::Exception(404,"User not found");
1294 1295
     }
1295 1296
     string new_r_uri = alias_entry.contact_uri;