From 4b53029f9ba4e5c057b6907e1031381b7c7dc3b6 Mon Sep 17 00:00:00 2001 From: kiran daware Date: Tue, 26 Mar 2024 19:13:10 +0530 Subject: [PATCH] modified: config.ini modified: kSipP/forms.py Bug fix: CPS and No. of Calls field if set to None, then application crashed. made these fields mandatory renamed: kSipP/scripts/modifyHeader.py -> kSipP/scripts/modify.py deleted: kSipP/scripts/myScript.py modified: kSipP/templates/index.html --- config.ini | 4 ++-- kSipP/__pycache__/forms.cpython-38.pyc | Bin 4566 -> 4567 bytes kSipP/__pycache__/views.cpython-38.pyc | Bin 13553 -> 13547 bytes kSipP/forms.py | 4 ++-- .../scripts/__pycache__/kstun.cpython-38.pyc | Bin 6052 -> 6052 bytes .../scripts/__pycache__/modify.cpython-38.pyc | Bin 0 -> 4583 bytes kSipP/scripts/{modifyHeader.py => modify.py} | 0 kSipP/scripts/myScript.py | 11 ---------- kSipP/templates/index.html | 20 ++++++++++++++++-- kSipP/views.py | 2 +- 10 files changed, 23 insertions(+), 18 deletions(-) create mode 100644 kSipP/scripts/__pycache__/modify.cpython-38.pyc rename kSipP/scripts/{modifyHeader.py => modify.py} (100%) delete mode 100644 kSipP/scripts/myScript.py diff --git a/config.ini b/config.ini index 4324b000..df9394df 100644 --- a/config.ini +++ b/config.ini @@ -8,8 +8,8 @@ src_port_uac = 6061 src_port_uas = 6062 protocol_uac = u1 protocol_uas = u1 -called_party_number = 1234 -calling_party_number = 9975 +called_party_number = +calling_party_number = total_no_of_calls = 1 cps = 1 select_uac = uac_basic.xml diff --git a/kSipP/__pycache__/forms.cpython-38.pyc b/kSipP/__pycache__/forms.cpython-38.pyc index da32e16cdfeb36da6faeb2ca240e7210e2b42cb9..3d80db7c8fdd82056308ffcd60cd0d9428f26a83 100644 GIT binary patch delta 87 zcmcbnd|jD0l$V!_0SFu}Fr_Wr$a|O7lsAPtg|C-2iZhitiz9^}$P-9`iE#nNxKjjE hgi@GOgi}O%S)zDSM1vVL#U{(M-DC{e{DbWt7XZ147GeMZ delta 85 zcmcbvd`+1*l$V!_0SNjY|4&`Kk@qgEDRT;U3U4oK6lW@P7DoynkjI|_6XODkai<8R e2m(cfQiOY1qIgn7f*CYLC(EV@lh-k@uc4KVNZjQD#9&v0iR|N@iN+B$JN-Ef^0> delta 48 zcmaEz`7x6>l$V!_0SG(;7}E}Jpz6bAq<69gRq diff --git a/kSipP/scripts/__pycache__/modify.cpython-38.pyc b/kSipP/scripts/__pycache__/modify.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7ac5acae0b0f2bb19107a4852482fc24df908254 GIT binary patch literal 4583 zcmc&%Npl;=74Du5gTVj<7g4h1B#6pR5lT#Xi5-_LYb9+nmLXcCZ3Q9?gXkeR5H|G; zO$iyCep`v9Ucq&Dg)F^6X=yav5**7YM-wZ?g`s8ayqVRa3WFRZD;Es;$3H)xpjvDj^8g)N*%d}zh)$V<#oZp;#E zY~bvfin8ylh5c1!-s`j#mxFh1eSEz{$1L^wK{pVk?Vc>9x53RyJL!!|w>oV-iY`+M zqtYwU`%pkGie=cZHAFqGmwjdQB4zdK@s6@uy|Ak?TlFYd3Z=4WZDmO;rZUh@6H6;A z>~8mzaeY~3afa2pi~^}l6qOTn8&Fl*RxVCiqtjLM2c??cfN!ULw6k*hdh!oU0$c3q zYv*=)o#5P^P}aNW`uF3VUiX~7^h8Dt96FB9rMFz{-&YwrA9kK21Nab(&lo3+*t98@*2d;xFhR4ur!DR$zm2Gl)~Cir$yK4v_nC)QlD{ zw0n(uJGzL%!OW+;B!7a5l1`({wUt%u<#y`#qJBG!%QEh5<3ZORgrJw1(%9N}KHg#0Pm%UO96ANeyHGn?Kdx_Y0^6+}_J835$HUMzo1 z{dw&dwV)kzf^MvGX;rUT_0qZ5u>tlvoStgs71~0p=EQ%!e+m5&ZNa$3U8BGY+~FQd zzABJ$UGvIlP)^{sB$JuyMi?ev%~yUh^dE4Op^~K@gTN3*Ig2 znt|FI!sr@;4ebOp4A_1Vn=NZ($Br;TKK6G^pa;_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nA>mi3$FVmknM?i6|WkZBS1AY*v+yAH1Dv;u^4DZ^ZuxWn?E?PxK)_#o^^= zBt9oW|4On-VuOTcTgsbc4Ps1%FChl+Ev!^NTUlRDu3Y;lx%!*s=JE$CYwOE5%P=q5_PA*WnT^*=)U5X$yqoG|y*E+E!p807%%!ph$il`ZmH!7Q zvDSOgiPi+^J+2dk?SiO-z{DX&@*=EL{dtIJef^D=_>#n7_8?cNs(Chl#Hne( zr--Z!L`E~(-8u^T%B7z^`c0I-rpbg~`4I`ty}taI%3qLZkf@Nj0a5k00et$qBUY~F zcKi6Z!&!mO>J+gr5O~<@%Uu~B*1WiPP}bZ{py#D%p!q__)U*?svaYQ}kQ_5@O_=`a-1N`{w zPn!5pj--6tYCCMEKd(|ylhf}br@_C1Xw|#T-Xe`iRXC0ARHIs%lvSmwq(GoEt?IGt z;(D)H3HDSD)(9K$B5b7WrRA%ievl?%^lzXO2OVo99Y6J-=Ta8;0;poQ9b6<*i(Z8A Yk)*gtMDR7~*JCE@`tFasi|)z)0M4;#X#fBK literal 0 HcmV?d00001 diff --git a/kSipP/scripts/modifyHeader.py b/kSipP/scripts/modify.py similarity index 100% rename from kSipP/scripts/modifyHeader.py rename to kSipP/scripts/modify.py diff --git a/kSipP/scripts/myScript.py b/kSipP/scripts/myScript.py deleted file mode 100644 index 60f3e2b7..00000000 --- a/kSipP/scripts/myScript.py +++ /dev/null @@ -1,11 +0,0 @@ -# myproject/myapp/scripts/myscript.py - -def my_function(): - # Your script logic here - result = "Hello from myscript.py!" - return result - -if __name__ == "__main__": - # If you want to run the script independently, you can include a test code here - print(my_function()) - diff --git a/kSipP/templates/index.html b/kSipP/templates/index.html index 8892d0d9..14151a01 100644 --- a/kSipP/templates/index.html +++ b/kSipP/templates/index.html @@ -17,9 +17,11 @@
-
+ + {% csrf_token %} {{ selectXml.as_p }} +
@@ -97,6 +99,21 @@

Running SipP Processes: