[Freeswitch-users] Default maximum number of simultaneous outgoing PSTN calls

Peter Olsson POlsson at enghouse.com
Mon Apr 8 09:47:29 MSD 2013


You probably need to contact you PSTN provider to help you out here. You can also dump the FreeTDM traffic and analyze what happens on the signalling level.

/Peter

8 apr 2013 kl. 06:48 skrev "Ashish gautam" <ashish at nms.co.in<mailto:ashish at nms.co.in>>:

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<http://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 at freeswitch.org<mailto:brian at 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 at freeswitch.org<mailto:brian at 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 at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com




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

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto: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

!DSPAM:5162473332765878717253!
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com




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

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<http://lists.freeswitch.org/mailman/options/freeswitch-users>
http://www.freeswitch.org


!DSPAM:5162473332765878717253!



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