pjsip_resolver.c: Use replacement function

* Use the replacement function ast_sip_push_task_wait_servant() instead of
the deprecated ast_sip_push_task_synchronous().

Change-Id: I145b550ba7054640c7faa3b644e63137f505c612
This commit is contained in:
Richard Mudgett 2018-07-19 13:27:30 -05:00
parent 27438e9000
commit 8a100ca52b
1 changed files with 1 additions and 1 deletions

View File

@ -704,7 +704,7 @@ static int sip_replace_resolver(void *data)
void ast_sip_initialize_resolver(void)
{
/* Replace the existing PJSIP resolver with our own implementation */
ast_sip_push_task_synchronous(NULL, sip_replace_resolver, NULL);
ast_sip_push_task_wait_servant(NULL, sip_replace_resolver, NULL);
}
#else