Reply To: ARI Modules

VitalPBX Community Support General Discussion ARI Modules Reply To: ARI Modules

    PitzKey
    Participant
    US
    Up
    0
    Down
    You have to create a ARI config file and then load the modules. I have to manually load it after every reboot. So I made a script to easily load it. See below.

    I hope the VitalPBX team can tell us what is the proper way to load these modules.

    #/bin/sh
    
    echo -e "Starting to load ARI into Asterisk"
    
    asterisk -x"module load res_ari.so"
    asterisk -x"module load res_ari_model.so"
    asterisk -x"module load res_ari_sounds.so"
    asterisk -x"module load res_ari_recordings.so"
    asterisk -x"module load res_ari_playbacks.so"
    asterisk -x"module load res_ari_events.so"
    asterisk -x"module load res_ari_endpoints.so"
    asterisk -x"module load res_ari_device_states.so"
    asterisk -x"module load res_ari_channels.so"
    asterisk -x"module load res_ari_bridges.so"
    asterisk -x"module load res_ari_asterisk.so"
    asterisk -x"module load res_ari_applications.so"
    asterisk -x"core reload"
    
    echo -e "Done..."
    
    exit
    
    • This reply was modified 3 months, 2 weeks ago by PitzKey.
    0