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.




4998 posts

Uber Geek
+1 received by user: 2030

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
25377 posts

Uber Geek
+1 received by user: 5205

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.



4998 posts

Uber Geek
+1 received by user: 2030

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


 
 
 
 


25377 posts

Uber Geek
+1 received by user: 5205

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.

25377 posts

Uber Geek
+1 received by user: 5205

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.




4998 posts

Uber Geek
+1 received by user: 2030

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


25377 posts

Uber Geek
+1 received by user: 5205

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

25377 posts

Uber Geek
+1 received by user: 5205

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 »

Intel unveils the 8th Gen Intel Core Processor family for desktop
Posted 25-Sep-2017 19:45


Chow brothers plan to invest NZ$100 million in technology
Posted 24-Sep-2017 16:24


Symantec protects data everywhere with Information Centric Security
Posted 21-Sep-2017 15:33


FUJIFILM introduces X-E3 mirrorless camera with wireless connectivity
Posted 18-Sep-2017 13:53


Vodafone announces new plans with bigger data bundles
Posted 15-Sep-2017 10:51


Skinny launches phone with support for te reo Maori
Posted 14-Sep-2017 08:39


If Vodafone dropping mail worries you, you’re doing online wrong
Posted 11-Sep-2017 13:54


Vodafone New Zealand deploy live 400 gigabit system
Posted 11-Sep-2017 11:07


OPPO camera phones now available at PB Tech
Posted 11-Sep-2017 09:56


Norton Wi-Fi Privacy — Easy, flawed VPN
Posted 11-Sep-2017 09:48


Lenovo reveals new ThinkPad A Series
Posted 8-Sep-2017 14:37


Huawei passes Apple for the first time to capture the second spot globally
Posted 8-Sep-2017 10:45


Vodafone initiative enhances te reo Maori pronunciation on Google Maps
Posted 8-Sep-2017 10:40


Voyager Internet expand local internet phone services company with Conversant acquisition
Posted 6-Sep-2017 18:27


NOW Expands in to Tauranga
Posted 5-Sep-2017 18:16



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.