Initial LisgloSIPS V2 implementation

This commit is contained in:
hectorzhao
2026-06-22 10:56:38 +08:00
commit 5fa1bd35e9
303 changed files with 35644 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env python3
import os
import sys
def main() -> int:
redis_url = os.getenv("OPENSIPS_REDIS_URL", "redis:s20://127.0.0.1:6380/")
config = sys.stdin.read()
sys.stdout.write(config.replace("@@LISGLOSIPS_REDIS_URL@@", redis_url))
return 0
if __name__ == "__main__":
raise SystemExit(main())