Geekzone: technology news, blogs, forums
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


23681 posts

Uber Geek


#11463 24-Jan-2007 18:58
Send private message

I had found a link that showed a way seperate out the users on an asterisk box, so that for example my extensions will not end up making calls on my flatmates italk account and vice versa. That was on the laptop which is not turning on at the moment, and I cant find it again. I think it was refering to partitioning asterisk, but looking for that just gets me loads of installation issues that people are having with disk partitions. We will need totally seperate inward call processing on them and outgoings only going to the appropriate sip account.

Any pointers on a howto that should do it? 


Create new topic
29284 posts

Uber Geek

Biddle Corp
Lifetime subscriber

  #58760 24-Jan-2007 19:54
Send private message

Why not create two trunks - 1 for each iTalk account which forwards the calls to the appropiate phone(s).

For outgoing calls set up two outgoing trunks - press 0 for 1 and 1 for the other and then the number you want to call. If you don't want to be able to access the other account put a PIN on the trunk.


23681 posts

Uber Geek


  #58765 24-Jan-2007 20:21
Send private message

We both want to create quite elaborate dialplans, and having to coordinate that we dont conflict with each others numbers would be a pain. Also am not keen on prefixing outgoing calls, and since we both have multiple providers it would be even harder.

I'm certain that there was something to allow identical extension numbering and handling them differently.



Hawkes Bay
8477 posts

Uber Geek

Retired Mod
Lifetime subscriber

  #58766 24-Jan-2007 20:23
Send private message

How about a $70 Piii450 on Trademe and set up a second box? Could trunk between them too...

292 posts

Ultimate Geek

Lifetime subscriber

  #59602 2-Feb-2007 16:13
Send private message

richms: I'm certain that there was something to allow identical extension numbering and handling them differently.

There sure is - just use completely separate sets of contexts inside the dial plan - i.e the file extensions.conf.
It takes a bit to get your head around the use of contexts - but it's well worth the effort.

Start with the channel definition for your incoming trunk (be it sip or zap  or iax) - define in it which context to send the incoming calls to. If possible, use separate contexts for the separate trunks.
(Recently I had a situation where I needed to separate two iTalk trunks - the problem was regardless of the fact that I had two different iTalk numbers defined and registered - regardless of which number was dialled - they both ended up coming in to the asterisk box on the same context. I got around that by using goto statements within that context in extensions.conf, based on the dialled number - sending them off to appropriate different contexts for subsequent handling.)

You can also define different sets of phones (extensions) to exist within separate contexts, and those separate contexts can have different outgoing trunks defined, so that you don't need to explicitly dial a number to choose which trunk to call out over for each call.

Good luck.

kind regards Andrew TD

Create new topic

News »

Huawei launches IdeaHub Pro in New Zealand
Posted 27-Oct-2020 16:41

Southland-based IT specialist providing virtual services worldwide
Posted 27-Oct-2020 15:55

NASA discovers water on sunlit surface of Moon
Posted 27-Oct-2020 08:30

Huawei introduces new features to Petal Search, Maps and Docs
Posted 26-Oct-2020 18:05

Nokia selected by NASA to build first ever cellular network on the Moon
Posted 21-Oct-2020 08:34

Nanoleaf enhances lighting line with launch of Triangles and Mini Triangles
Posted 17-Oct-2020 20:18

Synology unveils DS16211+
Posted 17-Oct-2020 20:12

Ingram Micro introduces FootfallCam to New Zealand channel
Posted 17-Oct-2020 20:06

Dropbox adopts Virtual First working policy
Posted 17-Oct-2020 19:47

OPPO announces Reno4 Series 5G line-up in NZ
Posted 16-Oct-2020 08:52

Microsoft Highway to a Hundred expands to Asia Pacific
Posted 14-Oct-2020 09:34

Spark turns on 5G in Auckland
Posted 14-Oct-2020 09:29

AMD Launches AMD Ryzen 5000 Series Desktop Processors
Posted 9-Oct-2020 10:13

Teletrac Navman launches integrated multi-camera solution for transport and logistics industry
Posted 8-Oct-2020 10:57

Farmside hits 10,000 RBI customers
Posted 7-Oct-2020 15:32

Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.