"include" keyword don't work (Elastix 1.6)

Discussion in 'General' started by UltraHold, Jan 14, 2010.

  1. UltraHold

    Joined:
    Jan 3, 2010
    Messages:
    2
    Likes Received:
    0
    Have a nice day!

    In the typical FreePBX' config are included these lines (see fragments below):

    /etc/asterisk/extensions.conf
    ...
    #include extensions_override_freepbx.conf
    #include extensions_additional.conf
    #include extensions_custom.conf
    ...

    /etc/asterisk/extensions_additional.conf
    [ext-group]
    include => ext-group-custom
    exten => 600,1,Macro(user-callerid,)
    ...

    It's need to add my function in ext-group
    [ext-group-custom]
    exten => 600,2,Set(CALLERID(num)=812*****70)

    I've written this code in
    /etc/asterisk/extensions_custom.conf
    and in
    /etc/asterisk/extensions_override_freepbx.conf

    But my customisation isn't working :(
    What is Wrong?
     
  2. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Code:
    [ext-group-custom]
    exten => 600,2,Set(CALLERID(num)=812*****70)
    Hi..
    I'm not a dial plan specialist but i think that your first line should be bad.
    exten => 600,1,Set...Etc

    The counter should started by 1 and not by 2

    Else why put your custom context into the 2 files?
    extensions_custom.conf should be right.
     

Share This Page