ftdm dump on span 1 from channels 5 to 30 shows this output:<div><br></div><div><div>span_id: 1</div><div>chan_id: 25</div><div>physical_span_id: 1</div><div>physical_chan_id: 25</div><div>physical_status: ok</div><div>physical_status_red: 0</div>
<div>physical_status_yellow: 0</div><div>physical_status_rai: 0</div><div>physical_status_blue: 0</div><div>physical_status_ais: 0</div><div>physical_status_general: 0</div><div>signaling_status: UP</div><div>type: B</div>
<div>state: SUSPENDED</div><div>last_state: RESTART</div><div>txgain: 0.00</div><div>rxgain: 0.00</div><div>cid_date:</div><div>cid_name:</div><div>cid_num:</div><div>ani:</div><div>aniII:</div><div>dnis:</div><div>rdnis:</div>
<div>cause: NORMAL_UNSPECIFIED</div><div>session: (none)</div><div><br></div><div>-- States --                   -- Function --                 -- Location --                 -- Time Offset --</div><div>DOWN  =&gt; RESTART               [on_dchan_up]                  [ftmod_libpri.c:2372]          0ms</div>
<div>RESTART =&gt; SUSPENDED           [on_timeout_t316]              [ftmod_libpri.c:1952]          120023ms</div><div><br></div><div>Time since last state change: 4205443ms</div><div><br></div><br><div class="gmail_quote">
On Mon, Apr 8, 2013 at 11:17 AM, Peter Olsson <span dir="ltr">&lt;<a href="mailto:POlsson@enghouse.com" target="_blank">POlsson@enghouse.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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.<br>
<br>
/Peter<br>
<br>
8 apr 2013 kl. 06:48 skrev &quot;Ashish gautam&quot; &lt;<a href="mailto:ashish@nms.co.in">ashish@nms.co.in</a>&lt;mailto:<a href="mailto:ashish@nms.co.in">ashish@nms.co.in</a>&gt;&gt;:<br>
<div class="im"><br>
Thanks Brian,<br>
<br>
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:<br>

<br>
my $dialstring = &quot;api originate {voiceMessageID=$vmID,respreqd=$respReqd,mobnum=$mobileNum,lang=$language,ignore_early_media=true}freetdm/1/A/$mobileNum 47673501 XML public\n\n&quot;;<br>
# initialize host and port<br>
$socket = IO::Socket::INET-&gt;new(PeerAddr =&gt; &quot;127.0.0.1&quot;,<br>
PeerPort =&gt; 8021,<br>
Proto    =&gt; &quot;tcp&quot;,<br>
Type     =&gt; SOCK_STREAM)<br>
</div>or die &quot;Couldn&#39;t connect to <a href="http://10.1.30.229:8021" target="_blank">10.1.30.229:8021</a>&lt;<a href="http://10.1.30.229:8021" target="_blank">http://10.1.30.229:8021</a>&gt; : $@\n&quot;;<br>
<div class="im">print $socket &quot;auth ClueCon\n\n\n&quot;;<br>
$answer = &lt;$socket&gt;;<br>
print $answer;<br>
print $socket $dialstring;<br>
$socket-&gt;recv($data,1024);<br>
#$answer = &lt;$socket&gt;;<br>
print $data;<br>
close($socket);<br>
--<br>
Ashish<br>
<br>
</div><div class="im">On Mon, Apr 8, 2013 at 7:12 AM, Brian West &lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&lt;mailto:<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt;&gt; wrote:<br>

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>
On Apr 6, 2013, at 2:18 AM, Ashish gautam wrote:<br>
<br>
&gt; Hi,<br>
&gt;<br>
&gt; I am making simultaneous outgoing calls to PSTN network through freeTDM and<br>
&gt; PRI card via Event socket. FS only generates at max. four calls and for the<br>
&gt; rest it shows NORMAL_CIRCUIT_CONGESTION.<br>
&gt;<br>
&gt; What could be the possible reason for this? Is there any default maximum<br>
&gt; limit on the number of simultaneous outgoing calls through<br>
&gt; freeTDM/libpri/DAHDI stack.?<br>
&gt;<br>
&gt; Kindly throw some light on this.<br>
&gt;<br>
&gt; Regards.<br>
<br>
--<br>
Brian West<br>
</div><a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&lt;mailto:<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt;<br>
<div class="im">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>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
</div><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>&lt;mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>&gt;<br>
<div class="im"><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>
</div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
<div class="im"><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>
</div>!DSPAM:5162473332765878717253!<br>
<div class="im">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
</div><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>&lt;mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>&gt;<br>
<div class="im"><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>
</div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<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>&lt;<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>&gt;<br>

<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
!DSPAM:5162473332765878717253!<br>
<div class="HOEnZb"><div class="h5"><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>