Skip to content

5917 fix warning

Wenpeng Song requested to merge 5917_fix_warning into devel

Fix some warnings that appeared during Asterisk start up.

chan_brcm.c: Incorrect session limit per line '', defaulting to '2'

add asterisk.tel_option.maxsessionsperline=2 to default conf

ccss.c:4386 in initialize_cc_max_requests: Could not find valid ccss.conf file. Using cc_max_requests default
ccss.c:4443 in initialize_cc_devstate_map: Could not find valid ccss.conf file. Using cc_[state]_devstate defaults

add a default ccss.conf with the default value.

res_musiconhold.c:1161 in moh_parse_options: Music on hold 'random' setting is deprecated in 14. Please use 'sort=random' instead.

modified: musiconhold.conf

[default]
mode=files
directory=/usr/lib/asterisk/moh
sort=random

res_pjsip/config_system.c:101 in system_apply: Timer B setting is too low. Setting to 32000

modified: pjsip.conf

[system]

timer_b = 32000

loader.c:2493 in load_modules: The deprecated module 'app_macro.so' has been loaded and is running, it may be removed in a future version

replaced app_macro with app_stack
dialplan:
Name of Macro changed from macro-name to sub-name
Macro(name) to GoSub(sub-name,s,1)
MacroExit() to Return()\

modules.conf:
load app_stack.so
noload app_macro.so

Makefile:
ln 503 + app_stack\

AST_EMB_MODULES:=\
	app_dial app_echo app_macro app_stack app_playback \
	func_callerid func_logic func_strings func_timeout \
	pbx_config res_crypto res_timing_timerfd
Edited by Wenpeng Song

Merge request reports