<div dir="ltr">I wasn't using msg_apply_changes and I could've been wrong that it showed up. That was yesterday when I was testing that. One of my tests though did get xlog to show the variable, but it could've been with avp.<div>
<div><br></div><div>I'll convert my configs back to using avp and begin testing again with multiple channels to see if it crashes again.</div></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div style="font-family:arial;font-size:small">
Ryan Brindley</div><div style="font-family:arial;font-size:small">Software Development Officer</div><div style="font-family:arial;font-size:small">Stratics Networks, Inc.</div><div style="font-family:arial;font-size:small">
1.866.635.6918 x108</div></div></div>
<br><br><div class="gmail_quote">On Fri, Mar 28, 2014 at 2:30 PM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Should not crash, can you send the backtrace from the core dump?
What version are you using?<br>
<br>
Also, setting debug=3 in config file and sending the log messages
will help.<br>
<br>
Saving $avps() is something very common in my configs and haven't
encountered any issues in the past years.<br>
<br>
Cheers,<br>
Daniel<div><div class="h5"><br>
<br>
<div>On 28/03/14 20:18, Ryan Brindley wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">It's also worth noting that I tried to use avp and
it successfully added the custom value, but was causing Kamailio
to crash once it tried to handle multiple calls at once.
<div><br>
</div>
<div>I'm pretty green to Kamailio, so you'll have to pardon my
inexperience on this probably pretty easy question.<br>
<div class="gmail_extra"><br>
<div class="gmail_quote">
On Fri, Mar 28, 2014 at 1:58 PM, Ryan Brindley <span dir="ltr"><<a href="mailto:ryan@straticsnetworks.com" target="_blank">ryan@straticsnetworks.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>Hey community,</div>
<div><br>
</div>
<div>I'm trying to get a 2nd leg custom header value
stored in my acc table.</div>
<div><br>
</div>
<div>Right now I'm appending the header with append_hf
in a failure route and trying to use:</div>
<div><br>
</div>
<div>modparam("acc","db_extra","custom=$hdr(Custom)")<br>
</div>
<div><br>
</div>
<div>A sip trace shows the header was properly added
and xlog output shows the proper $hdr(Custom) value
just after I append the header, but the value
doesn't show in acc. </div>
<div><br>
</div>
<div>Does acc only read from the INVITE of the
incoming leg?</div>
<div><br>
</div>
<div>Any suggestions on how to get this 2nd leg INVITE
header in acc is greatly appreciated. </div>
<div><br>
</div>
<div>Thanks in advance,</div>
<br clear="all">
<div>
<div dir="ltr">
<div style="font-family:arial;font-size:small">Ryan</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><div class=""><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</div></blockquote><div class="">
<br>
<pre cols="72">--
Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference - April 2-4, 2014, Berlin, Germany
<a href="http://www.kamailioworld.com" target="_blank">http://www.kamailioworld.com</a></pre>
</div></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>