]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3072
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 21 Feb 2011 17:02:42 +0000 (11:02 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 21 Feb 2011 17:02:42 +0000 (11:02 -0600)
src/mod/endpoints/mod_sofia/mod_sofia.c

index 4853dff3bf45f9ea71f0753a68884ac652ad59dd..7125bceb7c3b26ff2de8dfb23c4455020b7c7670 100644 (file)
@@ -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);
                }
        }