On Sat, Jan 14, 2017, at 06:20 PM, Daniel-Constantin Mierla wrote: > If you want a solution to avoid the issue via config: in the > request_route, store the RPID in an avp and update the acc parameter to > use the avp instead of the rpid variable. > > As for code, a solution could be resetting the 'hdr->parsed' pointers to > NULL that are in private memory after memcpy(&tmsg, req, > sizeof(sip_msg_t)); -- using same kind of loop like at the end of > acc_onreply(), but wihout clean_hdr_field(). In this way it ensure that > the acc is using only what it parses and it is freeing only those > headers.
Thanks for the configuration suggestion Daniel! I'm going to try that as it should do the job. I'll follow up if I encounter the same issue despite the configuration change (which shouldn't be possible - but I don't know if I'm that lucky). Cheers, -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org _______________________________________________ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev