Try changing wait(2) to background(silence/9) See if that helps, as you can't accept digits during a wait. Also, check out the the waitexten command.
Hope this helps, Jon. On Wednesday 25 May 2005 05:14 am, Kamran Ahmad wrote: > hello > > like if 6000 is the main exchange number. any one dial > to 6000 will be asked for pressing his desired > extension then he can press his desired extension then > his number is diled > > > exten=>6000,1,Background(enterdesiredexten) > exten=>6000,2,Wait(2) > > > exten=>2000,1,Dial(SIP/${EXTEN}) > exten=>3000,1,Dial(SIP/${EXTEN}) > > > > __________________________________ > Discover Yahoo! > Stay in touch with email, IM, photo sharing and more. Check it out! > http://discover.yahoo.com/stayintouch.html > _______________________________________________ > 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 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