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

David Duffett dduffett at digium.com
Wed Mar 4 06:15:03 CST 2015

If you would like to set things up via the GUI on your incredible PBX, you
could use queues instead of call groups (making your SIP clients agents of
the appropriate queues), and in the queues configuration page there is an CID
Name Prefix option, which allows you to add a label that will show up as
part of the caller ID - so you will see it as the call comes in.

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*

This way, you will be setting the caller ID with a name label that can be
observed on the SIP client before answering.

All the best,


On 4 March 2015 at 11:53, Mark Rogers <mark at more-solutions.co.uk> wrote:

> Background: I dabbled with asterisk years ago, and more recently have
> more-or-less functioning IncrediblePBX systems for experimenting, but
> I want to understand more so I'm now working with distro packages
> (Ubuntu) and hand edited configurations files.
> I have three SIP "trunks", each providing me with a UK telephone
> number. They are for my home (1), my wife's home-based bookkeeping
> business (2), and for taking support calls on from work (3). For
> "handsets" I only really have mobile phones running SIP/IAX clients,
> although I might put a "real" desktop handset on my wife's desk at
> some point.
> The objective is that my wife picks up calls to (1) or (2), I pick up
> calls to (2) or (3), and maybe a colleague might also pick up calls to
> (3).
> I can see how to do this with call groups, but I would like to be able
> to see at the handset which trunk the call has come in on, which I
> don't think I can do that way?
> Or I could just set up multiple connections in the SIP/IAX client, so
> each trunk has its own extension and we each connect to multiple
> extensions as required. That has the added advantage of making the
> voicemail relate to which trunk the call comes in on, which is also
> more appropriate here.
> However, the latter option "feels" wrong somehow and I haven't found
> any examples suggesting it's the right way to do things.
> Also, I am keen to minimise battery overhead on the mobile phones - is
> linking to multiple accounts is less efficient?
> PS: Although I only really care about inbound calls at the moment, I
> daresay I will want to handle internal calls at some point too,
> although nothing stops me having dedicated per-user extensions as well
> as per incoming trunk.
> 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

[image: Digium logo]
*David Duffett*
Digium, Inc. · Director, Worldwide Asterisk Community
6 Landscape Close · Weston on the Green · Bicester · Oxfordshire OX25 3SX ·
direct/fax: +1 256 428 6119 · mobile: +44 7722 442236
twitter: dduffett · linkedin: www.linkedin.com/in/davidduffett
Check us out at: http://digium.com · http://asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150304/34d42ad2/attachment.html>

More information about the asterisk-users mailing list