]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4217 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 15 May 2012 13:48:08 +0000 (08:48 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 15 May 2012 13:48:08 +0000 (08:48 -0500)
src/mod/endpoints/mod_sofia/sofia_reg.c

index 81b8da16963a19a8212bd8f880651e2bcfca259d..c5fb57bb4dfdd77a2f930caf3f589748e9474cc1 100644 (file)
@@ -428,6 +428,7 @@ void sofia_reg_check_gateway(sofia_profile_t *profile, time_t now)
                                gateway_ptr->status = SOFIA_GATEWAY_DOWN;
                                nua_unregister(gateway_ptr->nh,
                                                           NUTAG_URL(gateway_ptr->register_url),
+                                                          TAG_IF(gateway_ptr->register_sticky_proxy, NUTAG_PROXY(gateway_ptr->register_sticky_proxy)),
                                                           TAG_IF(user_via, SIPTAG_VIA_STR(user_via)),
                                                           SIPTAG_FROM_STR(gateway_ptr->register_from),
                                                           SIPTAG_TO_STR(gateway_ptr->distinct_to ? gateway_ptr->register_to : gateway_ptr->register_from),