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

29098 posts

Uber Geek
+1 received by user: 10208

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
+1 received by user: 9996

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

29098 posts

Uber Geek
+1 received by user: 10208

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
+1 received by user: 6

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








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.