This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; Name: lgaetz-boomerang | |
| ; | |
| ; Latest version: https://gist.github.com/lgaetz/e7dbbcd6004559c5b467a146a8b14cfc | |
| ; | |
| ; Description: this dialplan Stores the most recent local extension number to speak with the referenced CallerID Number | |
| ; To direct an inbound call based on the last extension they last spoke to, do astdb query on the key/family | |
| ; boomerang/${CALLERID(number):-10} | |
| ; if set, will give most recent local exten. Something like dynamic routes could be used to branch call flow | |
| ; based on the returned result |