[SR-Users] msilo clarification

mayamatakeshi mayamatakeshi at gmail.com
Fri Mar 13 12:55:29 CET 2015


On Fri, Mar 13, 2015 at 8:25 PM, Daniel-Constantin Mierla <miconda at gmail.com
> wrote:

>  Hello,
>
>
>
> On 13/03/15 10:54, mayamatakeshi wrote:
>
>  Hello,
> maybe this phrase in the msilo doc is misleading:
>
>  *Every time when a user registers with Kamailio, the module is looking
> in database for offline messages intended for that user. All of them will
> be sent to contact address provided in REGISTER request.*
> http://kamailio.org/docs/modules/4.2.x/modules/msilo.html
>
>  The above seems to imply that msilo would send the call directly to the
> contact address. But this doesn't seem to be the case based on what is
> mentioned in several threads in the mailing list and in what I saw in the
> msilo.c code.
> If so, is there a reason to be a such? Would it be a problem to allow
> msilo m_dump to get the values of contact, received and path and use them
> when calling t_request?
>
>
> IIRC, the MESSAGE requests are sent to the From address that sent the
> message. That's typically the AoR, meaning that the request is sent to the
> server of that user which should do lookup location to resolve the
> destination.
>
> There is an option to send some notification back to origin when the
> destination is offline, controlled by:
>
> -
> http://kamailio.org/docs/modules/stable/modules/msilo.html#msilo.p.use_contact
>
> But that should not be related to relaying the instant messages when the
> user becomes online.
>
> If the destination user is on same kamailio, be sure you don't
> authenticate requests coming from the same box (ie, skip authentication if
> src_ip==myself).
>
> Daniel,
thanks for the explanation. I am doing as you described.
Everything is running fine.
I was just intrigued about having to loop the request if my own server is
the registrar.
Regard,
Takeshi



> --
> Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio World Conference, May 27-29, 2015
> Berlin, Germany - http://www.kamailioworld.com
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150313/92251304/attachment.html>


More information about the sr-users mailing list