Quantcast
Channel: General Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 12635

How to use includes in configurations files?

$
0
0

@All3kcis wrote:

Hello,

Actualy I've created an IVR there are 2 choices, but I want to edit that configuration.
I want to changed channel language depending on the choice (button 1 or button 2).

like that : "exten => 1,1,Set(CHANNEL(language)=es)"

IVR configuration's is automaticaly created in extensions_additional.conf where the first line is "include => ivr-25-custom"
I know this file shouldn't never be modified. I'm trying to use the custom file, but right now I can't do it.

I trying : in (extensions_custom.conf)

[ivr-25-custom]
exten => 1,1,Set(CHANNEL(language)=es)
exten => 2,1,Set(CHANNEL(language)=en)

But it doesn't work..

Could you tell me how to use "include" section ?
Sorry if my english is wrong :slight_smile:

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 12635

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>