[Freeswitch-users] FS performance using ESL

Anthony Minessale anthony.minessale at gmail.com
Thu Aug 11 23:59:28 MSD 2011


try removing the filter and event subscriptions
it's costly to consume all of the events especially at 75cps.


On Thu, Aug 11, 2011 at 5:23 AM, Tihomir Culjaga <tculjaga at gmail.com> wrote:
> hello,
>
> im wondering how much performance do we loose when using ESL instead of
> running it via dialplan?
>
>
> without ESL with a fine tuned FS and a short dialplan ( answer, playback
> like 20 seconds file, hangup ) im able to service 75 CPS. On the same FS,
> when i use ESL to answer the call, playback the same file and hangup, im not
> able to run more than 2 CPS... this is a huge impact and i really can't
> believe it.
>
> I'm using event-socket outbound e.g.:
>
> <action application="socket" data="127.0.0.1:8088 async full"/>
>
> my extension looks like:
>
> <extension name="ESL_C">
>   <condition field="destination_number" expression="^(6666)$">
>     <action application="socket" data="127.0.0.1:8088 async full"/>
>     <action application="sleep" data="1000"/>
>     <action application="hangup"/>
>   </condition>
> </extension>
>
>
> im using testserver from lib/esl/ and i just removed the conference command
> and added the playback one.... also i moved the esl_debug lvl to 0
>
>
> anyhow, FS cannot run more than 2 CPS compared to 75 CPS when the playback
> is done from the dialplan.
>
>
> Please, can someone give me a clue on what is going on?
> Maybe im doing something wrong?
> how to get maximum FS performance using ESL ?
>
>
>
> Regards,
> Tihomir.
>
>
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
>
> 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
>
>



-- 
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



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list