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

No notes yet. Be the first to contribute a tip or example.

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.