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


richms

28218 posts

Uber Geek

Trusted
Lifetime subscriber

#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? 




Richard rich.ms

Create new topic
sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
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.




richms

28218 posts

Uber Geek

Trusted
Lifetime subscriber

  #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.




Richard rich.ms

tonyhughes
Hawkes Bay
8476 posts

Uber Geek

Retired Mod
Trusted
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...









AndrewTD
292 posts

Ultimate Geek

Trusted
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 and reviews »

Gen Threat Report Reveals Rise in Crypto, Sextortion and Tech Support Scams
Posted 7-Aug-2025 13:09


Logitech G and McLaren Racing Sign New, Expanded Multi-Year Partnership
Posted 7-Aug-2025 13:00


A Third of New Zealanders Fall for Online Scams Says Trend Micro
Posted 7-Aug-2025 12:43


OPPO Releases Its Most Stylish and Compact Smartwatch Yet, the Watch X2 Mini.
Posted 7-Aug-2025 12:37


Epson Launches New High-End EH-LS9000B Home Theatre Laser Projector
Posted 7-Aug-2025 12:34


Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01









Geekzone Live »

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



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.