Hi All

We are facing the same issue using Sofia SIP (1.12.8) NUA. (100rel is
not activated.)

This feature\hack is mandatory by our customers.
        (*We understand the debate of whether is a feature or a hack. We
still need it either way. :)

We have compared the "nua_session.c" with the one in Sofia SIP (1.12.9)
and there is no resolution for that yet.

We are trying to implement "Pekka Pessi" solution:

"You could hack nua_session.c not to ignore SDP, but compare it with
previous one, and if they differ, generate new offer (and ignore it) and
then feed new sdp as an answer to it."

Well we need some urgent help here. (Thanks in advance :))
1) How do you compare it with the previous one, and where is the
previous one (what are the APIs)?
2) How do you generate new offer and ignore it?
3) How do you feed new sdp as an answer?


If someone has already implemented "Pekka" solution please post it in
this thread.

I will post it after I complete the change. If I make it on time.


Many Thanks
Oren Bouskila

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Bernhard Suttner
Sent: Wednesday, June 04, 2008 4:35 PM
To: [EMAIL PROTECTED]
Subject: [Sofia-sip-devel] Ignoring Duplicate SDP

Hi,

I am using Sofia SIP (1.12.8) as a user agent (nua). 100rel is not
activated. 


xxx <-> PBX <-> sofia sip uagent

The PBX does send a Session Progress (183) with SDP with RTP Port 5555.
After the XXX picks up the PBX will send a 200 OK with SDP port not port
5555 but 4112. In the RFC's point of view that is allowed. 

I get the following console output:

nta: received 200 OK for INVITE (100199414)
nta: 200 OK is going to a transaction
nta: timer set to 32000 ms
nua(0x8109c88): INVITE: ignoring duplicate SDP in 200 OK


I think thats a bug. Does someone has a quick fix for that or just a
hint?

What do you think about these (nua_session.c, line ~940)

   /* Xyzzy */;
  else if (!session_get_description(sip, &sdp, &len))
    /* No SDP */;
  else if (cr->cr_answer_recv) {
    /* Ignore spurious answers after completing O/A */
    //LOG3("ignoring duplicate");
    //sdp = NULL;
  }

//LOG3("ignoring duplicate");
//sdp = NULL;


Is there any reason to ignore this SDP?

Best regards,
Bernhard Suttner



------------------------------------------------------------------------
-
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



 
 
************************************************************************
************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals &
computer viruses.
************************************************************************
************






 
 
************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer 
viruses.
************************************************************************************




-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to