|
From: | FEICHTER Christoph |
Subject: | Re: [osip-dev] 101 Dialog Established |
Date: | Wed, 14 Oct 2015 08:09:02 +0000 |
hi aymeric,
> Hi Christoph, > > I have a question regarding the 101 message. > This is correct: the 101 has been removed for interoperability purpose with non compliant app! ;) > But internally, exosip requires the creation of dialog (and did), so I kept it and discard it before it is sent. > > and my second issue is regarding ist_rcv_invite: > I guess orig_request contains the INVITE... sorry, my mistake – I meant last_response; > > but: > Yes... Seems to be. Usually, sending a 180 is made as soon as you receive the invite. That's most probably the reason why I've never hit the issue. that’s a poor excuse in my opinion. what do you suggest how to fix it ? my first approach was the following (seems to work): static void _eXosip_process_new_invite (struct eXosip_t *excontext, osip_transaction_t * transaction, osip_event_t * evt) { ... ... ... osip_transaction_set_reserved2 (transaction, jc); osip_transaction_set_reserved3 (transaction, jd);
//evt_answer = osip_new_outgoing_sipmessage (answer); //evt_answer->transactionid = transaction->transactionid; _eXosip_update (excontext); jc->c_inc_tr = transaction;
//osip_transaction_add_event (transaction, evt_answer); /* be sure the invite will be processed before any API call on this dialog */ osip_ist_execute (excontext->j_osip); if (transaction->orig_request != NULL) { _eXosip_report_call_event (excontext, EXOSIP_CALL_INVITE, jc, jd, transaction); } _eXosip_wakeup (excontext); } what do you think about this ? > Regards > br, |
[Prev in Thread] | Current Thread | [Next in Thread] |