[Asterisk-Users] AMP: Losing backslash characters in config files

Matt Riddell matt.riddell at sineapps.com
Wed Jan 4 11:03:08 MST 2006


Steve Langstaff wrote:
> I've just started using AMP and found that I have a problem with escaped characters in config files.  
> In particular, I have a custom config item that needs a semicolon in...  
>  
> SetVar(_ALERT_INFO=info=auto-answer;delay=1)  
>  
> To get the part of the line after the ; to be accepted by Asterisk as a non-comment it needs to be escaped with a backslash, but I have found that I need to put two backslashes in to get this through AMP. Subsequent to this, when AMP displays the page it has stripped one of the backslashes. 
>  
> The outcome of this is that if you view and then update a working config file it breaks.  

Try mailing the AMP mailing list as this is not a problem with Asterisk and
this is the _Asterisk_ users list

:)

-- 
Cheers,

Matt Riddell
_______________________________________________

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://freevoip.gedameurope.com (Free Asterisk Voip Community)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)




More information about the asterisk-users mailing list