Here is what I thought of, does anyone see any problems in this logic?
1. User dials 7
2. Asterisk plays directions in background. But continues to next priority
whiles playing. (Correct?)
3. User enters number.
4. Asterisk sets CID.
5. Asterisk plays more directions in background so user can enter number
whiles it is talking.
6. Asterisk dials the number.
exten => 7,1,Background(enter-10-digit-callerid-to-display)
exten => 7,2,Goto(_XXXXXXXXXX,1)
exten => _XXXXXXXXXX,1,SetCallerID(${EXTEN})
exten => _XXXXXXXXXX,2,Goto(_1NXXNXXXXXX,1)
exten =>
_1NXXNXXXXXX,1,Backgound(dial-number-to-be-called-including-1-and-the-areaco
de)
exten => _1NXXNXXXXXX,2,Dial,~~~~~/${EXTEN}
exten => h,1,Hangup
exten => i,1,Hangup
exten => t,1,Hangup
How would asterisk react if the user only entered 7 numbers when it asks for
10? Would it hangup?
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users