ftdm dump on span 1 from channels 5 to 30 shows this output:

span_id: 1
chan_id: 25
physical_span_id: 1
physical_chan_id: 25
physical_status: ok
physical_status_red: 0
physical_status_yellow: 0
physical_status_rai: 0
physical_status_blue: 0
physical_status_ais: 0
physical_status_general: 0
signaling_status: UP
type: B
state: SUSPENDED
last_state: RESTART
txgain: 0.00
rxgain: 0.00
cid_date:
cid_name:
cid_num:
ani:
aniII:
dnis:
rdnis:
cause: NORMAL_UNSPECIFIED
session: (none)

-- States --                   -- Function --                 -- Location --                 -- Time Offset --
DOWN  => RESTART               [on_dchan_up]                  [ftmod_libpri.c:2372]          0ms
RESTART => SUSPENDED           [on_timeout_t316]              [ftmod_libpri.c:1952]          120023ms

Time since last state change: 4205443ms


On Mon, Apr 8, 2013 at 11:17 AM, Peter Olsson <POlsson@enghouse.com> wrote:
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@nms.co.in<mailto:ashish@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@freeswitch.org<mailto: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<mailto: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<mailto: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<mailto:FreeSWITCH-users@lists.freeswitch.org>
!DSPAM:5162473332765878717253!
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org<mailto: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<mailto:FreeSWITCH-users@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!

_________________________________________________________________________
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