[asterisk-users] Realtime semi-colon
Tilghman Lesher
tlesher at digium.com
Thu Sep 16 12:26:38 CDT 2010
On Thursday 16 September 2010 07:50:33 Steve Howes wrote:
> On 16 Sep 2010, at 12:56, Andrew Thomas wrote:
> > Does anyone know how to send * a semi-colon from a realtime database. I
> > know that * uses the semi-colon as a 'seperator' - but I need to be able
> > to use one in a command. I know I can use \; in the non-realtime
> > configs, but this doesn't work in realtime.
>
> in /etc/asterisk/extensions.conf
>
> [globals]
> SEMICOLON=\;
>
> Then use ${SEMICOLON} in realitime.... Hacky, but it's what I'm using at
> the moment..
If you use SVN (upcoming 1.4.37, 1.6.2.14, or 1.8.0), you can encode
semicolons in the database as the literal string "^3B".
--
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-users
mailing list