<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1251"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi.<div><br></div><div>I’m using some translation rules for various purposes.</div><div>I’ve got dial plan rule with dpid=3, but when I try to do dp_translate(«3»…) - I see next message in the log:</div><div><br></div><div><div>Nov 18 11:38:28 ops /usr/sbin/opensips[31844]: DBG:dialplan:dp_get_ivalue: searching 4</div><div>Nov 18 11:38:28 ops /usr/sbin/opensips[31844]: DBG:dialplan:dp_translate_f: dpid is 3</div><div>Nov 18 11:38:28 ops /usr/sbin/opensips[31844]: DBG:dialplan:dp_get_svalue: searching 19</div><div>Nov 18 11:38:28 ops /usr/sbin/opensips[31844]: DBG:dialplan:dp_translate_f: input is 1001%2377777777777</div><div>Nov 18 11:38:28 ops /usr/sbin/opensips[31844]: DBG:dialplan:dp_translate_f: no information available for dpid 3</div></div><div><br></div><div>Rule in database:</div><div>3<span class="Apple-tab-span" style="white-space:pre">        </span>3<span class="Apple-tab-span" style="white-space:pre">        </span>0<span class="Apple-tab-span" style="white-space:pre">        </span>1<span class="Apple-tab-span" style="white-space:pre">        </span>^\d{3,6}\%23\d*$<span class="Apple-tab-span" style="white-space:pre">        </span>0<span class="Apple-tab-span" style="white-space:pre">        </span>^\d{3,6}\%23\d*$<span class="Apple-tab-span" style="white-space:pre">        </span>\2<span class="Apple-tab-span" style="white-space:pre">        </span>0<span class="Apple-tab-span" style="white-space:pre">        </span></div><div><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>I was tried dp_reload and restart server - but unsuccessfully. If I use same rule with dpid=1 - all works fine ((</div><div><br></div><div>Be<span style="text-align: -webkit-auto;">st regards,</span></div><div>Alexander Mustafin</div><div><a href="mailto:mustafin.aleksandr@gmail.com">mustafin.aleksandr@gmail.com</a></div><div><br></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></div></body></html>