From: Anthony Minessale Date: Mon, 21 Feb 2011 17:02:42 +0000 (-0600) Subject: FS-3072 X-Git-Tag: v1.2-rc1~181^2~105 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e60f14a4d0e942aef7973546dbe040ef330640f;p=thirdparty%2Ffreeswitch.git FS-3072 --- diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 4853dff3bf..7125bceb7c 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -3513,7 +3513,7 @@ SWITCH_STANDARD_API(sofia_contact_function) profile = sofia_glue_find_profile(profile_name); } - if (!profile) { + if (!profile && !zstr(domain)) { profile = sofia_glue_find_profile(domain); } }