discover-stun is ignored if stun-server is set: therefore if a user sets discover-stun to TRUE stun-server needs to be empty to make this configuration work see src/sip-connection.c:953
A branch is upcoming, as soon as I get indexed on cgit.freedesktop.org.
The fix is up for review, along with another STUN bugfix.
Fixes pushed to master and telepathy-sofiasip-0.6.
The release telepathy-sofiasip 0.6.7 has the fix.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.