~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to tools/sippxml/testEarlyMedia.xml

  • Committer: Package Import Robot
  • Author(s): Whoopie
  • Date: 2012-03-22 10:29:10 UTC
  • mfrom: (4.1.12 sid)
  • Revision ID: package-import@ubuntu.com-20120322102910-tb8hugi2su1tguwh
Tags: 1.0.2-1ubuntu1
* Apply some upstream patches to fix FTBFS (LP: #913018):
  - debian/patches/05_glib_includes.patch: fix glib includes.
  - debian/patches/06_use_XkbKeycodeToKeysym.patch: use 
    XkbKeycodeToKeysym instead of (deprecated) XKeycodeToKeysym.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE scenario SYSTEM "sipp.dtd">
 
2
 
 
3
<!-- sudo sipp -sf testEarlyMedia.xml 127.0.0.1 -i 127.0.0.1 -p 5062 -l 1 -m 1 -mp 6000 -->
 
4
 
 
5
<scenario name="Basic UAS responder">
 
6
 
 
7
 <recv request="INVITE" crlf="true">
 
8
 </recv>
 
9
 
 
10
 
 
11
 <send>
 
12
   <![CDATA[
 
13
 
 
14
     SIP/2.0 100 Ringing
 
15
     [last_Via:]
 
16
     [last_From:]
 
17
     [last_To:];tag=[call_number]
 
18
     [last_Call-ID:]
 
19
     [last_CSeq:]
 
20
     Contact: <sip:[local_ip]:[local_port];transport=[transport]>
 
21
     Content-Length: 0
 
22
 
 
23
   ]]>
 
24
 </send>
 
25
 
 
26
 <send>
 
27
   <![CDATA[
 
28
 
 
29
     SIP/2.0 183 Trying
 
30
     [last_Via:]
 
31
     [last_From:]
 
32
     [last_To:];tag=[call_number]
 
33
     [last_Call-ID:]
 
34
     [last_CSeq:]
 
35
     Contact: <sip:[local_ip]:[local_port];transport=[transport]>
 
36
     Content-Type: application/sdp
 
37
     Content-Length: [len]
 
38
 
 
39
     v=0
 
40
     o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
 
41
     s=-
 
42
     c=IN IP[media_ip_type] [media_ip]
 
43
     t=0 0
 
44
     m=audio [media_port] RTP/AVP 0
 
45
     a=rtpmap:0 PCMU/8000
 
46
 
 
47
   ]]>
 
48
 </send>
 
49
 
 
50
 <!-- Play a pre-recorded PCAP file (RTP stream) -->
 
51
  <nop>
 
52
    <action>
 
53
      <exec play_pcap_audio="g711a.pcap"/>
 
54
    </action>
 
55
  </nop>
 
56
 
 
57
  <!-- Pause 8 seconds, which is approximately the duration of the -->
 
58
  <!-- PCAP file -->
 
59
  <pause milliseconds="8000"/>
 
60
 
 
61
 <send retrans="500">
 
62
   <![CDATA[
 
63
 
 
64
     SIP/2.0 200 OK
 
65
     [last_Via:]
 
66
     [last_From:]
 
67
     [last_To:];tag=[call_number]
 
68
     [last_Call-ID:]
 
69
     [last_CSeq:]
 
70
     Contact: <sip:[local_ip]:[local_port];transport=[transport]>
 
71
     Content-Length: [len]
 
72
 
 
73
   ]]>
 
74
 </send>
 
75
 
 
76
 <recv request="ACK"
 
77
       optional="true"
 
78
       rtd="true"
 
79
       crlf="true">
 
80
 </recv>
 
81
 
 
82
 <recv request="BYE">
 
83
 </recv>
 
84
 
 
85
 <send>
 
86
   <![CDATA[
 
87
 
 
88
     SIP/2.0 200 OK
 
89
     [last_Via:]
 
90
     [last_From:]
 
91
     [last_To:]
 
92
     [last_Call-ID:]
 
93
     [last_CSeq:]
 
94
     Contact: <sip:[local_ip]:[local_port];transport=[transport]>
 
95
     Content-Length: 0
 
96
 
 
97
   ]]>
 
98
 </send>
 
99
 
 
100
 <pause milliseconds="4000"/>
 
101
 
 
102
 
 
103
 <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
 
104
 
 
105
 <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
 
106
 
 
107
</scenario>