strict-route.py 338 B

123456789101112
  1. #
  2. import inc_const as const
  3. PJSUA = ["--null-audio --max-calls=1 --id=sip:pjsua@localhost --username=pjsua --realm=* $SIPP_URI"]
  4. PJSUA_EXPECTS = [[0, "ACK sip:proxy@.* SIP/2\.0", ""],
  5. [0, const.STATE_CONFIRMED, "h"]
  6. ]
  7. PJSUA_CLI_EXPECTS = [[0, "ACK sip:proxy@.* SIP/2\.0", ""],
  8. [0, const.STATE_CONFIRMED, "call hangup"]
  9. ]