<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">That seems strange to me... but I would need to dig to confirm.<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jun 13, 2016, at 3:29 AM, Florent Krieg <<a href="mailto:flokrrr@gmail.com" class="">flokrrr@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hi Michael,</div><div class=""><br class=""></div><div class="">The raw sdp is actually available, but the thing is that it doesn't look like the one I see in the re-invite when I capture on the host.</div><div class="">It looks as if it has already been processed by the SIP stack, depending on the media configuration of the sip profile and/or the current channel. </div><div class="">Is it possible?</div><div class=""><br class=""></div><div class="">Florent</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2016-06-10 19:14 GMT+02:00 Michael Jerris <span dir="ltr" class=""><<a href="mailto:mike@jerris.com" target="_blank" class="">mike@jerris.com</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I don't think we have the sdp parsed and processed at the point we get that callback. Check the variables to see if the raw sdp is available in the var yet or not.<br class="">
<div class=""><div class="h5"><br class="">
> On Jun 10, 2016, at 4:40 AM, Florent Krieg <<a href="mailto:flokrrr@gmail.com" class="">flokrrr@gmail.com</a>> wrote:<br class="">
><br class="">
> Hello everybody,<br class="">
><br class="">
> My use case is pretty simple: I would like to react on SIP Re-INVITE without sdp (empty body/content-length 0) so I have put an execute_on_sip_reinvite instruction in my bridge string.<br class="">
><br class="">
> I have tried both to call the 'info' app and to call a custom shell system script, passing the ${uuid} var and calling fs_cli uuid_dump $uuid, but unfortunately it seems that when the SIP message reaches the application it has been processed by the Sofia stack and I can't detect if there is an SDP or not (using sdp variables, or any other actually).<br class="">
> Sometimes it gives me 0.0.0.0 as the remote_media_ip, sometimes it just builds an SDP based on the previous one.<br class="">
> I have also tried to modify the re-INVITE by adding custom headers or putting information in any<br class="">
> mandatory SIP header (like, say, Via), but these updates doesn't seem to be available via any channel variable.<br class="">
><br class="">
> Is there any FS configuration parameter I could change to be able to access this information?<br class="">
> Is there any other way I could do what I want?<br class="">
><br class="">
><br class="">
> Thanks in advance if you have any clue :)<br class="">
><br class="">
> Florent<br class="">
<br class=""></div></div></blockquote></div></div></div></blockquote></div><br class=""></div></body></html>