[svn-commits] mjordan: testsuite/asterisk/trunk r3028 - in /asterisk/trunk/tests/channels/S...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Feb 9 10:48:57 CST 2012


Author: mjordan
Date: Thu Feb  9 10:48:50 2012
New Revision: 3028

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3028
Log:
Add SIP INFO DTMF handling tests

This adds a new test for SIP called info_dtmf.  It tests for proper
handling of SIP INFO requests containing DTMF events.  This includes
both application/dtmf-relay and application/dtmf content types.

Review: https://reviewboard.asterisk.org/r/1723/

Added:
    asterisk/trunk/tests/channels/SIP/info_dtmf/
    asterisk/trunk/tests/channels/SIP/info_dtmf/configs/
    asterisk/trunk/tests/channels/SIP/info_dtmf/configs/ast1/
    asterisk/trunk/tests/channels/SIP/info_dtmf/configs/ast1/extensions.conf   (with props)
    asterisk/trunk/tests/channels/SIP/info_dtmf/configs/ast1/sip.conf   (with props)
    asterisk/trunk/tests/channels/SIP/info_dtmf/run-test   (with props)
    asterisk/trunk/tests/channels/SIP/info_dtmf/sipp/
    asterisk/trunk/tests/channels/SIP/info_dtmf/sipp/dtmf-relay.xml   (with props)
    asterisk/trunk/tests/channels/SIP/info_dtmf/sipp/dtmf.xml   (with props)
    asterisk/trunk/tests/channels/SIP/info_dtmf/test-config.yaml   (with props)
Modified:
    asterisk/trunk/tests/channels/SIP/tests.yaml

Added: asterisk/trunk/tests/channels/SIP/info_dtmf/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/info_dtmf/configs/ast1/extensions.conf?view=auto&rev=3028
==============================================================================
--- asterisk/trunk/tests/channels/SIP/info_dtmf/configs/ast1/extensions.conf (added)
+++ asterisk/trunk/tests/channels/SIP/info_dtmf/configs/ast1/extensions.conf Thu Feb  9 10:48:50 2012
@@ -1,0 +1,7 @@
+[default]
+
+exten => _.,1,NoOp()
+
+exten => test,1,Answer()
+exten => test,n,Wait(10)
+exten => test,n,HangUp()

Propchange: asterisk/trunk/tests/channels/SIP/info_dtmf/configs/ast1/extensions.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/trunk/tests/channels/SIP/info_dtmf/configs/ast1/extensions.conf
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/trunk/tests/channels/SIP/info_dtmf/configs/ast1/extensions.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/trunk/tests/channels/SIP/info_dtmf/configs/ast1/sip.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/info_dtmf/configs/ast1/sip.conf?view=auto&rev=3028
==============================================================================
--- asterisk/trunk/tests/channels/SIP/info_dtmf/configs/ast1/sip.conf (added)
+++ asterisk/trunk/tests/channels/SIP/info_dtmf/configs/ast1/sip.conf Thu Feb  9 10:48:50 2012
@@ -1,0 +1,9 @@
+[general]
+allowguest=yes
+sipdebug = yes
+bindaddr=127.0.0.1:5060
+
+[guest0]
+type=user
+insecure=invite,port
+dtmfmode=info

