Fabriciojf.com Wiki
  • FAQ
    • APIs
      • FAQs Favoritos

        Qual é a sua dúvida?

        •  Página inicial do FAQ
        • Asterisk
        • Asterisk Ari Command List

        Asterisk Ari Command List

        • Dicas Rest via URL

        formats[editar]

        texte http://pbx:8088/asterisk/rawman
        XML http://pbx:8088/asterisk/mxml
        http://50.50.0.171:8088/asterisk/mxml?action=ListCommands
        

        Actions[editar]

        Action Description Droits URL
        AbsoluteTimeout Set Absolute Timeout call,all
        AgentCallbackLogin Sets an agent as logged in by callback agent,all
        AgentLogoff Sets an agent as no longer logged in agent,all
        Agents Lists agents and their status agent,all
        ChangeMonitor Change monitoring filename of a channel call,all
        Command Execute Asterisk CLI Command command,all
        DAHDIDialOffHook Dial over channel while offhook <none>
        DAHDIDNDoff Toggle channel Do Not Disturb status OFF <none>
        DAHDIDNDon Toggle channel Do Not Disturb status ON <none>
        DAHDIHangup Hangup Channel <none>
        DAHDIRestart Fully Restart channels (terminates calls) <none>
        DAHDIShowChannels Show status channels <none>
        DAHDITransfer Transfer Channel <none>
        DBGet Get DB Entry system,all
        DBPut Put DB Entry system,all
        Events Control Event Flow <none>
        ExtensionState Check Extension Status call,all

        <collapse title="rawman?action=ExtensionState&context=default&exten=100">

        Response: Success
        Message: Extension Status
        Exten: 100
        Context: default
        Hint: SIP/100
        Status: 0
        

        </collapse>

        GetConfig Retrieve configuration config,all
        Getvar Gets a Channel Variable call,all
        Hangup Hangup Channel call,all
        IAXnetstats Show IAX Netstats <none>
        IAXpeers List IAX Peers <none>

        <collapse title="rawman?action=IAXpeers">

        Name/Username    Host                 Mask             Port          Status    
        195/195          (Unspecified)   (D)  255.255.255.255  0             UNKNOWN   
        194/194          172.19.11.20    (D)  255.255.255.255  37660         OK (1 ms) 
        193/193          172.19.10.50    (D)  255.255.255.255  56918         OK (1 ms) 
        3 iax2 peers [3 online, 1 offline, 0 unmonitored]
        

        </collapse>

        JabberSend Sends a message to a Jabber Client system,all
        ListCommands List available manager commands <none>
        Logoff Logoff Manager <none>
        MailboxCount Check Mailbox Message Count call,all
        MailboxStatus Check Mailbox call,all
        MeetmeMute Mute a Meetme user call,all
        MeetmeUnmute Unmute a Meetme user call,all
        Monitor Monitor a channel call,all
        Originate Originate Call call,all
        Park Park a channel call,all
        ParkedCalls List parked calls <none>
        PauseMonitor Pause monitoring of a channel call,all
        Ping Keepalive command <none>
        PlayDTMF Play DTMF signal on a specific channel. call,all
        QueueAdd Add interface to queue. agent,all
        QueuePause Makes a queue member temporarily unavailable agent,all
        QueueRemove Remove interface from queue. agent,all
        Queues Queues <none>
        QueueStatus Queue Status <none>
        Redirect Redirect (transfer a call) call,all
        SetCDRUserField Set the CDR UserField call,all
        Setvar Set Channel Variable call,all
        SIPpeers List SIP peers (text format) system,all

        <collapse title="rawman?action=SIPpeers">

        Response: Success
        Message: Peer status list will follow
        
        Event: PeerEntry
        Channeltype: SIP
        ObjectName: 100
        ChanObjectType: peer
        IPaddress: 172.19.11.100
        IPport: 2052
        Dynamic: yes
        Natsupport: no
        VideoSupport: yes
        ACL: yes
        Status: OK (21 ms)
        RealtimeDevice: no
        
        Event: PeerlistComplete
        ListItems: 1
        

        </collapse>

        SIPshowpeer Show SIP peer (text format) system,all

        <collapse title="rawman?action=SIPshowpeer&peer=100">

        Response: Success
        Channeltype: SIP
        ObjectName: 100
        ChanObjectType: peer
        SecretExist: Y
        MD5SecretExist: N
        Context: DLPN_phone
        Language: fr
        AMAflags: Unknown
        CID-CallingPres: Presentation Allowed, Not Screened
        Callgroup: 1
        Pickupgroup: 1
        VoiceMailbox: 100
        TransferMode: open
        LastMsgsSent: 0
        Call-limit: 100
        MaxCallBR: 384 kbps
        Dynamic: Y
        Callerid: "Snom 360" <100>
        RegExpire: 2940 seconds
        SIP-AuthInsecure: no
        SIP-NatSupport: RFC3581
        ACL: Y
        SIP-CanReinvite: Y
        SIP-PromiscRedir: N
        SIP-UserPhone: N
        SIP-VideoSupport: Y
        SIP-DTMFmode: rfc2833
        SIPLastMsg: 0
        ToHost: 
        Address-IP: 172.19.11.100
        Address-Port: 2052
        Default-addr-IP: 0.0.0.0
        Default-addr-port: 5060
        Default-Username: 100
        Codecs: 0x10a (gsm|alaw|g729)
        CodecOrder: alaw,g729,gsm
        Status: OK (20 ms)
        SIP-Useragent: snom360/8.2.35
        Reg-Contact : sip:100@172.19.11.100:2052
        

        </collapse>

        SkypeAccountProperty Display Skype Buddy properties system,all
        SkypeAddBuddy Add a skype buddy system,all
        SkypeBuddies List Skype buddies system,all
        SkypeBuddy Set a Skype account property system,all
        SkypeLicenseList Skype for Asterisk license list call,all
        SkypeLicenseStatus Skype for Asterisk license status call,all
        SkypeRemoveBuddy Remove a skype buddy system,all
        Status Lists channel status call,all
        StopMonitor Stop monitoring a channel call,all
        UnpauseMonitor Unpause monitoring of a channel call,all
        UpdateConfig Update basic configuration config,all
        UserEvent Send an arbitrary event user,all
        WaitEvent Wait for an event to occur <none>
        ZapDialOffHook Dial over channel while offhook <none>
        ZapDNDoff Toggle channel Do Not Disturb status OFF <none>
        ZapDNDon Toggle channel Do Not Disturb status ON <none>
        ZapHangup Hangup Channel <none>
        ZapRestart Fully Restart channels (terminates calls) <none>
        ZapShowChannels Show status channels <none>
        ZapTransfer Transfer Channel <none>

         

        docker ps --filter "status=exited"

        formats[editar]

        texte http://pbx:8088/asterisk/rawman
        XML http://pbx:8088/asterisk/mxml
        http://50.50.0.171:8088/asterisk/mxml?action=ListCommands
        

        Actions[editar]

        Action Description Droits URL
        AbsoluteTimeout Set Absolute Timeout call,all
        AgentCallbackLogin Sets an agent as logged in by callback agent,all
        AgentLogoff Sets an agent as no longer logged in agent,all
        Agents Lists agents and their status agent,all
        ChangeMonitor Change monitoring filename of a channel call,all
        Command Execute Asterisk CLI Command command,all
        DAHDIDialOffHook Dial over channel while offhook <none>
        DAHDIDNDoff Toggle channel Do Not Disturb status OFF <none>
        DAHDIDNDon Toggle channel Do Not Disturb status ON <none>
        DAHDIHangup Hangup Channel <none>
        DAHDIRestart Fully Restart channels (terminates calls) <none>
        DAHDIShowChannels Show status channels <none>
        DAHDITransfer Transfer Channel <none>
        DBGet Get DB Entry system,all
        DBPut Put DB Entry system,all
        Events Control Event Flow <none>
        ExtensionState Check Extension Status call,all

        <collapse title="rawman?action=ExtensionState&context=default&exten=100">

        Response: Success
        Message: Extension Status
        Exten: 100
        Context: default
        Hint: SIP/100
        Status: 0
        

        </collapse>

        GetConfig Retrieve configuration config,all
        Getvar Gets a Channel Variable call,all
        Hangup Hangup Channel call,all
        IAXnetstats Show IAX Netstats <none>
        IAXpeers List IAX Peers <none>

        <collapse title="rawman?action=IAXpeers">

        Name/Username    Host                 Mask             Port          Status    
        195/195          (Unspecified)   (D)  255.255.255.255  0             UNKNOWN   
        194/194          172.19.11.20    (D)  255.255.255.255  37660         OK (1 ms) 
        193/193          172.19.10.50    (D)  255.255.255.255  56918         OK (1 ms) 
        3 iax2 peers [3 online, 1 offline, 0 unmonitored]
        

        </collapse>

        JabberSend Sends a message to a Jabber Client system,all
        ListCommands List available manager commands <none>
        Logoff Logoff Manager <none>
        MailboxCount Check Mailbox Message Count call,all
        MailboxStatus Check Mailbox call,all
        MeetmeMute Mute a Meetme user call,all
        MeetmeUnmute Unmute a Meetme user call,all
        Monitor Monitor a channel call,all
        Originate Originate Call call,all
        Park Park a channel call,all
        ParkedCalls List parked calls <none>
        PauseMonitor Pause monitoring of a channel call,all
        Ping Keepalive command <none>
        PlayDTMF Play DTMF signal on a specific channel. call,all
        QueueAdd Add interface to queue. agent,all
        QueuePause Makes a queue member temporarily unavailable agent,all
        QueueRemove Remove interface from queue. agent,all
        Queues Queues <none>
        QueueStatus Queue Status <none>
        Redirect Redirect (transfer a call) call,all
        SetCDRUserField Set the CDR UserField call,all
        Setvar Set Channel Variable call,all
        SIPpeers List SIP peers (text format) system,all

        <collapse title="rawman?action=SIPpeers">

        Response: Success
        Message: Peer status list will follow
        
        Event: PeerEntry
        Channeltype: SIP
        ObjectName: 100
        ChanObjectType: peer
        IPaddress: 172.19.11.100
        IPport: 2052
        Dynamic: yes
        Natsupport: no
        VideoSupport: yes
        ACL: yes
        Status: OK (21 ms)
        RealtimeDevice: no
        
        Event: PeerlistComplete
        ListItems: 1
        

        </collapse>

        SIPshowpeer Show SIP peer (text format) system,all

        <collapse title="rawman?action=SIPshowpeer&peer=100">

        Response: Success
        Channeltype: SIP
        ObjectName: 100
        ChanObjectType: peer
        SecretExist: Y
        MD5SecretExist: N
        Context: DLPN_phone
        Language: fr
        AMAflags: Unknown
        CID-CallingPres: Presentation Allowed, Not Screened
        Callgroup: 1
        Pickupgroup: 1
        VoiceMailbox: 100
        TransferMode: open
        LastMsgsSent: 0
        Call-limit: 100
        MaxCallBR: 384 kbps
        Dynamic: Y
        Callerid: "Snom 360" <100>
        RegExpire: 2940 seconds
        SIP-AuthInsecure: no
        SIP-NatSupport: RFC3581
        ACL: Y
        SIP-CanReinvite: Y
        SIP-PromiscRedir: N
        SIP-UserPhone: N
        SIP-VideoSupport: Y
        SIP-DTMFmode: rfc2833
        SIPLastMsg: 0
        ToHost: 
        Address-IP: 172.19.11.100
        Address-Port: 2052
        Default-addr-IP: 0.0.0.0
        Default-addr-port: 5060
        Default-Username: 100
        Codecs: 0x10a (gsm|alaw|g729)
        CodecOrder: alaw,g729,gsm
        Status: OK (20 ms)
        SIP-Useragent: snom360/8.2.35
        Reg-Contact : sip:100@172.19.11.100:2052
        

        </collapse>

        SkypeAccountProperty Display Skype Buddy properties system,all
        SkypeAddBuddy Add a skype buddy system,all
        SkypeBuddies List Skype buddies system,all
        SkypeBuddy Set a Skype account property system,all
        SkypeLicenseList Skype for Asterisk license list call,all
        SkypeLicenseStatus Skype for Asterisk license status call,all
        SkypeRemoveBuddy Remove a skype buddy system,all
        Status Lists channel status call,all
        StopMonitor Stop monitoring a channel call,all
        UnpauseMonitor Unpause monitoring of a channel call,all
        UpdateConfig Update basic configuration config,all
        UserEvent Send an arbitrary event user,all
        WaitEvent Wait for an event to occur <none>
        ZapDialOffHook Dial over channel while offhook <none>
        ZapDNDoff Toggle channel Do Not Disturb status OFF <none>
        ZapDNDon Toggle channel Do Not Disturb status ON <none>
        ZapHangup Hangup Channel <none>
        ZapRestart Fully Restart channels (terminates calls) <none>
        ZapShowChannels Show status channels <none>
        ZapTransfer Transfer Channel <none>
         Página inicial do FAQ
        • FAQ
          • APIs
            • FAQs Favoritos

              © Copyright 2025 Fabriciojf.com  Criado por FábioCostaMKT   Pastes   Administração