[Freeswitch-svn] [commit] r8016 - freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sip

Freeswitch SVN mikej at freeswitch.org
Thu Apr 3 18:32:47 EDT 2008


Author: mikej
Date: Thu Apr  3 18:32:46 2008
New Revision: 8016

Modified:
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sip/torture_sip.c

Log:
Wed Mar 26 07:20:16 EDT 2008  Pekka.Pessi at nokia.com
  * torture_sip.c: updated tests (quoting semicolon in query/header part)



Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sip/torture_sip.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sip/torture_sip.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sip/torture_sip.c	Thu Apr  3 18:32:46 2008
@@ -281,7 +281,7 @@
      TAG_END());
 
   TEST_1(s);
-  TEST_S(s, "to=%22Joe%22%20%3Csip%3Ajoe at example.com%3E;tag%3Dfoofaa"
+  TEST_S(s, "to=%22Joe%22%20%3Csip%3Ajoe at example.com%3E%3Btag%3Dfoofaa"
 	 "&subject=foo");
 
   url = url_format(home, "sip:test at example.net?%s", s); TEST_1(url);
@@ -290,19 +290,19 @@
 
   s = sip_headers_as_url_query
     (home,
-     SIPTAG_FROM_STR("<sip:joe at example.com>"),
+     SIPTAG_FROM_STR("<sip:joe at example.com;user=ip>"),
      SIPTAG_ACCEPT_STR(""),
      SIPTAG_PAYLOAD_STR("hello"),
      SIPTAG_ACCEPT_STR(""),
      TAG_END());
 
-  TEST_S(s, "from=%3Csip%3Ajoe at example.com%3E"
+  TEST_S(s, "from=%3Csip%3Ajoe at example.com%3Buser%3Dip%3E"
 	 "&accept="
 	 "&body=hello"
 	 "&accept=");
 
   d = url_query_as_header_string(home, s);
-  TEST_S(d, "from:<sip:joe at example.com>\n"
+  TEST_S(d, "from:<sip:joe at example.com;user=ip>\n"
 	 "accept:\n"
 	 "accept:\n"
 	 "\n"



More information about the Freeswitch-svn mailing list