[Asterisk-Users] Using varables in MeetMe?

Steven Critchfield critch at basesys.com
Thu Jan 22 12:07:41 MST 2004


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  <critch at basesys.com>




More information about the asterisk-users mailing list