<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Greg, Rene<br>
    <br>
    As your log shows the original line 152 it seems that the fix is not
    active. I'm trying to apply the latest hotfix, but I'm still on
    5.5.3.2 without the hotfix. It looks like 5.5.3.3 isn't available
    yet, this is in the repository:<br>
    <pre>
Package: ngcp-panel
Format: 3.0 (native)
Binary: ngcp-panel, ngcp-panel-tools
Architecture: all
Version: 5.5.3.2+0~mr5.5.3.2</pre>
    <br>
    Regards,<br>
    <br>
    Henk Plessius<br>
    <br>
    <div class="moz-cite-prefix">On 22-3-2018 21:19, Greg Chlopowiec
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:037901d3c21b$09a23fd0$1ce6bf70$@usip.ca">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Times New Roman \,serif";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:#1F497D">Hi Henk,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Still on 5.5.2
            (with all hotfixes available)<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">This is what
            I’ve done:<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Added fix to: <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">use
            NGCP::Panel::Utils::Form;<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">to Verify.pm on
            LINE 10
            (/usr/share/perl5/NGCP/Panel/Form/CallRouting/Verify.pm)<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">If I run Call
            routing verification from subscriber to PSTN phone number
            this is what I get (phone numbers and domains changed in the
            output for privacy reasons):<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">caller:   
            15555553434     callee:   16666668787<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">caller in:
                          15555553434     callee in:             
            16666668787<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">caller out:
                       15555553434     callee out:           6666668787<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">caller type:
                     subscriber           callee type:         peer<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Log:<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">found caller
            subscriber '<a class="moz-txt-link-abbreviated" href="mailto:15555553434@res.example.com">15555553434@res.example.com</a>' with id 12<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">call from
            15555553434 using subscriber '<a class="moz-txt-link-abbreviated" href="mailto:15555553434@res.example.com">15555553434@res.example.com</a>'
            id 12<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">using caller
            domain inbound rewrite rule set 'NANP_Domain_Dialplan' with
            id 1<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">caller
            15555553434 is accepted as it matches subscriber's
            'allowed_clis'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">callee
            subscriber lookup based on 16666668787<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">no callee
            subscriber found, performing peer lookup with caller uri
            <a class="moz-txt-link-abbreviated" href="mailto:15555553434@res.example.com">15555553434@res.example.com</a> and callee uri 16666668787 and
            callee 16666668787<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">matched peer
            'PeerProvider' with id 1<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">call to
            16666668787  and peer host 'out-gw-1' (ip: public_ip) with
            id 1<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">using callee
            peer outbound rewrite rule set 'NANP-PeerProvider-dial-plan'
            with id 6<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">callee
            16666668787 is rewritten based on the outbound rules into
            6666668787        <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Now small
            change in Call routing Verification:<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Caller:
            15555553434<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Callee:
            6666668787<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">The result: <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Sorry!<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">500 Internal
            server error<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">We are terribly
            sorry, an exceptional error has occurred:<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">incident
            number: 151E5760C6698F50<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">time of
            incident: 2018-03-22T20:16:37.255090000Z<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Details have
            been logged on the server. If you want to report the error,
            describe what you were doing or attempting to do just
            before.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">cat
            /var/log/ngcp/panel.log | grep 151E5760C6698F50<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Mar 22 21:16:37
            spce ngcp-panel: ERROR: fatal error, id=151E5760C6698F50,
            timestamp=2018-03-22T20:16:37.255090000Z, error=Caught
            exception in
            NGCP::Panel::Controller::CallRouting->callroutingverify
            "Undefined subroutine
            &NGCP::Panel::Utils::Form::validate_number_uri called at
            /usr/share/perl5/NGCP/Panel/Form/CallRouting/Verify.pm line
            152."<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">        <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span style="color:windowtext">From:</span></b><span
                style="color:windowtext"> Henk <a class="moz-txt-link-rfc2396E" href="mailto:henk@voipdigit.nl"><henk@voipdigit.nl></a>
                <br>
                <b>Sent:</b> Thursday, March 22, 2018 1:59 PM<br>
                <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:gregch@usip.ca">gregch@usip.ca</a>; <a class="moz-txt-link-abbreviated" href="mailto:spce-user@lists.sipwise.com">spce-user@lists.sipwise.com</a><br>
                <b>Subject:</b> Re: [Spce-user] Call Routing
                Verification 500 Internal server error<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="margin-bottom:12.0pt">Hi Greg,<br>
          <br>
          I'm on 5.5.3 without the hotfix and for me this fix is still
          working. If it doesn't work for some numbers this may be an
          other problem. Can you post the exception from panel.log?<br>
          <br>
          Regards,<br>
          <br>
          Henk Plessius<span style="font-size:12.0pt"><o:p></o:p></span></p>
        <div>
          <p class="MsoNormal">On 22-3-2018 17:29, Greg Chlopowiec
            wrote:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal"><span style="color:#1F497D">Hi Henk,</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">Thank you for
              the info but unfortunately this fix doesn’t help much in
              version 5.5.2. It worked well in 5.5.1. On some numbers it
              works but on others doesn’t. According to Rene this
              problem was fixed in 5.5.3 so I will do the upgrade later
              on today and I will inform on the outcome.</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">Sincerely</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">Greg </span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
          <div>
            <div style="border:none;border-top:solid #E1E1E1
              1.0pt;padding:3.0pt 0in 0in 0in">
              <p class="MsoNormal"><b><span style="color:windowtext">From:</span></b><span
                  style="color:windowtext"> Spce-user <a
                    href="mailto:spce-user-bounces@lists.sipwise.com"
                    moz-do-not-send="true"><spce-user-bounces@lists.sipwise.com></a>
                  <b>On Behalf Of </b>Henk<br>
                  <b>Sent:</b> Thursday, March 22, 2018 3:52 AM<br>
                  <b>To:</b> <a
                    href="mailto:spce-user@lists.sipwise.com"
                    moz-do-not-send="true">spce-user@lists.sipwise.com</a><br>
                  <b>Subject:</b> Re: [Spce-user] Call Routing
                  Verification 500 Internal server error</span><o:p></o:p></p>
            </div>
          </div>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p>Hi Greg,<o:p></o:p></p>
          <p class="MsoNormal">I posted a fix in <a
