uas-subscribe-terminated-retry.py 435 B

123456789101112131415
  1. #
  2. import inc_const as const
  3. PJSUA = ["--null-audio --max-calls=1 --id sip:pjsua@localhost --add-buddy $SIPP_URI"]
  4. PJSUA_EXPECTS = [[0, "", "s"],
  5. [0, "Subscribe presence of:", "1"],
  6. [0, "Presence subscription .* is TERMINATED", ""],
  7. [0, "Resubscribing .* in 5000 ms", ""]
  8. ]
  9. PJSUA_CLI_EXPECTS = [[0, "", "im sub_pre 1"],
  10. [0, "Presence subscription .* is TERMINATED", ""],
  11. [0, "Resubscribing .* in 5000 ms", ""]
  12. ]