Thanks Brian,

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:

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";
# initialize host and port
$socket = IO::Socket::INET->new(PeerAddr => "127.0.0.1",
PeerPort => 8021,
Proto    => "tcp",
Type     => SOCK_STREAM)
or die "Couldn't connect to 10.1.30.229:8021 : $@\n";
print $socket "auth ClueCon\n\n\n";
$answer = <$socket>;
print $answer;
print $socket $dialstring;
$socket->recv($data,1024);
#$answer = <$socket>;
print $data;
close($socket);
--
Ashish

On Mon, Apr 8, 2013 at 7:12 AM, Brian West <brian@freeswitch.org> wrote:
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.
On Apr 6, 2013, at 2:18 AM, Ashish gautam wrote:

> Hi,
>
> I am making simultaneous outgoing calls to PSTN network through freeTDM and
> PRI card via Event socket. FS only generates at max. four calls and for the
> rest it shows NORMAL_CIRCUIT_CONGESTION.
>
> What could be the possible reason for this? Is there any default maximum
> limit on the number of simultaneous outgoing calls through
> freeTDM/libpri/DAHDI stack.?
>
> Kindly throw some light on this.
>
> Regards.

--
Brian West
brian@freeswitch.org
FreeSWITCH Solutions, LLC
PO BOX PO BOX 2531
Brookfield, WI 53008-2531

Twitter: @FreeSWITCH_Wire
http://freeswitchcookbook.com
http://freeswitchbook.com

T: +1.213.286.0410  |  F: +1.213.286.0401  |  M: +1.918.424.WEST
iNUM: +883 5100 1286 0410


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org