Commit 32889f90 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

Added keepalive and probe OPTIONS to registration.

parent f4bc07a4
......@@ -109,6 +109,9 @@ int nua_stack_process_options(nua_t *nua,
int status = 200; char const *phrase = sip_200_OK;
if (register_usage_check_accept(sip->sip_accept))
return register_usage_process_options(nua->nua_registrations, irq, sip);
if (nh == NULL)
nh = nua->nua_dhandle;
This diff is collapsed.
......@@ -497,6 +497,12 @@ void nua_stack_signal(nua_t *nua, su_msg_r msg, event_t *e);
int nua_stack_registrations_init(nua_t *nua);
int register_usage_check_accept(sip_accept_t const *accept);
int register_usage_process_options(struct register_usage *usages,
nta_incoming_t *irq,
sip_t const *sip);
void nua_stack_post_signal(nua_handle_t *nh, nua_event_t event,
tag_type_t tag, tag_value_t value, ...);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment