]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7760 test_pflag not test_flag
authorBrian West <brian@freeswitch.org>
Fri, 3 Jul 2015 21:33:59 +0000 (16:33 -0500)
committerBrian West <brian@freeswitch.org>
Fri, 3 Jul 2015 21:35:52 +0000 (16:35 -0500)
src/mod/endpoints/mod_sofia/sofia.c

index 202bcf52baf3e08c29984a04f6b9945f2a8a55a9..97a9a88ede9bf0159a60b9d91f542c8400f396d9 100644 (file)
@@ -8239,7 +8239,7 @@ void sofia_handle_sip_i_refer(nua_t *nua, sofia_profile_t *profile, nua_handle_t
 
                                                        channel = switch_core_session_get_channel(a_session);
 
-                                                       if (sofia_test_flag(profile, PFLAG_CHANNEL_XML_FETCH_ON_NIGHTMARE_TRANSFER) 
+                                                       if (sofia_test_pflag(profile, PFLAG_CHANNEL_XML_FETCH_ON_NIGHTMARE_TRANSFER) 
                                                                && switch_xml_locate("channels", "channel", "uuid", replaces->rp_call_id, &xml_root, &xml_channel, xml_params, SWITCH_FALSE) == SWITCH_STATUS_SUCCESS
                                                                && (params = switch_xml_child(xml_channel, "params"))
                                                                && (param = switch_xml_find_child(params, "param", "name", "sip-url"))