Re: Portech MV-37x patch

Ariel Wainer <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
On 13/11/14 15:18, Anton Osennikov wrote:
> 13.11.2014 20:14, Ariel Wainer пишет:
>
>> Adding \r\nmodule to my smsc-password didn't work for me. Maybe I
>> applied the patch wrong or this session requieres a different CR/LF
>> escape.
>
>
>> The relevant log:
>> 2014-11-13 11:59:20 [21070] [6] DEBUG: AT2[pt0]: --> 1234\r\nmodule1^M
>
> My case:
>
> > 2014-11-13 18:37:18 [9295] [7] DEBUG: AT2[mts]: --> 23*****74
> > module1^M
>
> Looks like config value parsing didn't change yet. "\r\n" still
> present in log "as is".
>
> I see that "parse_value" only parses backlash escapes when config
> value is enclosed in double quotes, like this:
>
>   smsc-password = "1234\r\nmodule1"
>

It was de quotes! Putting the password value between double quotes worked.



Thanks!

-- 
Ariel Wainer
Contenta Mobile
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.