On Sat, 2003-08-02 at 19:29, Mark Spencer wrote: > > How would you go about doing something like this? Add yet another > > variable to app_dial to hold the last called party number? > > We could make app_dial return with 0 given a specific option.
Mark, doing it this way you can retreive the extension at which dial was called. The dial application will eat all digits received while 'overlap dialing', though. Say you have a dialplan: exten => _XXX.,1,Dial,Zap/g8/BYEXTENSION|20|HR exten => _XXX.,2,Dial,AGI(pm-store-number.agi) A user dialing 5551212 will be connected, but only 555 will be seen as the dialed extension by pm-store-number.agi. Thilo -- [netzquadrat] GmbH | Thilo Salmon Ronsdorfer Str. 74 | Fon: +49 211 302033 12 40233 Duesseldorf | Fax: +49 211 302033 22 _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
