<div dir="ltr"><div>Hi Michael,</div><div><br></div><div>The raw sdp is actually available, but the thing is that it doesn&#39;t look like the one I see in the re-invite when I capture on the host.</div><div>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>Is it possible?</div><div><br></div><div>Florent</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-10 19:14 GMT+02:00 Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I don&#39;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>
<div><div class="h5"><br>
&gt; On Jun 10, 2016, at 4:40 AM, Florent Krieg &lt;<a href="mailto:flokrrr@gmail.com">flokrrr@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hello everybody,<br>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; I have tried both to call the &#39;info&#39; 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&#39;t detect if there is an SDP or not (using sdp variables, or any other actually).<br>
&gt; 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>
&gt; I have also tried to modify the re-INVITE by adding custom headers or putting information in any<br>
&gt; mandatory SIP header (like, say, Via), but these updates doesn&#39;t seem to be available via any channel variable.<br>
&gt;<br>
&gt; Is there any FS configuration parameter I could change to be able to access this information?<br>
&gt; Is there any other way I could do what I want?<br>
&gt;<br>
&gt;<br>
&gt; Thanks in advance if you have any clue :)<br>
&gt;<br>
&gt; Florent<br>
<br>
<br>
</div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank" rel="noreferrer">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank" rel="noreferrer">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank" rel="noreferrer">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank" rel="noreferrer">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" rel="noreferrer">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" rel="noreferrer">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank" rel="noreferrer">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>