OK, made some progress.
<div><br></div><div>With some help from friends on #Asterisk, found that the NEC was doing post connect dialing.</div><div><br></div><div>So then, added the following to extensions.conf:</div><div><br></div><div><div>[from-nec]</div>
<div>exten => s,1,Answer()</div><div>exten => s,n,Set(TIMEOUT(digit)=2)</div><div>exten => s,n,Set(TIMEOUT(response)=5)</div><div>exten => s,n,Read(DialedNumber)</div><div>exten => s,n,Dial(DAHDI/g2/${DialedNumber},,T)</div>
<div><br></div><div><br></div><div>Which now captures the number and tries to dial, but then I get:</div><div><br></div><div><br></div><div><div> -- Accepting call from '' to 's' on channel 0/28, span 1</div>
<div> -- Executing [s@from-nec:1] Answer("DAHDI/28-1", "") in new stack</div><div> -- Executing [s@from-nec:2] Set("DAHDI/28-1", "TIMEOUT(digit)=2") in new stack</div><div> -- Digit timeout set to 2</div>
<div> -- Executing [s@from-nec:3] Set("DAHDI/28-1", "TIMEOUT(response)=5") in new stack</div><div> -- Response timeout set to 5</div><div> -- Executing [s@from-nec:4] Read("DAHDI/28-1", "DialedNumber") in new stack</div>
<div> -- User entered '14140400400000'</div><div> -- Executing [s@from-nec:5] Dial("DAHDI/28-1", "DAHDI/g2/14140400400000,,T") in new stack</div><div> -- Requested transfer capability: 0x00 - SPEECH</div>
<div> -- Called g2/14140400400000</div><div> -- DAHDI/32-1 is proceeding passing it to DAHDI/28-1</div><div> -- Channel 0/1, span 2 got hangup request, cause 31</div><div>[Nov 16 16:09:30] WARNING[5828]: app_dial.c:827 wait_for_answer: Unable to forward voice or dtmf</div>
<div> -- Hungup 'DAHDI/32-1'</div><div> == Everyone is busy/congested at this time (1:0/0/1)</div><div> -- Auto fallthrough, channel 'DAHDI/28-1' status is 'CHANUNAVAIL'</div><div> -- Channel 0/28, span 1 got hangup request, cause 16</div>
<div> -- Hungup 'DAHDI/28-1'</div><div><br></div><div><br></div><div>Ideas?</div><div><br></div><div>Mikel</div><div><br></div></div></div>