WARNING[2169] config.c: Unknown directive '#permit

Discussion in 'General' started by tbooth, Mar 12, 2009.

  1. tbooth

    Joined:
    Feb 24, 2007
    Messages:
    338
    Likes Received:
    0
    Had a system stop working this morning and when I went in to it asterisk had been stopped and I had to do amportal start for it work again.

    System is elastix 1.3-2 with sangoma a200 with hardware echo cancel with 6 of the 8 ports in use.

    I checked in /var/log/asterisk/full and they only things that jumped out to me were:

    [Mar 12 10:30:51] WARNING[2169] config.c: Unknown directive '#permit=192.168.1.0/255.255.255.0' at line 18 of /etc/asterisk/manager_custom.conf


    [Mar 12 08:19:20] DEBUG[596] chan_dahdi.c: Took Zap/1-1 off hook
    [Mar 12 08:19:20] WARNING[596] chan_dahdi.c: Unable to request echo training on channel 1: Invalid argument

    any input would be appreciated.
     
  2. ramoncio

    Joined:
    May 12, 2010
    Messages:
    1,663
    Likes Received:
    0
    Check line 18 in /etc/asterisk/manager_custom.conf

    Remove the # and change 192.168.1.0/255.255.255.0 for your lan network/subnet mask
    I think the problem is that # should be changed for ; in order to comment out the line.

    Finally restart asterisk.
     
  3. tbooth

    Joined:
    Feb 24, 2007
    Messages:
    338
    Likes Received:
    0
    will do. thanks ramoncio
     

Share This Page