When Superfecta does a lookup, it correctly displays the german umlaute, but once it does the utf-8 converting, they are gone.
Instead of Schäcke you get Sch?cke on the phone display and in the CDR lists. I just want to report it, I dont have a problem with it…if it cannot get fixed
Here’s one example:
> …Debug is on and set at level: 1
> The Original Number: 4350121018
> The Scheme: Default
> Scheme Type: SINGLEFECTA
> Debugging Enabled, will not stop after first result
>
> Scheme Asked is: Default
> The DID is: 5555555555
> The CNUM is: 4350121018
> The CNAME is: CID Superfecta!
>
> Starting scheme Default
> Matched CID Rule: 0+43|ZXXXXX. with 050121018
> Changed CNUM to: 050121018
> Executing Send to email
> Searching Send to Email …
> result took 0.0018 seconds.
>
> Executing Superfecta Cache
> Searching Superfecta Cache …
> not found
> result took 0.0029 seconds.
>
> Executing LDAP
> Searching LDAP for number: 050121018
> Attempting to bind, using ad:‘Resource id #9’ UID:’’ …
> Searching ou=people,dc=example,dc=com … 0 entries returned
> not found
> result took 0.0260 seconds.
>
> Executing FreePBX Contactmanager
> result took 0.1067 seconds.
>
> Executing Asterisk Phonebook
> Searching Asterisk Phonebook …
> not found
> result took 0.0286 seconds.
>
> Executing Herold Austria
> Searchinghttps://www.herold.at/ …
> ‘Schäcke, eine Marke der Rexel Austria GmbH’
> result took 0.5588 seconds.
>
> Executing TelefonABC Austria
> Searchinghttp://www.telefonabc.at …
> The requested URL returned error: 404 Not Found
> result took 0.3114 seconds.
>
> Converting result to UTF-8
> Post CID retrieval processing
> Executing Send to email
> Email sent to [email protected] Incoming call from Sch?cke, eine Marke der Rexel Austria GmbH at 050121018
> Executing Superfecta Cache
> Caller ID data added to Superfecta_Cache.
> Done
> This scheme would set the caller id to: Sch?cke, eine Marke der Rexel Austria GmbH
>
> Returned Result would be:Sch?cke, eine Marke der Rexel Austria GmbH
> result took 1.1436159610748 seconds
The problem is not related to the lookup-template, it also happens when the name with a german umlaut is correctly stored in the superfecta cache…
If the UTF-8 conversion cannot be fixed, because the problem lies somewhere else in freePBX (I read of similar problems in cdr-reports)…maybe an option to switch it off in the CID-Superfecta template would help…
If you look at asteriskcdrdb and table cdr. You will see it is inserted wrong in there. That is not an issue with FreePBX since freepbx does not insert values directly into CDR nor is it an issue with Asterisk
Is it possible that there is a difference, between you inserting a german umlaut (on a US-computer) into the freePBX webgui and me doing it on a Mac/Windows machine with a german keyboard layout?
yes, I downloaded the image file a few months ago from the freePBX website and installed it as a virtualbox guest system. Where do I see the distro info?
When I tried it, my cdr reports stopped working at all. Isnt mysql-connector-odbc the default in a freePBX 14 distro? Why remove it and replace it with mariaDB?
Anyway…I went back in virtualbox to the previous version and cdr reports work again…I don’t care about the german umlaute anymore
Sorry, my fault…I did something else before, which broke it.
Tried the 15268-fix again, and it worked. In CDR-Reports the german umlaute get displayed!
Thanks @tm1000
So, you were right…the umlaut problem in superfecta is a separate problem…nothing changed, it is still the same issue I posted.
…
Converting result to UTF-8
Post CID retrieval processing
Executing Send to email
Email sent to [email protected] Incoming call from Kr?uterapotheke at 0186712xxx
Executing Superfecta Cache
Caller ID data added to Superfecta_Cache.
Done
This scheme would set the caller id to: Kr?uterapotheke
Returned Result would be:Kr?uterapotheke
result took 3.8335919380188 seconds
Mariadb is actually the sql server in freepbx but it uses the mysql odbc connector. As you can see there are issues with that. So we have people try the mariadb one. It’s not live because I’ve seen it crash asterisk in one case so I need more testing.