href="https://lists.sipwise.com/pipermail/spce-user/2017-December/012096.html"
              moz-do-not-send="true">https://lists.sipwise.com/pipermail/spce-user/2017-December/012096.html</a><br>
            <br>
            To fix add <o:p></o:p></p>
          <pre>use NGCP::Panel::Utils::Form;<o:p></o:p></pre>
          <p>to Verify.pm on line 10
            (/usr/share/perl5/NGCP/Panel/Form/CallRouting/Verify.pm)<o:p></o:p></p>
          <p>Best regards,<o:p></o:p></p>
          <p>Henk Plessius<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <div>
            <p class="MsoNormal">On 22-3-2018 3:30, Greg Chlopowiec
              wrote:<o:p></o:p></p>
          </div>
          <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
            <p class="MsoNormal">Sipwise 5.5.2<o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal">Sorry!<o:p></o:p></p>
            <p class="MsoNormal">500 Internal server error<o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal">We are terribly sorry, an exceptional
              error has occurred:<o:p></o:p></p>
            <p class="MsoNormal">incident number: 151E1CBE93C1A9E8<o:p></o:p></p>
            <p class="MsoNormal">time of incident:
              2018-03-22T02:22:08.946113000Z<o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal">Details have been logged on the server.
              If you want to report the error, describe what you were
              doing or attempting to do just before.<o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal">I had this problem before but I forgot
              how to fix it. <o:p></o:p></p>
            <p class="MsoNormal" style="margin-bottom:12.0pt"><span
                style="font-size:12.0pt;font-family:"Times New
                Roman \,serif""><br>
                <br>
              </span><o:p></o:p></p>
            <pre>_______________________________________________<o:p></o:p></pre>
            <pre>Spce-user mailing list<o:p></o:p></pre>
            <pre><a href="mailto:Spce-user@lists.sipwise.com" moz-do-not-send="true">Spce-user@lists.sipwise.com</a><o:p></o:p></pre>
            <pre><a href="https://lists.sipwise.com/listinfo/spce-user" moz-do-not-send="true">https://lists.sipwise.com/listinfo/spce-user</a><o:p></o:p></pre>
          </blockquote>
          <p class="MsoNormal"><span
              style="font-size:12.0pt;font-family:"Times New Roman
              \,serif""> </span><o:p></o:p></p>
          <p class="MsoNormal"><o:p> </o:p></p>
        </blockquote>
        <p class="MsoNormal"><span
            style="font-size:12.0pt;font-family:"Times New
            Roman",serif"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:12.0pt;font-family:"Times New
            Roman",serif;color:windowtext"><img
              style="width:.0104in;height:.0104in" id="_x0000_i1025"
src="http://t.sidekickopen08.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v4LGBMN7gr-d6d_VdbW63K6Fl2zlZNzW2c3Mwb1k1H6H0?si=6223741096558592&pi=e55c39fc-636c-4525-9b37-695e919d8ace"
alt="http://t.sidekickopen08.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v4LGBMN7gr-d6d_VdbW63K6Fl2zlZNzW2c3Mwb1k1H6H0?si=6223741096558592&pi=e55c39fc-636c-4525-9b37-695e919d8ace"
              moz-do-not-send="true" height="1" width="1" border="0"></span><span
            style="font-size:12.0pt;font-family:"Times New
            Roman",serif;color:windowtext"><o:p></o:p></span></p>
      </div>
    </blockquote>
    <br>
  </body>
</html>