Tristan Matthews | 0a329cc | 2013-07-17 13:20:14 -0400 | [diff] [blame] | 1 | # $Id$ |
| 2 | import inc_sip as sip |
| 3 | import inc_sdp as sdp |
| 4 | |
| 5 | pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ |
| 6 | "--auto-update-nat=0" |
| 7 | |
| 8 | req1 = sip.RecvfromTransaction("Registration", 200, |
| 9 | include=["REGISTER sip"], |
| 10 | exclude=["Authorization"], |
| 11 | resp_hdr=["Server: Snake Registrar", "Expires: 221", "Contact: sip:localhost"], |
| 12 | expect="registration success" |
| 13 | ) |
| 14 | |
| 15 | recvfrom_cfg = sip.RecvfromCfg("Simple registration test", |
| 16 | pjsua, [req1]) |