[OpenSIPS-Devel] [ opensips-Bugs-2841905 ] drouting fails while loading gateways
SourceForge.net
noreply at sourceforge.net
Fri Aug 21 15:07:02 CEST 2009
Bugs item #2841905, was opened at 2009-08-21 12:34
Message generated for change (Comment added) made by norm_brandinger
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2841905&group_id=232389
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Norm Brandinger (norm_brandinger)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: drouting fails while loading gateways
Initial Comment:
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:mi_xmlrpc:default_method: starting up.....
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:mi_xmlrpc:default_method: done looking the mi command.
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:mi_xmlrpc:default_method: done parsing the mi tree.
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: INFO:drouting:dr_reload_cmd: "dr_reload" MI command received!
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:core:db_new_result: allocate 48 bytes for result set at 0x7e8500
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:db_mysql:db_mysql_get_columns: 6 columns returned from the query
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:core:db_allocate_columns: allocate 168 bytes for result columns at 0x7e8540
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x7e8570)[0]=[gwid]
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:db_mysql:db_mysql_get_columns: use DB_INT result type
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x7e8580)[1]=[address]
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x7e8590)[2]=[strip]
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:db_mysql:db_mysql_get_columns: use DB_INT result type
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x7e85a0)[3]=[pri_prefix]
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x7e85b0)[4]=[type]
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:db_mysql:db_mysql_get_columns: use DB_INT result type
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x7e85c0)[5]=[attrs]
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:db_mysql:db_mysql_fetch_result: converting row 0 of 1 count 1
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:core:db_allocate_rows: allocate 208 bytes for result rows and values at 0x7e85f8
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:db_mysql:db_mysql_str2val: converting INT [1]
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:db_mysql:db_mysql_str2val: converting STRING [1.2.3.4:5060]
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:db_mysql:db_mysql_str2val: converting INT [0]
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:db_mysql:db_mysql_str2val: converting STRING []
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:db_mysql:db_mysql_str2val: converting INT [2]
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:drouting:dr_load_routing_info: 1 records found in dr_gateways
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: ERROR:core:parse_uri: uri too short: <sip:> (4)
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: ERROR:drouting:add_dst: invalid uri <sip:>
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: ERROR:drouting:dr_load_routing_info: failed to add destination id 1 -> skipping
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:core:db_free_rows: freeing 1 rows
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:core:db_free_row: freeing row values at 0x7e8608
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:core:db_free_rows: freeing rows at 0x7e85f8
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:core:db_free_columns: freeing result columns at 0x7e8540
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:core:db_free_rows: freeing 0 rows
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:core:db_free_result: freeing result set at 0x7e8500
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: WARNING:drouting:dr_load_routing_info: no valid destinations set -> ignoring the routing rules
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:mi_xmlrpc:default_method: done running the mi command.
Aug 21 08:45:18 greylock OSIPS-DEV[7590]: DBG:mi_xmlrpc:default_method: done building response.
----------------------------------------------------------------------
>Comment By: Norm Brandinger (norm_brandinger)
Date: 2009-08-21 13:07
Message:
The address column in the dr_gateways table is in ip:port format. This
column looks valid.
----------------------------------------------------------------------
Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-08-21 12:46
Message:
Hi Norm,
Have you checked the id 1 GW entry ? if the destination is valid or not ?
Bogdan
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2841905&group_id=232389
More information about the Devel
mailing list