Re: [Sofia-sip-devel] Disabling automatic answer to Re-Invites

2006-09-15 Thread Pekka Pessi
On 9/15/06, Alberto Takeshi Mayama <[EMAIL PROTECTED]> wrote: > > Setting NUTAG_AUTOANSWER(0) on the handle itself helps, e.g., you can > > include it in nua_respond() tags or nua_invite(). > setting the tag on the handle worked, but it must be done with a > separate call to nua_set_hparams(). OK

Re: [Sofia-sip-devel] Disabling automatic answer to Re-Invites

2006-09-15 Thread Alberto Takeshi Mayama
Pekka Pessi wrote: > Setting NUTAG_AUTOANSWER(0) on the handle itself helps, e.g., you can > include it in nua_respond() tags or nua_invite(). Hi Pekka, setting the tag on the handle worked, but it must be done with a separate call to nua_set_hparams(). Adding it directly to nua_respond() has n

Re: [Sofia-sip-devel] Disabling automatic answer to Re-Invites

2006-09-14 Thread Pekka Pessi
On 9/15/06, Alberto Takeshi Mayama <[EMAIL PROTECTED]> wrote: > But if the distant end sends Re-Invite (putting the call on-hold for > example), nua will automatically respond with a 200 OK with no contents > (since SOA is disabled, original SDP was not stored). > Then, this causes the distant end

[Sofia-sip-devel] Disabling automatic answer to Re-Invites

2006-09-14 Thread Alberto Takeshi Mayama
Hello, to disable SOA processing, I'm calling nua_create with NUTAG_MEDIA_ENABLE(0). Then, when the nua_i_invite arrives, I call nua_respond(200) with SIPTAG_CONTENT_TYPE_STR and SIPTAG_PAYLOAD_STR. Till this point everything is fine. But if the distant end sends Re-Invite (putting the call on-