Hi Mikhail,
thanks for your hint. 488 seems to be the correct status code in this
situation.
Unfortunately this does not solve the problem I described in my original
message ;-)
For now I implemented a solution that checks the SDP in the nua_i_invite
callback and it works (but I do not rally like the solution).
Kind regards
Stefan
Your Partner for Internet & Networking Technologies!
____________________________________________________
Meriedweg 11 / CH-3172 Niederwangen
Phone: +41 31 985 25 10 / Fax: +41 31 985 25 11
[EMAIL PROTECTED]
www.netmodule.com
____________________________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, October 08, 2007 4:09 PM
To: Stefan Leuenberger; sofia-sip-devel@lists.sourceforge.net
Subject: RE: [Sofia-sip-devel] Reject calls in nua_i_invite based on SDP
Hi,
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ext
Stefan Leuenberger
Sent: Monday, October 01, 2007 5:53 PM
To: sofia-sip-devel@lists.sourceforge.net
Subject: [Sofia-sip-devel] Reject calls in nua_i_invite based on
SDP
Hi there,
when I use nua with automatic SDP (soa) my application gets two
callbacks:
1. nua_i_invite --> signaling the reception of the invite
message
2. nua_i_state --> reporting the parsing results of the
SDP=20
SIP stack and phone-application run in separate processes.
On nua_i_invite I send an INVITE to the phone-application and it
starts to ring.
If I get nua_i_state I check if the SDP fits. If I recognize
that the SDP does not fit (e.g. since I only support SRTP calls and the
invite only contains SDP for plain RTP), I send a 415 "Unsupported Media
Type"
and the call is canceled.
Isn't 488 the proper status code to use here?
BR,
Mikhail
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel