[Asterisk-code-review] pjsip resolver.c: Use replacement function (asterisk[15])

Richard Mudgett asteriskteam at digium.com
Thu Jul 19 13:54:05 CDT 2018


Richard Mudgett has uploaded this change for review. ( https://gerrit.asterisk.org/9533


Change subject: pjsip_resolver.c: Use replacement function
......................................................................

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
---
M res/res_pjsip/pjsip_resolver.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/33/9533/1

diff --git a/res/res_pjsip/pjsip_resolver.c b/res/res_pjsip/pjsip_resolver.c
index 5fd4464..bc53990 100644
--- a/res/res_pjsip/pjsip_resolver.c
+++ b/res/res_pjsip/pjsip_resolver.c
@@ -704,7 +704,7 @@
 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

-- 
To view, visit https://gerrit.asterisk.org/9533
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: newchange
Gerrit-Change-Id: I145b550ba7054640c7faa3b644e63137f505c612
Gerrit-Change-Number: 9533
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180719/44b8bd66/attachment.html>


More information about the asterisk-code-review mailing list