[asterisk-users] asterisk curl and utf8 problems

Israel Gottlieb isrlgb at gmail.com
Thu Sep 8 19:14:53 CDT 2011


On Thu, Sep 8, 2011 at 1:52 AM, Israel Gottlieb <isrlgb at gmail.com> wrote:

>
>
> On Thu, Sep 8, 2011 at 1:47 AM, Israel Gottlieb <isrlgb at gmail.com> wrote:
>
>> Hi all
>>
>> i have a very weird problem with curl and utf8 characters
>> i'm trying to do a cnam lookup from a web-service with curl if the
>> returned info is English or digits then the callerid name field gets
>> populated with that but if the returned info is utf8 like Hebrew then the
>> callerid field remains empty
>>
>> this is the curl statement
>> exten => cnamlookup,1,Set(CALLERID(name)=${CURL(
>> http://127.0.0.1:8080/GetCallerName?number=${CALLERID(num)})})
>>
>>
>> any idea's?
>>
>> sorry for the missing info
>
> asterisk 1.8.6.0
>
>
> on asterisk 1.6 it was working and also on 1.2
>
> just a update

if i stick in a ascii char after the name like a period then it will work

seams like some bug to me
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110909/fda97143/attachment.htm>


More information about the asterisk-users mailing list