Hello Chris

The file ( generated by fusionpbx ) is located in /usr/local/freeswitch/conf/sip_profiles/external/v_0a96c3d3-0b0e-4864-b9ec-759fa4422429.xml, i also tried to force a number in this field but it did not change anything.

Thanks



On 01/05/2015 22:11, Chris Tunbridge wrote:
Tanguy,

setting the auto_to_user should set the destination number field to the correct one according to the wiki

"Note: extension parameter influence the contents of channel variable Caller-Destination-Number and destination_number. If it is blank, Caller-Destination-Number will always be set to gateway's username. If it has a value, Caller-Destination-Number will always be set to this value. If it has value auto_to_user, Caller-Destination-Number will be populated with value ${sip_to_user} which means the real dialed number in case of an inbound call."

from: https://wiki.freeswitch.org/wiki/Sofia.conf.xml

where is this config that you listed currently located? (full file path please)