-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error "Missing remote host parameter. This scenario requires it.\n' " #45
Comments
I have tried with latest version of pysipp as well , but it didnt resolve my problem , can you please help me how to iterate over scenario files , I have managed to run one instance of sipp with single scenario file with below code
|
@access2praveen can you try the branch from #46 though? Latest master doesn't have these changes merged in yet. |
ping @access2praveen did this end up solving your issue. Trying to get in fixes for an alpha release as per #42! |
Got no feedback on this so closing for now. |
I am encountering below error when i am trying to run sipp scenario file through pysipp
root@voiceqa-desktop:/opt/test# python3 sipp.py ('10.204.66.84', 5080) stderr for 'uac_AMR_BW' @ ('0.0.0.0', 34607) b'2018-10-08\t16:31:39.337407\t1538976699.337407: Missing remote host parameter. This scenario requires it.\n 'screen_file' contents for 'uac_AMR_BW' @ ('0.0.0.0', 34607): Traceback (most recent call last): File "sipp.py", line 8, in <module> scen() File "/usr/local/lib/python3.5/dist-packages/pysipp/agent.py", line 413, in __call__ raise_exc=raise_exc, **kwargs File "/usr/local/lib/python3.5/dist-packages/pluggy.py", line 724, in __call__ return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) File "/usr/local/lib/python3.5/dist-packages/pluggy.py", line 338, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "/usr/local/lib/python3.5/dist-packages/pluggy.py", line 333, in <lambda> _MultiCall(methods, kwargs, hook.spec_opts).execute() File "/usr/local/lib/python3.5/dist-packages/pluggy.py", line 596, in execute res = hook_impl.function(*args) File "/usr/local/lib/python3.5/dist-packages/pysipp/__init__.py", line 250, in pysipp_run_protocol finalize(cmds2procs, raise_exc=raise_exc) File "/usr/local/lib/python3.5/dist-packages/pysipp/__init__.py", line 228, in finalize raise SIPpFailure(msg) pysipp.SIPpFailure: Some agents failed 'uac_AMR_BW' with exit code 255 -> Command or syntax error: check stderr output
My Directory has only one scenario file
`root@voiceqa-desktop:/opt/test# ls /home/voiceqa/sipp-3.5.1/AMR_Testing/AMR-WB/
My python script looks as below
import pysipp uas = pysipp.server(srcaddr=('10.204.66.84', 5080)) print(uas.srcaddr) uac = pysipp.client(destaddr=uas.srcaddr) #scen = pysipp.scenario() scen = pysipp.scenario(dirpath='/home/voiceqa/sipp-3.5.1/AMR_Testing/AMR-WB',proxyaddr=('10.204.66.84', 5080)) #print(scen.cmditems()) scen() pysipp.log_to_stderr('DEBUG')
Kindly let me know how to fix this
Thanks
Praveen
The text was updated successfully, but these errors were encountered: