[asterisk-users] Quoting error with gotoiftime

Eric Wieling EWieling at nyigc.com
Fri Jan 25 10:27:27 CST 2013


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

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] 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 <EWieling at nyigc.com> 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




More information about the asterisk-users mailing list