Don't do that.  Set(prefix=)   You are setting the prefix to have two quotes.  
You WANT prefix to be empty.  

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Carlos Alvarez
Sent: Friday, January 25, 2013 11:25 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Quoting error with gotoiftime

On Fri, Jan 25, 2013 at 9:20 AM, Eric Wieling <[email protected]> wrote:


        Looks to me like ${prefix} contains nothing but two quotes.
        


Which is as it should be unless they choose the Spanish option, but yeah, maybe 
that's what is choking Asterisk.

We do this:
exten => _X.,n,Set(prefix="") ;Initialize variable used in scottsdale#queues-aax

Then in the AAX if they choose 5:
exten => 5,1,Set(prefix=s-); SPANISH

That way we just carry along their preference for Spanish throughout the 
system.  Perhaps I need to initialize the variable as e-, but then would have 
to rename everything.


-- 

Carlos Alvarez
TelEvolve
602-889-3003


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

Reply via email to