#305 Problem with drouting using the db_text driver

1.4.x
closed-fixed
modules (454)
2
2015-04-06
2010-08-03
Anonymous
No

When trying to use drouting and db_text, I place the following into db_gateways:

gwid(int,auto) type(int) address(str) strip(int) pri_prefix(str,null) attrs(str,null) probe_mode(int) description(str)
1:0:sip\:4.2.2.1:0:::0:BVX

And get the following:

Aug 3 14:27:19 atlcwdobp01 /usr/local/opensips/sbin/opensips[31772]: DBG:core:db_allocate_rows: allocate 240 bytes for result rows and values at 0x784448
Aug 3 14:27:19 atlcwdobp01 /usr/local/opensips/sbin/opensips[31772]: DBG:drouting:dr_load_routing_info: 1 records found in dr_gateways
Aug 3 14:27:19 atlcwdobp01 /usr/local/opensips/sbin/opensips[31772]: ERROR:drouting:dr_load_routing_info: column address has a bad type

Full summary of output here: http://pastebin.com/aC8cg1b7

Comment from bogdan:
This from drouting module - it expects a DB_STRING (null terminate), not a DB_STR (with len) data type

Discussion

  • Bogdan-Andrei Iancu

    • assigned_to: nobody --> bogdan_iancu
     
  • Bogdan-Andrei Iancu

    • priority: 5 --> 2
    • status: open --> open-accepted
     
  • Bogdan-Andrei Iancu

    • status: open-accepted --> closed-fixed
    • Group: --> 1.4.x
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks