<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I tried that and while it did hit the dialplan, freeswitch sends a “500 No session set by user” instead of the 200 OK offering an SDP.<div class=""><br class=""></div><div class="">Here is the scenario:</div><div class="">- I send an INVITE without SDP to Freeswitch</div><div class="">- the dialplan matches an extension based on headers I have set</div><div class="">- the extension initiates an outbound socket connection to my application</div><div class="">- my application issues the ‘answer’ command</div><div class="">- freeswitch logs the following:</div><div class=""><br class=""></div><div class=""><div class="">8c2094e3-5298-44af-a759-a11932583e4c 2016-12-13 13:48:25.082197 [DEBUG] switch_ivr.c:623 sofia/drachtio_mrf/nobody@5070 Command Execute answer()</div><div class="">8c2094e3-5298-44af-a759-a11932583e4c EXECUTE sofia/drachtio_mrf/nobody@5070 answer()</div><div class="">8c2094e3-5298-44af-a759-a11932583e4c 2016-12-13 13:48:25.082197 [DEBUG] mod_sofia.c:762 3PCC-PROXY, Sent a 200 OK, waiting for ACK</div><div class=""><br class=""></div><div class="">- but then sends a 500 (and no 200 OK was ever sent).</div><div class=""><br class=""></div><div class=""><div class="">full pastebin at&nbsp;<a href="http://pastebin.com/bhFi3zY2" class="">http://pastebin.com/bhFi3zY2</a></div></div><div class=""><br class=""></div><div class="">Any ideas?</div><div class=""><br class=""></div><div class="">And for background, here is what I am trying to achieve:</div><div class=""><br class=""></div><div class="">- send an INVITE without SDP, get freeswitch to offer an SDP with all codecs</div><div class="">- establish an outbound socket to control that channel</div><div class="">- send an ACK with a blackhole SDP (per&nbsp;<a href="https://tools.ietf.org/search/rfc3725" class="">https://tools.ietf.org/search/rfc3725</a>)</div><div class="">- later re-INVITE to a far end SDP</div><div class="">- bridge this channel to another one (via event socket, uuid_bridge command)</div><div class=""><br class=""></div><div class="">If there is a specific flavor of 3pcc that freeswitch supports (e.g. the RFC above describes 4 different possibilities), I could adjust my code to accordingly.</div><div class=""><br class=""></div><div class="">Dave</div><div><div class="">On Dec 12, 2016, at 10:25 PM, Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com" class="">anthony.minessale@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">try setting it to "proxy" instead of "true"</div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Dec 12, 2016 at 8:58 PM, Dave Horton <span dir="ltr" class="">&lt;<a href="mailto:daveh@beachdognet.com" target="_blank" class="">daveh@beachdognet.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I notice that when I set:<br class="">
<br class="">
&lt;param name="enable-3pcc" value="true”/&gt;<br class="">
<br class="">
and then send an INVITE to Freeswitch with no SDP, Freeswitch responds with 200 OK and an SDP offering all available codecs.<br class="">
<br class="">
That is good, but it also appears that it does not evaluate the dialplan at all - simply sends out the 200 OK.<br class="">
<br class="">
Is this by design?<br class="">
<br class="">
My intent was to send an INVITE with no SDP, execute answer through my event socket program and thereafter be able to issue commands.<br class="">
It seems like this is not possible?&nbsp; Or am I doing something wrong?<br class="">
<br class="">
Dave<br class="">
______________________________<wbr class="">______________________________<wbr class="">_____________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank" class="">http://www.<wbr class="">freeswitchsolutions.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://confluence.freeswitch.<wbr class="">org</a><br class="">
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="">FreeSWITCH-users@lists.<wbr class="">freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/<wbr class="">mailman/listinfo/freeswitch-<wbr class="">users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.<wbr class="">freeswitch.org/mailman/<wbr class="">options/freeswitch-users</a><br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class="">Anthony Minessale II &nbsp; &nbsp; &nbsp; ♬ @anthmfs&nbsp;&nbsp;♬ @FreeSWITCH&nbsp;&nbsp;♬<div class=""><br class=""><div class="">☞ <a href="http://freeswitch.org/" target="_blank" class="">http://freeswitch.org/</a> &nbsp;☞ <a href="http://cluecon.com/" target="_blank" class="">http://cluecon.com/</a> &nbsp;☞ <a href="http://twitter.com/FreeSWITCH" target="_blank" class="">http://twitter.com/FreeSWITCH</a></div><div class=""><div class="">☞ <a href="http://irc.freenode.net/" target="_blank" class="">irc.freenode.net</a> #freeswitch&nbsp;☞ <u class=""><a href="http://freeswitch.org/g+" target="_blank" class="">http://freeswitch.org/g+</a></u><br class=""><br class=""></div><div class="">ClueCon Weekly Development Call&nbsp;<br class=""></div><div class="">☎&nbsp;<a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank" class="">sip:888@conference.freeswitch.org</a> &nbsp;☎ +19193869900&nbsp;</div><div class=""><br class=""></div></div></div><div class=""><a href="https://www.youtube.com/watch?v=9XXgW34t40s" style="color:rgb(17,85,204);font-size:12.8000001907349px" target="_blank" class="">https://www.youtube.com/watch?v=9XXgW34t40s</a></div><div class=""><a href="https://www.youtube.com/watch?v=NLaDpGQuZDA" target="_blank" class="">https://www.youtube.com/watch?v=NLaDpGQuZDA</a><br class=""></div></div></div></div></div></div></div>
</div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services: <br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></div><br class=""></div></body></html>