So using ${EXTEN} works for most things but I was trying to implement a
whitelist as follows:
exten = s,6,DBGet(WLN=whitelist/${EXTEN})
exten = s,7,Goto(ringhouse,s,1)
exten = s,107,Goto(nothome,s,1)
However, in the console I see that ${EXTEN} gets replaced with 's' and
what I want
Hey I found it, CALLERIDNUM ... cl!
So using ${EXTEN} works for most things but I was trying to implement a
whitelist as follows:
exten = s,6,DBGet(WLN=whitelist/${EXTEN})
exten = s,7,Goto(ringhouse,s,1)
exten = s,107,Goto(nothome,s,1)
However, in the console I see that
Hey I need another pair of eyes on this!
I would like to add phones numbers to the blacklist from any handset so I
did this:
exten = _*66XX,1,StripMSD,3
exten = _XX,2,DBPut,blacklist/BYEXTENSION/1
exten = _XX,3,Hangup
However what I get in the database is:
Walt Davis wrote:
Hey I need another pair of eyes on this!
I would like to add phones numbers to the blacklist from any handset so I
did this:
exten = _*66XX,1,StripMSD,3
exten = _XX,2,DBPut,blacklist/BYEXTENSION/1
exten = _XX,3,Hangup
However what I get in
Don't use BYEXTENSION use ${EXTEN}
bkw
On Sat, 20 Dec 2003, Walt Davis wrote:
Hey I need another pair of eyes on this!
I would like to add phones numbers to the blacklist from any handset so I
did this:
exten = _*66XX,1,StripMSD,3
exten =