I store my speed dial numbers in the astdb key speeddial with the number and
then name separated by a -.

This dial plan works fine:
[speed-dial]
exten => _*0XX,1,Set(temp=${DB(speeddial/${EXTEN:2})})
exten => _*0XX,2,Cut(number=temp,,1)
exten => _*0XX,3,Goto(house-phones,${number},1)

The log informs me that cut is replaced with CUT.

I rewrote the dial plan using CUT (as best I can figure out) The plan below
returns the entire string number-name and fails?

[speed-dial]
exten => _*0XX,1,Set(temp=${DB(speeddial/${EXTEN:2})})
exten => _*0XX,2,CUT(temp,,1)
exten => _*0XX,3,Goto(house-phones,${temp},1)

What am I missing.

Thanks
--john


_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to