On Thu, 2004-01-22 at 12:06, Christopher Arnold wrote:
> Hi,
> 
> Im trying to enable users to enter a conference number and then do a
> calculation on this and then send them to the conference. Lokk at this
> example:
> 
> exten => s,1,Read(room)
> exten => s,2,SetVar,"${room}=[${room} + 2000]";
> exten => s,3,Meetme($room|pqsd)
> 
> What happens is that the conference gets setup and everything, but the
> conference number is "$room". Not really what i expected...
> 
> Is this a bug of a feature?

Reread the documentation on variables again.

exten => s,1,read(room)
exten => s,2,SetVar(room=[${room} + 2000]
exten => s,3,MeetMe(${room}|pqsd)
-- 
Steven Critchfield  <[EMAIL PROTECTED]>

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
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