<div dir="ltr">Hi Roberto,<div><br></div><div>Did you ever figure out how to do it?</div><div>I'd be interested too.</div><div><br></div><div>Cheers,</div><div>Peter</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Apr 17, 2014 at 4:04 PM, Roberto Fichera <span dir="ltr"><<a href="mailto:kernel@tekno-soft.it" target="_blank">kernel@tekno-soft.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On 04/17/2014 10:36 AM, Roberto Fichera wrote:<br>
<br>
Hi All,<br>
<br>
> On 04/16/2014 07:15 PM, Roberto Fichera wrote:<br>
><br>
> Hi All,<br>
><br>
>> On 04/16/2014 06:53 PM, Daniel-Constantin Mierla wrote:<br>
>>> Hello,<br>
>> Ciao Daniel,<br>
>><br>
>>> most likely the messages are looped back, be sure you allow requests from 'myself' without authentication.<br>
>>><br>
>>> You can watch loopback interface with ngrep to see if the messages are sent out.<br>
>> Yep! Allowing requests from myself solved the problem! Thanks!<br>
>><br>
>> Another thing regarding MSILO, I would like to preserve some custom header fields<br>
>> for both instant message and notification. How can I do it?<br>
> I was able to solve this issue too, pretty straight I mean, there is the extra_hdrs_avp param<br>
> which did the trick. BTW, is there a way to send back the notification to the sender that<br>
> the message has been sent correctly via m_dump(), so to get a 200 about the given<br>
> m_dump()ed message?<br>
><br>
<br>
</div>I think that this can be solved in a different way, the idea is to add an event_route for the msilo<br>
module so that we get notified for each m_dump()ed message about the given IM status and<br>
then handle it in the cfg file. So, looking at the code within m_tm_callback() it seems that it's<br>
right place where to add such feature. Since I'm not a kamailio developer but I've quite long<br>
time experience in C coding, does anyone can show/point me to some example about<br>
how to do that?<br>
<div class="im HOEnZb"><br>
Thanks in advance,<br>
Roberto Fichera.<br>
<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div></div></blockquote></div><br></div>