summaryrefslogtreecommitdiff
path: root/res/res_pjsip_publish_asterisk.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2017-04-07 13:35:33 +0000
committerJoshua Colp <jcolp@digium.com>2017-04-07 13:38:14 +0000
commitb3f4a6365e32c2e98b50ba8e351553202a38650b (patch)
tree5db0c82d23eb9b52c96554cb6e50aed84c592c0f /res/res_pjsip_publish_asterisk.c
parent09ec2dbbf3939b8eb481c589007740b89da15189 (diff)
pjsip: Add Alembic for PUBLISH support.
This change adds database tables for the PUBLISH support so it can be configured using realtime. A minor fix to the res_pjsip_publish_asterisk module was done so that it read the sorcery configuration from the correct section. Finally the sample configuration files have been updated. ASTERISK-26928 Change-Id: I81991ae5c75af98d247f7eacd1c0b0a763675952
Diffstat (limited to 'res/res_pjsip_publish_asterisk.c')
-rw-r--r--res/res_pjsip_publish_asterisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_publish_asterisk.c b/res/res_pjsip_publish_asterisk.c
index b32408aa3..7e87762fd 100644
--- a/res/res_pjsip_publish_asterisk.c
+++ b/res/res_pjsip_publish_asterisk.c
@@ -863,7 +863,7 @@ static int load_module(void)
return AST_MODULE_LOAD_DECLINE;
}
- ast_sorcery_apply_config(ast_sip_get_sorcery(), "asterisk-publication");
+ ast_sorcery_apply_config(ast_sip_get_sorcery(), "res_pjsip_publish_asterisk");
ast_sorcery_apply_default(ast_sip_get_sorcery(), "asterisk-publication", "config", "pjsip.conf,criteria=type=asterisk-publication");
if (ast_sorcery_object_register(ast_sip_get_sorcery(), "asterisk-publication", asterisk_publication_config_alloc, NULL, NULL)) {