From: Richard Mudgett Date: Thu, 19 Jul 2018 18:27:30 +0000 (-0500) Subject: pjsip_resolver.c: Use replacement function X-Git-Tag: 15.6.0-rc1~70^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4b6900a22f171073e9af81e492a5e73fee8bc61;p=thirdparty%2Fasterisk.git 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 --- diff --git a/res/res_pjsip/pjsip_resolver.c b/res/res_pjsip/pjsip_resolver.c index 5fd446468b..bc53990e36 100644 --- a/res/res_pjsip/pjsip_resolver.c +++ b/res/res_pjsip/pjsip_resolver.c @@ -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