Last update: 12 August 2011
NOTE: If you don't have extension-in-contact set to true, then freeswitch will send "gw+gatewayname" in the Contact header. Les.net refuses all calls which do not have the trunk name in the Contact header.
The above instructions did not work for me. When I tried to dial a phone number, I always heard a recording from les.net that started: "You have reached a les.net number that is currently not in service..."
For FreeSWITCH v1.0.4, all I had to do was edit the default_provider* parameters in vars.xml. Those parameters are used by conf/directory/default/example.com.xml.
The above instructions did work for me, with the key being the "extension-in-contact" as mentioned. If you have a problem with cached info, simply create a new les.net peer and re-configure everything against the new peer.