<p dir="ltr">That means save the psuedo variable $mb (read wiki) using the SQLops module to save the messages using sql_query() </p>
<p dir="ltr">Msilo supports saving and retrieving for offline users and hence I couldnt figure out how I can permanently save msg history for users and hence did it manually as mentioned above.</p>
<p dir="ltr">Maybe an easier function exists for this somewhere or an efficient approach exists. Thats just how I did it.</p>
<p dir="ltr">Regards,<br>
Sam</p>
<div class="gmail_quote">On Oct 21, 2015 10:30 AM, "Safdar Khan" <<a href="mailto:safdarkhan.khan@gmail.com">safdarkhan.khan@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Sam,<br><br>Will u please elaborate.Means from where to start.<br><br>Safdar.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 21, 2015 at 6:29 PM, SamyGo <span dir="ltr"><<a href="mailto:govoiper@gmail.com" target="_blank">govoiper@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hi Safdar,</p>
<p dir="ltr">The way I did was save the $mb variable in db when the Method is MESSAGE. </p>
<p dir="ltr">Regards,<br>
Sam</p>
<div class="gmail_quote"><span>On Oct 21, 2015 8:09 AM, "Safdar Khan" <<a href="mailto:safdarkhan.khan@gmail.com" target="_blank">safdarkhan.khan@gmail.com</a>> wrote:<br type="attribution"></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><div dir="ltr">How can i store messages in silo table not only offline also online.Demo code will be appreciated.waiting for response.<br></div>
<br></span>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></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" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div>