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

Author: Raphael Coeffic <[email protected]>
Committer: Raphael Coeffic <[email protected]>
Date:   Wed Apr  3 12:16:31 2013 +0200

b/f: sbc: fixed source_port concatenation.

---

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

diff --git a/apps/sbc/RegisterCache.cpp b/apps/sbc/RegisterCache.cpp
index b36ddba..858be4f 100644
--- a/apps/sbc/RegisterCache.cpp
+++ b/apps/sbc/RegisterCache.cpp
@@ -118,7 +118,7 @@ void AliasEntry::fire()
   AmArg ev;
   ev["aor"]     = aor;
   ev["contact"] = contact_uri;
-  ev["source"]  = source_ip + ":" + source_port;
+  ev["source"]  = source_ip + ":" + int2str(source_port);
 
   DBG("Alias expired (UA): '%s' -> '%s'\n",alias.c_str(),aor.c_str());
   SBCEventLog::instance()->logEvent(alias,"ua-reg-expired",ev);

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

Reply via email to