GamblinMan
New Member
- Joined
- Oct 24, 2007
- Messages
- 17
- Reaction score
- 0
[Solved] Help With Enabling Blacklist in PBXinaF
I have installed PBXinF and have created a "Stealth AutoAttendant" to handle inbound calls. My sip.conf file directs all inward calls to extension 99.
Below is an extract of my extensions_custom.conf file where in line 4 (commented out for now, replaced by a NoOP) I am attempting to invoke the blacklist lookup, which isn't working. The Blacklist lookup function is being called, but no match against the incoming callerID is found (when the inbound callerID is in the Blacklist Database).
I must be invoking the Blacklist call incorrectly. Anyone know what the "proper" syntax is to invoke the Blacklist call?
Secondly, if I allow a call to go through (any call with CallerID) and then exeucte a *32 (blacklist last caller), the caller ID that the blacklist function reads back to me is incorrect. The caller ID read back is the extension that answered the call (with a trailing 1, that I don't understand).
Any ideas on:
1). How to invoke Blacklist call from extensions_custom.conf
2). Why caller ID for *32 is incorrect?
exten => 99,1,NoOp(${CALLERID(num)})
exten => 99,2,GotoIf($["${CALLERID(num):0:2}" = "00"]?3:4)
exten => 99,3,Set(CALLERID(num)=${CALLERID(num):2:10})
exten => 99,4,NoOp(${CALLERID(num)})
;exten => 99,4,LookupBlacklist(j)
exten => 99,5,Zapateller(answer|nocallerid)
exten => 99,6,Wait(1)
exten => 99,7,SetMusicOnHold(default)
Thanks for your time and help!
Tim
I have installed PBXinF and have created a "Stealth AutoAttendant" to handle inbound calls. My sip.conf file directs all inward calls to extension 99.
Below is an extract of my extensions_custom.conf file where in line 4 (commented out for now, replaced by a NoOP) I am attempting to invoke the blacklist lookup, which isn't working. The Blacklist lookup function is being called, but no match against the incoming callerID is found (when the inbound callerID is in the Blacklist Database).
I must be invoking the Blacklist call incorrectly. Anyone know what the "proper" syntax is to invoke the Blacklist call?
Secondly, if I allow a call to go through (any call with CallerID) and then exeucte a *32 (blacklist last caller), the caller ID that the blacklist function reads back to me is incorrect. The caller ID read back is the extension that answered the call (with a trailing 1, that I don't understand).
Any ideas on:
1). How to invoke Blacklist call from extensions_custom.conf
2). Why caller ID for *32 is incorrect?
exten => 99,1,NoOp(${CALLERID(num)})
exten => 99,2,GotoIf($["${CALLERID(num):0:2}" = "00"]?3:4)
exten => 99,3,Set(CALLERID(num)=${CALLERID(num):2:10})
exten => 99,4,NoOp(${CALLERID(num)})
;exten => 99,4,LookupBlacklist(j)
exten => 99,5,Zapateller(answer|nocallerid)
exten => 99,6,Wait(1)
exten => 99,7,SetMusicOnHold(default)
Thanks for your time and help!
Tim