Module: sems Branch: master Commit: 7bece9aec92b2470f054933b545ce3a3ebb0e6d1 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=7bece9aec92b2470f054933b545ce3a3ebb0e6d1
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Tue Mar 19 00:33:00 2013 +0100 b/f: should fix issues with empty registers Some UAs send first an empty REGISTER. If they do not find themselves there, they would re-REGISTER with another port. --- apps/sbc/RegisterDialog.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/apps/sbc/RegisterDialog.cpp b/apps/sbc/RegisterDialog.cpp index 4e46769..9777167 100644 --- a/apps/sbc/RegisterDialog.cpp +++ b/apps/sbc/RegisterDialog.cpp @@ -372,7 +372,7 @@ int RegisterDialog::initUAC(const AmSipRequest& req, const SBCCallProfile& cp) if(SimpleRelayDialog::initUAC(req,cp) < 0) return -1; - if(star_contact) { + if(star_contact || uac_contacts.empty()) { // prepare bindings to be deleted on reply if(reg_caching) { fillAliasMap(); _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
