]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fix to allow setting a proxy properly when manually injecting notifies
authordschreiber <d@d-man.org>
Wed, 31 Aug 2011 20:36:20 +0000 (13:36 -0700)
committerdschreiber <d@d-man.org>
Wed, 31 Aug 2011 20:36:20 +0000 (13:36 -0700)
src/mod/endpoints/mod_sofia/mod_sofia.c

index 1f62929dbd298d03147f7cd6ecae5bb1e64df012..1043c6ea8350cad8daabdd0139df4382623e17a3 100644 (file)
@@ -4738,7 +4738,7 @@ static void general_event_handler(switch_event_t *event)
                                        
                                        nua_notify(nh,
                                                           NUTAG_NEWSUB(1),
-                                                          TAG_IF(dst->route_uri, NUTAG_PROXY(dst->contact)), TAG_IF(dst->route, SIPTAG_ROUTE_STR(dst->route)),
+                                                          TAG_IF(dst->route_uri, NUTAG_PROXY(dst->route_uri)), TAG_IF(dst->route, SIPTAG_ROUTE_STR(dst->route)),
                                                           SIPTAG_EVENT_STR(es), TAG_IF(ct, SIPTAG_CONTENT_TYPE_STR(ct)), TAG_IF(!zstr(body), SIPTAG_PAYLOAD_STR(body)), TAG_END());