]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix typo
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 11 Jan 2012 18:34:57 +0000 (12:34 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 11 Jan 2012 18:34:57 +0000 (12:34 -0600)
src/mod/endpoints/mod_sofia/sofia_presence.c

index 42712f3d4bbf91a6bb5179ee5f337525ac0c98d4..2e23c1647a13a33f76bf7f02cc225562df4e95d1 100644 (file)
@@ -654,7 +654,7 @@ static void do_normal_probe(sofia_profile_t *profile, switch_event_t *event)
                                                         "and sip_dialogs.sip_from_host = sip_registrations.sub_host) "
  
                                                         "left join sip_presence on "
-                                                        "(sip_registrations.sip_user=sip_presence.sip_user and sip_registrations.orig_server_host=sip_presence.sip_server and "
+                                                        "(sip_registrations.sip_user=sip_presence.sip_user and sip_registrations.orig_server_host=sip_presence.sip_host and "
                                                         "sip_registrations.profile_name=sip_presence.profile_name) "
                                                         "where sip_dialogs.presence_id='%q@%q' or (sip_registrations.sip_user='%q' and "
                                                         "(sip_registrations.orig_server_host='%q' or sip_registrations.sub_host='%q' "