I'm investigating asterisk with asteriskNow. My objective is to record a call in several separate file of some seconds, so to do that I wanted to write an extension in a separate configuration file.
So I have my extension.conf with the context [ext-local] where I'm making several operation.
My first question is to know how to do to include a context in that one
- Code: Select all
exten => 1000,2,Set(TOTO=2)
include => ext-local-custom
exten => 1000,1,Answer()
exten => 1000,n,Hangup()
Well when I'm reloading the dialplan in asterisk and performing a call, the variable is not setted, I see nothing in my console.
Someone can tell me what i'm making wrong?