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.




5052 posts

Uber Geek
+1 received by user: 2087

Trusted
Subscriber

Topic # 52247 2-Dec-2009 20:09
Send private message

Trying to figure out an easy way to do this. I have Trixbox system setup with:
Trunk 1
Trunk 2
Extn 1
Extn 2
Extn 3
Exnt 4

I want all outbound calls from extn 1 & 3  by default to dialout on trunk 1.
And all outbound calls from extn 2 & 4 to dial out on trunk 2.

Any ideas without having to prefix numbers before you call?




Chorus has spent $1.4 billion on making their xDSL broadband network faster. If your still stuck on ADSL or VDSL, why not spend from $150 on a master filter install to make sure you are getting the most out of your connection?
I install - Naked DSL, DSL Master Splitters, VoIP, data cabling and general computer support for home and small business.
Rural Broadband RBI installer for Ultimate Broadband and Full Flavour

 

Need help in Auckland, Waikato or BoP? Click my email button, or email me direct: [my user name] at geekzonemail dot com


Create new topic
25596 posts

Uber Geek
+1 received by user: 5372

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 278928 3-Dec-2009 07:36
Send private message

Use the Custom Contexts module in FreePBX. This allows you to easily create contexts and set a myriad of settings including setting the trunks the context can access.

Once you've done this just replace the "from-internal" in the extension settings with the new context that you create.



5052 posts

Uber Geek
+1 received by user: 2087

Trusted
Subscriber

  Reply # 279270 4-Dec-2009 11:40
Send private message

Using Trixbox 2.8
This module appears to not be there by default, or available from "packages". I'm guessing I may need to add this module manually?
Alternatively, I may look at prefixing numbers dialed from these extensions, so the outgoing routes will pick that up, strip the prefix and know what trunk to send out on.
Cheers




Chorus has spent $1.4 billion on making their xDSL broadband network faster. If your still stuck on ADSL or VDSL, why not spend from $150 on a master filter install to make sure you are getting the most out of your connection?
I install - Naked DSL, DSL Master Splitters, VoIP, data cabling and general computer support for home and small business.
Rural Broadband RBI installer for Ultimate Broadband and Full Flavour

 

Need help in Auckland, Waikato or BoP? Click my email button, or email me direct: [my user name] at geekzonemail dot com


 
 
 
 


25596 posts

Uber Geek
+1 received by user: 5372

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 279295 4-Dec-2009 12:42
Send private message

Oops yeah it's an addon for FreePBX so you'll need to manually install the module from here

37 posts

Geek


  Reply # 280950 9-Dec-2009 19:23
Send private message

you could have the extension auto prefix the number and pick the trunk route by the auto prefixing. the user won't need to do anything extra but the prefix will mean that it will select the correct outbound route by extension.

25596 posts

Uber Geek
+1 received by user: 5372

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 280960 9-Dec-2009 19:45
Send private message

dynamiccomputers: you could have the extension auto prefix the number and pick the trunk route by the auto prefixing. the user won't need to do anything extra but the prefix will mean that it will select the correct outbound route by extension.


Allocating numbers to dial out from trunks is ugly and such a legacy solution from the days where PBX's couldn't impliment dialplans like they can do with SIP.

Having to dial a prefix such as 0, 1 or 9 to access a trunk is obsolete these days with VoIP and there is no need for it unless you're running multiple VoIP providers and end up with numbers that clash.

If you are using trunks you could do this but it would be far more work and far more complex than simply configuring a context and assigning it to an extension. Contexts are one of the most powerful features in Asterisk, it's a lot cleaner and tidier way of implimenting a solution.




5052 posts

Uber Geek
+1 received by user: 2087

Trusted
Subscriber

  Reply # 280975 9-Dec-2009 20:09
Send private message

Thanks for the tips Steve, all sorted. Shame this addon is not a standard part of the trixbox install.




Chorus has spent $1.4 billion on making their xDSL broadband network faster. If your still stuck on ADSL or VDSL, why not spend from $150 on a master filter install to make sure you are getting the most out of your connection?
I install - Naked DSL, DSL Master Splitters, VoIP, data cabling and general computer support for home and small business.
Rural Broadband RBI installer for Ultimate Broadband and Full Flavour

 

Need help in Auckland, Waikato or BoP? Click my email button, or email me direct: [my user name] at geekzonemail dot com


25596 posts

Uber Geek
+1 received by user: 5372

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 280984 9-Dec-2009 20:19
Send private message

coffeebaron: Thanks for the tips Steve, all sorted. Shame this addon is not a standard part of the trixbox install.


There are quite a few FreePBX modules that aren't part of the main FreePBX release - this is one of them. You can easily add these modules to FreePBX within reason as the GUI used by trixbox is just a forked FreePBX that adds a few of their own things (and caused a huge fight at the time between Fonality and the FreePBX people).

25596 posts

Uber Geek
+1 received by user: 5372

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 281013 9-Dec-2009 21:05
Send private message

I highly recommend you use the backup module as well. Unless you're using something like Mondo to create a full system backup it's the next best thing.

Unless you've done some fancy stuff outside Asterisk you will be able to restore a normal system in about 30 mins from scratch including a full trixbox install.

Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Phone prices rising as users move upmarket
Posted 24-Nov-2017 17:16


Talking net neutrality on RNZ Nine-to-Noon
Posted 24-Nov-2017 12:11


Air New Zealand experiments with blockchain technology
Posted 23-Nov-2017 15:39


Symantec selects Amazon Web Services to deliver cloud security
Posted 23-Nov-2017 10:40


New Zealand Ministry of Education chooses Unisys for cloud-based education resourcing management system
Posted 22-Nov-2017 22:00


Business analytics software powers profits for NZ wine producers
Posted 22-Nov-2017 21:52


Pyrios strikes up alliance with Microsoft integrator UC Logiq
Posted 22-Nov-2017 21:51


The New Zealand IT services ecosystem - it's all digital down here
Posted 22-Nov-2017 21:49


Volvo to supply tens of thousands of autonomous drive compatible cars to Uber
Posted 22-Nov-2017 21:46


From small to medium and beyond: Navigating the ERP battlefield
Posted 21-Nov-2017 21:12


Business owners: ERP software selection starts (and finishes) with you
Posted 21-Nov-2017 21:11


Why I'm not an early adopter
Posted 21-Nov-2017 10:39


Netatmo launches smart home products in New Zealand
Posted 20-Nov-2017 20:06


Huawei Mate 10: Punchy, long battery life, artificial intelligence
Posted 20-Nov-2017 16:30


Propel launch Disney Star Wars Laser Battle Drones
Posted 19-Nov-2017 21:26



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.

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