[asterisk-users] Callerid Woes
John Koenig
koenigjm at acalledshot.net
Tue Jul 29 15:02:54 CDT 2008
I am trying to setup one time caller id block on my system(activated
when an incoming call matches *811XXXXXXXXXX), and I have had little to
no luck. Could you take a look at my context/macro definition and help
me figure out what I am missing?
Here is my context for my dialplan:
include=default
plancomment=user-default
exten=_1XXXXXXXXXX!,1,Macro(trunkdial,${<my_trunk>}/${EXTEN:0},${trunk_cid})
comment=_1XXXXXXXXXX!,1,<my_trunk>,standard
exten=_*811XXXXXXXXXX!,1,Macro(private_trunkdial,${<my_trunk>}/${EXTEN:3},null)
comment=_*811XXXXXXXXXX!,1,<my_trunk>,standard
(I replaced the name of my termination wih <my_trunk>)
And, below is the the private_trunkdial macro that is used above:
exten=s,1,set(CALLERID(all)= null)
exten=s,n,Dial(${ARG1})
exten=s,n,Goto(s-${DIALSTATUS},1)
exten=s-NOANSWER,1,Hangup
exten=s-BUSY,1,Hangup
exten=_s-.,1,NoOp
I know something is off, because according to terminating VoIP provider,
nothing is actually removed from my call request, and all my
information remains unaltered. Any guidance would be appreciated.
John Koenig
More information about the asterisk-users
mailing list