mirror of
https://github.com/fairwaves/openbts-2.8.git
synced 2025-11-02 13:03:14 +00:00
Had error code backwards for SR, caused spurious SR failure messages. Fixed.
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3356 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
@@ -61,11 +61,11 @@ void SIPMessageMap::write(const std::string& call_id, osip_message_t * msg)
|
||||
{
|
||||
LOG(DEBUG) << "call_id=" << call_id << " msg=" << msg;
|
||||
string name = osip_message_get_from(msg)->url->username;
|
||||
if (!gSubscriberRegistry.imsiSet(name, "ipaddr",
|
||||
if (gSubscriberRegistry.imsiSet(name, "ipaddr",
|
||||
osip_message_get_from(msg)->url->host)){
|
||||
LOG(INFO) << "SR ipaddr Update Problem";
|
||||
}
|
||||
if (!gSubscriberRegistry.imsiSet(name, "port",
|
||||
if (gSubscriberRegistry.imsiSet(name, "port",
|
||||
gConfig.getStr("SIP.Local.Port"))){
|
||||
LOG(INFO) << "SR port Update Problem";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user