This commit is contained in:
2026-06-24 17:16:44 +03:00
parent 90a4d02b79
commit 95eba2b071
2 changed files with 57 additions and 82 deletions

View File

@@ -189,7 +189,7 @@ async def process_custom_secret(message: Message, state: FSMContext):
async def create_account_and_reply(message_obj, state, number: str, username: str, secret: str, telegram_id: int):
await message_obj.answer("Creating your SIP account with the chosen password... Please wait.")
# Create via MikoPBX with custom secret
# Create via MikoPBX with custom secret (API v3)
result = await mikopbx.create_extension(
number=number,
secret=secret,