Guest User

Untitled

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