[asterisk-dev] semicolons

Dmitry Andrianov dimas at dataart.com
Wed Sep 19 06:09:06 CDT 2007


Thanks for the hint. I already tried it before but was confused by the
console output 

    -- Executing [107 at ael-default:14] Set("SIP/1011-086de6a0",
"fullcontact="sip:1011 at 192.168.10.202:36746\;rinstance=ee62f56474639d4c"
") in new stack

because backslash was still there. But now I realize it SHOULD be there
so everything is fine.

However, it is clearly a workaround so the main point in my post was
more about somewhat unexpected behavior of res_config_odbc...

Regards,
Dmitry Andrianov

-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of st41ker
Sent: Wednesday, September 19, 2007 2:41 PM
To: Asterisk Developers Mailing List
Subject: Re: [asterisk-dev] semicolons

В Срд, 19/09/2007 в 14:05 +0400, Dmitry Andrianov пишет:
> Hello.
> 
> I have problems putting semicolon into variable. I’m trying to
> concatenate two variables placing semicolon delimiter in between:
> 
>  
> 
>                                         fullcontact = "${fullcontact};
> ${value}";
> 
>  
> 
> for this AEL code, ‘dialplan show’ command displays:
> 
>  
> 
<snip>
>  
Hi, use escape symbol
Like Set(VAR="stuff\;stuff")





_______________________________________________

Sign up now for AstriCon 2007!  September 25-28th.
http://www.astricon.net/ 

--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


More information about the asterisk-dev mailing list