Re: [Asterisk-Users] BYEXTENSION and DBPut

2003-12-21 Thread Walt Davis
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

Re: [Asterisk-Users] BYEXTENSION and DBPut

2003-12-21 Thread Walt Davis
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

[Asterisk-Users] BYEXTENSION and DBPut

2003-12-20 Thread Walt Davis
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:

Re: [Asterisk-Users] BYEXTENSION and DBPut

2003-12-20 Thread Jeremy McNamara
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

Re: [Asterisk-Users] BYEXTENSION and DBPut

2003-12-20 Thread Brian West
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 =