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.


coffeebaron

6074 posts

Uber Geek

Trusted
Lifetime subscriber

#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?




Rural IT and Broadband support.

 

Broadband troubleshooting and master filter installs.
Starlink installer
Wi-Fi and networking
Cel-Fi supply and installer - boost your mobile phone coverage legally
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
sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

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

 
 
 

Learn cloud, mobile, security, data and web technologies with Pluralsight (affiliate link).
coffeebaron

6074 posts

Uber Geek

Trusted
Lifetime subscriber

  #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




Rural IT and Broadband support.

 

Broadband troubleshooting and master filter installs.
Starlink installer
Wi-Fi and networking
Cel-Fi supply and installer - boost your mobile phone coverage legally
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


sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #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



dynamiccomputers
37 posts

Geek


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

sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

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


coffeebaron

6074 posts

Uber Geek

Trusted
Lifetime subscriber

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




Rural IT and Broadband support.

 

Broadband troubleshooting and master filter installs.
Starlink installer
Wi-Fi and networking
Cel-Fi supply and installer - boost your mobile phone coverage legally
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


sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

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



sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #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





News and reviews »

New Air Traffic Management Platform and Resilient Buildings a Milestone for Airways
Posted 6-Dec-2023 05:00


Logitech G Launches New Flagship Console Wireless Gaming Headset Astro A50 X
Posted 5-Dec-2023 21:00


NordVPN Helps Users Protect Themselves From Vulnerable Apps
Posted 5-Dec-2023 14:27


First-of-its-Kind Flight Trials Integrate Uncrewed Aircraft Into Controlled Airspace
Posted 5-Dec-2023 13:59


Prodigi Technology Services Announces Strategic Acquisition of Conex
Posted 4-Dec-2023 09:33


Samsung Announces Galaxy AI
Posted 28-Nov-2023 14:48


Epson Launches EH-LS650 Ultra Short Throw Smart Streaming Laser Projector
Posted 28-Nov-2023 14:38


Fitbit Charge 6 Review 
Posted 27-Nov-2023 16:21


Cisco Launches New Research Highlighting Gap in Preparedness for AI
Posted 23-Nov-2023 15:50


Seagate Takes Block Storage System to New Heights Reaching 2.5 PB
Posted 23-Nov-2023 15:45


Seagate Nytro 4350 NVMe SSD Delivers Consistent Application Performance and High QoS to Data Centers
Posted 23-Nov-2023 15:38


Amazon Fire TV Stick 4k Max (2nd Generation) Review
Posted 14-Nov-2023 16:17


Over half of New Zealand adults surveyed concerned about AI shopping scams
Posted 3-Nov-2023 10:42


Super Mario Bros. Wonder Launches on Nintendo Switch
Posted 24-Oct-2023 10:56


Google Releases Nest WiFi Pro in New Zealand
Posted 24-Oct-2023 10:18









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.







Pluralsight