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