uac-prack-sdp-offer.py 590 B

123456789101112131415161718192021
  1. # $Id$
  2. #
  3. import inc_const as const
  4. PJSUA = ["--null-audio --max-calls=1 --use-100rel"]
  5. PJSUA_EXPECTS = [[0, const.EVENT_INCOMING_CALL, "a"],
  6. [0, "", "183"],
  7. [0, "Response msg 200/PRACK", ""],
  8. [0, "Content-Type: application/sdp", "a"],
  9. [0, "", "200"],
  10. [0, const.STATE_CONFIRMED, ""],
  11. [0, const.STATE_DISCONNECTED, ""]
  12. ]
  13. PJSUA_CLI_EXPECTS = [[0, const.EVENT_INCOMING_CALL, "call answer 183"],
  14. [0, "Response msg 200/PRACK", ""],
  15. [0, "Content-Type: application/sdp", "call answer 200"],
  16. [0, const.STATE_CONFIRMED, ""],
  17. [0, const.STATE_DISCONNECTED, ""]
  18. ]