Last update: 7 March 2011
DID via SIP URI works. DID via SIP Trunk works. Outgoing works.
USERNAME is only the user part, it does not include the domain.
Note that for inbound calls, the call would normally hit the dialplan with destination_number equal to the username. Setting extension to auto_to_user avoids this - the call will arrive with auto_to_user in the URI and Sofia will automatically take the destination_number from the To header instead.
By default, NumberGroup supports G.711 A/U. To enable support for narrowband codecs like G.722, Speex and GSM, go to your Trunk configuration and change "Voice Compression" to "Yes".