I have an Asterisk server it runs great with SIP phones, soft SIP phones (twinkle) and a soft SIP phone app on my Android phone but I am having problems getting two ATA boxes working. I have a Linksys PAP2T, it is unlocked and I have used them before with no problems. I was able to receive calls with from any local SIP phone or from my Link2VoIP connection via the Internet but it could not call out. It could not call out to the Link2VoIP or any of the SIP phones. I spent a lot of time going over the configureation for this Asterisk server and the settings in the Linksys PAP2T box but could not get it to work. I removed the Linksys PAP2T and replaced it with an HT503 because I read a lot of good recommendations for this device. It seems to have almost the same problem. I say almost because when the Linksys would get congestion I would hear the Asterisk recording tell me &quot;All circuits are busy now, good-bye&quot; but the HT503 only gets a busy tone.<br>
<br>All the SIP phones can call out no problem but these two ATA boxes that I am trying to use the FXS ports to connect old analog POTS phones to are not working.<br><br>I have turned on the debug in Asterisk and can see the point where I get congestion but I don&#39;t know how to make Asterisk give me more details as to why I am getting congestion. Can anyone help me to get more details about this problem?<br>
<br>I traced the debug from a working SIP phone as it makes an outgoing call and from the HT503 as it tries to make a call. Everything is identical right up to the point where the HT503 gets a congestion instruction from the Asterisk server.<br>
Here is the debug output just at the point where it happens.<br><br>    -- AGI Script dialparties.agi completed, returning 0<br>    -- Executing [s@macro-dial:7] Dial(&quot;SIP/302-08221a38&quot;, &quot;SIP/301||tr&quot;) in new stack<br>
    -- Called 301<br>Home*CLI&gt; <br>&lt;--- Transmitting (NAT) to <a href="http://192.168.0.100:5060">192.168.0.100:5060</a> ---&gt;<br>SIP/2.0 180 Ringing<br>Via: SIP/2.0/UDP 192.168.0.100:5060;branch=z9hG4bK443855200;received=192.168.0.100;rport=5060<br>
From: &lt;<a href="mailto:sip%3A302@192.168.0.1">sip:302@192.168.0.1</a>&gt;;tag=1257222779<br>To: &lt;<a href="mailto:sip%3A301@192.168.0.1">sip:301@192.168.0.1</a>&gt;;tag=as201c8013<br>Call-ID: <a href="mailto:979693319-5060-5@192.168.0.100">979693319-5060-5@192.168.0.100</a><br>
CSeq: 41 INVITE<br>User-Agent: FPBX-2.4.0(1.4.19.1)<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY<br>Supported: replaces<br>Contact: &lt;<a href="mailto:sip%3A301@192.168.0.1">sip:301@192.168.0.1</a>&gt;<br>
Content-Length: 0<br><br><br>&lt;------------&gt;<br>    -- SIP/301-0822de30 is circuit-busy<br>  == Everyone is busy/congested at this time (1:0/1/0)<br>    -- Executing [s@macro-dial:8] Set(&quot;SIP/302-08221a38&quot;, &quot;DIALSTATUS=CONGESTION&quot;) in new stack<br>
    -- Executing [s@macro-exten-vm:10] Set(&quot;SIP/302-08221a38&quot;, &quot;SV_DIALSTATUS=CONGESTION&quot;) in new stack<br>    -- Executing [s@macro-exten-vm:11] GosubIf(&quot;SIP/302-08221a38&quot;, &quot;0?docfu|1&quot;) in new stack<br>
    -- Executing [s@macro-exten-vm:12] GosubIf(&quot;SIP/302-08221a38&quot;, &quot;0?docfb|1&quot;) in new stack<br>    -- Executing [s@macro-exten-vm:13] Set(&quot;SIP/302-08221a38&quot;, &quot;DIALSTATUS=CONGESTION&quot;) in new stack<br>
    -- Executing [s@macro-exten-vm:14] NoOp(&quot;SIP/302-08221a38&quot;, &quot;Voicemail is novm&quot;) in new stack<br>    -- Executing [s@macro-exten-vm:15] GotoIf(&quot;SIP/302-08221a38&quot;, &quot;1?s-CONGESTION|1&quot;) in new stack<br>
    -- Goto (macro-exten-vm,s-CONGESTION,1)<br>    -- Executing [s-CONGESTION@macro-exten-vm:1] PlayTones(&quot;SIP/302-08221a38&quot;, &quot;congestion&quot;) in new stack<br>Audio is at 192.168.0.1 port 10162<br>Adding codec 0x100 (g729) to SDP<br clear="all">
<br>-- <br>Easy, fast GUI development.<br><a href="http://PerlQt.wikidot.com">http://PerlQt.wikidot.com</a><br>