1
2
3
4
5
6
7
8
9
10
11
12
13
|
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(disa-check-call-context,s,1)
same => n(donedisacheck),Dial(|LOCALUSERS|,${RINGTIME},D(:w11111111))
same => n,Goto(context-voicemail,s,1)
|