Hi, 

>-----Original Message-----
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On 
>Behalf Of ext Jerry Richards
>Sent: Tuesday, June 26, 2007 8:00 PM
>To: sofia-sip-devel@lists.sourceforge.net
>Subject: [Sofia-sip-devel] SDP Events Reported to User Application
>
>Does sofia-sip ALWAYS report SDP changes to the application?
>
>Does sofia-sip suppress reporting of SDP events when it does 
>not differ from what was last reported?

I've found experimentally this is not the case, at least when NUTAG_AUTOANSWER 
is set to false.
The reason being, nua callstate changes when a re-INVITE is received and 
nua_i_state is issued with the new callstate plus the remote SDP which may or 
may not differ from the previous one.

I solved this by keeping the previous sdp_media_t description and checking for 
changes with sdp_session_cmp(). Media stream descriptions can also be compared 
piecewise with sdp_media_cmp(), and so further down.

Hope this helps,
  Mikhail
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to