<div>                <br> mi dr_number_routing group_id=1 number=2111234567<br>{<br>    "Matched Prefix": "2111234567",<br>    "GATEWAY": "cust0001",<br>    "CARRIER": "cust0001"<br>}<br><br>I had a missing '1' in my number below, I'm using 2111234567 everywhere. <br>            </div>            <div class="yahoo_quoted" style="margin:10px 0px 0px 0.8ex;border-left:1px solid #ccc;padding-left:1ex;">                        <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">                                <div>                    On Thursday, October 15, 2020, 02:49:32 AM MST, Răzvan Crainea <razvan@opensips.org> wrote:                </div>                <div><br></div>                <div><br></div>                <div><div dir="ltr">What does dr_number_routing MI command [1] for group 1 and the number <br clear="none">you're using output?<br clear="none"><br clear="none">Best regards,<br clear="none"><br clear="none">Răzvan Crainea<br clear="none">OpenSIPS Core Developer<br clear="none"><a shape="rect" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a><br clear="none"><br clear="none">On 10/14/20 9:10 PM, jack krog via Users wrote:<br clear="none">> Razvan, Thank you for your response,<br clear="none">> <br clear="none">> I have a gateway setup for both the incoming host (pbxb) and my PBX <br clear="none">> (cust0001)<br clear="none">> <br clear="none">> <a shape="rect" href="https://imgur.com/ZXjitEd" target="_blank">https://imgur.com/ZXjitEd</a><br clear="none">> <br clear="none">> I have rules set up, specifically one for 211234567<br clear="none">> <br clear="none">> <a shape="rect" href="https://imgur.com/YR7YucB" target="_blank">https://imgur.com/YR7YucB</a><br clear="none">> <br clear="none">> I even tried adding a group incase I misunderstood you.<br clear="none">> <br clear="none">> <a shape="rect" href="https://imgur.com/E6xZngY" target="_blank">https://imgur.com/E6xZngY</a><br clear="none">> <br clear="none">> and I'm still failing at this step:<br clear="none">> <br clear="none">> # route calls based on prefix<br clear="none">> if ( !do_routing(1) ) {<br clear="none">> send_reply(404,"No Route found");<br clear="none">> exit;<br clear="none">> }<br clear="none">> <br clear="none">> How can I dig into what's going on here, I tried starting opensips in <br clear="none">> Debug mode but the output is quite verbose and doesn't mean anything to <br clear="none">> me yet.<br clear="none">> <br clear="none">> Additionally, is there a easier way to reload rules than to kill <br clear="none">> opensips and restart it? I saw reference to a opensipsctl command but my <br clear="none">> install doesn't have it.<br clear="none">> On Wednesday, October 14, 2020, 08:20:12 AM MST, Răzvan Crainea <br clear="none">> <<a shape="rect" ymailto="mailto:razvan@opensips.org" href="mailto:razvan@opensips.org">razvan@opensips.org</a>> wrote:<br clear="none">> <br clear="none">> <br clear="none">> Hi, Jack!<br clear="none">> <br clear="none">> Rules have to be added in group 1[1].<br clear="none">> You need to add a gateway to host 172.18.0.8. Then you need to add a<br clear="none">> rule with the prefix (2111234567 in your case) and assign it to group 1.<br clear="none">> If you don't have group 1, you can provision it in the settings tab.<br clear="none">> <br clear="none">> [1]<br clear="none">> <a shape="rect" href="https://github.com/OpenSIPS/opensips/blob/master/menuconfig/configs/opensips_trunking.m4#L268" target="_blank">https://github.com/OpenSIPS/opensips/blob/master/menuconfig/configs/opensips_trunking.m4#L268</a><br clear="none">> <br clear="none">> Best regards,<br clear="none">> <br clear="none">> Răzvan Crainea<br clear="none">> OpenSIPS Core Developer<br clear="none">> <a shape="rect" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a><br clear="none">> <br clear="none">> On 10/12/20 7:18 AM, jack krog via Users wrote:<br clear="none">>  > Bump?<br clear="none">>  ><br clear="none">>  > I still don't understand how drouting needs to be configured for the<br clear="none">>  > trunking script to work.<br clear="none">>  ><br clear="none">>  > Are there videos covering the scripts generated by osipsconfig?<br clear="none">>  > On Thursday, October 1, 2020, 10:02:50 AM MST, jack krog via Users<br clear="none">>  > <<a shape="rect" ymailto="mailto:users@lists.opensips.org" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a> <mailto:<a shape="rect" ymailto="mailto:users@lists.opensips.org" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>>> wrote:<br clear="none">>  ><br clear="none">>  ><br clear="none">>  > Hello,<br clear="none">>  ><br clear="none">>  > I'm new to opensips coming from a asterisk background.<br clear="none">>  ><br clear="none">>  > I'm trying to learn how things work by using the osipsconfig generated<br clear="none">>  > trunking script but I can't find documentation on what database values I<br clear="none">>  > need to input to route a call to my PBX.<br clear="none">>  ><br clear="none">>  > The script appears to get to where it runs dp_translate followed by<br clear="none">>  > do_routing and then all my test calls get rejected with a No Route Found<br clear="none">>  > response.<br clear="none">>  ><br clear="none">>  > /What do I need to put in the control panel to route the DDI number<br clear="none">>  > 211-123-4567 to the host 172.18.0.8 using the domain cust0001.pbx ? /<br clear="none">>  ><br clear="none">>  > I've entered my PBX under Dynamic Routing > Gateways but don't know if I<br clear="none">>  > need to create a Group?<br clear="none">>  ><br clear="none">>  > If I want to pass the number through without changing it do I need to<br clear="none">>  > use dialplan? Is that where I need to point my DID to my PBX?<br clear="none">>  ><br clear="none">>  > Thank you for your time.<br clear="none">>  > _______________________________________________<br clear="none">>  > Users mailing list<br clear="none">>  > <a shape="rect" ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> <mailto:<a shape="rect" ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>> <br clear="none">> <mailto:<a shape="rect" ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> <mailto:<a shape="rect" ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>>><br clear="none">>  > <a shape="rect" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br clear="none">>  ><br clear="none">>  > _______________________________________________<br clear="none">>  > Users mailing list<br clear="none">>  > <a shape="rect" ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> <mailto:<a shape="rect" ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>><br clear="none">>  > <a shape="rect" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><div class="yqt8090735525" id="yqtfd88372"><br clear="none">> <br clear="none">>  ><br clear="none">> <br clear="none">> _______________________________________________<br clear="none">> Users mailing list<br clear="none">> <a shape="rect" ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> <mailto:<a shape="rect" ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>><br clear="none">> <a shape="rect" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br clear="none">> <br clear="none">> _______________________________________________<br clear="none">> Users mailing list<br clear="none">> <a shape="rect" ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br clear="none">> <a shape="rect" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br clear="none">> <br clear="none"><br clear="none">_______________________________________________<br clear="none">Users mailing list<br clear="none"><a shape="rect" ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br clear="none"><a shape="rect" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br clear="none"></div></div></div>            </div>                </div>