that does not mean if you are in sync mode or async, the reply on the event socket initial message after you enter connect does.<div><br></div><div>If you are doing ivr type things before you have media established its possible it's simply failing.</div>
<div><br><br><div class="gmail_quote">On Mon, May 17, 2010 at 4:53 PM, Bob Coleman <span dir="ltr"><<a href="mailto:bobc@devassert.com">bobc@devassert.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I tried specifying async full to confirm it was giving me the same<br>
result, and it does.<br>
<br>
I put break points into our code where it sends a message to fs, in<br>
sync mode it waits for the timeout or until the user presses a key,<br>
but in async mode it just returns as expected, immediately.<br>
<br>
I expected it to be in sync mode, as all our inbound calls come thru<br>
in this fashion, and work fine.<br>
<br>
If ignore_early_media=true is used for the originate it obeys the<br>
dialplan, and operates in sync mode.<br>
<br>
On Tue, May 18, 2010 at 9:33 AM, Anthony Minessale<br>
<div><div></div><div class="h5"><<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>> wrote:<br>
> try actually specifying sync full not just omitting it.<br>
> how are you determining that you are ending up in async mode?<br>
><br>
> On Mon, May 17, 2010 at 4:15 PM, Bob Coleman <<a href="mailto:bobc@devassert.com">bobc@devassert.com</a>> wrote:<br>
>><br>
>> Sorry guys. I might not understand myself.<br>
>><br>
>> The scenario is I want to make an outbound call(via an inbound socket)<br>
>> and connect it back to an outbound socket for processing.<br>
>><br>
>> So to test this, I typed into the FreeSWITCH console the originate<br>
>> command, just like I would have via the inbound socket. and was able<br>
>> to make a call to a mobile phone, and have it connect back to an<br>
>> outbound socket, but to my surprise it was now in async mode. I had<br>
>> written the outbound socket to be sync, and there was no async command<br>
>> in the dialplan that handled the extension I had transfered the call<br>
>> too. Once the call is made I am not doing anything else to it via the<br>
>> inbound socket, just letting the call run its course through our<br>
>> callflow app.<br>
>><br>
>> I guess I am wondering if I am doing this the right way, or I have<br>
>> missed something and there is an easier way.<br>
>><br>
>> Thanks<br>
>><br>
>> Bob<br>
>><br>
>> On Tue, May 18, 2010 at 3:37 AM, Michael S Collins <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>><br>
>> wrote:<br>
>> > Are you trying to originate from a program with inbound event socket and<br>
>> > then and also have the same program handle the other call leg (805)<br>
>> > using<br>
>> > outbound event socket? Same port? Please clarify like Tony said.<br>
>> > -MC<br>
>> ><br>
>> > Sent from my iPhone<br>
>> > On May 17, 2010, at 8:13 AM, Anthony Minessale<br>
>> > <<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>><br>
>> > wrote:<br>
>> ><br>
>> > I read this like 5 times and I could not understand what you are trying<br>
>> > to<br>
>> > ask.<br>
>> > Could you rephrase with more detail?<br>
>> ><br>
>> > On Sun, May 16, 2010 at 6:54 PM, Bob Coleman <<a href="mailto:bobc@devassert.com">bobc@devassert.com</a>> wrote:<br>
>> >><br>
>> >> Hi,<br>
>> >><br>
>> >> Is there a reason why an orginate command typed into the freeswitch<br>
>> >> console overrides the dialplan socket application(<action<br>
>> >> application="socket" data="<a href="http://127.0.0.1:4573" target="_blank">127.0.0.1:4573</a> full"/>) with async<br>
>> >> eg originate sofia/gateway/????/???? 805<br>
>> >><br>
>> >> 805 being the extension the outbound event socket is fired from.<br>
>> >><br>
>> >> I have noticed that if the {ignore_early_media=true} is set that it<br>
>> >> behaves correctly and does not override with async.<br>
>> >><br>
>> >> I am using the 1.6 version source compiled locally on a windows box,<br>
>> >> and a extension of 805 setup with the above outbound socket<br>
>> >> connection.<br>
>> >><br>
>> >> Regards<br>
>> >><br>
>> >> Bob<br>
>> >><br>
>> >> _______________________________________________<br>
>> >> FreeSWITCH-dev mailing list<br>
>> >> <a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
>> >> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
>> >> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
>> >> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > Anthony Minessale II<br>
>> ><br>
>> > FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
>> > ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
>> > Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
>> ><br>
>> > AIM: anthm<br>
>> > <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
>> > GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
>> > IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
>> ><br>
>> > FreeSWITCH Developer Conference<br>
>> > <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
>> > <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
>> > pstn:+19193869900<br>
>> ><br>
>> > _______________________________________________<br>
>> > FreeSWITCH-dev mailing list<br>
>> > <a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
>> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
>> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> ><br>
>> > _______________________________________________<br>
>> > FreeSWITCH-dev mailing list<br>
>> > <a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
>> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
>> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> ><br>
>> ><br>
>><br>
>> _______________________________________________<br>
>> FreeSWITCH-dev mailing list<br>
>> <a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
><br>
> --<br>
> Anthony Minessale II<br>
><br>
> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
> Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
><br>
> AIM: anthm<br>
> <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
><br>
> FreeSWITCH Developer Conference<br>
> <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
> pstn:+19193869900<br>
><br>
> _______________________________________________<br>
> FreeSWITCH-dev mailing list<br>
> <a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
<br>
_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div>