Good day!

  while generate reject m= line, format field not copy.

  as result, on received SDP

----------------
    m=audio 50584 RTP/AVP 8
    a=ptime:20
    m=image 0 udptl t38
----------------

generate

----------------
    m=audio 5004 RTP/AVP 8
    a=rtpmap:8 PCMA/8000
    m=image 0 UDPTL 9
----------------

need some patch (sofia-sip-1.12.8, libsofia-sip-ua/soa/soa_static.c)

277a278
>   rejected->m_format = m->m_format;



also, while generate answer SDP, not need insert media, received as
reject in offer SDP.

791c793,794
<         s_media[i] = soa_sdp_make_rejected_media(home, rm, session, 0);
---
>         if(!rm->m_rejected)
>                 s_media[i] = soa_sdp_make_rejected_media(home, rm, session, 
> 0);       


-- 
Victor Malov, Nsk


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to