blob: 4dc89b82867b9d804e44cb458442dfb33bbfae2a [file] [log] [blame]
Neels Hofmeyra1756f32016-05-20 21:59:55 +02001
2===== test_crcx =====
3composed:
4-----
5CRCX 1 17@mgw MGCP 1.0
6C: 2a
7L: p:20, a:AMR, nt:IN
8M: loopback
9
10-----
11composed response:
12-----
13200 1 OK
14I: 1
15
16v=0
17o=- 1 23 IN IP4 10.9.1.120
18s=-
19c=IN IP4 10.9.1.120
20t=0 0
21m=audio 16002 RTP/AVP 98
22a=rtpmap:98 AMR/8000
23a=ptime:20
24
25-----
26response cb received:
27 head.response_code = 200
28 head.trans_id = 1
29 head.comment = OK
30 audio_port = 16002
Philipp Maier06da85e2017-10-05 18:49:24 +020031 audio_ip = 10.9.1.120
Philipp Maier1dc6be62017-10-05 18:25:37 +020032
33Generated CRCX message:
34CRCX 1 23@mgw MGCP 1.0
35C: 2f
36I: 11
37L: p:20, a:AMR, nt:IN
38M: sendrecv
39
40Generated MDCX message:
41MDCX 2 23@mgw MGCP 1.0
42C: 2f
43I: 11
44M: sendrecv
45
Philipp Maier9d25d7a2018-01-22 17:31:10 +010046v=0
Philipp Maier9d25d7a2018-01-22 17:31:10 +010047o=- 2f 23 IN IP4 127.0.0.1
Philipp Maierb7594732018-01-31 16:44:00 +010048s=-
Philipp Maier1dc6be62017-10-05 18:25:37 +020049c=IN IP4 192.168.100.23
Philipp Maier9d25d7a2018-01-22 17:31:10 +010050t=0 0
Philipp Maierb7594732018-01-31 16:44:00 +010051m=audio 1234 RTP/AVP 255
Philipp Maier1dc6be62017-10-05 18:25:37 +020052
53Generated DLCX message:
54DLCX 3 23@mgw MGCP 1.0
55C: 2f
56I: 11
57
58Generated AUEP message:
59AUEP 4 23@mgw MGCP 1.0
60
61Generated RSIP message:
62RSIP 5 23@mgw MGCP 1.0
63
64Overfolow test:
65
Neels Hofmeyrc8f37cb2017-11-30 13:43:11 +010066
67test_mgcp_client_cancel():
68composed:
69-----
70CRCX 1 23@mgw MGCP 1.0
71C: 2f
72I: 11
73L: p:20, a:AMR, nt:IN
74M: sendrecv
75
76-----
77composed response:
78-----
79200 1 OK
80I: 1
81
82v=0
83
84-----
Neels Hofmeyra1756f32016-05-20 21:59:55 +020085Done