[SR-Users] Kamailio and MSILO with TLS AORs

Roberto Fichera kernel at tekno-soft.it
Wed May 21 09:08:22 CEST 2014


On 05/20/2014 09:15 PM, Peter Villeneuve wrote:
> Hi Roberto,

Hi Peter,

> Did you ever figure out how to do it?
> I'd be interested too.

Not yet! I tried other ways, barely workarounds, but I guess I'll have to go into this
quite soon because it is the straight way to go. The main problem is the lack of
my knowledge of kamailio API so I'll have to study a bit some code in order to understand
how to use it.

BTW the idea is to trigger an event route were I'd like to set all the info regarding
the dispatched message including the result of the delivering. I don't know if is possible
but the best would be to set all the pseudo-variables so that such event route will be
in the right context of the given MSILO message.

So, any advice regarding the API would definitively help and put me in the right direction.

Cheers,
Roberto Fichera.

>
> Cheers,
> Peter
>
>
> On Thu, Apr 17, 2014 at 4:04 PM, Roberto Fichera <kernel at tekno-soft.it <mailto:kernel at tekno-soft.it>> wrote:
>
>     On 04/17/2014 10:36 AM, Roberto Fichera wrote:
>
>     Hi All,
>
>     > On 04/16/2014 07:15 PM, Roberto Fichera wrote:
>     >
>     > Hi All,
>     >
>     >> On 04/16/2014 06:53 PM, Daniel-Constantin Mierla wrote:
>     >>> Hello,
>     >> Ciao Daniel,
>     >>
>     >>> most likely the messages are looped back, be sure you allow requests from 'myself' without authentication.
>     >>>
>     >>> You can watch loopback interface with ngrep to see if the messages are sent out.
>     >> Yep! Allowing requests from myself solved the problem! Thanks!
>     >>
>     >> Another thing regarding MSILO, I would like to preserve some custom header fields
>     >> for both instant message and notification. How can I do it?
>     > I was able to solve this issue too, pretty straight I mean, there is the extra_hdrs_avp param
>     > which did the trick. BTW, is there a way to send back the notification to the sender that
>     > the message has been sent correctly via m_dump(), so to get a 200 about the given
>     > m_dump()ed message?
>     >
>
>     I think that this can be solved in a different way, the idea is to add an event_route for the msilo
>     module so that we get notified for each m_dump()ed message about the given IM status and
>     then handle it in the cfg file. So, looking at the code within m_tm_callback() it seems that it's
>     right place where to add such feature. Since I'm not a kamailio developer but I've quite long
>     time experience in C coding, does anyone can show/point me to some example about
>     how to do that?
>
>     Thanks in advance,
>     Roberto Fichera.
>
>     _______________________________________________
>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>     sr-users at lists.sip-router.org <mailto:sr-users at 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 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/20140521/33874773/attachment.html>


More information about the sr-users mailing list