Skip to content

Commit

Permalink
rtjson: fix for replacing to header based on json document
Browse files Browse the repository at this point in the history
- reported by GH #868
  • Loading branch information
miconda committed Nov 30, 2016
1 parent c21148d commit 1d5f39a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/rtjson/rtjson_routing.c
Expand Up @@ -481,7 +481,7 @@ int rtjson_prepare_branch(sip_msg_t *msg, srjson_doc_t *jdoc, srjson_t *nj)
xuri.len = strlen(xuri.s);
}
if(xdsp.len>0 || xuri.len>0) {
uacb.replace_from(msg, &xdsp, &xuri);
uacb.replace_to(msg, &xdsp, &xuri);
}
}
}
Expand Down

0 comments on commit 1d5f39a

Please sign in to comment.