secathor

Member

Last active 7 years ago

  1. 10 years ago
    Mon Mar 3 18:44:31 2014
    secathor posted in Trunk multi-tenant.

    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:
    [code][parkinglot_edvina]
    context => edvinapark
    parkext => 799
    parkpos => 800-850
    findslot => next
    ...
    [/code]

    I got it working, thanks you

    As far as I know, dahdi channels cannot be reanamed, they are set by the channel driver depending on the card/line number set in your chan_dahdi.conf file or similar.

    multi tenant or not is not the question. FOP2 monitor channels by device name, so if you have distinct device names for each tenant, or provider, or whatever, then you can have separate buttons for them. Look at the channel names when you make a call from one tenant or the other, and check names with

    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.

    So, how can we add something before the last dash ?

    Thanks you

  2. Fri Feb 28 13:31:08 2014
    secathor posted in Trunk multi-tenant.

    ok I understand

    So the line

    server=ip of second server

    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

  3. Thu Feb 27 21:23:59 2014
    secathor started the conversation Trunk multi-tenant.

    Hi everyone !

    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 ?