Thanks Brian,<div><br></div><div>I am generating not more than 10 calls at a time from FreeSWITCH. There is a script that reads for any new entries from database and as soon as the rows are inserted and it generates calls through event socket simultaneously to all the new numbers. I have also tried to put a sleep of 250 ms in the script generating request to event socket. Below is the piece of code that executes whenever a new row is generated:</div>
<div><br></div><div><div>my $dialstring = "api originate {voiceMessageID=$vmID,respreqd=$respReqd,mobnum=$mobileNum,lang=$language,ignore_early_media=true}freetdm/1/A/$mobileNum 47673501 XML public\n\n";</div><div>
<span class="Apple-tab-span" style="white-space:pre">                                        </span># initialize host and port</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span>$socket = IO::Socket::INET->new(PeerAddr => "127.0.0.1",</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                                                                </span>PeerPort => 8021,</div><div><span class="Apple-tab-span" style="white-space:pre">                                                                                </span>Proto => "tcp",</div><div><span class="Apple-tab-span" style="white-space:pre">                                                                                </span>Type => SOCK_STREAM)</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                        </span>or die "Couldn't connect to <a href="http://10.1.30.229:8021">10.1.30.229:8021</a> : $@\n";</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span>print $socket "auth ClueCon\n\n\n";</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                        </span>$answer = <$socket>;</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span>print $answer;</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span>print $socket $dialstring;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                        </span>$socket->recv($data,1024);</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span>#$answer = <$socket>;</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span>print $data;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                        </span>close($socket);<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>--</div><div>Ashish</div><div><br><div class="gmail_quote">On Mon, Apr 8, 2013 at 7:12 AM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">How many calls are you trying to start at once? You could just be pissing off the switch on the other side by bring up too many calls quickly.<br>
<div><div class="h5">On Apr 6, 2013, at 2:18 AM, Ashish gautam wrote:<br>
<br>
> Hi,<br>
><br>
> I am making simultaneous outgoing calls to PSTN network through freeTDM and<br>
> PRI card via Event socket. FS only generates at max. four calls and for the<br>
> rest it shows NORMAL_CIRCUIT_CONGESTION.<br>
><br>
> What could be the possible reason for this? Is there any default maximum<br>
> limit on the number of simultaneous outgoing calls through<br>
> freeTDM/libpri/DAHDI stack.?<br>
><br>
> Kindly throw some light on this.<br>
><br>
> Regards.<br>
<br>
--<br>
</div></div>Brian West<br>
<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a><br>
FreeSWITCH Solutions, LLC<br>
PO BOX PO BOX 2531<br>
Brookfield, WI 53008-2531<br>
<br>
Twitter: @FreeSWITCH_Wire<br>
<a href="http://freeswitchcookbook.com" target="_blank">http://freeswitchcookbook.com</a><br>
<a href="http://freeswitchbook.com" target="_blank">http://freeswitchbook.com</a><br>
<br>
T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST<br>
iNUM: +883 5100 1286 0410<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>
</div></div></blockquote></div><br></div></div>