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

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.2.1/tests/pjsua/scripts-sipp/uas-early-bye.xml

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2015-01-07 14:51:16 UTC
  • mfrom: (4.3.5 sid)
  • Revision ID: package-import@ubuntu.com-20150107145116-yxnafinf4lrdvrmx
Tags: 1.4.1-0.1ubuntu1
* Merge with Debian, remaining changes:
 - Drop soprano, nepomuk build-dep
* Drop ubuntu patches, now upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="ISO-8859-1" ?>
 
2
<!DOCTYPE scenario SYSTEM "sipp.dtd">
 
3
 
 
4
<scenario name="Early BYE">
 
5
  <recv request="INVITE" crlf="true">
 
6
    <action>
 
7
        <ereg regexp=".*" search_in="hdr" header="From" assign_to="3"/>
 
8
        <ereg regexp="sip:(.*)>" search_in="hdr" header="Contact" assign_to="4,5"/>
 
9
        <assign assign_to="4" variable="5" />
 
10
    </action>
 
11
  </recv>
 
12
 
 
13
  <send>
 
14
    <![CDATA[
 
15
      SIP/2.0 100 Trying
 
16
      [last_Via:]
 
17
      [last_From:]
 
18
      [last_To:]
 
19
      [last_Call-ID:]
 
20
      [last_CSeq:]
 
21
      Content-Length: 0
 
22
 
 
23
    ]]>
 
24
  </send>
 
25
 
 
26
  <send>
 
27
    <![CDATA[
 
28
 
 
29
      SIP/2.0 180 Ringing
 
30
      [last_Via:]
 
31
      [last_From:]
 
32
      [last_To:];tag=[call_number]
 
33
      [last_Call-ID:]
 
34
      [last_CSeq:]
 
35
      Contact: sip:sipp@[local_ip]:[local_port]
 
36
      Content-Length: 0
 
37
 
 
38
    ]]>
 
39
  </send>
 
40
 
 
41
  <send retrans="500">
 
42
    <![CDATA[
 
43
 
 
44
      BYE sip:[$5] SIP/2.0
 
45
      Via: SIP/2.0/[transport] [local_ip]:[local_port]
 
46
      From: sipp  <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
 
47
      To[$3]
 
48
      Call-ID: [call_id]
 
49
      Cseq: 1 BYE
 
50
      Contact: sip:sipp@[local_ip]:[local_port]
 
51
      Max-Forwards: 70
 
52
      Content-Length: 0
 
53
 
 
54
    ]]>
 
55
  </send>
 
56
 
 
57
   <recv response="200">
 
58
   </recv>
 
59
 
 
60
 
 
61
  <!-- definition of the response time repartition table (unit is ms)   -->
 
62
  <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
 
63
 
 
64
  <!-- definition of the call length repartition table (unit is ms)     -->
 
65
  <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
 
66
 
 
67
</scenario>
 
68