[asterisk-users] Dialing from phonebook, and hiding the dialed number from the user.

A J Stiles asterisk_list at earthshod.co.uk
Tue Jan 27 04:09:51 CST 2015


On Monday 26 Jan 2015, Antonio Gómez Soto wrote:
> Hi,
> 
> does anyone have a recommendation for a SIP phone, which
> allows dialing from a phonebook, and hiding the dialed number
> from the end users? Also from the call history of course.
> 
> It seems Mitel can do this, and I have a use case where this is
> a requirement.

If I have this right, you want to make sure the number can *only* be called 
through your Asterisk system  (so the call gets recorded)  and *not* directly 
from an agent's mobile phone or similar  (so they cannot make off-the-record 
calls).

Why not just use Asterisk itself to give the number an alias?  So the end user 
dials some number that connects them to the destination, but of course it 
won't work from anywhere else besides your configured Asterisk system.


My home Asterisk installation  (yes, some people are crazy enough to play with 
phones for entertainment :) )  includes aliases to call people in the village 
where I grew up, using their old 4-digit phone numbers  (even though those 
numbers have now grown to 6 digits, and I have moved across an STD code 
boundary).  Also I have a friend whose mobile number ended with 911, so it was 
too delicious to avoid using that as an alias;


exten => 911,1,Dial(${GSM}/07xxxxxx911)
exten => 911,n,Hangup()

exten => _[23]XXX,1,Dial(${GSM}/0128373${EXTEN})
exten => _[23]XXX,n,Hangup()


If you need many aliases and this is going to look messy in your dialplan, you 
could always use an AGI script to look up the number in a database.

-- 
AJS

Note:  Originating address only accepts e-mail from list!  If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .



More information about the asterisk-users mailing list