<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
in failure route the sip message is cloned in shared memory, with
many references to shared memory buffer, as well as shorter size
(just to fit the sip message) of the buffer storing the message (the
core used a private memory buffer to max capacity configured for
message size).<br>
<br>
Changing these shared memory references and buffers will be a lot of
operations.<br>
<br>
If you intend to work on it, then make it configurable and in first
phase a compile time option with #define/#ifdef macros. Such change
will have a lot of effects, so it is better to have an easy way to
switch on/off.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 18/12/15 15:55, smititelu wrote:<br>
</div>
<blockquote cite="mid:56741E67.60709@1and1.ro" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
Hello,<br>
<br>
I don't understand why msg_apply changes() can be called from
REQUEST_ROUTE <b>only</b>. Can someone explain? Can this be
extended to <b>FAILURE_ROUTES </b>also?<br>
<br>
Basically I need to call this from FAILURE_ROUTES in order to
avoid double SDP for rtpengine offers. Searching in the mailing
list I could see that there could be other means of handling this
like keeping and reading the SDP from an avp(write/<span
class="blob-code-inner"><span class="pl-s">read_sdp_pv<span
class="pl-pds"></span></span></span>), but I find the above
method pretty straightforward.<br>
<br>
Thanks,<br>
Stefan<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://miconda.eu">http://miconda.eu</a></pre>
</body>
</html>