Author: sayer
Date: 2009-03-03 09:25:38 +0100 (Tue, 03 Mar 2009)
New Revision: 1289

Modified:
   trunk/core/AmSdp.cpp
Log:
adds parsing of u= line (URI in SDP)   



Modified: trunk/core/AmSdp.cpp
===================================================================
--- trunk/core/AmSdp.cpp        2009-03-03 08:19:43 UTC (rev 1288)
+++ trunk/core/AmSdp.cpp        2009-03-03 08:25:38 UTC (rev 1289)
@@ -433,8 +433,16 @@
          s = next;
          break;
        }
+
+      case 'u': {
+         DBG("parse_sdp_line_ex: found uri\n");
+         s = is_eql_next(s);
+         next = get_next_line(s);
+         sdp_msg->uri = string(s, int(next-s)-2);
+         s = next;
+      } break;
+
       case 'i':
-      case 'u':
       case 'e':
       case 'p':
       case 'b':

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to