diff --git a/include/asterisk/res_pjsip_outbound_registration.h b/include/asterisk/res_pjsip_outbound_registration.h index 7e1276417f812c7c8e6c516e4e98c0840cce23d4..34bc6bf56dcdb45855b1a0cd6b0c9516c62e444f 100644 --- a/include/asterisk/res_pjsip_outbound_registration.h +++ b/include/asterisk/res_pjsip_outbound_registration.h @@ -1,6 +1,6 @@ #ifndef _RES_PJSIP_OUTBOUND_REGISTRATION_H #define _RES_PJSIP_OUTBOUND_REGISTRATION_H -void ast_queue_registration_recovery_flow(const char *registration_name); +void queue_registration_recovery_flow(const char *registration_name); #endif /* _RES_PJSIP_OUTBOUND_REGISTRATION_H */ diff --git a/res/res_pjsip_outbound_registration.c b/res/res_pjsip_outbound_registration.c index 4a1de018e217c540718d71b026d0dbf30c7d4777..bb7274ee3d932cce77dd80115fcb64382c74fabf 100644 --- a/res/res_pjsip_outbound_registration.c +++ b/res/res_pjsip_outbound_registration.c @@ -1852,7 +1852,7 @@ static int handle_registration_response(void *data) ast_log(LOG_NOTICE, "The upper_bound wait time set to %d seconds\n", registration->retry_max_time); } ast_log(LOG_NOTICE, "Queue registration recovery flow for %s\n", response->client_state->registration_name); - ast_queue_registration_recovery_flow(client_state->registration_name); + queue_registration_recovery_flow(client_state->registration_name); } else { ast_debug(1, "%s: Registration re-try after %d seconds.\n", client_state->registration_name, waiting_time); schedule_retry(response, waiting_time, server_uri, client_uri, client_num); @@ -2819,7 +2819,7 @@ static int queue_register(struct sip_outbound_registration_state *state) return 0; } -void ast_queue_registration_recovery_flow(const char *registration_name) +void queue_registration_recovery_flow(const char *registration_name) { struct sip_outbound_registration_state *state; state = get_state(registration_name); diff --git a/res/res_pjsip_outbound_registration.exports.in b/res/res_pjsip_outbound_registration.exports.in index dd3799a9fc75d7619e3eddcbf2b8f911f7e083e3..e9cb2d7ffbf3dbe644543f4c734e0437bd4fe84e 100644 --- a/res/res_pjsip_outbound_registration.exports.in +++ b/res/res_pjsip_outbound_registration.exports.in @@ -1,6 +1,6 @@ { global: - LINKER_SYMBOL_PREFIXast_queue_registration_recovery_flow; + LINKER_SYMBOL_PREFIXqueue_registration_recovery_flow; local: *; }; diff --git a/res/res_pjsip_session.c b/res/res_pjsip_session.c index b0a0fbe2cbaaf55753d7571a2d488cca052c21a1..c54427fb59feae7a5816d33d57137a98fcce5cb1 100644 --- a/res/res_pjsip_session.c +++ b/res/res_pjsip_session.c @@ -5084,7 +5084,7 @@ static int check_request_status(pjsip_inv_session *inv, pjsip_event *e) // TODO send registration to another address if (session->endpoint) { ast_log(LOG_NOTICE, "INVITE sent to '%s' failed, schedule re-registrations\n", ast_sorcery_object_get_id(session->endpoint)); - ast_queue_registration_recovery_flow(ast_sorcery_object_get_id(session->endpoint)); + queue_registration_recovery_flow(ast_sorcery_object_get_id(session->endpoint)); } return 0; }