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

Merge branch 'master' into fix_sip2sip

parents 0dac9e9b 1de5de19
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;
......
......@@ -1613,11 +1613,6 @@ void registration_cb(pjsip_regc_cbparam *param)
return;
}
if(param->code == 200) {
account->setRegister(true);
account->setRegistrationState(Registered);
}
if (account->isContactUpdateEnabled())
update_contact_header(param, account);
......
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