Dear Daniel,
Thank you for your prompt response.
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.
How can I insert the saved by registration procedure "user
location" to this message?
Is there a function that i have to call?
Best regards.
----- Αρχικό μήνυμα -----
Από: miconda@gmail.com
Ημ/νία: Τετάρτη, 05 Ιουνίου 2013 11:28 μμ
Πρός: Kamailio (SER) - Users Mailing List
Θέμα: Re: [SR-Users] Msilo dumping offline messages
Hello,
$ru is R-URI, the SIP uri in the first line of a request.
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:
ngrep -d any -qt -W byline port 5060
Cheers,
Daniel
On 6/5/13 8:59 PM,
sipatse@in.gr
wrote:
Dear All,
I have installed msilo module in order to store messages towards
offline users.
Storing messages is being made by calling function mstore().
This function works ok and i can see these messages into silo
DB.
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.
After this i check for mdump() with command
if (m_dump())
{
log("MSILO: offline messages dumped - if they were\n");
and i can see the relevant log that tells me that this function
has been executed.
It is written that inside () should be entered the "owner" of
the messages.
This could be something like $ru but if it will be left empty
,it will use address from To URI.
Could you please explain me what $ru stands for and how can i
use it properly?
Is the any relation between the syntax of mstore () and mdump()
in order for this feature to work properly?
If yes, do I have to set in a similar way modparam too?
Best regards.
_______________________________________________
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
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
* http://asipto.com/u/katu *
_______________________________________________
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
_______________________________________________
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