Voxilla VoIP Forum

Go Back   Voxilla VoIP Forum > Hardware/Software Support Forums > Asterisk Support Forum

Asterisk Support Forum Technical support, how-to guides, troubleshooting, and general assistance, from beginner to seasoned pro, this is where to discuss Asterisk, the most powerful open source PBX.


Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old October 19th, 2007, 01:28 PM
Junior Member
 
Join Date: Oct 2006
Posts: 14
Paki is on a distinguished road
Default Virtual PBX on Asterisk

Hello,

How to build virtual PBX, two or more, on Asterisk, or how to forbid some extension to call others?

For example, I wish to have like two PBX's with extensions from 5000 to 5050 and 6000 to 6050; frobid calling from 50XX to 60XX, but enable them both to go on the same trunks.

If you have any link or some document, please provide...

Thanks...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old October 20th, 2007, 04:39 AM
Member
 
Join Date: Apr 2007
Posts: 64
amitsalunkhe21 is on a distinguished road
Default Re: Virtual PBX on Asterisk

Hi
Virtual PBX same as normal pbx so you can develpoe as you develope noram pbx.
if you want make 2 pbx system on same asterisk that is alos possible
only need to make etc/asterisk/extensions where you make that 2 system extension.conf & that files include in main extension .conf which you get from etc/asterisk then ls
include this way
# include extension/extension50.conf
#include extension/extension60.conf


this extension 50 & 60 are 2 files for 2 diffrent pbx on same asterisk.
same way you can do for sip ,queus.conf &.....

ok any pbx extension like 5050 can make call to 6060 extension for that you have to include both extension to each other
like this way

[extension 50]
exten => 5050,1,macro(std-exten-50.5050.SIP/5050)

include= extension 60

[extension 60]
exten => 6060,1 macro(std-exten-60,6060,SIP/6060)
include => extenion 50

this will work to make call each other by extesions

try this it help you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old October 22nd, 2007, 08:52 AM
Junior Member
 
Join Date: Oct 2006
Posts: 14
Paki is on a distinguished road
Default Re: Virtual PBX on Asterisk

Thanks for the reply,

but, how to disable 50XX reaching 60XX?

By not including:
include= extension 60
?

Thanks again.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old October 22nd, 2007, 06:24 PM
Member
 
Join Date: Apr 2007
Posts: 64
amitsalunkhe21 is on a distinguished road
Default Re: Virtual PBX on Asterisk

Hi
yes you are correct
dont include exten 60 so any uiser from extension 50xx cant call extension in 60

try this
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old October 23rd, 2007, 12:06 PM
Junior Member
 
Join Date: Oct 2006
Posts: 14
Paki is on a distinguished road
Default Re: Virtual PBX on Asterisk

Hello from me again,

since I'm a bit new to the Asterisk (and using TrixBox), can you give some example of "extensions50", or somethigng similar, so I can modify. I'm bit confused with the: "macro(std-exten..." in

exten => 5050,1,macro(std-exten-50.5050.SIP/5050)

although I understand the logic beyond.


Thanks...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old October 23rd, 2007, 04:07 PM
config_error's Avatar
Junior Member
 
Join Date: Oct 2007
Location: Cebu
Posts: 2
config_error is on a distinguished road
Send a message via Yahoo to config_error
Lightbulb Re: Virtual PBX on Asterisk

use asterisknow i think trixbox is limited.
__________________
bluebox global solutions visit my callcenter blog http financehlp.blogspot.com
CRM guides,VOIP Success guides,Call center simulation software (Bluebox Branded)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old October 30th, 2007, 12:07 PM
Junior Member
 
Join Date: Oct 2006
Posts: 14
Paki is on a distinguished road
Default Re: Virtual PBX on Asterisk

Here what I have done so far...

Here with what I came up with:

in extensions_additional.conf I have add a context for the customers with the extensions 60XX (I add just one).

[customer60]

exten => 6001,1,Macro(exten-vm,6001,6001)
exten => 6001,n,Hangup
exten => 6001,hint,SIP/6001
exten => ${VM_PREFIX}6001,1,Macro(vm,6001,DIRECTDIAL)
exten => ${VM_PREFIX}6001,n,Hangup
....


In extensions.conf, in macro [macro-exten-vm] i have added logic (after the line with: exten => s,n... - book say that asterisk will chose most specific match)

[macro-exten-vm]

exten => _60XX,1,GotoIf($[${EXTTOCALL:2} = 60]?10:20)

exten => _60XX,10,Macro(dial,${RT},${DIAL_OPTIONS},${EXTTOC ALL})

exten => _60XX,20,Congestion( )

So, I'm trying ti see if two first numbers are 60, if the are I proceed call to macro dial, else, for example, I play congestion.

Is this enough, and would the same method work for 50XX on the same PBX?

Any help is appriciated.

Thanks...

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old October 30th, 2007, 11:18 PM
Junior Member
 
Join Date: Oct 2007
Posts: 1
ivoip is on a distinguished road
Default Re: Virtual PBX on Asterisk

I don't believe you can manage this with Trixbox (freepbx) or AsteriskNow.

You may want to look at the Multi-Tenant Edition of Thirdlane PBX Manager GUI or Thirdlane Advantage PBX at http://www.thirdlane.com. The multi-tenant edition allows you to do just that - partition Asterisk in a number of tenants (Virtual PBXs) with independent extensions, feature codes, routes, mailboxes, etc.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old November 15th, 2007, 04:41 PM
Junior Member
 
Join Date: Jan 2007
Posts: 15
rd_cortes is on a distinguished road
Default Re: Virtual PBX on Asterisk

The way I do it is using a freepbx unsupported module named Custom Contexts ( http://aussievoip.com/wiki/freePBX-CustomContexts ).

It allows you to create various contexts for your various offices.

Good Luck!
__________________
---------------------------
Rafael Cortes - Puerto Rico
http://www.asteriskpbxs.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
PBX on Virtual Dedicated Server. hikamran General VoIP Discussion 1 October 15th, 2006 04:26 AM
PBX on Virtual Dedicated Server. hikamran Other Hardware/Software 0 October 15th, 2006 04:21 AM
3cx PBX VS Axon Virtual PBX hikamran Other Hardware/Software 0 October 15th, 2006 03:52 AM
Axon Virtual PBX VS 3CX PBX hikamran Other Hardware/Software 0 October 15th, 2006 03:50 AM
Voipfone Press Release - Virtual PBX charles Press releases 0 July 28th, 2005 09:14 AM


Voxilla News

More Voxilla news



All times are GMT. The time now is 10:15 PM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Logos and trademarks are the property of Voxilla or their respective owner. All other content © 2003-2009 by Voxilla, Inc.