<br>I am having problems getting a Nicherons TDM400P wildcard clone to dial out. Everything appears to be configured correctly, but although I see call progress, it never seems to actually pick up the phone.<br><br>(The following is a test of 911 emergency, where I substitute 811 [repair service] as the actual number dialed.)<br>
<br>*CLI&gt;<br>    -- Executing [911@from-internal:1] Goto(&quot;SIP/101-00000000&quot;, &quot;nineoneone,s,1&quot;) in new stack<br>    -- Goto (nineoneone,s,1)<br>    -- Executing [s@nineoneone:1] Set(&quot;SIP/101-00000000&quot;, &quot;SET_EMERG_FLAG=0&quot;) in new stack<br>
    -- Executing [s@nineoneone:2] ChanIsAvail(&quot;SIP/101-00000000&quot;, &quot;DAHDI/4&quot;) in new stack<br>    -- Hanging up on &#39;DAHDI/4-1&#39;<br>    -- Hungup &#39;DAHDI/4-1&#39;<br>    -- Executing [s@nineoneone:3] Set(&quot;SIP/101-00000000&quot;, &quot;GLOBAL(EMERGENCY)=1&quot;) in new stack<br>
  == Setting global variable &#39;EMERGENCY&#39; to &#39;1&#39;<br>    -- Executing [s@nineoneone:4] Set(&quot;SIP/101-00000000&quot;, &quot;SET_EMERG_FLAG=1&quot;) in new stack<br>    -- Executing [s@nineoneone:5] Dial(&quot;SIP/101-00000000&quot;, &quot;DAHDI/4/811&quot;) in new stack<br>
    -- Called 4/811<br>    -- DAHDI/4-1 is ringing<br>  == Extension Changed 101[from-internal] new state Idle for Notify User 101 <br>  == Extension Changed 101[from-internal] new state Idle for Notify User 103 <br>    -- Hanging up on &#39;DAHDI/4-1&#39;<br>
    -- Hungup &#39;DAHDI/4-1&#39;<br>  == Spawn extension (nineoneone, s, 5) exited non-zero on &#39;SIP/101-00000000&#39;<br>    -- Executing [h@nineoneone:1] GotoIf(&quot;SIP/101-00000000&quot;, &quot;1?3&quot;) in new stack<br>
    -- Goto (nineoneone,h,3)<br>    -- Executing [h@nineoneone:3] Set(&quot;SIP/101-00000000&quot;, &quot;GLOBAL(EMERGENCY)=0&quot;) in new stack<br>  == Setting global variable &#39;EMERGENCY&#39; to &#39;0&#39;<br>*CLI&gt;<br>
<br>When &quot;DAHDI/4-1 is ringing&quot; appears I indeed hear ringing progress tones, but they appear to be coming from Asterisk, as the card does not pick up the phone at this point, or ever. I&#39;m using jack #4 on the board, which is supposedly an FXO port.<br>
<br>Here&#39;s the output from various relevant tools &amp; config files:<br><br>------------------<br>*CLI&gt; dahdi show channels<br>   Chan Extension  Context         Language   MOH Interpret        Blocked    State     <br>
 pseudo            default                    default                         In Service<br>      1            from-pstn                  default                         In Service<br>      2            from-pstn                  default                         In Service<br>
      3            from-internal              default                         In Service<br>      4            from-internal              default                         In Service<br>-------------------<br><br>dahdi-channels.conf:<br>
