Module: sems
Branch: master
Commit: a352c3eaa262a501b76f48fd3a57432bb6e0ec0f
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=a352c3eaa262a501b76f48fd3a57432bb6e0ec0f

Author: Stefan Sayer <[email protected]>
Committer: Stefan Sayer <[email protected]>
Date:   Fri Sep 26 11:07:26 2014 +0200

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

---

 apps/sbc/SBCCallProfile.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/apps/sbc/SBCCallProfile.cpp b/apps/sbc/SBCCallProfile.cpp
index a6eb06b..fab7a03 100644
--- a/apps/sbc/SBCCallProfile.cpp
+++ b/apps/sbc/SBCCallProfile.cpp
@@ -1290,6 +1290,7 @@ string SBCCallProfile::retarget(const string& alias, 
AmBasicSipDialog& dlg) cons
     // REG-Cache lookup
     AliasEntry alias_entry;
     if(!RegisterCache::instance()->findAliasEntry(alias, alias_entry)) {
+      DBG("No alias entry found for alias '%s', replying with 404\n", 
alias.c_str());
       throw AmSession::Exception(404,"User not found");
     }
     string new_r_uri = alias_entry.contact_uri;

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to