Call minder style application

Is it possible to implement in Asterisk a BT style call minder in an app or configuration.

For those that may not be familiar this is a nusiance or unsolicited call screaner, implemented either in an end device or at the exchange. The call is terminated before the users phone is rung (usually done by a DECT base unit for consumer products or centrally for a centrally provided service). The caller then hears and announcement which asks them to say their name and press hash. If they do not do this the call is ended. If they do the base unit or excange rings the users phone and advises them there is a call minder medicated call and plays a recording of the user’s opportunity to say their name. The user can then press a number to be connected with the reall call, send them to voicemail, or end the call. Additionally there are blacklists of callers who always are rejected or go to voicemail and whitelists of numbers which ring the users phone directly. Not done with BT call minder but nice to have would be a facility to put such black and white lists into groups and the action could depend on day of week time etc. E.g. accept from clients in the day time but send to voicemail out of hours, but, allow the wife stright through or vice versa.

best

JRL

Yes you can do this with asterisk.

the P flag to dial enables the Privacy Manager which would screen calls.

https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Dial

Could you say a little more about how one may go about this. Is it possible to implement the white/black list too?

JRL

A time ago I made a custom call for a customer, who require the caller to record a message before be connnected with the destination extension, and called party have the option acces or reject the call https://gist.github.com/ambiorixg12/512689f9b38b455d780a4b96b2ccfc1a

Yes there is also a blacklisting function but I don’t use it.
https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Function_BLACKLIST

I personally use what used to be called ‘ex-girlfriend’ logic, I’m not sure what the modern term is.

I only want calls from in-state to ring my phone, all other callers should go to Voicemail.

exten => 132/_480NXXXXXX,1,Goto(RING) 
exten => 132/_520NXXXXXX,1,Goto(RING) 
exten => 132/_602NXXXXXX,1,Goto(RING) 
exten => 132/_623NXXXXXX,1,Goto(RING) 
exten => 132/_928NXXXXXX,1,Goto(RING) 
exten => 132,1,Voicemail(${EXTEN}@voicemail,B) 
exten => 132,n,Hangup() 
exten => 132,n(RING),Dial(SIP/${EXTEN},24,i)
 same => n,Voicemail${EXTEN}@voicemail,u)
 same => n,Hangup()

If callers have a caller ID starting with 480,520,602,623, or 928 the dialplan goes to the RING label where it rings a phone, should that phone not be answered the caller then goes to Voicemail.

If I get a caller from out of state, or who has blocked caller ID their call goes directly to voicemail.

I would imagine you could do all of it, but you are likely to have to do some work, as Asterisk is a toolkit, and you have to put the bits together. For example, all the sounds beginning tt_ are there for torturing telesales people.

Blacklists can be put in astdb or more formal databases.

This is the sort of thing that home users do, rather than business users, so, if you are in the uk, the uk.telecom.voip newsgroup may actually be more likely to find someone who has done this with Asterisk.

Incidentally the BT products are based on the concepts from this independent product: https://www.truecall.co.uk/product-p/cb1.htm

1 Like