| 1 | import inc_sip as sip |
| 2 | import inc_sdp as sdp |
| 3 | |
| 4 | sdp = \ |
| 5 | """ |
| 6 | v= |
| 7 | o= |
| 8 | s= |
| 9 | c= |
| 10 | t= |
| 11 | a= |
| 12 | """ |
| 13 | |
| 14 | pjsua_args = "--null-audio --auto-answer 200" |
| 15 | extra_headers = "" |
| 16 | include = [ "Warning: " ] # better have Warning header |
| 17 | exclude = [] |
| 18 | |
| 19 | sendto_cfg = sip.SendtoCfg("Bad SDP syntax", pjsua_args, sdp, 400, |
| 20 | extra_headers=extra_headers, |
| 21 | resp_inc=include, resp_exc=exclude) |
| 22 |