Hi all, i am new in this list.
In my ser-0.8.12-0 (rpm installed) system i have problems with aliases, when create an alias binding between any numerical alias and my alphanumeric user with serctl i note that the Expires field is filled by an negative number like -3221225512. Whe i do a serctl alias show [numeric alias] i receive a "404 No registered contacts found" and the line "Binding '4517','sip:ecolombo@arcotel.net' has expired" in my messages file.
 
The alias is never dumped to the mysql database and if i call to the alias a 404 Not Found is received.
 
-------------------------------------------------
Paste of system commands and results:
-------------------------------------------------
 
[root@myser log]# serctl alias show
Dumping all contacts may take long: are you sure you want to proceed? [Y|N] y
===Domain list===
---Domain---
name : 'aliases'
size : 512
table: 0x422b42b8
d_ll {
    n    : 0
    first: (nil)
    last : (nil)
}
---/Domain---
---Domain---
name : 'location'
size : 512
table: 0x422b2258
d_ll {
    n    : 0
    first: (nil)
    last : (nil)
}
---/Domain---
===/Domain list===
[root@myser log]# serctl alias add 4517 sip:ecolombo@arcotel.net
sip:ecolombo@arcotel.net
200 Added to table
('4517','sip:ecolombo@arcotel.net') to 'aliases'
[root@myser log]# serctl alias show
Dumping all contacts may take long: are you sure you want to proceed? [Y|N] y
===Domain list===
---Domain---
name : 'aliases'
size : 512
table: 0x422b42b8
d_ll {
    n    : 1
    first: 0x422b62c0
    last : 0x422b62c0
}
 
...Record(0x422b62c0)...
domain: 'aliases'
aor   : '4517'
~~~Contact(0x422b6300)~~~
domain : 'aliases'
aor    : '4517'
Contact: 'sip:ecolombo@arcotel.net'
Expires: -3221225478
q      :       1.00
Call-ID: 'The-Answer-To-The-Ultimate-Question-Of-Life-Universe-And-Everything'
CSeq   : 42
replic : 0
State  : CS_NEW
Flags  : 0
next   : (nil)
prev   : (nil)
~~~/Contact~~~~
.../Record...
 
---/Domain---
---Domain---
name : 'location'
size : 512
table: 0x422b2258
d_ll {
    n    : 0
    first: (nil)
    last : (nil)
}
---/Domain---
===/Domain list===
 
[root@myser log]# serctl alias show 4517
404 No registered contacts found
 
[root@myser log]# serctl alias show
Dumping all contacts may take long: are you sure you want to proceed? [Y|N] y
===Domain list===
---Domain---
name : 'aliases'
size : 512
table: 0x422b42b8
d_ll {
    n    : 1
    first: 0x422b62c0
    last : 0x422b62c0
}
 
...Record(0x422b62c0)...
domain: 'aliases'
aor   : '4517'
~~~Contact(0x422b6300)~~~
domain : 'aliases'
aor    : '4517'
Contact: 'sip:ecolombo@arcotel.net'
Expires: -3221225512
q      :       1.00
Call-ID: 'The-Answer-To-The-Ultimate-Question-Of-Life-Universe-And-Everything'
CSeq   : 42
replic : 0
State  : CS_NEW
Flags  : 0
next   : (nil)
prev   : (nil)
~~~/Contact~~~~
.../Record...
 
---/Domain---
---Domain---
name : 'location'
size : 512
table: 0x422b2258
d_ll {
    n    : 0
    first: (nil)
    last : (nil)
}
---/Domain---
===/Domain list===
[root@myser log]# tail -2 /var/log/messages
May  6 11:52:56 billing ser: ser startup succeeded
May  6 11:53:56 billing /usr/sbin/ser[30873]: Binding '4517','sip:ecolombo@arcotel.net' has expired
 
Thanks
Ezequiel Colombo
ARCOTEL S.A.