....................<br><br>; Autogenerated by /usr/sbin/dahdi_genconf on Fri Apr  1 06:52:48 2011<br>; If you edit this file and execute /usr/sbin/dahdi_genconf again,<br>; your manual changes will be LOST.<br>; Dahdi Channels Configurations (chan_dahdi.conf)<br>
;<br>; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended<br>; to be #include-d by /etc/chan_dahdi.conf that will include the global settings<br>;<br><br>; Span 1: WCTDM/4 &quot;Wildcard TDM400P REV I Board 5&quot; (MASTER) <br>
;;; line=&quot;1 WCTDM/4/0 FXSKS  (SWEC: MG2)&quot;<br>signalling=fxs_ks<br>callerid=asreceived<br>group=0<br>context=from-pstn<br>channel =&gt; 1<br>callerid=<br>group=<br>context=default<br><br>;;; line=&quot;2 WCTDM/4/1 FXSKS  (SWEC: MG2)&quot;<br>
signalling=fxs_ks<br>callerid=asreceived<br>group=0<br>context=from-pstn<br>channel =&gt; 2<br>callerid=<br>group=<br>context=default<br><br>;;; line=&quot;3 WCTDM/4/2 FXOKS  (SWEC: MG2)&quot;<br>signalling=fxo_ks<br>callerid=&quot;Channel 3&quot; &lt;4003&gt;<br>
mailbox=4003<br>group=5<br>context=from-internal<br>channel =&gt; 3<br>callerid=<br>mailbox=<br>group=<br>context=default<br><br>;;; line=&quot;4 WCTDM/4/3 FXOKS  (SWEC: MG2)&quot;<br>signalling=fxo_ks<br>callerid=&quot;Channel 4&quot; &lt;4004&gt;<br>
mailbox=4004<br>group=5<br>context=from-internal<br>channel =&gt; 4<br>callerid=<br>mailbox=<br>group=<br>context=default<br><br><br>; Span 2: DAHDI_DUMMY/1 &quot;DAHDI_DUMMY/1 (source: HRtimer) 1&quot; <br><br>------------------------------------------<br>
chan_dahdi.conf<br>...............<br><br>...<br><br>[channels]<br><br>#include /etc/asterisk/dahdi-channels.conf<br>...<br><br>---------------------------------------------<br><br>root@Trixie:/etc/asterisk# dahdi_hardware<br>
pci:0000:02:01.0     wctdm+       e159:0001 Wildcard TDM400P REV I<br><br><br>---------------------------------------<br><br>root@Trixie:~# lsdahdi<br>### Span  1: WCTDM/4 &quot;Wildcard TDM400P REV I Board 5&quot; (MASTER) <br>
  1 FXO        FXSKS       (In use) (SWEC: MG2)  <br>  2 FXO        FXSKS       (In use) (SWEC: MG2)  <br>  3 FXS        FXOKS       (In use) (SWEC: MG2)  <br>  4 FXS        FXOKS       (In use) (SWEC: MG2)  <br>### Span  2: DAHDI_DUMMY/1 &quot;DAHDI_DUMMY/1 (source: HRtimer) 1&quot; <br>
root@Trixie:~# <br><br><br>-------------------------------------------------<br><br>extensions.conf (excerpt)<br><br>; Global variables<br>[globals]<br><br>; Stuff for 911<br>EMERGENCY=0<br>EMERGENCY_TRUNK=DAHDI/4<br>; Change this for production use:<br>
;EMERGENCY_NUM=some_test_phone_number<br>EMERGENCY_NUM=811<br>;EMERGENCY_NUM=911<br><br><br>...<br><br>; Which trunk to use for any DAHDI (PSTN-&#39;Hard Line&#39;-AKA POTS) type stuff<br>POTSTRUNK=DAHDI/4<br><br>...<br><br>
; Emergency -- DO NOT REMOVE!<br>exten =&gt; 911,1,Goto(nineoneone,s,1)    <br><br>...<br><br><br>; EMERGENCY! See <a href="http://www.voip-info.org/wiki-Asterisk+tips+911">http://www.voip-info.org/wiki-Asterisk+tips+911</a> for details.<br>
[nineoneone]<br>exten =&gt; s,1,Set(SET_EMERG_FLAG=0)<br>exten =&gt; s,n(checkavail),ChanIsAvail(${EMERGENCY_TRUNK})<br>exten =&gt; s,n,Set(GLOBAL(EMERGENCY)=1)<br>exten =&gt; s,n,Set(SET_EMERG_FLAG=1)<br>exten =&gt; s,n(dial),Dial(${EMERGENCY_TRUNK}/${EMERGENCY_NUM})<br>
exten =&gt; s,s+2(trunkbusy),GotoIf($[${EMERGENCY} = 1]?inprogress)<br>exten =&gt; s,n,SoftHangup(${EMERGENCY_TRUNK}-1)<br>exten =&gt; s,n,Wait(12)<br>exten =&gt; s,n,Goto(checkavail)<br>exten =&gt; s,s+2(inprogress),Congestion<br>
exten =&gt; s,checkavail+101(notavail),Goto(trunkbusy)<br>exten =&gt; h,1,GotoIf($[${SET_EMERG_FLAG} = 1]?3)<br>exten =&gt; h,3,Set(GLOBAL(EMERGENCY)=0)<br><br><br><br>