Hi,
These are two different logs that doesn't seem to be related.
> Proxy Trunks: [15331]: NOTICE: [c3e8f2ed] APPLY-TRANSFORMATION: '+550' -> '0' (applied rule: 'From e164 to national').
This looks like an outbound call that is using a Numeric transformation (Brazil?) and is converting from E.164 to Brazil National format by removing the Country Code prefix (+55).
Internally, ivozprovider uses E.164 bewteen proxies and application servers, and uses Numeric Transformations to convert from E.164 to User/Carrier/Provider format and vice versa.
NOTE: It's quite probably Braizilian numeric transformation is wrong in base configuration, we've done some guesses to create a Numeric transformation for each country but in most cases there are wrong :-\
> ERROR 1062 (23000) at line 1: Duplicate entry '201.XXX.XXX.XX3' for key 'ProxyTrunks.proxyTrunk_ip'
This is caused by some code in ivozprovider package postinstall script. It's assuming you have only a single ProxyTrunks address, and it looks like you have multiple addresses.
We rearely encounter this problems because ivozprovider package is only used in standalone installs (and we don't have many of those)
This could be fixed by adding a WHERE id = 1 in both queries, because these entries with id = 1 can not be deleted.
Best Regards,