]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip.c: Validation on module reload 55/1255/1
authorRodrigo Ramírez Norambuena <a@rodrigoramirez.com>
Sat, 22 Aug 2015 02:50:31 +0000 (22:50 -0400)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 11 Sep 2015 15:47:56 +0000 (10:47 -0500)
commit865377fc38134234f17def6634c47a989cf0e77a
tree7e86661b8462d24b8b009d263acfd8ae24dbfb69
parente75aff53e6ee68833595db101e43329adf9a4459
chan_sip.c: Validation on module reload

Change validation on reload module because now used the cli function for
reload. The sip_reload() function never fail and ever return NULL for this
reason on reload() now use the call the sip_reload() and return
AST_MODULE_LOAD_SUCCESS.

This problem is dectected on reload by PUT method on ARI, getting always
404 http code when the module is reloaded.

ASTERISK-25325 #close
Reporte by: Rodrigo Ramírez Norambuena

Change-Id: I41215877fb2cfc589e0d4d464000cf6825f4d7fb
channels/chan_sip.c