[Freeswitch-users] Controlling calls with mod_event_socket

Seven Du dujinfang at gmail.com
Sun Apr 25 03:52:39 PDT 2010


2010/4/25 Frank Church <vfclists at googlemail.com>:
> On 25 April 2010 08:39, William Suffill <william.suffill at gmail.com> wrote:
>> Looks pretty straight forward. The biggest hurtle is design. From the posted
>> code it's invoked on a per call basis. Quicker to write but not ideal if you
>> want to scale it up. You could do similar in FS too by embed scripting or a
>> daemon that catches any call to a certain extension regex and applies your
>> logic.
>
> After some reading outbound sockets seem to be the way to go.
>
> Can an outbound socket return to the dial plan after setting some
> variables during its execution, so that the dialplan can work as
> normal? It is what I prefer.
>

Yes, you can transfer to a dialplan extension

> The call volumes are not that high and the controlling program is
> written in ObjectPascal, making performance even less of a problem
>
> The original deployment run on an Asterisk VM but switching to
> Freeswitch means having the VoIP engine a Windows one as well.
>
>>
>> outbound event socket would work too if you wanted to stick with PHP and
>> reuse most of what you have.
>> http://wiki.freeswitch.org/wiki/PHP_ESL (I wrote that page so any
>> questions/suggestions are welcome.)
>>
>> -- W
>>
>> PS: sorry for any typos but it's getting a bit late (3:38am)
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
>
>
> --
> Frank Church
>
> =======================
> http://devblog.brahmancreations.com
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Blog: http://www.dujinfang.com
Proj:  http://www.freeswitch.org.cn



More information about the FreeSWITCH-users mailing list