From b94aa01a19db3f972c98db8f20722143bf7ba16f Mon Sep 17 00:00:00 2001 From: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> Date: Thu, 26 Mar 2009 14:46:10 -0400 Subject: [PATCH] handle PJSIP_SC_UNAUTHORIZED call state; remove debug --- src/managerimpl.cpp | 2 -- src/sipvoiplink.cpp | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/managerimpl.cpp b/src/managerimpl.cpp index b381c6181c..3e4aefe158 100644 --- a/src/managerimpl.cpp +++ b/src/managerimpl.cpp @@ -864,8 +864,6 @@ void ManagerImpl::connectionStatusNotification( ) { if (_dbus) _dbus->getConfigurationManager()->accountsChanged(); - else - _debug("Error: DBus connection not found\n"); } /** diff --git a/src/sipvoiplink.cpp b/src/sipvoiplink.cpp index 12e014016f..0bf0c72020 100644 --- a/src/sipvoiplink.cpp +++ b/src/sipvoiplink.cpp @@ -1748,6 +1748,7 @@ std::string SIPVoIPLink::getSipTo(const std::string& to_url, std::string hostnam case PJSIP_SC_NOT_ACCEPTABLE_HERE: /* no compatible codecs */ case PJSIP_SC_NOT_ACCEPTABLE_ANYWHERE: case PJSIP_SC_UNSUPPORTED_MEDIA_TYPE: + case PJSIP_SC_UNAUTHORIZED: accId = Manager::instance().getAccountFromCall(call->getCallId()); link = dynamic_cast<SIPVoIPLink *> (Manager::instance().getAccountLink(accId)); if (link) { -- GitLab