소스 검색

kamailio-kemi-framework: use load parameter instead of script_name for app_python

Daniel-Constantin Mierla 7 년 전
부모
커밋
17f0857ddf
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      kamailio-kemi-framework/docs/kemi.md

+ 2 - 2
kamailio-kemi-framework/docs/kemi.md

@@ -284,7 +284,7 @@ The file `kamailio-basic-kemi.cfg` has to be saved as `kamailio.cfg` and inside
 #!define WITH_CFGPYTHON
 ```
 
-The file `kamailio-basic-kemi-python.py` has to be saved to local disk and the `script_name` parameter for
+The file `kamailio-basic-kemi-python.py` has to be saved to local disk and the `load` parameter for
 `app_python` module inside `kamailio.cfg` has to be updated to point to it. Then run `kamailio` with this `kamailio.cfg`.
 
 The documentation for `app_python` is available at:
@@ -347,7 +347,7 @@ modparam("debugger", "cfgtrace", 1)
  
 ####### Routing Logic ########
  
-modparam("app_python", "script_name", "/etc/kamailio/kamailio.py")
+modparam("app_python", "load", "/etc/kamailio/kamailio.py")
  
 cfgengine "python"
 ```