On Mon, 6 Apr 2015, thufir wrote:
p 176 has exten = 1NXXNXXX,1,Dial(SIP/${EXTEN}@myprovider)
how is exten distinct from EXTEN? What is this line of code doing?
This is a line of 'classic' dialplan (as opposed to AEL, Lua, or ...).
It defines a single step in the dialplan.
It 'says' if
p 176 has exten = 1NXXNXXX,1,Dial(SIP/${EXTEN}@myprovider)
how is exten distinct from EXTEN? What is this line of code doing?
https://wiki.asterisk.org/wiki/display/AST/Asterisk+Standard+Channel+Variables
says that EXTEN is the current extension.
In ruby, you this:
H = Hash[a = 100, b