Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sipp mysipdomain.net -sf ./testcall.conf -m 1 -s 12345 -i 10.1.1.1:5060
- lab2:/tmp/jj/sipp_tests# python mvv_numeric.py
- No handlers could be found for logger "pysipp"
- Traceback (most recent call last):
- File "mvv_numeric.py", line 6, in <module>
- uac()
- File "/usr/lib/python2.7/site-packages/pysipp-0.1.alpha-py2.7.egg/pysipp/agent.py", line 71, in __call__
- raise_exc=raise_exc, **kwargs
- File "/usr/lib/python2.7/site-packages/pluggy-0.3.1-py2.7.egg/pluggy.py", line 724, in __call__
- return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
- File "/usr/lib/python2.7/site-packages/pluggy-0.3.1-py2.7.egg/pluggy.py", line 338, in _hookexec
- return self._inner_hookexec(hook, methods, kwargs)
- File "/usr/lib/python2.7/site-packages/pluggy-0.3.1-py2.7.egg/pluggy.py", line 333, in <lambda>
- _MultiCall(methods, kwargs, hook.spec_opts).execute()
- File "/usr/lib/python2.7/site-packages/pluggy-0.3.1-py2.7.egg/pluggy.py", line 596, in execute
- res = hook_impl.function(*args)
- File "/usr/lib/python2.7/site-packages/pysipp-0.1.alpha-py2.7.egg/pysipp/__init__.py", line 250, in pysipp_run_protocol
- finalize(cmds2procs, raise_exc=raise_exc)
- File "/usr/lib/python2.7/site-packages/pysipp-0.1.alpha-py2.7.egg/pysipp/__init__.py", line 228, in finalize
- raise SIPpFailure(msg)
- pysipp.SIPpFailure: Some agents failed
- 'uac' with exit code 255 -> Command or syntax error: check stderr output
- 1 import pysipp
- 2 uac = pysipp.client(destaddr=('mysipdomain.net', 5060))
- 3 uac.uri_username = '12345'
- 4 uac.auth_password = ''
- 5 uac.scen_file = './numeric.xml'
- 6 uac()
- <?xml version="1.0" encoding="ISO-8859-1"?>
- <!DOCTYPE scenario SYSTEM "sipp.dtd">
- <scenario name="UAC with Media">
- <send retrans="10000">
- <![CDATA[
- INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
- Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
- From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[pid]SIPpTag00[call_number]
- To: [service] <sip:[service]@[remote_ip]:[remote_port]>
- Call-id: [call_id]
- CSeq: 1 INVITE
- Contact: <sip:sipp@[local_ip]:[local_port]>
- Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER
- User-Agent: PolycomVVX-VVX_300-UA/5.5.2.8571
- Accept-Language: en
- Supported: replaces,100rel
- Allow-Events: conference,talk,hold
- Max-Forwards: 70
- Content-Type: application/sdp
- Content-Length: [len]
Add Comment
Please, Sign In to add comment