Commit 4056cf07 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

Added nua_i_media_update event, NUTA_SOA_SESSION() tags.

darcs-hash:20050922124457-65a35-f4d4b334c9c2c64f5c17e8ddb7582468811b3af9.gz
parent 26b9a490
......@@ -1987,6 +1987,13 @@ int session_process_response(nua_handle_t *nh,
nh, method,
sip->sip_status->st_status,
sip->sip_status->st_phrase));
/* signal that O/A round is complete */
ua_event(nh->nh_nua, nh, NULL, nua_i_media_update,
200, "O/A round completed",
NH_ACTIVE_MEDIA_TAGS(1, nh->nh_soa),
NUTAG_SOA_SESSION(nh->nh_soa),
TAG_END());
}
}
}
......@@ -3527,6 +3534,7 @@ int ua_ack(nua_t *nua, nua_handle_t *nh, tagi_t const *tags)
return ua_event(nua, nh, NULL, nua_i_active,
200, "Call is active",
NH_ACTIVE_MEDIA_TAGS(1, nh->nh_soa),
NUTAG_SOA_SESSION(nh->nh_soa),
TAG_END());
}
......@@ -4225,6 +4233,7 @@ int process_ack(nua_handle_t *nh,
ua_event(nh->nh_nua, nh, NULL, nua_i_active,
200, "Call is active",
NH_ACTIVE_MEDIA_TAGS(1, nh->nh_soa),
NUTAG_SOA_SESSION(nh->nh_soa),
TAG_END());
set_session_timer(nh);
......
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