mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-06 16:02:23 +00:00
update
This commit is contained in:
parent
534d3bcb29
commit
0920645d1f
@ -3498,6 +3498,10 @@ SWITCH_STANDARD_API(sofia_contact_function)
|
|||||||
if (zstr(domain)) {
|
if (zstr(domain)) {
|
||||||
domain = profile->name;
|
domain = profile->name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!zstr(profile->domain_name) && !zstr(profile_name) && !strcmp(profile_name, profile->name)) {
|
||||||
|
domain = profile->domain_name;
|
||||||
|
}
|
||||||
|
|
||||||
select_from_profile(profile, user, domain, concat, exclude_contact, &mystream);
|
select_from_profile(profile, user, domain, concat, exclude_contact, &mystream);
|
||||||
sofia_glue_release_profile(profile);
|
sofia_glue_release_profile(profile);
|
||||||
@ -3937,7 +3941,7 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session
|
|||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (profile->domain_name && profile->domain_name != profile->name) {
|
if (profile->domain_name && strcmp(profile->domain_name, profile->name)) {
|
||||||
profile_name = profile->domain_name;
|
profile_name = profile->domain_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user