asterisk curl and utf8 problems

Home » Asterisk Users » asterisk curl and utf8 problems
Asterisk Users 1 Comment

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?

One thought on - asterisk curl and utf8 problems

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

    seams like some bug to me