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

Kevin Harwell asteriskteam at digium.com
Fri Jul 20 14:44:00 CDT 2018


Kevin Harwell has submitted this change and it was merged. ( https://gerrit.asterisk.org/9535 )

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(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  Kevin Harwell: Looks good to me, approved; Approved for Submit



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/9535
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I145b550ba7054640c7faa3b644e63137f505c612
Gerrit-Change-Number: 9535
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180720/269da6f7/attachment-0001.html>


More information about the asterisk-code-review mailing list