123456789101112131415 |
- 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)
|