mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
pjsip/config_global: regcontext context not created
The context specified by 'regcontext' was not being created, so when Asterisk attempted to later dynamically add an extension it would fail. This patch now creates the context if a 'regcontext' is specified. ASTERISK-28238 Change-Id: I0f36cf4ab0a93ff4b1cc5548d617ecfd45e09265
This commit is contained in:
@@ -398,4 +398,14 @@ int ast_sip_initialize_transport_management(void);
|
||||
*/
|
||||
void ast_sip_destroy_transport_management(void);
|
||||
|
||||
/*!
|
||||
* \internal
|
||||
* \brief Add online persistent endpoints to the given regcontext
|
||||
*
|
||||
* \param regcontext The context to add endpoints to
|
||||
*
|
||||
* \retval -1 on error, 0 on success
|
||||
*/
|
||||
int ast_sip_persistent_endpoint_add_to_regcontext(const char *regcontext);
|
||||
|
||||
#endif /* RES_PJSIP_PRIVATE_H_ */
|
||||
|
Reference in New Issue
Block a user