uac-upd-sdp-offer.py 575 B

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