[asterisk-users] Understanding the right way to get started with multiple trunks/extensions

John Kiniston johnkiniston at gmail.com
Thu Mar 5 10:09:19 CST 2015

In the 'home-number' example that was provided the caller ID was being
replaced with the string 'Home'

It's easy to prepend the caller ID instead however.


You could even get fancy and set it based on what number was called, This
would prepend the CallerID with the last 4 digits of the incoming number
assuming that your calls come in to an extension that way:


There is no 'Best' or 'Better' way to handle extension and voicemail
routing, It's all down to your preference as a programmer and your users.

Try things, Find what works best for you, The only thing you have to loose
is your free time and if you are like me you will have fun during the

On Thu, Mar 5, 2015 at 5:54 AM, Mark Rogers <mark at more-solutions.co.uk>

> For some reason I didn't see David's reply by email, and have
> copy/pasted the following from the list archives to make my reply,
> sorry if that messes up anyone's threading.
> On 4 March 2015 at 12:15, David Duffett wrote:
> > If you would like to set things up via the GUI on your incredible PBX,
> > [...]
> I'm trying to avoid a GUI for now so that I learn something, but
> knowing how to do it that way is appreciated, thanks.
> > If, on the other hand, you want to achieve your aim through native
> > configuration files, you could add a line like:
> > exten => *home-number*,1,Set(CALLERID(name)=Home)
> > exten => *home-number*,n,*continue handling call as you were before*
> I haven't got my head round the syntax yet; will this retain the real
> caller ID but add something to it, or will I lose the real ID?
> From your answers I take it that it is "better" if all users have
> their own extension and I route calls to the relevant extensions as
> required, rather than having users monitor multiple extensions. It's
> what I expected but can I ask why? Is it a scalability or performance
> issue, do I lose something by not doing it this way, or is it just
> about doing things "right"?
> With the above, what's the best way to handle voicemail? I would
> expect anyone who could have taken the call to be able to access the
> voicemail, and once one person has "dealt with" a message it's no
> longer a new message to anyone else.
> Mark
> --
> Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450
> Registered in England (0456 0902) 21 Drakes Mews, Milton Keynes, MK8 0ER
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

A human being should be able to change a diaper, plan an invasion, butcher
a hog, conn a ship, design a building, write a sonnet, balance accounts,
build a wall, set a bone, comfort the dying, take orders, give orders,
cooperate, act alone, solve equations, analyze a new problem, pitch manure,
program a computer, cook a tasty meal, fight efficiently, die gallantly.
Specialization is for insects.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150305/10f518c9/attachment.html>

More information about the asterisk-users mailing list