if (cr->cr_status < 200) {
nua_stack_event(nh->nh_nua, nh,
NULL,
- cr->cr_event,
+ (enum nua_event_e)cr->cr_event,
SIP_481_NO_TRANSACTION,
NULL);
}
extern nua_client_methods_t const nua_bye_client_methods;
extern nua_client_methods_t const nua_cancel_client_methods;
-extern nua_client_methods_t const nua_info_client_methods;
extern nua_client_methods_t const nua_update_client_methods;
extern nua_client_methods_t const nua_prack_client_methods;
nua_stack_event(nh->nh_nua, nh,
response,
- cr->cr_event,
+ (enum nua_event_e)cr->cr_event,
status, phrase,
tags);
ss->ss_reporting = 0;
- signal_call_state_change(nh, ss, status, phrase, next_state);
+ signal_call_state_change(nh, ss, status, phrase, (enum nua_callstate)next_state);
msg_destroy(response);
nua_stack_event(nh->nh_nua, nh,
nta_outgoing_getresponse(orq),
- cr->cr_event,
+ (enum nua_event_e)cr->cr_event,
status, phrase,
tags);
}
}
- signal_call_state_change(nh, ss, status, phrase, next_state);
+ signal_call_state_change(nh, ss, status, phrase, (enum nua_callstate)next_state);
}
if (acked &&
0, /* crm_extra */
{ /* crm_flags */
/* create_dialog */ 0,
- /* in_dialog */ 0,
+ /* in_dialog */ 1,
/* target refresh */ 0
},
NULL, /* crm_template */
- NULL, /* crm_init */
- NULL, /* crm_send */
+ NULL, /* crm_init */
+ NULL, /* crm_send */
NULL, /* crm_check_restart */
NULL, /* crm_recv */
NULL, /* crm_preliminary */
nua_i_info, /* Event */
{
0, /* Do not create dialog */
- 0, /* In-dialog request */
+ 0, /* Allow outside dialog, too */
0, /* Not a target refresh request */
0, /* Do not add Contact */
},
nua_stack_event(nh->nh_nua, nh,
nta_outgoing_getresponse(orq),
- cr->cr_event,
+ (enum nua_event_e)cr->cr_event,
status, phrase,
tags);
}
}
- signal_call_state_change(nh, ss, status, phrase, next_state);
+ signal_call_state_change(nh, ss, status, phrase, (enum nua_callstate)next_state);
}
return 1;
nua_stack_event(nh->nh_nua, nh,
nta_outgoing_getresponse(orq),
- cr->cr_event,
+ (enum nua_event_e)cr->cr_event,
status, phrase,
tags);