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