[Serusers] ser auth_db registration problem

Anand Kumar kanand81 at gmail.com
Fri Mar 19 17:01:33 CET 2010


Hi All,
i m trying to register softphone on ser using

modparam("auth_db", "db_url", "mysql://baaaa:dddd@xx.x.x.x/ser")
modparam("auth_db", "use_domain", 0)
modparam("auth_db", "calculate_ha1", 1)
modparam("auth_db", "user_column", "username")
modparam("auth_db", "password_column", "password")


   if(!www_authorize("", "subscriber"))
        {
                www_challenge("", "1");
                 break;
        }

and  found the following log but phone is not register . please help me...


--  2(28254) find_mod_export: found <db_update> in module mysql
[/usr/local/lib/ser/modules/mysql.so]
 2(28254) get_connection(): Connection found in the pool
 2(28254) DEBUG: register_fifo_cmd: new command (DB) registered
 0(28252) DEBUG: init_mod_child (1): dispatcher
 0(28252) DISPATCHER:init_child #1 / pid <28252>
 0(28252) SIP Request:
 0(28252)  method:  <REGISTER>
 0(28252)  uri:     <sip:123.49.54.226>
 0(28252)  version: <SIP/2.0>
 0(28252) parse_headers: flags=1
 0(28252) Found param type 232, <branch> =
<z9hG4bK-d8754z-3d07d32ccc286b5c-1---d8754z->; state=6
 0(28252) Found param type 235, <rport> = <n/a>; state=17
 0(28252) end of header reached, state=5
 0(28252) parse_headers: Via found, flags=1
 0(28252) parse_headers: this is the first via
 0(28252) After parse_msg...
 0(28252) preparing to run routing scripts...
 0(28252) parse_headers: flags=128
 0(28252) DEBUG:maxfwd:is_maxfwd_present: value = 70
 0(28252) DBG:maxfwd:process_maxfwd_header: value 70 decreased to 16
 0(28252) parse_headers: flags=256
 0(28252) end of header reached, state=9
 0(28252) DEBUG: get_hdr_field: <To> [39];
uri=[sip:123456 at 123.49.54.226<sip%3A123456 at 123.49.54.226>
]
 0(28252) DEBUG: to body
["123456"<sip:123456 at 123.49.54.226<sip%3A123456 at 123.49.54.226>
>
]
 0(28252) get_hdr_field: cseq <CSeq>: <1> <REGISTER>
 0(28252) DEBUG: get_hdr_body : content_length=0
 0(28252) found end of header
 0(28252) find_first_route: No Route headers found
 0(28252) loose_route: There is no Route HF
 0(28252) grep_sock_info - checking if host==us: 13==13 &&  [123.49.54.226]
== [123.49.54.226]
 0(28252) grep_sock_info - checking if port 5060 matches port 80
 0(28252) grep_sock_info - checking if host==us: 13==13 &&  [123.49.54.226]
== [123.49.54.226]
 0(28252) grep_sock_info - checking if port 5060 matches port 80
 0(28252) check_self: host != me
 0(28252) parse_headers: flags=-1
 0(28252) DEBUG: t_newtran: msg id=1 , global msg id=0 , T on
entrance=0xffffffffffffffff
 0(28252) parse_headers: flags=-1
 0(28252) parse_headers: flags=60
 0(28252) t_lookup_request: start searching: hash=57920, isACK=0
 0(28252) DEBUG: RFC3261 transaction matching failed
 0(28252) DEBUG: t_lookup_request: no transaction found
 0(28252) DEBUG: mk_proxy: doing DNS lookup...
 0(28252) check_via_address(122.162.142.65, 192.168.1.2, 0)
 0(28252) DEBUG: add_to_tail_of_timer[4]: 0x2acf403e64e0
 0(28252) DEBUG: add_to_tail_of_timer[0]: 0x2acf403e6500
 0(28252) SER: new transaction fwd'ed
 0(28252) DEBUG:destroy_avp_list: destroying list (nil)
 0(28252) receive_msg: cleaning up
 1(28253) DEBUG: timer routine:4,tl=0x2acf403e64e0 next=(nil)
 1(28253) DEBUG: retransmission_handler : request resending
(t=0x2acf403e6308, REGISTER  ... )
 1(28253) DEBUG: add_to_tail_of_timer[5]: 0x2acf403e64e0
 1(28253) DEBUG: retransmission_handler : done
 1(28253) DEBUG: timer routine:5,tl=0x2acf403e64e0 next=(nil)
 1(28253) DEBUG: retransmission_handler : request resending
(t=0x2acf403e6308, REGISTER  ... )
 1(28253) DEBUG: add_to_tail_of_timer[6]: 0x2acf403e64e0
 1(28253) DEBUG: retransmission_handler : done
 1(28253) DEBUG: timer routine:6,tl=0x2acf403e64e0 next=(nil)
 1(28253) DEBUG: retransmission_handler : request resending
(t=0x2acf403e6308, REGISTER  ... )
 1(28253) DEBUG: add_to_tail_of_timer[7]: 0x2acf403e64e0
 1(28253) DEBUG: retransmission_handler : done
 1(28253) DEBUG: timer routine:7,tl=0x2acf403e64e0 next=(nil)
 1(28253) DEBUG: retransmission_handler : request resending
(t=0x2acf403e6308, REGISTER  ... )
 1(28253) DEBUG: add_to_tail_of_timer[7]: 0x2acf403e64e0
 1(28253) DEBUG: retransmission_handler : done
 1(28253) DEBUG: timer routine:7,tl=0x2acf403e64e0 next=(nil)
 1(28253) DEBUG: retransmission_handler : request resending
(t=0x2acf403e6308, REGISTER  ... )
 1(28253) DEBUG: add_to_tail_of_timer[7]: 0x2acf403e64e0
 1(28253) DEBUG: retransmission_handler : done


Anand  Dayal




-- 
Anand  Dayal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20100319/c0ef3831/attachment.htm>


More information about the sr-users mailing list