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-... 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@192.168.1.20/openser") modparam("msilo", "from_address", "sip:$rU@mydomain") modparam("msilo", "contact_hdr", "Contact:sip:$rU@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... Sent from the Users mailing list archive at Nabble.com.
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... Sent from the Users mailing list archive at Nabble.com.
On 21/10/14 10:01, aawaise wrote:
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