<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; white-space: nowrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><div><br>
</div>Thanks for your quick response !!!</span><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; white-space: nowrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;">I think it's better to have separate process for originate & event listen.</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; white-space: nowrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;">But due to my application design issue, i have to stick with same cgi process for originate & event listen.</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; white-space: nowrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;">I will check feasibility of separate process in my app design.</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; white-space: nowrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><br clear="all">
</span></font>Incase of any further queries, Please feel free to mail me or contact me on the numbers provided below.<br><br>Thanks & Regards,<br>Chaitanya Bhatt<br>Software Engineer.<br><br>Viva Infomedia Pvt. Ltd.<br>
242, Oshiwara Industrial Centre,<br>New Link Road, Opp. Oshiwara Bus Depot,<br>Goregaon West, Mumbai 400104.<br><br>Direct: +91.22.40310356<br>Board: +91.22.40310310<br>Email : <a href="mailto:chaitanya@vivainfomedia.com">chaitanya@vivainfomedia.com</a><br>
<br>Viva Infomedia: Awarded as Best SME (E-Commerce) at CNBC Emerging India Awards 2009<br><br>
<br><br><div class="gmail_quote">On Thu, Aug 19, 2010 at 2:21 AM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
and make sure the sps is not set too low<br>
<div><div></div><div class="h5"><br>
On Wed, Aug 18, 2010 at 2:13 PM, Michael Collins <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>> wrote:<br>
> Comments inline...<br>
><br>
> On Wed, Aug 18, 2010 at 3:02 AM, Chaitanya Bhatt // Viva<br>
> <<a href="mailto:chaitanya@vivainfomedia.com">chaitanya@vivainfomedia.com</a>> wrote:<br>
>><br>
>> Hey<br>
>><br>
>> I am facing problem in making few outbound calls simultaneously. I am<br>
>> executing "api originate" command from perl over ESL. After calling<br>
>> originate ,same perl file listens for CHANNEL_ORIGINATE CHANNEL_ANSWER<br>
>> CHANNEL_HANGUP_COMPLETE events. When perl file receives<br>
>> CHANNEL_HANGUP_COMPLETE event, it get terminates.<br>
>><br>
>> I have done this code of originate & hangup listen event in perl cgi. When<br>
>> i do 10-20 request (10-20 simultaneous call), at freeswitch only 2-3 calls<br>
>> get serviced.<br>
>> To find out issue when i commented the code of event listen in cgi, i was<br>
>> able to make all 10-20 calls simulateneously.<br>
><br>
> I wonder if your script isn't able to handle all the events quickly enough?<br>
><br>
>><br>
>> I have already checked apache configuration & is working well.<br>
>> Now i want to know whether freeswitch has limitation on number of clients<br>
>> listening to its events or there is some other issue of ESL.<br>
><br>
> Using Perl, ESL, and POE I've done upwards of 50-60 simultaneous calls with<br>
> originate. I used bgapi originate xxxx. It's not the most efficient way but<br>
> it did work. However, the best way to handle something like this is to have<br>
> several processes each with a specific purpose: one to send the bgapi<br>
> originate commands and one to listen for the CHANNEL_XXX events and act<br>
> accordingly. By having each process do just one thing you can scale better<br>
> and it's easier to identify trouble spots.<br>
><br>
> -MC<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><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-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>