I work in a enterprise in Portugal that have about 55 extensions and legacy pbx, with primary connection to the provider (isdn pri) that works on top a e1 connection.
The objective is to gradually migrate to voip, so the new extensions would be connected directly to trixbox (voip), keeping the old pbx pbx and old extensions. The legacy pbx is a Alcatel 4200.
The configuration would be like this (Provider —> Trixbox —> Alcatel 4200 (PBX) ).
I have been digging around and studying the process how to accomplish this and i just need a opinion from someone with experience telling me if i am doing anything wrong.
The plan is to get a sangoma 102d, i know it has a wizard that remove some of the guest work but i am putting the process here:
#Connection to my provider
#Connection to my PBX Alcatel 4200
#Trunk group 1:
#the next line is what a Portugal style PRI is set to when connecting to telco
signalling = pri_cpe
group = 1
channel => 1-15,17-31
switchtype => EuroISDN
#Trunk group 2:
#The next context makes asterisk think these are extensions instead of trunks
#pri-net makes this PRI act like it is the telco, and connects to your other switch
group = 2
channel => 32-46,48-62
Finally i will create a ZAP trunk with freepbx (this will be used to connect to my provider):
Zap Identifier (trunk name): 1
(i am not sure if i should use 1 or g1, to match the group1 in zapata)
Then i will create a ZAP extension with freepbx (this will be used to connect to my pbx Alcatel)
User Extension: 400
Display Name: Alcatel
This device uses zap technology.
(i also not sure if creating a zap extension and put all the channels from group 2 from zapata is correct)
Then i create a inbound route with freepbx
Any cid any did
and route to destination
And last a outbond route with freepbx
2XXXXXXXX ( will route national land calls)
9XXXXXXXX ( will route cell phone calls)
XXXX|. (this will route international calls)
Through trunk ZAP/1
Is it possible to put it work this way? or my setup is completly wrong?
I would appreciate some feeback
Sorry for my english