You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kamailio/utils/kamctl/xhttp_pi/auth_db-mod

48 lines
1.4 KiB

<!-- subscriber provisionning -->
<mod><mod_name>subscriber</mod_name>
<cmd><cmd_name>show</cmd_name>
<db_table_id>subscriber</db_table_id>
<cmd_type>DB1_QUERY</cmd_type>
<query_cols>
<col><field>id</field><link_cmd>update</link_cmd></col>
<col><field>username</field></col>
<col><field>domain</field></col>
<col><field>password</field></col>
<col><field>ha1</field></col>
<col><field>ha1b</field></col>
</query_cols>
</cmd>
<cmd><cmd_name>add</cmd_name>
<db_table_id>subscriber</db_table_id>
<cmd_type>DB1_INSERT</cmd_type>
<query_cols>
<col><field>username</field></col>
<col><field>domain</field></col>
<col><field>password</field></col>
<col><field>ha1</field></col>
<col><field>ha1b</field></col>
</query_cols>
</cmd>
<cmd><cmd_name>update</cmd_name>
<db_table_id>subscriber</db_table_id>
<cmd_type>DB1_UPDATE</cmd_type>
<clause_cols>
<col><field>id</field><operator>=</operator></col>
</clause_cols>
<query_cols>
<col><field>username</field></col>
<col><field>domain</field></col>
<col><field>password</field></col>
<col><field>ha1</field></col>
<col><field>ha1b</field></col>
</query_cols>
</cmd>
<cmd><cmd_name>delete</cmd_name>
<db_table_id>subscriber</db_table_id>
<cmd_type>DB1_DELETE</cmd_type>
<clause_cols>
<col><field>id</field><operator>=</operator></col>
</clause_cols>
</cmd>
</mod>