How about just before you dial an extension you do a:
DBput(LAST/${EXTEN}=${CALLERID_NUMBER})and then *69 does a:
DBget(dialNum=LAST/${CALLERID_NUMBER})(from your extension) and you can dial it? I've never tried it, but that might be a simple starting point...
On Jun 22, 2004, at 12:48 PM, Jeremy Jones wrote:
Hello,
I've managed to build in the "last number repeat" outlined at
http://www.voip-info.org/wiki-Asterisk+last+number+repeat to call back
the last person _I_ called from a particular phone, and now I'd like to
try to do something similar for the common *69 -- call back the last
number that called me. I assume I'll do part of this in my standard
extension macro -- capturing the last callerid number that called a
particular extension, along w/some sort of dbput command. Then in my
[apps], a *69 extension that grabs that info & dials it. Anyone have an
example of such a configuration, or hints (i.e. what variable I'll catch
in my standard extension macro)?
Thanks! Jeremy Jones _______________________________________________ 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
-Michael
_______________________________________________ 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
