[Serusers] aliases table

Jan Janak jan at iptel.org
Thu Dec 8 12:58:49 CET 2005


Attached is a sample dbtext file which maps 5060 at iptel.org to
sip:jan at iptel.org. meaning of the columns is as follows:

username -- the alias username
domain -- alias domain
contact -- the URI the alias maps to
received -- source IP and port of the REGISTER message (empty for aliases)
expires -- The date and time the alias expires, in number of seconds since 
           1.1. 1970 UTC (ignored if permanent flag is set)
q -- Preference of the alias among aliases with same username and domain
callid -- Calli-ID from REGISTER message, not used for aliases
cseq -- CSeq number from REIGSTER message, not used for aliases
flags -- Various flags, flag 7 (value 127 if no other flag is set) means
         that the alias is permanent
user_agent -- User agent string from REGISTER, not used with aliases
instance -- SIP instance parameter, not used with aliases

On 08-12-2005 12:42, Xavier TRENTIN wrote:
> Hi all,
> 
> I'm running ser with dbtext, and I can't install mysql on my system.
> 
> Can anybody tell me if the aliases table is loaded by ser when it starts?

   Yes if you have lookup("aliases") in your configuration file.

   Jan.
-------------- next part --------------
username(str) domain(str) contact(str) received(str,null) expires(int) q(double) callid(str,null) cseq(int,null) flags(int) user_agent(str,null) instance(str,null)
5060:iptel.org:sip\:jan at iptel.org::2334042683:1.0:some-callid:1:127:::



More information about the sr-users mailing list