Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
カスタムフィールド「rec_name」IDテーブル「cdr」、データベース「asteriskcdrdb」を作成しました。このフィールドには、録音名を保存します。.confファイルの1つにこの行を追加することでそれを行う必要があることはわかっていますが、どこにありますか?
exten => s,1,set(CDR(rec_name)=${CALLFILENAME})
SQLステートメントでもできますが、呼び出しの詳細をデータベースに保存するファイルがどこにあるのかわかりません。
mysqlの場合、/ etc / asterisk/cdr_mysql.confに追加する必要があります
[aliases] rec_name=rec_name
エイリアスセクションがある場合は、それに追加するだけです
rec_name=rec_name