200_publish.py 808 B

12345678910111213141516171819202122232425262728293031323334
  1. #
  2. from inc_cfg import *
  3. # Basic registration
  4. test_param = TestParam(
  5. "Presence with PUBLISH",
  6. [
  7. InstanceParam( "ua1",
  8. "--null-audio"+
  9. " --id=\"<sip:test1@pjsip.org>\""+
  10. " --registrar=sip:sip.pjsip.org" +
  11. " --username=test1" +
  12. " --password=test1" +
  13. " --realm=*" +
  14. " --proxy=\"sip:sip.pjsip.org;lr\"" +
  15. " --publish",
  16. uri="<sip:test1@pjsip.org>",
  17. have_reg=True,
  18. have_publish=True),
  19. InstanceParam( "ua2",
  20. "--null-audio"+
  21. " --id=\"<sip:test2@pjsip.org>\""+
  22. " --registrar=sip:sip.pjsip.org" +
  23. " --username=test2" +
  24. " --password=test2" +
  25. " --realm=*" +
  26. " --proxy=\"sip:sip.pjsip.org;lr\"" +
  27. " --publish",
  28. uri="<sip:test2@pjsip.org>",
  29. have_reg=True,
  30. have_publish=True),
  31. ]
  32. )