Rework LuCI build system
[project/luci.git] / applications / luci-app-pbx / root / etc / pbx-asterisk / extensions_incoming_context_gtalk.conf.TEMPLATE
1 exten => |USERNAME|,1,NoOp(${CALLERID})
2 same => n,Set(CALLERID(name)=${CUT(CALLERID(name),@,1)})
3 same => n,GotoIf($["${CALLERID(name):0:2}" != "+1"]?notrim)
4 same => n,Set(CALLERID(name)=${CALLERID(name):2})
5 same => n(notrim),Set(CALLERID(number)=${CALLERID(name)})
6 same => n,Set(SOURCECONTEXT=context-incoming-gtalk)
7 same => n,Set(SOURCEEXTEN=|USERNAME|)
8 same => n,Goto(blacklist-call-context,s,1)
9 same => n(doneblacklist),NoOp()
10 same => n,Goto(callback-check-call-context,s,1)
11 same => n(donecallback),NoOp()
12 same => n,Goto(disa-check-call-context,s,1)
13 same => n(donedisacheck),Dial(|LOCALUSERS|,${RINGTIME},D(:w11111111))
14 same => n,Goto(context-voicemail,s,1)
15