<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>for me it is fine to add a new parameter to m_store() that takes
the body content.</p>
<p>Are you asking for more details of how can be done?<br>
</p>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 13/11/16 07:08, Slava Bendersky
wrote:<br>
</div>
<blockquote
cite="mid:229526193.11491801.1479017336238.JavaMail.zimbra@skillsearch.ca"
type="cite">
<div style="font-family: lucida console,sans-serif; font-size:
12pt; color: #000000">
<div>Hello Everyone,</div>
<div>I asking question/request to add improvement for msilo
module where will have ability set $avp(i:body) in mod params.
That will allow use it in m_store() by specifying body
message $avp. In my case registration is on B2BUA so kamailio
pass through/proxy to destination. In order to check user
status online/offline kamailio wait for reply from B2BUA on
MESSAGE status if it return error 503 that mean user offline
and m_store(0 should store message in db, but the issue that
error 503 is in final stage and MESSAGE body is not available
any more. The improvement will allow specify body $var in
m_store() so new way will be m_store($tu, $avp(body)). </div>
<div><br data-mce-bogus="1">
</div>
<div>Any help thank you.</div>
<div><br data-mce-bogus="1">
</div>
<div>Slava.</div>
</div>
<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>
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
</body>
</html>