Multiple Server Parking

  1. 10 years ago

    I am trying to setup FOP2 with multiple servers (one asterisk 1.8 another asterisk 11). Everything is working well except I cannot get the parking bays to work as both boxes use the "default" lot and I do not know how to change it.

    My configuration (generated by freepbx) is as follows in features_general_additional.conf :

    Asterisk 1.8

    parkext=70
    parkpos=71-72
    context=parkedcalls
    parkingtime=60
    pickupexten=*8

    Asterisk 11

    parkext=80
    parkpos=81-88
    context=parkedcalls
    parkext_exclusive=no
    parkingtime=45
    comebacktoorigin=no
    parkedplay=both
    courtesytone=beep
    parkedcalltransfers=caller
    parkedcallreparking=caller
    parkedmusicclass=default
    findslot=first
    pickupexten=*8

    Is there any way that I can change the lot space naming so that I do not have to use the following in FOP2?

    [PARK/default]
    type=park
    extension=80
    label=Default Lot
    context=parkedcalls
    queuecontext=from-queue
    rtmp=0
  2. admin

    28 Jan 2014 Administrator

    I think you must use a different parking lot name on each server to get them both working in fop2. That has to be done in asterisk itself. I think the standard parking module in FreePBX uses only the default slot. There is a park pro module that supports several parkinglots, or you might want to configure the parking lots manually in asterisk via _custom files instead of the web, so you do not need to pay for the parkpro module.

    The sample features.conf in asterisk provides an example on how to define a different parking lot name:

    ;
    ;*** Define another parking lot
    ;
    ; You can set parkinglot with the CHANNEL dialplan function
    ; or by setting 'parkinglot' directly in the channel configuration file.
    ;
    ; (Note: Leading '0's and any non-numerical characters on parkpos extensions
    ; will be ignored. Parkext on the other hand can be any string.)
    ;
    ;[parkinglot_edvina]
    ;context => edvinapark
    ;parkext => 799
    ;parkpos => 800-850
    ;findslot => next
    ;comebacktoorigin = no
    ;comebackdialtime = 90
    ;comebackcontext = edvinapark-timeout ; Make sure you create the context!
    ;parkedmusicclass = edvina

    In that case in fop2 you can define PARK/parkinglot_edfina as a button definition instead of PARK/default.

or Sign Up to reply!