/[resiprocate]/main/resip/dum/test/UserAgent.cxx
ViewVC logotype

Diff of /main/resip/dum/test/UserAgent.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 7260 by bcampen, Mon Sep 24 22:29:59 2007 UTC revision 7272 by bcampen, Thu Sep 27 14:50:52 2007 UTC
# Line 257  Line 257 
257     InfoLog(<< h->myAddr().uri().user() << " offer requested by  "     InfoLog(<< h->myAddr().uri().user() << " offer requested by  "
258              << h->peerAddr().uri().user());              << h->peerAddr().uri().user());
259    
260     SdpContents* sdp = dynamic_cast<SdpContents*>(msg.getContents());     static Data txt("v=0\r\n"
261     h->provideOffer(*sdp);                    "o=1900 369696545 369696545 IN IP4 192.168.2.15\r\n"
262                      "s=X-Lite\r\n"
263                      "c=IN IP4 192.168.2.15\r\n"
264                      "t=0 0\r\n"
265                      "m=audio 8000 RTP/AVP 8 3 98 97 101\r\n"
266                      "a=rtpmap:8 pcma/8000\r\n"
267                      "a=rtpmap:3 gsm/8000\r\n"
268                      "a=rtpmap:98 iLBC\r\n"
269                      "a=rtpmap:97 speex/8000\r\n"
270                      "a=rtpmap:101 telephone-event/8000\r\n"
271                      "a=fmtp:101 0-15\r\n");
272    
273       static HeaderFieldValue hfv(txt.data(), txt.size());
274       static Mime type("application", "sdp");
275       static SdpContents sdp(&hfv, type);
276       h->provideOffer(sdp);
277  }  }
278    
279  void  void

Legend:
Removed from v.7260  
changed lines
  Added in v.7272

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27