basically, you need to do call transfer, right? why not using pattern matching? When your user wants to change is def. exten, it will be dropped in a submenu (ie another context) with pattern matching. from here you could match a number and store it in a db. see http://www.junghanns.net/asterisk/page6.html (the great capigod asterisk page)
Matteo. Il sab, 2003-07-05 alle 12:00, Ing. Angel Gomez Garcia ha scritto: > Hi all. > > Is there a way to collect the digits dialled in asterisk and stored > them in a variable ? I'm setting a submenu for the user to change his > extension dial in treatment from a standard extension to something like > 'automatic transfer' and I need to ask for the number where to transfer > the calls, pass it to an AGI and store it in a DB for later use. > > I also need to ask the user for his extension/password to validate > it before making the change. > > Thank's in advance for any help. > > > _______________________________________________ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
