LesD
Member
- Joined
- Nov 8, 2009
- Messages
- 408
- Reaction score
- 15
On advice from lgaetz I have been using Dialplan Injection in an IVR and it has been working fine.
I was just looking at the Asterisk logs and found a series of lines like
Looking in [extensions_additional.conf] I found
Can I ignore the log warnings or does something have to be changed?
I was just looking at the Asterisk logs and found a series of lines like
Code:
[2013-07-26 13:56:48] WARNING[1651] pbx_config.c: The use of '_.' for an extension is strongly discouraged and can have unexpected behavior. Please use '_X.' instead at line 204 of /etc/asterisk/extensions_additional.conf
Looking in [extensions_additional.conf] I found
Code:
[injection-5]
include => injection-5-custom
exten => _.,1,Noop(Entering Injection: Night Service 1-1)
exten => _.,n,SayUnixTime(${EPOCH},,IM p)
exten => _.,n,Goto(ivr-25,s,1)
exten => h,1,Macro(hangupcall,)
;--== end of [injection-5] ==--;
[injection-6]
include => injection-6-custom
exten => _.,1,Noop(Entering Injection: Night Service 1-2b)
exten => _.,n,Playback(custom/Time_Now_Is)
exten => _.,n,SayUnixTime(${EPOCH},,IM p)
exten => _.,n,Playback(custom/Switchboard_Closed)
exten => _.,n,Goto(ivr-25,s,1)
exten => h,1,Macro(hangupcall,)
;--== end of [injection-6] ==--;
Can I ignore the log warnings or does something have to be changed?