<div>you can change gwid type to int4 or int</div><div><br  /></div><div><!--emptysign--></div><div><div style="font-size:12px;padding:2px 0;" class="xm_mail_oringinal_describe">---Original---</div><div style="font-size:12px;background:#f0f0f0;color:#212121;padding:8px!important;border-radius:4px;line-height:1.5;"><div class="xm_mail_oringinal_describe"><b>From:</b> "Dmitry Gimalayskiy"<8968934@gmail.com></div><div class="xm_mail_oringinal_describe"><b>Date:</b> Thu, Sep 26, 2024 22:05 PM</div><div class="xm_mail_oringinal_describe"><b>To:</b> "users"<users@lists.opensips.org>;</div><div class="xm_mail_oringinal_describe"><b>Subject:</b> [OpenSIPS-Users] db_text for drouting - column gwid has a bad type[4], accepting only [3]</div></div><br  /><div dir="ltr"><div dir="ltr"><div><div><span class="gmail-EzKURWReUAB5oZgtQNkl" style="white-space:pre-wrap">Hello</span><span style="white-space:pre-wrap"> </span><span class="gmail-EzKURWReUAB5oZgtQNkl" style="white-space:pre-wrap">everybody</span><span class="gmail-EzKURWReUAB5oZgtQNkl" style="white-space:pre-wrap">!</span><br  /><br  /></div>I am trying to use db_text for drouting, but I am getting an error when loading the <span class="gmail-il">opensips</span>:<br  /><br  /><br  /># tail -f /var/log/<span class="gmail-il">opensips</span>/<span class="gmail-il">opensips</span>.log | egrep "ERR|CRIT|WAR"<br  />ERROR:drouting:dr_load_routing_info: column gwid has a bad type [4], accepting only [3]"<br  />CRITICAL:drouting:dr_reload_data_head: failed to load routing info"<br  /><br  />This is my db_text/dr_gateways: <br  /># cat db_text/dr_gateways <br  />id(int)
 gwid(str) type(int) address(str) strip(int) pri_prefix(str,null) 
attrs(str,null) probe_mode(int) state(int) socket(str,null) 
description(str,null)<br  />1:asterisk:0:10.214.0.78:0:::0:0:udp\:10.214.0.77\:5081:test out provider server\n<br  /><br  /></div>And <span class="gmail-il">opensips</span> version:<br  /><div><div># <span class="gmail-il">opensips</span>-cli -x mi version</div><div>{<br  />    "Server": "<span class="gmail-il">OpenSIPS</span> (3.4.5 (x86_64/linux))"<br  />}<br  /><br  /></div><div>How can I fix this error?</div></div></div></div>

</div>