[Serusers] Problems with aliases

Bo Byrd bo.byrd at corp.earthlink.net
Wed Jun 23 22:20:21 CEST 2004


I cannot seem to get my system to work with aliases.  I have the userloc
and uri modules enabled as per the manual, as well as lookup("aliases");
command.  I tried entering aliases with "serctl alias add 1001
sip:bo at domain.net" as well as "serctl alias add 1001 at domain.net
sip:bo at domain.net".  Both commands successfully complete but I always
get a busy signal on the other phone when I call 1001.

 0(14359) SIP Request:
 0(14359)  method:  <INVITE>
 0(14359)  uri:     <sip:1001 at domain.net;user=phone>
 0(14359)  version: <SIP/2.0>
 0(14359) parse_headers: flags=1
 0(14359) end of header reached, state=5
 0(14359) parse_headers: Via found, flags=1
 0(14359) parse_headers: this is the first via
 0(14359) After parse_msg...
 0(14359) preparing to run routing scripts...
 0(14359) DEBUG : is_maxfwd_present: searching for max_forwards header
 0(14359) parse_headers: flags=128
 0(14359) end of header reached, state=9
 0(14359) DEBUG: get_hdr_field: <To> [50];
uri=[sip:1001 at domain.net;user=phone] 
 0(14359) DEBUG: to body [<sip:1001 at domain.net;user=phone>
]
 0(14359) get_hdr_field: cseq <CSeq>: <1> <INVITE>
 0(14359) DEBUG: get_hdr_body : content_length=249
 0(14359) found end of header
 0(14359) DEBUG: is_maxfwd_present: max_forwards header not found!
 0(14359) DEBUG: add_param: tag=2562321765
 0(14359) end of header reached, state=29
 0(14359) parse_headers: flags=256
 0(14359) find_first_route(): No Route headers found
 0(14359) loose_route(): There is no Route HF
 0(14359) check_self - checking if host==us: 26==13 &&  [domain.net] ==
[x.x.x.x]
 0(14359) check_self - checking if port 5060 matches port 5060
 0(14359) lookup(): '1001' Not found in usrloc
 0(14359) lookup(): '1001' Not found in usrloc
 0(14359) parse_headers: flags=-1
 0(14359) check_via_address(x.x.x.x, x.x.x.x, 0)
 0(14359) receive_msg: cleaning up
 0(14359) SIP Request:
 0(14359)  method:  <ACK>
 0(14359)  uri:     <sip:1001 at domain.net;user=phone>
 0(14359)  version: <SIP/2.0>
 0(14359) parse_headers: flags=1
 0(14359) end of header reached, state=5
 0(14359) parse_headers: Via found, flags=1
 0(14359) parse_headers: this is the first via
 0(14359) After parse_msg...
 0(14359) parse_headers: flags=4
 0(14359) DEBUG: add_param: tag=4ddff14623b40c25b5f0541000aec456.33da
 0(14359) end of header reached, state=29
 0(14359) DEBUG: get_hdr_field: <To> [92];
uri=[sip:1001 at domain.net;user=phone] 
 0(14359) DEBUG: to body [<sip:1001 at domain.net;user=phone>]
 0(14359) DEBUG: sl_filter_ACK : local ACK found -> dropping it! 
 0(14359) receive_msg: cleaning up



# ser -V
version: ser 0.8.12 (i386/freebsd)
flags: STATS:Off, USE_IPV6, 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
@(#) $Id: main.c,v 1.168 2003/10/12 15:09:08 andrei Exp $
main.c compiled on 14:15:39 Nov 21 2003 with gcc 2.95

Bo Byrd





More information about the sr-users mailing list