Skip to content

Instantly share code, notes, and snippets.

View ravnx's full-sized avatar

Michael Palmer ravnx

View GitHub Profile
; 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