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.


5197 posts

Uber Geek
+1 received by user: 2219

Trusted
Lifetime 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
26469 posts

Uber Geek
+1 received by user: 6025

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.



5197 posts

Uber Geek
+1 received by user: 2219

Trusted
Lifetime 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


26469 posts

Uber Geek
+1 received by user: 6025

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.

26469 posts

Uber Geek
+1 received by user: 6025

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.




5197 posts

Uber Geek
+1 received by user: 2219

Trusted
Lifetime 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


26469 posts

Uber Geek
+1 received by user: 6025

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

26469 posts

Uber Geek
+1 received by user: 6025

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 »

N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34


Enable doubles fibre broadband speeds for its most popular wholesale service in Christchurch
Posted 2-Jun-2018 20:07


All or Nothing: New Zealand All Blacks arrives on Amazon Prime Video
Posted 2-Jun-2018 16:21


Innovation Grant, High Tech Awards and new USA office for Kiwi tech company SwipedOn
Posted 1-Jun-2018 20:54


Commerce Commission warns Apple for misleading consumers about their rights
Posted 30-May-2018 13:15


IBM leads Call for Code to use cloud, data, AI, blockchain for natural disaster relief
Posted 25-May-2018 14:12


New FUJIFILM X-T100 aims to do better job than smartphones
Posted 24-May-2018 20:17


Stuff takes 100% ownership of Stuff Fibre
Posted 24-May-2018 19: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.