[sr-dev] [kamailio/kamailio] dialog: Add setting to loop BYE through proxy (#1832)

Alex Hermann notifications at github.com
Mon Jul 15 15:10:05 CEST 2019


gaaf commented on this pull request.



> +		/* skip_recs contains the number of RR's for the callee */
+		skip_recs -= own_rr;
+		/* Add local RR's to caller's routeset */
+		if( print_rr_body(msg->record_route, &rr_set, DLG_CALLER_LEG,
+		                 &skip_recs) != 0) {
+			LM_ERR("failed to print route records \n");
+			goto error0;
+		}
+		LM_DBG("updating caller route_set %.*s\n",
+			rr_set.len, rr_set.s);
+		if (dlg_update_rr_set( dlg, DLG_CALLER_LEG, &rr_set)!=0) {
+			LM_ERR("dlg_update_rr_set failed\n");
+			if (rr_set.s) pkg_free(rr_set.s);
+			goto error0;
+		}
+		if (rr_set.s) pkg_free(rr_set.s);

see above

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1832#discussion_r303426046
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190715/434f5e58/attachment.html>


More information about the sr-dev mailing list