On 2/23/06, Pekka Pessi <[EMAIL PROTECTED]> wrote:
> > Is there any way to get the "raw" SDP, as it is in the packet?
>
> It is stored in the SOA object, however, it is not passed upwards. I
> think this is a bug or oversight in SOA and the remote SDP should be
> passed to application in its unparsed form.
You can try to apply the following patch to soa:
--- old-sofia-sip/libsofia-sip-ua/soa/soa.c 2006-02-23 22:53:22.000000000
+0200
+++ new-sofia-sip/libsofia-sip-ua/soa/soa.c 2006-02-23 22:53:22.000000000
+0200
@@ -557,7 +557,7 @@
SOATAG_LOCAL_SDP_STR(ss->ss_local->ssd_str),
SOATAG_REMOTE_SDP(ss->ss_remote->ssd_sdp),
- SOATAG_REMOTE_SDP_STR(ss->ss_remote->ssd_str),
+ SOATAG_REMOTE_SDP_STR(ss->ss_remote->ssd_unparsed),
SOATAG_AF(ss->ss_af),
SOATAG_ADDRESS(ss->ss_address),
@@ -627,7 +627,7 @@
TAG_IF(ss->ss_remote->ssd_sdp,
SOATAG_REMOTE_SDP(ss->ss_remote->ssd_sdp)),
TAG_IF(ss->ss_remote->ssd_str,
- SOATAG_REMOTE_SDP_STR(ss->ss_remote->ssd_str)),
+ SOATAG_REMOTE_SDP_STR(ss->ss_remote->ssd_unparsed)),
SOATAG_AF(ss->ss_af),
TAG_IF(ss->ss_address,
--
Pekka.Pessi mail at nokia.com
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel