<html>
<head>
</head>
<body text="#000000" style="background-color: #ffffff;">
Dear Daniel,<br />
<br />
Thank you for your prompt response.<br />
Using the provided by you command I found that messages are being dumped but they don't contain the location of the user to which the message is sent to.<br />
How can I insert the saved by registration procedure "user location" to this message?<br />
Is there a function that i have to call?<br />
<br />
Best regards.<br />
<br />
----- Αρχικü μÞνυμα ----- <br />
Απü: miconda@gmail.com<br />
Ημ/νßα: ΤετÜρτη, 05 Ιουνßου 2013 11:28 μμ<br />
Πρüς: Kamailio (SER) - Users Mailing List<br />
ΘÝμα: Re: [SR-Users] Msilo dumping offline messages<br />
<br />
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type" />
<div class="moz-cite-prefix">Hello,<br />
<br />
$ru is R-URI, the SIP uri in the first line of a request.<br />
<br />
Not providing a parameter to mdump() should be fine. If you don't
get the messages sent out, then probably you don't allow local
loops without authentication. Look at the sip traffic with:<br />
<br />
ngrep -d any -qt -W byline port 5060<br />
<br />
Cheers,<br />
Daniel<br />
<br />
On 6/5/13 8:59 PM, <a class="moz-txt-link-abbreviated" href="mailto:sipatse@in.gr">sipatse@in.gr</a> wrote:<br />
</div>
<blockquote cite="mid:0b80c5051180563MAIL2@mail2.internal.ramnet.gr" type="cite">Dear All,<br />
<br />
I have installed msilo module in order to store messages towards
offline users.<br />
Storing messages is being made by calling function mstore().<br />
This function works ok and i can see these messages into silo DB.<br />
When a user is being registered again and after his location is
saved i call function mdump() to send him these messages.
Unfortunately this doesn't work.<br />
After this i check for mdump() with command <br />
<pre class="programlisting" style="background-color: #fefeee; border: 1px solid #99cccc; padding-left: 15pt;">if (m_dump())
{
log("MSILO: offline messages dumped - if they were\n");</pre>
and i can see the relevant log that tells me that this function
has been executed.<br />
It is written that inside () should be entered the "owner" of the
messages.<br />
This could be something like $ru but if it will be left empty ,it
will use address from To URI.<br />
Could you please explain me what $ru stands for and how can i use
it properly?<br />
Is the any relation between the syntax of mstore () and mdump() in
order for this feature to work properly?<br />
If yes, do I have to set in a similar way modparam too?<br />
<br />
Best regards.
<br />
<fieldset class="mimeAttachmentHeader"></fieldset>
<br />
<pre>_______________________________________________
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 />
<br />
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<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, San Francisco, USA - June 24-27, 2013
* <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a> *</pre>
<pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users<span style="font-family: 'times new roman'; white-space: normal;">
</span></pre>
</body>
</html>