Trunk multi-tenant
Hi everyone !
I have trouble with trunk and multi-tenant environement.
For extension, everything work fine.
But trunk not
All DAHDI channel are show under "Line Office 2"
Also, does it's possible to monitor ring group ?
I have trouble with trunk and multi-tenant environement.
For extension, everything work fine.
But trunk not
[DAHDI/1]
type=trunk
label=Test line
[DAHDI/2]
type=trunk
label=Line Office 1
channel=DAHDI/3&DAHDI/4&DAHDI/5&DAHDI/6&DAHDI/7&DAHDI/8&DAHDI/9&DAHDI/10&DAHDI/11&DAHDI/12&DAHDI/13
[DAHDI/1]
type=trunk
label=Line Office 2
channel=DAHDI/2&DAHDI/3&DAHDI/4&DAHDI/5&DAHDI/6
server=192.168.1.18
All DAHDI channel are show under "Line Office 2"
Also, does it's possible to monitor ring group ?
Comments
asterisk -rx "core show channels concise"
Are the root of the names unique to each tenant? Think of it as this for a channel name:
TECH/name-session
session part is random and it is ignored. Anything before the last dash is the name fop2 uses to match, so if you have
DAHDI/1-aabbccdd for tenant 1
and
DAHDI/2-eeffgghh for tenant 2
Then you can use two separate buttons (DAHDI/1 and DAHDI/2) for each tenant. In the other hand if you have DAHDI/1-xxxx and DAHDI/1-yyyyy for those tenants, then there is no way to discern who is who.
Regarding ringgroups, they are not devices, just a logical dialplan config that can be done in a zillion ways, so they cannot be monitored as an entity, as they are not. You can have ring group buttons but only for use as a transfer target.
Best regards,
So the line is totaly useless (I see it somewhere on the forum)
Do you know how to rename DAHDI channel ?
I also get same trouble for parking slot.
Do you known how to rename it ?
Thank you
As for parking, you can create a separate channel parking lot name in features.conf. This is the sample provided in the asterisk sample config files:
The only button type where the server=x.x.x.x line is relevant is the queue button.
Best regards,
So, how can we add something before the last dash ?
Thanks you
Not sure if its possible, but I am really not very into dahdi config or cards. If channels are from the same interface card, then I do not think you can add/remove or set anything. If you have different cards, then their names will be DAHDI/i1 /i2, and so forth.
multi-tenant + trunk = not possible
if DAHDI card are the same in both server
Maybe the wording is not correct, but multi tenant does not mean separate asterisk boxes, much like the opposite: having multiple clients/customers on ONE asterisk box. So the original question did not make sense to me at all.
There are plenty of FOP2 installations on multitennant systems like Thirdlane, or custom built.
Best regards,
It's not perfect, but work
The script rename channel to have unique channel name