Posts

Showing posts with the label tell

Asterisk Dialplan Show and Tell 1

Image
Asterisk Dialplan Show and Tell 1 NEW FEATURE ALERT!! I hope to make this a regular feature on my blog. If you have an awesome dialplan that you would like to share, please let me know and I will analyze and feature it here! My first share is the dialplan that I use for clients who need added features beyond basic calling. This includes call diverts as well as voicemail. [general] [globals] [incoming] exten => _X.,1,NoOp(CallerID = ${CALLERID(num)}) ;;Cleanup Incoming CallerID same => n,GotoIf($["${CALLERID(num):0:1}" != "+"]?noplusatstart) same => n,NoOp(Changing Caller ID number from ${CALLERID(num)} to 0${CALLERID(num):3}) same => n,Set(CALLERID(num)=0${CALLERID(num):3}) same => n(noplusatstart),set(CALLERID(name)=${CALLERID(num)}) same => n,NoOp(${CALLERID(num)}) ;;If CallForward entry exists, do that same => n,GotoIf(${DB_EXISTS(CallForward/${EXTEN})}?CallForward) same => n,Goto(NoCallForward) same => n(CallForward),Set(ForwardDst=${D...