enforce force-reg-db-domain on subscriptions too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14970 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
32a9cf9141
commit
db8a82793b
|
@ -1552,6 +1552,10 @@ void sofia_presence_handle_sip_i_subscribe(int status,
|
|||
to_host = to->a_url->url_host;
|
||||
}
|
||||
|
||||
if (profile->reg_db_domain) {
|
||||
to_host = profile->reg_db_domain;
|
||||
}
|
||||
|
||||
if (sip && sip->sip_from) {
|
||||
from_user = sip->sip_from->a_url->url_user;
|
||||
from_host = sip->sip_from->a_url->url_host;
|
||||
|
|
Loading…
Reference in New Issue