Red5 Plugin and getServerAddress()

Hi,

First I run a Wildfire server for my domain.com on im.domain.com, I use SRV records to accomplish this. In trying to find out why I can’'t use the red5-plugin for Spark, I noticed it uses a function called getServerAddress(). getServerAddress() returns domain.com instead of im.domain.com. Is this intended? If so Is there a way to get the true server name?

Thanks,

Keith