Hi all,

OpenSIPs is used for load balancing in from of two FS. And in some cases, there are more than one item in
FS's "sip_registrations" table for one sip client. Then, the execution of "originate sofia/internal/SIP_ACCOUNT%FS_IP", 
will fail if FS_IP is wrong. I use the "expires" field in table of "sip_registrations" to figure out which is the newest FS_IP for the sip client, but sometimes it fails.

I use the config file from http://wiki.freeswitch.org/wiki/OpenSIPS_configuration_for_2_or_more_FreeSWITCH_installs#Edit_opensips.cfg

Any suggestions will be appreciated!