I am trying to get a certain CID number to go to Privacy Manager before going to my Time Condition called "Daytime". I have added the foloowing in extensions_custom:
[custom-privacy]
exten => s,n(PRIVMGR),PrivacyManager()
exten => s,n,GotoIf($["${PRIVACYMGRSTATUS}"="FAILED"]?fail)
exten => s,n,SetCallerPres(allowed_passed_screen); stop gap until app_privacy.c clears unavailble bit
exten => s,PRIVMGR+101(fail),Noop(STATUS: ${PRIVACYMGRSTATUS} CID: ${CALLERID(num)} ${CALLERID(name)} CALLPRES: ${CALLLINGPRES})
exten => s,n,Playback(sorry-youre-having-problems)
exten => s,n,Playback(goodbye)
exten => s,n,Playtones(congestion)
exten => s,n,Congestion(5)
then added a Custom Destination that points to custom-privacy,s,1
I have the inbound route going to the Custom Destination and when a call comes in, it does go to Privacy Manager, but once a number is keyed in, the call hangs up.
I know I am missing something in the custom-privacy custom extension, just not quite sure. Anyone able to help me out on this.
Thank you in advance.
Member Since:
2007-01-18