Propchange: asterisk/trunk/tests/channels/SIP/info_dtmf/configs/ast1/sip.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/trunk/tests/channels/SIP/info_dtmf/configs/ast1/sip.conf
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/trunk/tests/channels/SIP/info_dtmf/configs/ast1/sip.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/trunk/tests/channels/SIP/info_dtmf/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/info_dtmf/run-test?view=auto&rev=3028
==============================================================================
--- asterisk/trunk/tests/channels/SIP/info_dtmf/run-test (added)
+++ asterisk/trunk/tests/channels/SIP/info_dtmf/run-test Thu Feb  9 10:48:50 2012
@@ -1,0 +1,112 @@
+#!/usr/bin/env python
+# vim: sw=3 et:
+'''
+Copyright (C) 2012, Digium, Inc.
+Matt Jordan <mjordan at digium.com>
+
+This program is free software, distributed under the terms of
+the GNU General Public License Version 2.
+'''
+
+import sys
+import os
+import logging
+
+
+from twisted.internet import reactor
+
+sys.path.append("lib/python")
+
+from asterisk.sipp import SIPpScenario
+from asterisk.TestCase import TestCase
+
+"""
+The TestCase class will initialize the python logger - creating a
+logger here will log under the '__main__' namespace
+"""
+logger = logging.getLogger(__name__)
+
+TEST_DIR = os.path.dirname(os.path.realpath(__file__))
+
+class InfoDTMF(TestCase):
+    """
+    Test handling of SIP INFO requests with DTMF payloads
+    """
+
+    def __init__(self):
+        super(InfoDTMF, self).__init__()
+        """ Expected events for both scenarios.  Order matters. """
+        self.expected_events = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "#", "*", "A", "A", "A", "B", "B", "B", "C", "C", "C", "D", "D", "D",
+                                "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "#", "*", "A", "A", "A", "B", "B", "B", "C", "C", "C", "D", "D", "D"]
+        self.received_events = []
+        self.create_asterisk()
+        self.passed = True
+
+    def run(self):
+        super(InfoDTMF, self).run()
+        self.create_ami_factory()
+
+    def ami_connect(self, ami):
+        """
+        This method is called by the StarPY manager class when AMI connects to Asterisk
+
+        Keyword Arguments:
+        ami    -    The StarPY manager object that connected
+        """
+        ami.registerEvent('DTMF', self.handle_dtmf_event)
+        sipp_scenario_params = [{'scenario':'dtmf-relay.xml','-p':'5061'}, {'scenario':'dtmf.xml','-p':'5061'}]
+        for scenario_param in sipp_scenario_params:
+            sipp_scenario = SIPpScenario(TEST_DIR, scenario_param)
+            logger.info("Starting SIPp Scenario (%s)" % scenario_param['scenario'])
+            sipp_scenario.run()
+            sipp_result = sipp_scenario.waitAndEvaluate()
+
+            self.reset_timeout()
+            if (not sipp_result):
+                logger.warn("SIPp Scenario (%s) failed" % scenario_param['scenario'])
+                self.passed = False
+                self.stop_reactor()
+
+    def handle_dtmf_event(self, ami, event):
+        """
+        Callback handler for a DTMF Event received over AMI.
+
+        Keyword Arguments:
+        ami    -    The instance of AMI that received this event
+        event    -    The AMI event object
+        """
+        digit = event["digit"]
+        end = event["end"]
+        if (end == "Yes"):
+            logger.debug("Received end of DTMF digit %s" % digit)
+            self.received_events.append(digit)
+        if (len(self.received_events) == len(self.expected_events)):
+            logger.info("Received all expected events, stopping test")
+            self.stop_reactor()
+
+def main():
+    """
+    Main entry point for the test.
+    """
+
+    test = InfoDTMF()
+    test.start_asterisk()
+    reactor.run()
+    test.stop_asterisk()
+
+    if (len(test.expected_events) != len(test.received_events)):
+        logger.warn("Failed to receive %d expected events - received %d instead" % (len(test.expected_events), len(test.received_events)))
+        test.passed = False
+
+    for i in range(min(len(test.expected_events), len(test.received_events))):
+        if (test.expected_events[i] != test.received_events[i]):
+            logger.warn("Failed to received expected DTMF event [%s], received [%s] instead" % (test.expected_events[i], test.received_events[i]))
+            test.passed = False
+
+    if not test.passed:
+        return 1
+
+    return 0
+
+if __name__ == "__main__":
+   sys.exit(main() or 0)

Propchange: asterisk/trunk/tests/channels/SIP/info_dtmf/run-test
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/trunk/tests/channels/SIP/info_dtmf/run-test
------------------------------------------------------------------------------
    svn:executable = *

