i tried to RTFM, but no joy. if it’s documented, i can’t find it.
i wanted to create an extension that plays a SIT (tone), then “this number is disconnected”, then a busy signal (a fairly simple task). Couldn’t figure how to do this using the GUI, so decided to try my hand at editing the *_custom.conf files. never could get it to work (i’m sure it’s simple, once you know the “secret”), so i resorted to editing extensions_additional.conf directly (bad, bad, boy). Clearly, i can no longer use the GUI to maintain anything, and this is “a bad thing” ™.
this is what i ended up with:
exten => 1151,1,Set(__FROM_DID=${EXTEN})
exten => 1151,n,Gosub(app-blacklist-check,s,1)
exten => 1151,n,ExecIf($[ “${CALLERID(name)}” = “” ] ,Set,CALLERID(name)=${CALLERID(num)})
exten => 1151,n,Set(_CALLINGPRES_SV=${CALLINGPRES${CALLINGPRES}})
exten => 1151,n,SetCallerPres(allowed_not_screened)
exten => 1151,n,Playback(sit)
exten => 1151,n,Playback(ss-noservice)
exten => 1151,n,Goto(app-blackhole,congestion,1)
if i wanted to do this in extensions_additional_custom.conf, HOW do i do this?