Reply To: RE: Remote Reboot PJSIP Endpoint

VitalPBX Community Support General Discussion Remote Reboot PJSIP Endpoint Reply To: RE: Remote Reboot PJSIP Endpoint

    Up
    0
    Down

    Create a file on /etc/asterisk named “pjsip_notify.conf” with the following content:

    ; rfc3842
    ; put empty "Content=>" at the end to have CRLF after last body line

    [clear-mwi]
    Event=>message-summary
    Content-type=>application/simple-message-summary
    Content=>Messages-Waiting: no
    Content=>Message-Account: sip:asterisk@127.0.0.1
    Content=>Voice-Message: 0/0 (0/0)
    Content=>

    ; Aastra

    [aastra-check-cfg]
    Event=>check-sync

    [aastra-xml]
    Event=>aastra-xml

    ; Digium

    [digium-check-cfg]
    Event=>check-sync

    ; Linksys

    [linksys-cold-restart]
    Event=>reboot_now

    [linksys-warm-restart]
    Event=>restart_now

    ; Polycom

    [polycom-check-cfg]
    Event=>check-sync

    ; Sipura

    [sipura-check-cfg]
    Event=>resync

    [sipura-get-report]
    Event=>report

    ; snom

    [snom-check-cfg]
    Event=>check-sync;reboot=false

    [snom-reboot]
    Event=>check-sync;reboot=true

    ; Cisco

    [cisco-check-cfg]
    Event=>check-sync

    ; Yealink

    [reboot-yealink]
    Event=>check-sync;reboot=true

    Then, go to asterisk CLI, and do a core restart now

    To confirm that the module is running, execute the following command:

    module show like res_pjsip_notify.so

    The status must be “Running”

    0