Discussion:
[SR-Users] MSILO module not delivering messages
aawaise
2014-10-21 07:22:37 UTC
Permalink
I have tried to add msilo module to my kamailio.cfg using the link
http://sip-router.1086192.n5.nabble.com/Msilo-not-delivering-message-status-408-td128964.html#a129065
Problem is that messages from a user are received on the server. And they
can be seen using siremis. But they are not forwarded when the intended
receiver gets online. I have added the outboud_proxy in modparameters of
MSILO module

#!ifdef WITH_MSILO
modparam("msilo", "db_url",
"mysql://openser:5mil5My5ql-Q0ErXNX1RuawACv1+***@public.gmane.org/openser")
modparam("msilo", "from_address", "sip:$***@mydomain")
modparam("msilo", "contact_hdr", "Contact:<sip:$***@mydomain>\r\n")
modparam("msilo", "content_type_hdr", "Content-Type:text/plain\r\n")
modparam("msilo", "offline_message", "User $rU is offline!")
modparam ("msilo", "outbound_proxy", "sip:mydomain:6524;transport=tcp")
modparam ("msilo", "outbound_proxy", "sip:mydomain")
modparam("msilo", "expire_time", 604800)
#!endif

I have added the code available on the link to my kamailio.cfg.




--
View this message in context: http://sip-router.1086192.n5.nabble.com/MSILO-module-not-delivering-messages-tp131720.html
Sent from the Users mailing list archive at Nabble.com.
aawaise
2014-10-21 08:01:59 UTC
Permalink
I have seen and found that I haven't used "m_dump()" functionality. It is
required for getting offline messages on client. Now I want to know where to
use it ? Should it be added in registrar module or somewhere else ??



--
View this message in context: http://sip-router.1086192.n5.nabble.com/MSILO-module-not-delivering-messages-tp131720p131722.html
Sent from the Users mailing list archive at Nabble.com.
Daniel-Constantin Mierla
2014-10-21 22:26:46 UTC
Permalink
Post by aawaise
I have seen and found that I haven't used "m_dump()" functionality. It is
required for getting offline messages on client. Now I want to know where to
use it ? Should it be added in registrar module or somewhere else ??
Should be done after you do save("location") for REGISTER requests.

Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Loading...