[Freeswitch-dev] Inbound Event Socket

Bob Coleman bobc at devassert.com
Mon May 17 14:15:43 PDT 2010


Sorry guys. I might not understand myself.

The scenario is I want to make an outbound call(via an inbound socket)
and connect it back to an outbound socket for processing.

So to test this, I typed into the FreeSWITCH console the originate
command, just like I would have via the inbound socket. and was able
to make a call to a mobile phone, and have it connect back to an
outbound socket, but to my surprise it was now in async mode. I had
written the outbound socket to be sync, and there was no async command
in the dialplan that handled the extension I had transfered the call
too. Once the call is made I am not doing anything else to it via the
inbound socket, just letting the call run its course through our
callflow app.

I guess I am wondering if I am doing this the right way, or I have
missed something and there is an easier way.

Thanks

Bob

On Tue, May 18, 2010 at 3:37 AM, Michael S  Collins <msc at freeswitch.org> wrote:
> Are you trying to originate from a program with inbound event socket and
> then and also have the same program handle the other call leg (805) using
> outbound event socket? Same port? Please clarify like Tony said.
> -MC
>
> Sent from my iPhone
> On May 17, 2010, at 8:13 AM, Anthony Minessale <anthony.minessale at gmail.com>
> wrote:
>
> I read this like 5 times and I could not understand what you are trying to
> ask.
> Could you rephrase with more detail?
>
> On Sun, May 16, 2010 at 6:54 PM, Bob Coleman <bobc at devassert.com> wrote:
>>
>> Hi,
>>
>> Is there a reason why an orginate command typed into the freeswitch
>> console overrides the dialplan socket application(<action
>> application="socket" data="127.0.0.1:4573 full"/>) with async
>> eg originate sofia/gateway/????/???? 805
>>
>> 805 being the extension the outbound event socket is fired from.
>>
>> I have noticed that if the {ignore_early_media=true} is set that it
>> behaves correctly and does not override with async.
>>
>> I am using the 1.6 version source compiled locally on a windows box,
>> and a extension of 805 setup with the above outbound socket
>> connection.
>>
>> Regards
>>
>> Bob
>>
>> _______________________________________________
>> FreeSWITCH-dev mailing list
>> FreeSWITCH-dev at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> http://www.freeswitch.org
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>



More information about the FreeSWITCH-dev mailing list