]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_motif / chan_pjsip: Fix incorrect "No such module" messages when reloading.
authorJoshua Colp <jcolp@digium.com>
Sat, 15 Nov 2014 18:59:47 +0000 (18:59 +0000)
committerJoshua Colp <jcolp@digium.com>
Sat, 15 Nov 2014 18:59:47 +0000 (18:59 +0000)
commit7cc4fdeb8629398fc2dc7688b306bc35463b3e0f
tree1329fe4ab85e6a1d0d3396adabbd0150f086f7ee
parent277dc8e77aa0b7844d6f85129eefd113f45058d6
chan_motif / chan_pjsip: Fix incorrect "No such module" messages when reloading.

For chan_motif the direct return value of the underlying config options framework
was passed back. This can relay various states which the module loader would not
interpet as success. It has been changed so only on errors will it report back
an error.

For chan_pjsip the code implemented a dummy reload function which always
returned an error. This has been removed as all configuration is held within
res_pjsip instead.

ASTERISK-23651 #close
Reported by: Rusty Newton

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@427981 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_motif.c
channels/chan_pjsip.c