Discussion:
[SR-Users] Handle "MESSAGE" packet
aawaise
2014-10-15 07:56:34 UTC
Permalink
I want to know how kamailio server handles incoming MESSAGE packets of SIP
format ?
If a sender sends a MESSAGE packet for receiver, and receiver is offline,
how will server handle the packet. Can it hold the packet until the receiver
is online and then deliver to receiver ??



--
View this message in context: http://sip-router.1086192.n5.nabble.com/Handle-MESSAGE-packet-tp131509.html
Sent from the Users mailing list archive at Nabble.com.
Juha Heinanen
2014-10-15 08:01:43 UTC
Permalink
Post by aawaise
I want to know how kamailio server handles incoming MESSAGE packets of SIP
format ?
If a sender sends a MESSAGE packet for receiver, and receiver is offline,
how will server handle the packet. Can it hold the packet until the receiver
is online and then deliver to receiver ??
see msilo module.

-- juha
aawaise
2014-10-16 07:45:27 UTC
Permalink
How can I add and configure MSILO module in already configured kamailio-3.1
server ??
Will a reinstallation be required or MSILO can be added directly ??
Please guide about addition procedure.
Thanks



--
View this message in context: http://sip-router.1086192.n5.nabble.com/Handle-MESSAGE-packet-tp131509p131559.html
Sent from the Users mailing list archive at Nabble.com.
Daniel-Constantin Mierla
2014-10-16 08:26:09 UTC
Permalink
msilo module is installed (deployed) by default.

You just need to load it in kamailio.cfg and the configure the routing
logic to store when user is offline and send from db when the user
becomes online -- there should be many snippets of config with msilo on
the web that can help figuring out what and where to add, including the
readme of the msilo module:

- http://kamailio.org/docs/modules/stable/modules/msilo.html#idp1828304

Cheers,
Daniel
Post by aawaise
How can I add and configure MSILO module in already configured kamailio-3.1
server ??
Will a reinstallation be required or MSILO can be added directly ??
Please guide about addition procedure.
Thanks
--
View this message in context: http://sip-router.1086192.n5.nabble.com/Handle-MESSAGE-packet-tp131509p131559.html
Sent from the Users mailing list archive at Nabble.com.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
aawaise
2014-10-21 07:19:29 UTC
Permalink
Using snippets on internet at link
http://sip-router.1086192.n5.nabble.com/Msilo-not-delivering-message-status-408-td128964.html#a129065
I have tried to add msilo module to my kamailio.cfg. 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 required snippets in location, authorization and relay
routes as well. Thanks for any help you will provide.



--
View this message in context: http://sip-router.1086192.n5.nabble.com/Handle-MESSAGE-packet-tp131509p131719.html
Sent from the Users mailing list archive at Nabble.com.

Loading...