In Sofia-SIP application I want to implement a call with SDP like:
...
m=audio 8000 RTP/AVP  0 101
a=curr:qos local sendrecv
a=curr:qos remote none
a=des:qos optional local sendrecv
a=des:qos optional remote sendrecv
a=rtpmap: 0 PCMU/8000
a=ptime:30


in which I added 4 extra attributes to a media line (curr and des)

they are in a string : g_chLocalSdpMedia

and I tried to use this SDP by calling

  nua_invite(op->handle,
             /* other tags as needed ... */

//SOATAG_LOCAL_SDP_STR(g_chLocalSdpMedia),
                                                //SOATAG_LOCAL_SDP
(g_chLocalSdpMedia),

SOATAG_USER_SDP_STR(g_chLocalSdpMedia),

SOATAG_RTP_SORT(SOA_RTP_SORT_LOCAL),

SOATAG_RTP_SELECT(SOA_RTP_SELECT_SINGLE),
             TAG_END());

In g_chLocalSdpMedia the attributes are all inside, used
SOATAG_LOCAL_SDP or SOATAG_LOCAL_SDP

But the attributes were discarded when INVITE was sent out, do you
know some ways to implement this without or with modifications to
Sofia-SIP?


Thanks!

Weijian

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to