Skip to content
Snippets Groups Projects
Commit 8a100ca5 authored by Richard Mudgett's avatar Richard Mudgett
Browse files

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
parent 27438e90
Branches
Tags
No related merge requests found
...@@ -704,7 +704,7 @@ static int sip_replace_resolver(void *data) ...@@ -704,7 +704,7 @@ static int sip_replace_resolver(void *data)
void ast_sip_initialize_resolver(void) void ast_sip_initialize_resolver(void)
{ {
/* Replace the existing PJSIP resolver with our own implementation */ /* 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 #else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment