The problem may be earlier in worker_loop():
95 if (parse_from_header(current_job->msg) < 0) {
96 LM_ERR("bad sip message or missing From hdr\n");
97 } else {
98 dmq_node = find_dmq_node_uri(node_list, &((struct to_body*)current_job->msg->from->parsed)->uri);
99 }
The msg has already been cloned and as I understand it, we should not parse a cloned msg since doing so will link pkg structures to shm msg.
As we already pre-parsed the msg prior to cloning it (when adding the job to the worker queue), the parsed from header should already be available to us.
—
Reply to this email directly or view it on GitHub.