<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
the messages are dumped to the AoR of initial target. The message
should loop once locally and get to the location handling in the
configuration file.<br>
<br>
Perhaps you need to add in your configuration file, at beginning of
route[AUTH] a rule to allow traffic from the local loop, something
like next will do it:<br>
<br>
if(src_ip==myself)<br>
return;<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 6/7/13 10:52 AM, <a class="moz-txt-link-abbreviated" href="mailto:sipatse@in.gr">sipatse@in.gr</a>
wrote:<br>
</div>
<blockquote cite="mid:0c0810845080763MAIL2@mail2.internal.ramnet.gr"
type="cite"> 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>
Από: <a class="moz-txt-link-abbreviated" href="mailto:miconda@gmail.com">miconda@gmail.com</a><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 moz-do-not-send="true"
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 moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" 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 moz-do-not-send="true" 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
<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><span style="font-family: 'times new roman'; white-space: normal;">
</span></pre>
<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://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>
</body>
</html>