Propchange: asterisk/trunk/tests/channels/SIP/info_dtmf/run-test
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/trunk/tests/channels/SIP/info_dtmf/run-test
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/trunk/tests/channels/SIP/info_dtmf/sipp/dtmf-relay.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/info_dtmf/sipp/dtmf-relay.xml?view=auto&rev=3028
==============================================================================
--- asterisk/trunk/tests/channels/SIP/info_dtmf/sipp/dtmf-relay.xml (added)
+++ asterisk/trunk/tests/channels/SIP/info_dtmf/sipp/dtmf-relay.xml Thu Feb  9 10:48:50 2012
@@ -1,0 +1,733 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE scenario SYSTEM "sipp.dtd">
+
+<scenario name="INFO Test">
+  <!-- Connect to Asterisk -->
+  <send retrans="500">
+    <![CDATA[
+
+      INVITE sip:test@[remote_ip]:[remote_port] SIP/2.0
+      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+      From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+      To: test <sip:test@[remote_ip]:[remote_port]>
+      Call-ID: [call_id]
+      CSeq: 1 INVITE
+      Contact: sip:test@[local_ip]:[local_port]
+      Max-Forwards: 70
+      Subject: INFO Test
+      User-Agent: Channel Param Test
+      Content-Type: application/sdp
+      Content-Length: [len]
+
+      v=0
+      o=guest1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
+      s=-
+      c=IN IP[media_ip_type] [media_ip]
+      t=0 0
+      m=audio 6000 RTP/AVP 0 3
+      a=rtpmap:0 PCMU/8000
+      a=rtpmap:3 GSM/8000
+    ]]>
+  </send>
+
+  <recv response="100"
+        optional="true">
+  </recv>
+
+  <recv response="180" optional="true">
+  </recv>
+
+  <recv response="183" optional="true">
+  </recv>
+
+  <recv response="200" rtd="true">
+  </recv>
+
+  <send>
+    <![CDATA[
+
+      ACK sip:test@[remote_ip]:[remote_port] SIP/2.0
+      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+      From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+      To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+      Call-ID: [call_id]
+      CSeq: 1 ACK
+      Contact:sip:test@[local_ip]:[local_port]
+      Max-Forwards: 70
+      Subject: INFO Test
+      Content-Length: 0
+
+    ]]>
+  </send>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 2 INFO
+		Supported: timer
+		Content-Type: application/dtmf-relay
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		Signal=1
+		Duration=160
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 3 INFO
+		Supported: timer
+		Content-Type: application/dtmf-relay
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		Signal=2
+		Duration=160
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 4 INFO
+		Supported: timer
+		Content-Type: application/dtmf-relay
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		Signal=3
+		Duration=160
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 5 INFO
+		Supported: timer
+		Content-Type: application/dtmf-relay
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		Signal=4
+		Duration=160
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 6 INFO
+		Supported: timer
+		Content-Type: application/dtmf-relay
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		Signal=5
+		Duration=160
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 7 INFO
+		Supported: timer
+		Content-Type: application/dtmf-relay
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		Signal=6
+		Duration=160
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 8 INFO
+		Supported: timer
+		Content-Type: application/dtmf-relay
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		Signal=7
+		Duration=160
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 9 INFO
+		Supported: timer
+		Content-Type: application/dtmf-relay
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		Signal=8
+		Duration=160
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 10 INFO
+		Supported: timer
+		Content-Type: application/dtmf-relay
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		Signal=9
+		Duration=160
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 11 INFO
+		Supported: timer
+		Content-Type: application/dtmf-relay
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		Signal=0
+		Duration=160
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 12 INFO
+		Supported: timer
+		Content-Type: application/dtmf-relay
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		Signal=11
+		Duration=160
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 13 INFO
+		Supported: timer
+		Content-Type: application/dtmf-relay
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		Signal=10
+		Duration=160
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 14 INFO
+		Supported: timer
+		Content-Type: application/dtmf-relay
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		Signal=A
+		Duration=160
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+    <![CDATA[
+
+        INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+        Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+        Max-Forwards: 70
+        Content-Length: [len]
+        From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+        To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+        Call-ID: [call_id]
+        CSeq: 15 INFO
+        Supported: timer
+        Content-Type: application/dtmf-relay
+        Contact: sip:test@[local_ip]:[local_port]
+        Supported: replaces
+        User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+        Signal=a
+        Duration=160
+    ]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+    <![CDATA[
+
+        INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+        Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+        Max-Forwards: 70
+        Content-Length: [len]
+        From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+        To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+        Call-ID: [call_id]
+        CSeq: 16 INFO
+        Supported: timer
+        Content-Type: application/dtmf-relay
+        Contact: sip:test@[local_ip]:[local_port]
+        Supported: replaces
+        User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+        Signal=12
+        Duration=160
+    ]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 17 INFO
+		Supported: timer
+		Content-Type: application/dtmf-relay
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		Signal=b
+		Duration=160
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+    <![CDATA[
+
+        INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+        Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+        Max-Forwards: 70
+        Content-Length: [len]
+        From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+        To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+        Call-ID: [call_id]
+        CSeq: 18 INFO
+        Supported: timer
+        Content-Type: application/dtmf-relay
+        Contact: sip:test@[local_ip]:[local_port]
+        Supported: replaces
+        User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+        Signal=B
+        Duration=160
+    ]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+    <![CDATA[
+
+        INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+        Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+        Max-Forwards: 70
+        Content-Length: [len]
+        From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+        To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+        Call-ID: [call_id]
+        CSeq: 19 INFO
+        Supported: timer
+        Content-Type: application/dtmf-relay
+        Contact: sip:test@[local_ip]:[local_port]
+        Supported: replaces
+        User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+        Signal=13
+        Duration=160
+    ]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 20 INFO
+		Supported: timer
+		Content-Type: application/dtmf-relay
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		Signal=c
+		Duration=160
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+    <![CDATA[
+
+        INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+        Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+        Max-Forwards: 70
+        Content-Length: [len]
+        From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+        To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+        Call-ID: [call_id]
+        CSeq: 21 INFO
+        Supported: timer
+        Content-Type: application/dtmf-relay
+        Contact: sip:test@[local_ip]:[local_port]
+        Supported: replaces
+        User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+        Signal=C
+        Duration=160
+    ]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+    <![CDATA[
+
+        INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+        Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+        Max-Forwards: 70
+        Content-Length: [len]
+        From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+        To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+        Call-ID: [call_id]
+        CSeq: 22 INFO
+        Supported: timer
+        Content-Type: application/dtmf-relay
+        Contact: sip:test@[local_ip]:[local_port]
+        Supported: replaces
+        User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+        Signal=14
+        Duration=160
+    ]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 23 INFO
+		Supported: timer
+		Content-Type: application/dtmf-relay
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		Signal=d
+		Duration=160
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+    <![CDATA[
+
+        INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+        Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+        Max-Forwards: 70
+        Content-Length: [len]
+        From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+        To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+        Call-ID: [call_id]
+        CSeq: 24 INFO
+        Supported: timer
+        Content-Type: application/dtmf-relay
+        Contact: sip:test@[local_ip]:[local_port]
+        Supported: replaces
+        User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+        Signal=D
+        Duration=160
+    ]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+    <![CDATA[
+
+        INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+        Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+        Max-Forwards: 70
+        Content-Length: [len]
+        From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+        To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+        Call-ID: [call_id]
+        CSeq: 25 INFO
+        Supported: timer
+        Content-Type: application/dtmf-relay
+        Contact: sip:test@[local_ip]:[local_port]
+        Supported: replaces
+        User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+        Signal=15
+        Duration=160
+    ]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+    <![CDATA[
+
+        INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+        Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+        Max-Forwards: 70
+        Content-Length: [len]
+        From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+        To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+        Call-ID: [call_id]
+        CSeq: 26 INFO
+        Supported: timer
+        Content-Type: application/dtmf-relay
+        Contact: sip:test@[local_ip]:[local_port]
+        Supported: replaces
+        User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+        Signal=16
+        Duration=160
+    ]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+    <![CDATA[
+
+        INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+        Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+        Max-Forwards: 70
+        From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+        To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+        Call-ID: [call_id]
+        CSeq: 27 INFO
+        Supported: timer
+        Content-Type: application/dtmf-relay
+        Contact: sip:test@[local_ip]:[local_port]
+        Supported: replaces
+        User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+        Content-Length: [len]
+
+    ]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+    <!-- Wait for the BYE from Asterisk -->
+    <recv request="BYE"/>
+
+    <send retrans="500">
+        <![CDATA[
+            SIP/2.0 200 OK
+            [last_Via:]
+            [last_From:]
+            [last_To:];tag=[call_number]
+            [last_Call-ID:]
+            [last_CSeq:]
+            Contact: <sip:test@[local_ip]:[local_port];transport=[transport]>
+            Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER
+            Supported: 100rel,replaces
+            User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+            Accept-Language: en
+            Content-Type: application/sdp
+            Content-Length: 0
+        ]]>
+    </send>
+
+</scenario>
+

Propchange: asterisk/trunk/tests/channels/SIP/info_dtmf/sipp/dtmf-relay.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/trunk/tests/channels/SIP/info_dtmf/sipp/dtmf-relay.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/trunk/tests/channels/SIP/info_dtmf/sipp/dtmf-relay.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/trunk/tests/channels/SIP/info_dtmf/sipp/dtmf.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/info_dtmf/sipp/dtmf.xml?view=auto&rev=3028
==============================================================================
--- asterisk/trunk/tests/channels/SIP/info_dtmf/sipp/dtmf.xml (added)
+++ asterisk/trunk/tests/channels/SIP/info_dtmf/sipp/dtmf.xml Thu Feb  9 10:48:50 2012
@@ -1,0 +1,709 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE scenario SYSTEM "sipp.dtd">
+
+<scenario name="INFO Test">
+  <!-- Connect to Asterisk -->
+  <send retrans="500">
+    <![CDATA[
+
+      INVITE sip:test@[remote_ip]:[remote_port] SIP/2.0
+      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+      From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+      To: test <sip:test@[remote_ip]:[remote_port]>
+      Call-ID: [call_id]
+      CSeq: 1 INVITE
+      Contact: sip:test@[local_ip]:[local_port]
+      Max-Forwards: 70
+      Subject: INFO Test
+      User-Agent: Channel Param Test
+      Content-Type: application/sdp
+      Content-Length: [len]
+
+      v=0
+      o=guest1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
+      s=-
+      c=IN IP[media_ip_type] [media_ip]
+      t=0 0
+      m=audio 6000 RTP/AVP 0 3
+      a=rtpmap:0 PCMU/8000
+      a=rtpmap:3 GSM/8000
+    ]]>
+  </send>
+
+  <recv response="100"
+        optional="true">
+  </recv>
+
+  <recv response="180" optional="true">
+  </recv>
+
+  <recv response="183" optional="true">
+  </recv>
+
+  <recv response="200" rtd="true">
+  </recv>
+
+  <send>
+    <![CDATA[
+
+      ACK sip:test@[remote_ip]:[remote_port] SIP/2.0
+      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+      From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+      To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+      Call-ID: [call_id]
+      CSeq: 1 ACK
+      Contact:sip:test@[local_ip]:[local_port]
+      Max-Forwards: 70
+      Subject: INFO Test
+      Content-Length: 0
+
+    ]]>
+  </send>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 2 INFO
+		Supported: timer
+		Content-Type: application/dtmf
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		1
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 3 INFO
+		Supported: timer
+		Content-Type: application/dtmf
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		2
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 4 INFO
+		Supported: timer
+		Content-Type: application/dtmf
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		3
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 5 INFO
+		Supported: timer
+		Content-Type: application/dtmf
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		4
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 6 INFO
+		Supported: timer
+		Content-Type: application/dtmf
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		5
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 7 INFO
+		Supported: timer
+		Content-Type: application/dtmf
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		6
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 8 INFO
+		Supported: timer
+		Content-Type: application/dtmf
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		7
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 9 INFO
+		Supported: timer
+		Content-Type: application/dtmf
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		8
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 10 INFO
+		Supported: timer
+		Content-Type: application/dtmf
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		9
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 11 INFO
+		Supported: timer
+		Content-Type: application/dtmf
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces
+		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
+
+		0
+	]]>
+  </send>
+
+  <recv response="200" crlf="true">
+  </recv>
+
+  <send retrans="500">
+	<![CDATA[
+
+		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
+		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+		Max-Forwards: 70
+		Content-Length: [len]
+		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
+		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
+		Call-ID: [call_id]
+		CSeq: 12 INFO
+		Supported: timer
+		Content-Type: application/dtmf
+		Contact: sip:test@[local_ip]:[local_port]
+		Supported: replaces

[... 452 lines stripped ...]



More information about the svn-commits mailing list