There are several issues. First, unless you are interested in development you should take the stable version (see www.iptel.org/ser/cvs). Secondly, adding alias still does not make sure that the aliased user is online. The third potential source of problems is that serctl added wrong expiration time to user loation databas, but I think that's been fixed on CVS.
-jiri
At 10:27 PM 3/2/2004, Patrick Muldoon wrote:
Hello All,
I have been trying to get aliases to work without much luck. Could someone point me in the right direction?
I am using
[doon@webdisk0:ser] ser -V version: ser 0.8.13-dev-23-merged (i386/freebsd) flags: STATS:Off, USE_TCP, DISABLE_NAGLE, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
[doon@webdisk0:ser] serctl alias add 4324327 sip:004327@sip.inoc.net sip:004327@sip.inoc.net 200 Added to table ('4324327','sip:004327@sip.inoc.net') to 'aliases'
[doon@webdisk0:ser] serctl alias show 4324327@sip.inoc.net sip:004327@sip.inoc.net;q=1.00;expires=-104
Using the basic ser.cfg file, with just the changes to get it to work with mysql, and authentication.
Running with Debug 7. here is what I get.. Most of the extra cruft trimmed out.
0(52806) lookup(): '4324327@sip.inoc.net' Not found in usrloc 0(52806) check_self - checking if host==us: 12==14 && [sip.inoc.net] == [64.246.134.130] 0(52806) check_self - checking if port 5060 matches port 5060 0(52806) check_self - checking if host==us: 12==14 && [sip.inoc.net] == [64.246.134.130] 0(52806) check_self - checking if port 5060 matches port 5060 0(52806) lookup(): '4324327@sip.inoc.net' Not found in usrloc
Right now this is basically an internal test. Trying to make it so we have our internal extensions mapped, but if people dial our real PSTN Numbers they get translated to our extentsions.
Any help would be greatly appreciated.
Thanks, -Patrick
-- Patrick Muldoon Network/Software Engineer INOC (http://www.inoc.net) PGPKEY (http://www.inoc.net/~doon) Key ID: 0x370D752C
Calculating in binary code is as easy as 01,10,11.
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-- Jiri Kuthan http://iptel.org/~jiri/