Closed GoogleCodeExporter closed 9 years ago
I'm testing a patch.
Tell me what you think about this.
modules\mrcp-sofiasip\src\mrcp_sofiasip_client_agent.c
93a94,101
> static void mrcp_sofia_on_session_terminate(
> int status,
> mrcp_sofia_agent_t
*sofia_agent,
> nua_handle_t *nh,
> mrcp_sofia_session_t
*sofia_session,
> sip_t const *sip,
> tagi_t tags[]);
>
329,331c338,340
< apr_thread_mutex_lock(sofia_session->mutex);
<
< if(sofia_session->nh) {
---
> if(sofia_session->nh)
> {
> apr_thread_mutex_lock(sofia_session->mutex);
336,338c345,352
< }
<
< apr_thread_mutex_unlock(sofia_session->mutex);
---
> apr_thread_mutex_unlock(sofia_session->mutex);
> }
> else
> {
> apt_log(APT_LOG_MARK,APT_PRIO_INFO,"SIP stack is invalid.
Destroying session."APT_NAMESID_FMT"\n", session->name,
MRCP_SESSION_SID(session));
> mrcp_sofia_on_session_terminate(0, NULL, NULL, sofia_session, NULL,
NULL);
> }
>
Original comment by vasco.ne...@sapo.pt
on 16 Aug 2011 at 9:54
Fixed in r1894.
Original comment by achalo...@gmail.com
on 7 Mar 2013 at 2:45
Original issue reported on code.google.com by
vasco.ne...@sapo.pt
on 27 Jul 2011 at 4:55