Database Put

Since 0.4.0 AGI Commands Found this useful? Upvote it. ×

Adds/updates database value

Last reviewed 2026-04-14

database put family key value
Description

Adds or updates an entry in the Asterisk database for a given family, key, and value.

Returns 1 if successful, 0 otherwise.

Arguments
  • family required
  • key required
  • value required
User Notes

Know a tip or gotcha for this topic? Share it below and help others.

Contribute a note

Share a tip, gotcha, or practical example. Keep it under 2000 characters. No questions (use the Asterisk community forums for support). Wrap code in backticks.

Moderated before publishing. Email never shown.