luci/applications/luci-app-pbx/root/etc/pbx-asterisk/extensions_incoming_context_gtalk.conf.TEMPLATE
Jo-Philipp Wich 1bb4822dca Rework LuCI build system
* Rename subdirectories to their repective OpenWrt package names
 * Make each LuCI module its own standalone package
 * Deploy a shared luci.mk which is used by each module Makefile

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08 16:26:20 +01:00

15 lines
662 B
Text

exten => |USERNAME|,1,NoOp(${CALLERID})
same => n,Set(CALLERID(name)=${CUT(CALLERID(name),@,1)})
same => n,GotoIf($["${CALLERID(name):0:2}" != "+1"]?notrim)
same => n,Set(CALLERID(name)=${CALLERID(name):2})
same => n(notrim),Set(CALLERID(number)=${CALLERID(name)})
same => n,Set(SOURCECONTEXT=context-incoming-gtalk)
same => n,Set(SOURCEEXTEN=|USERNAME|)
same => n,Goto(blacklist-call-context,s,1)
same => n(doneblacklist),NoOp()
same => n,Goto(callback-check-call-context,s,1)
same => n(donecallback),NoOp()
same => n,Goto(disa-check-call-context,s,1)
same => n(donedisacheck),Dial(|LOCALUSERS|,${RINGTIME},D(:w11111111))
same => n,Goto(context-voicemail,s,1)