[Kamailio-Devel] How to escape "$" when using it into a string?
Daniel-Constantin Mierla
miconda at gmail.com
Sun Jan 11 22:48:39 CET 2009
Hello,
try:
"^ibc$$"
http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:devel#pseudo-variable_marker
Cheers,
Daniel
On 01/11/2009 09:26 PM, Iñaki Baz Castillo wrote:
> El Domingo, 11 de Enero de 2009, Iñaki Baz Castillo escribió:
>
>> How could I solve it? How could escape a $ when using it in a string
>> argument of Kamailio script?
>>
>
> I've also a dirty hack in the code to solve this issue:
> If the string contains "ENDLINE" I replace it with "$", so:
>
> "^ibcENDLINE"
>
> becomes:
>
> "^ibc$"
>
> It's really a dirty hack, but...
>
>
--
Daniel-Constantin Mierla
http://www.asipto.com
More information about the Devel
mailing list