AMI Action help

VitalPBX Community Support General Discussion AMI Action help

  • Post
    Gary
    Participant

    I have a AMI connection and receive DND info from payload.hint sip/ptpbx201&Custom:DND_201

    does anyone know how I would send info back to Asterisk to execute DND_201

    is it done by a Action message ?

     

    0
Viewing 3 replies - 1 through 3 (of 3 total)
  • Replies
    Up
    0
    Down

    Here’s a list of AMI actions you can use:

    https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+AMI+Actions

    0
    Gary
    Participant
    Up
    0
    Down

    I saw that but it’s a little above my ability, could you give me a hint on how to use and I will take it from there.

     

     

    0
    InTeleSync
    Participant
    Up
    0
    Down

    One way to remove the DND is from the CLI:

    asterisk -rx "database del CustomDevstate 9999"

    Where 9999 is the extension number. To see if it is busy or on DND:

    asterisk -rx "database show" | grep "9999"

    From this you could script it in some way. I don’t think there’s anything in the AMI for changing the UserEvent state.

    0
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.