We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b71f89c + 15a4875 commit 47a78ecCopy full SHA for 47a78ec
1 file changed
services/dect-wip/app.py
@@ -525,7 +525,7 @@ def ClaimExtensionByVoucher():
525
526
# generates Asterisk config
527
def writePjsip():
528
- if lock_asterisk.locked():
+ if not lock_asterisk.locked():
529
raise RuntimeError("the writePjsip function assumes that the asterisk lock is already acquired by the calling function")
530
531
query_result = db.session.execute(db.select(UserExtension)).all()
0 commit comments