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.




5114 posts

Uber Geek
+1 received by user: 2140

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

Uber Geek
+1 received by user: 5631

Moderator
Trusted
Biddle Corp
Lifetime 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.



5114 posts

Uber Geek
+1 received by user: 2140

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


 
 
 
 


25945 posts

Uber Geek
+1 received by user: 5631

Moderator
Trusted
Biddle Corp
Lifetime 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.

25945 posts

Uber Geek
+1 received by user: 5631

Moderator
Trusted
Biddle Corp
Lifetime 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.




5114 posts

Uber Geek
+1 received by user: 2140

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


25945 posts

Uber Geek
+1 received by user: 5631

Moderator
Trusted
Biddle Corp
Lifetime 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).

25945 posts

Uber Geek
+1 received by user: 5631

Moderator
Trusted
Biddle Corp
Lifetime 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 reimagines data centre storage with new 3D NAND SSDs
Posted 16-Feb-2018 15:21


Ground-breaking business programme begins in Hamilton
Posted 16-Feb-2018 10:18


Government to continue search for first Chief Technology Officer
Posted 12-Feb-2018 20:30


Time to take Appleā€™s iPad Pro seriously
Posted 12-Feb-2018 16:54


New Fujifilm X-A5 brings selfie features to mirrorless camera
Posted 9-Feb-2018 09:12


D-Link ANZ expands connected smart home with new HD Wi-Fi cameras
Posted 9-Feb-2018 09:01


Dragon Professional for Mac V6: Near perfect dictation
Posted 9-Feb-2018 08:26


OPPO announces R11s with claims to be the picture perfect smartphone
Posted 2-Feb-2018 13:28


Vocus Communications wins a place on the TaaS panel
Posted 26-Jan-2018 15:16


SwipedOn raises $1 million capital
Posted 26-Jan-2018 15:15


Slingshot offers unlimited gigabit fibre for under a ton
Posted 25-Jan-2018 13:51


Spark doubles down on wireless broadband
Posted 24-Jan-2018 15:44


New Zealand's IT industry in 2018 and beyond
Posted 22-Jan-2018 12:50


Introducing your new workplace headache: Gen Z
Posted 22-Jan-2018 12:45


Jucy set to introduce electric campervan fleet
Posted 22-Jan-2018 12:41



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.