Asterisk SIP rtsavesysname
Setting this value in the general settings in sip.conf means that Asterisk will write the value of system name (as defined in asterisk.conf ) to the column called “regserver” (a text field) if it exists in the SIP peers table.
In multi server setups this can be used to determine which Asterisk box to route calls to that SIP user to, if the server cluster shares the same database. I don’t know if Asterisk supports lookups on this field natively at this time but if not it would be pretty trivial to write using func_odbc.