simplydrew
Member
- Joined
- Feb 19, 2012
- Messages
- 92
- Reaction score
- 4
Wanted to put the question out there to see if anyone is currently running a multi tenant setup with PIAF, and if so, how you're doing it. While researching, I found a few threads from a few years ago here that indicated that some people were using custom contexts, changing "from-internal" to different site indicators so that there can be duplicate extensions, isolated to their own environments, etc. However, I wanted to see if there's a better, new, or different way that's more relevant now (with possibly better instructions for setup) in order to accomplish this.
Custom contexts is something I need to brush up further on, so this will be a good learning experience if it's still done this way. I'm thinking more along the lines of extension isolation similar to Cisco CallManager partitions and calling search spaces, for example, which I think is comparable - but not completely sure.
I have a Linode setup where I have a few "onsey towsey" family members are setup, but wanted to expand on to onboarding a few more people to the system (creating separate trunks for them out to the same provider, but isolation in that regard for proper deducting of the prepaid accounts on the provider side for billing, etc). For this purpose, I think from what I've gathered I'll need to:
Custom contexts is something I need to brush up further on, so this will be a good learning experience if it's still done this way. I'm thinking more along the lines of extension isolation similar to Cisco CallManager partitions and calling search spaces, for example, which I think is comparable - but not completely sure.
I have a Linode setup where I have a few "onsey towsey" family members are setup, but wanted to expand on to onboarding a few more people to the system (creating separate trunks for them out to the same provider, but isolation in that regard for proper deducting of the prepaid accounts on the provider side for billing, etc). For this purpose, I think from what I've gathered I'll need to:
- Create separate outbound routes and trunks, both of which need to have the caller ID section the same as the extension, so Asterisk knows to match that route and send it out a specific trunk
- Isolate extensions for now, keeping 11XX for one site, 21XX for another site, etc to prevent misdialing