Asterisk 11.10, FreePBX 2.11.0.37
After installing a fresh server on CentOS 6.5 using the guide for 6.3 at http://wiki.freepbx.org/display/HTGS/Installing+FreePBX+2.11+on+Centos+6.3 (with some fixes required). I am seeing a lot of warnings and errors in the asterisk log; I’ve handled most of it, but some of them are in the conf files that get reset whenever asterisk is restarted.
ISSUE 1: ‘_.’ vs ‘_X.’
I understand from Google searching that this isn’t exactly accurate, but I get 33 lines of this every time asterisk runs through the code. Is this worth addressing?
ISSUE 2: Two [macro-outisbusy] contexts + comment typo
This is the same exact issue as here:
http://www.freepbx.org/forum/freepbx/installation/extensions-conf-or-extensions-additional-conf
Is there anything I can do to prevent this from throwing the error?
Also, “overwridden” should be “overridden”
extensions.conf;-------------------------------------------------------------------------------
; macro-outisbusy:
;
; called if all trunks are busy. This macro is overwridden by the
; Outbound Route Messages module if installed and configured to provide
; better messages or choices of tones.
;
[macro-outisbusy]
exten => s,1,Progress
exten => s,n,Playback(all-circuits-busy-now,noanswer)
exten => s,n,Playback(pls-try-call-later,noanswer)
exten => s,n,Macro(hangupcall)
;-------------------------------------------------------------------------------
extensions_additional.conf[code][macro-outisbusy]
include => macro-outisbusy-custom
exten => s,1,Progress
exten => s,n,GotoIf($["${EMERGENCYROUTE}" = “YES”]?emergency,1)
exten => s,n,GotoIf($["${INTRACOMPANYROUTE}" = “YES”]?intracompany,1)
exten => s,n,Playback(all-circuits-busy-now&pls-try-call-later, noanswer)
exten => s,n,Congestion(20)
exten => s,n,Hangup
exten => intracompany,1,Playback(all-circuits-busy-now&pls-try-call-later, noanswer)
exten => intracompany,n,Congestion(20)
exten => intracompany,n,Hangup
exten => emergency,1,Playback(all-circuits-busy-now&pls-try-call-later)
exten => emergency,n,Congestion(20)
exten => emergency,n,Hangup
;–== end of [macro-outisbusy] ==–;[/code]
ISSUE 3: Can’t find files?
loader.c: Error loading module 'chan_motif.so': libiksemel.so.3: cannot open shared object file: No such file or directory
loader.c: Error loading module 'res_mwi_blf.so': /usr/lib64/asterisk/modules/res_mwi_blf.so: cannot open shared object file: No such file or directory
loader.c: Error loading module 'res_xmpp.so': libiksemel.so.3: cannot open shared object file: No such file or directory
ISSUE 4: cc_callback_macro deprecated
[C-00000018] ccss.c: Usage of cc_callback_macro is deprecated. Please use cc_callback_sub instead.
[C-00000018] func_presencestate.c: PRESENCE_STATE unknown
ISSUE 5: nat=yes deprecated
sip/config_parser.c: nat=yes is deprecated, use nat=force_rport,comedia instead
This exists in sip_additional.conf
ISSUE 6: [app-speeddial-set] uses repeat lookup labels
[code][app-speeddial-set]
include => app-speeddial-set-custom
exten => s,1,Macro(user-callerid,)
exten => s,n(setloc),Read(newlocation,speed-enterlocation,)
exten => s,n(lookup),Macro(speeddial-lookup,${newlocation},${AMPUSER})
exten => s,n(lookup),GotoIf($["${SPEEDDIALNUMBER}"!=""]?conflicts)
exten => s,n(setnum),Read(newnum,speed-enternumber,)
exten => s,n(success),Set(DB(AMPUSER/${AMPUSER}/speeddials/${newlocation})=${newnum})
exten => s,n,Playback(speed-dial)
exten => s,n,SayDigits(${newlocation})
exten => s,n,Playback(is-set-to)
exten => s,n,SayDigits(${newnum})
exten => s,n,Hangup
exten => s,n(conflicts),Playback(speed-dial)
exten => s,n,SayDigits(${newlocation})
exten => s,n,Playback(is-in-use)
exten => s,n,Background(press-1&to-listen-to-it&press-2&to-enter-a-diff&location&press-3&to-change&telephone-number)
exten => s,n,WaitExten(60,)
exten => 1,1,Playback(speed-dial)
exten => 1,n,SayDigits(${newlocation})
exten => 1,n,Playback(is-set-to)
exten => 1,n,SayDigits(${SPEEDDIALNUMBER})
exten => 1,n,Goto(s,conflicts)
exten => 2,1,Goto(s,setloc)
exten => 3,1,Goto(s,setnum)
exten => t,1,Congestion()
;–== end of [app-speeddial-set] ==–;[/code]