Skip to content
Snippets Groups Projects
Commit 1de5de19 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #9969: set loose routing param when creating route set

parent ac5e54d6
No related branches found
No related tags found
No related merge requests found
......@@ -80,6 +80,7 @@ sip_utils::createRouteSet(const std::string &route, pj_pool_t *hdr_pool)
pjsip_route_hdr *route_set = pjsip_route_hdr_create(hdr_pool);
pjsip_route_hdr *routing = pjsip_route_hdr_create(hdr_pool);
pjsip_sip_uri *url = pjsip_sip_uri_create(hdr_pool, 0);
url->lr_param = 1;
routing->name_addr.uri = (pjsip_uri*) url;
pj_strdup2(hdr_pool, &url->host, host.c_str());
url->port = port;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment