[Sofia-sip-devel] INVITE without SDP: No session set by user

2007-03-05 Thread Chung Pak Lai
Hi, I am using sofia-sip to build a UAS and I am having problem of processing the initial INVITE without SDP described in rfc 3261 Chapter 13.2.1. According to the rfc (Chapter 13.3.1): "If the INVITE does not contain a session description, the UAS is being asked to participate in a sessi

Re: [Sofia-sip-devel] INVITE without SDP: No session set by user

2007-03-05 Thread Pekka Pessi
2007/3/5, Chung Pak Lai <[EMAIL PROTECTED]>: > { > if (!sip->sip_payload) > { > nua_respond(nh, 200, "OK", > TAG_NULL()); > return; > } > > However, after running this program, it terminates the call by specifiying a > 500 response with "No session set b

Re: [Sofia-sip-devel] INVITE without SDP: No session set by user

2007-03-05 Thread Chung Pak Lai
@lists.sourceforge.net Subject: Re: [Sofia-sip-devel] INVITE without SDP: No session set by user 2007/3/5, Chung Pak Lai <[EMAIL PROTECTED]>: > { > if (!sip->sip_payload) > { > nua_respond(nh, 200, "OK", > TAG_NULL()); >

Re: [Sofia-sip-devel] INVITE without SDP: No session set by user

2007-03-05 Thread Pekka Pessi
espond() (or nua_create() or nua_set_params() or nua_set_hparams()). --Pekka > -Original Message- > From: Pekka Pessi [mailto:[EMAIL PROTECTED] > Sent: Monday, March 05, 2007 10:56 AM > To: Chung Pak Lai > Cc: sofia-sip-devel@lists.sourceforge.net > Subject: Re: [Sofia-sip-devel]

Re: [Sofia-sip-devel] INVITE without SDP: No session set by user

2007-03-13 Thread Chung Pak Lai
n. -Original Message- From: Pekka Pessi [mailto:[EMAIL PROTECTED] Sent: Monday, March 05, 2007 1:14 PM To: Chung Pak Lai Cc: sofia-sip-devel@lists.sourceforge.net Subject: Re: [Sofia-sip-devel] INVITE without SDP: No session set by user 2007/3/5, Chung Pak Lai <[EMAIL PROTECTED]>:

Re: [Sofia-sip-devel] INVITE without SDP: No session set by user

2007-03-19 Thread Pekka Pessi
2007/3/13, Chung Pak Lai <[EMAIL PROTECTED]>: > The problem I am having is that the second user SDP in the 200OK (INVITE > with SDP) doesn't overwrite the SDP message in the first 200OK (INVITE > without SDP). Why it should overwrite it? If you want to use different SDP later, you can set it with