Desired result:
They are prompted to enter a 3 digit company ID, They are then prompted to enter a outbound number (NXXNXXXXXX). Obviously the prompt for the second outbound number has been removed while I get the first part working.
This is asterisk 1.4.0
[outbound]
exten => s,1,Playback(/var/lib/asterisk/sounds/companyid)
exten => s,2,NoOp(${TIMESTAMP} outbound begins)
exten => s,3,Set(TIMEOUT(digit)=2)
exten => s,4,Set(TIMEOUT(response)=10)
exten => s,5,WaitExten(8)
exten => _XXX,1,NoOp(${TIMESTAMP} ok, We got full companyID${EXTEN})