[Serusers] Problem with Aliases

Patrick Muldoon doon at inoc.net
Tue Mar 2 22:27:10 CET 2004


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 at 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 at webdisk0:ser] serctl alias add 4324327 sip:004327 at sip.inoc.net
sip:004327 at sip.inoc.net
200 Added to table
('4324327','sip:004327 at sip.inoc.net') to 'aliases'

[doon at webdisk0:ser] serctl alias show 4324327 at sip.inoc.net
<sip:004327 at 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 at 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 at 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.




More information about the sr-users mailing list