[Asterisk-Users] Wait for Digits

2005-02-09 Thread Liaan vd Merwe



Hi all
I'm being really stupid today.
i simply want asterisk to answer a incomming call, 
then wait for digits dialed. and then dial that extenstions
but i keep on getting: WARNING[3314]: pbx.c:2017 
ast_pbx_run: Invalid extension '5', but no rule 'i' in context 
'zap-in'
my config:

exten = 0,1,answer()exten = 
0,2,digittimeout,5exten = 0,3,ResponseTimeout,10exten = 
0,4,waitexten 

any help appreciated.

thanks 
liaan

__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[Asterisk-Users] Wait for Digits.. solved

2005-02-09 Thread Liaan vd Merwe



Sorry all
figured out one needs to include the context that 
the extensions to be dialed into the current context

thanks
Liaan
__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] Wait for Digits

2005-02-09 Thread Derek Whitten
try adding something like this to 'zap-in'

exten = i,1,Background(invalid)



On Wed, 2005-02-09 at 10:44, Liaan vd Merwe wrote:
 Hi all
 I'm being really stupid today.
 i simply want asterisk to answer a incomming call, then wait for
 digits dialed. and then dial that extenstions
 but i keep on getting: WARNING[3314]: pbx.c:2017 ast_pbx_run: Invalid
 extension '5', but no rule 'i' in context 'zap-in'
 my config:
  
 exten = 0,1,answer()
 exten = 0,2,digittimeout,5
 exten = 0,3,ResponseTimeout,10
 exten = 0,4,waitexten 
  
 any help appreciated.
  
 thanks 
 liaan
  
 
 __
 Do You Yahoo!?
 Tired of spam? Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 
 
 __
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


signature.asc
Description: This is a digitally signed message part
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users