~ubuntu-branches/ubuntu/raring/sflphone/raring

« back to all changes in this revision

Viewing changes to tools/sippxml/ip2ip_uas_recv_hangup.xml

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2012-05-27 08:22:22 UTC
  • mfrom: (4.1.15 sid)
  • Revision ID: package-import@ubuntu.com-20120527082222-fs3ojksqvt0ol6rl
Tags: 1.1.0-2
* Drop unsupported CELT codec (Build-Depends)
  - Fixes "Spurious build dependency on libcelt-dev" (Closes: #674644)

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
 
 
4
 
<scenario name="Basic UAS responder">
5
 
 
6
 
 <recv request="INVITE" crlf="true">
7
 
 </recv>
8
 
 
9
 
 
10
 
 <send>
11
 
   <![CDATA[
12
 
 
13
 
     SIP/2.0 180 Ringing
14
 
     [last_Via:]
15
 
     [last_From:]
16
 
     [last_To:];tag=[call_number]
17
 
     [last_Call-ID:]
18
 
     [last_CSeq:]
19
 
     Contact: <sip:[local_ip]:[local_port];transport=[transport]>
20
 
     Content-Length: 0
21
 
 
22
 
   ]]>
23
 
 </send>
24
 
 
25
 
 <send retrans="500">
26
 
   <![CDATA[
27
 
 
28
 
     SIP/2.0 200 OK
29
 
     [last_Via:]
30
 
     [last_From:]
31
 
     [last_To:];tag=[call_number]
32
 
     [last_Call-ID:]
33
 
     [last_CSeq:]
34
 
     Contact: <sip:[local_ip]:[local_port];transport=[transport]>
35
 
     Content-Type: application/sdp
36
 
     Content-Length: [len]
37
 
 
38
 
     v=0
39
 
     o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
40
 
     s=-
41
 
     c=IN IP[media_ip_type] [media_ip]
42
 
     t=0 0
43
 
     m=audio [media_port] RTP/AVP 0
44
 
     a=rtpmap:0 PCMU/8000
45
 
 
46
 
   ]]>
47
 
 </send>
48
 
 
49
 
 <!-- tag from From: header is required to build the To: header in
50
 
   -- Bye request. -->
51
 
 
52
 
 <recv request="ACK">
53
 
   <action>
54
 
    <ereg regexp="tag=.*" search_in="hdr" header="From:" check_it="true" assign_to="1" />
55
 
  </action>
56
 
 </recv>
57
 
 
58
 
 <pause milliseconds="500"/>
59
 
 
60
 
 <send retrans="500">
61
 
    <![CDATA[
62
 
 
63
 
      BYE sip:[service] SIP/2.0
64
 
      Via: SIP/2.0/[transport] [local_ip]:[local_port];rport;branch=[branch]
65
 
      From: <sip:[local_ip]:[local_port]>;tag=[call_number]
66
 
      To: <sip:[remote_ip]:[remote_port]>;[$1]
67
 
      [last_Call-ID:]
68
 
      CSeq: [cseq] BYE
69
 
      Contact: <sip:test@[local_ip]:[local_port]>
70
 
      Max-Forwards: 70
71
 
      Subject: Functional Test
72
 
      Content-Length: 0
73
 
 
74
 
    ]]>
75
 
  </send>
76
 
 
77
 
 <recv response="200">
78
 
 </recv>
79
 
 
80
 
 <pause milliseconds="1000"/>
81
 
 
82
 
 
83
 
 <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
84
 
 
85
 
 <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
86
 
 
87
 
</scenario>