<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>As a quick hacking session this morning, based on your interest,
      I just exported the t_load_contacts()/t_next_contacts() to KEMI
      interface, so if you use latest master, then you can use them
      dirrection without the call_function() wrapper.</p>
    <p><br>
    </p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 05.05.17 08:27, Daniel-Constantin
      Mierla wrote:<br>
    </div>
    <blockquote
      cite="mid:5b2f5577-0ea5-e761-cfff-1195a9eecf75@gmail.com"
      type="cite">
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      <p>Hello,</p>
      <p><br>
      </p>
      <p>these messages are printed by debugger module because you
        enabled cfgtrace and the log level for them is ERROR. But they
        are not real execution errors. If you set cfgtrace to 0 for
        debugger module, then you will not see them.<br>
      </p>
      <p><br>
      </p>
      <p>Cheers,<br>
        Daniel<br>
      </p>
      <br>
      <div class="moz-cite-prefix">On 04.05.17 21:29, Samuel F. wrote:<br>
      </div>
      <blockquote
cite="mid:DM3PR17MB0698B7480BF9DDA81789D21BC3EA0@DM3PR17MB0698.namprd17.prod.outlook.com"
        type="cite">
        <meta http-equiv="Content-Type" content="text/html;
          charset=utf-8">
        <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
        <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;"
          dir="ltr">
          <p>Hi,</p>
          <p><br>
          </p>
          <p>Using KEMI Python and doing serial forking via:</p>
          <p><br>
          </p>
          <p><span>msg.call_function("t_load_contacts")</span></p>
          <p><span><span style="font-family: Calibri, Arial, Helvetica,
                sans-serif, EmojiFont, "Apple Color Emoji",
                "Segoe UI Emoji", NotoColorEmoji, "Segoe
                UI Symbol", "Android Emoji",
                EmojiSymbols; font-size: 16px;">msg.call_function("</span><span
                style="font-family: Calibri, Arial, Helvetica,
                sans-serif, EmojiFont, "Apple Color Emoji",
                "Segoe UI Emoji", NotoColorEmoji, "Segoe
                UI Symbol", "Android Emoji",
                EmojiSymbols; font-size: 16px;">t_next_contacts</span><span
                style="font-family: Calibri, Arial, Helvetica,
                sans-serif, EmojiFont, "Apple Color Emoji",
                "Segoe UI Emoji", NotoColorEmoji, "Segoe
                UI Symbol", "Android Emoji",
                EmojiSymbols; font-size: 16px;">"</span><span
                style="font-family: Calibri, Arial, Helvetica,
                sans-serif, EmojiFont, "Apple Color Emoji",
                "Segoe UI Emoji", NotoColorEmoji, "Segoe
                UI Symbol", "Android Emoji",
                EmojiSymbols; font-size: 16px;">)</span><br>
            </span></p>
          <p><span><span style="font-family: Calibri, Arial, Helvetica,
                sans-serif, EmojiFont, "Apple Color Emoji",
                "Segoe UI Emoji", NotoColorEmoji, "Segoe
                UI Symbol", "Android Emoji",
                EmojiSymbols; font-size: 16px;"><br>
              </span></span></p>
          <p><span><span style="font-family: Calibri, Arial, Helvetica,
                sans-serif, EmojiFont, "Apple Color Emoji",
                "Segoe UI Emoji", NotoColorEmoji, "Segoe
                UI Symbol", "Android Emoji",
                EmojiSymbols; font-size: 16px;"><span
                  style="font-family: Calibri, Arial, Helvetica,
                  sans-serif, EmojiFont, "Apple Color Emoji",
                  "Segoe UI Emoji", NotoColorEmoji,
                  "Segoe UI Symbol", "Android
                  Emoji", EmojiSymbols; font-size: 16px;">* I
                  couldn't see that the functions are exported to KEMI
                  yet. I'm not great with C so I haven't tried exporting
                  them myself.</span><br>
              </span></span></p>
          <p><span><span style="font-family: Calibri, Arial, Helvetica,
                sans-serif, EmojiFont, "Apple Color Emoji",
                "Segoe UI Emoji", NotoColorEmoji, "Segoe
                UI Symbol", "Android Emoji",
                EmojiSymbols; font-size: 16px;"><br>
              </span></span></p>
          <p><span><span style="font-family: Calibri, Arial, Helvetica,
                sans-serif, EmojiFont, "Apple Color Emoji",
                "Segoe UI Emoji", NotoColorEmoji, "Segoe
                UI Symbol", "Android Emoji",
                EmojiSymbols; font-size: 16px;">I get the following in
                the log files:</span></span></p>
          <p><span><span style="font-family: Calibri, Arial, Helvetica,
                sans-serif, EmojiFont, "Apple Color Emoji",
                "Segoe UI Emoji", NotoColorEmoji, "Segoe
                UI Symbol", "Android Emoji",
                EmojiSymbols; font-size: 16px;"><span
                  style="font-family: Calibri, Arial, Helvetica,
                  sans-serif, EmojiFont, "Apple Color Emoji",
                  "Segoe UI Emoji", NotoColorEmoji,
                  "Segoe UI Symbol", "Android
                  Emoji", EmojiSymbols; font-size: 16px;"></span></span></span></p>
          <div>PYT {INVITE}:  5(11963) ERROR: ***
            cfgtrace:request_route=[] c=[] l=0 a=26 n=t_load_contacts</div>
          <div>PYT {INVITE}:  5(11963) ERROR: ***
            cfgtrace:request_route=[] c=[] l=0 a=26 n=t_next_contacts</div>
          <span style="font-family: Calibri, Arial, Helvetica,
            sans-serif, EmojiFont, "Apple Color Emoji",
            "Segoe UI Emoji", NotoColorEmoji, "Segoe UI
            Symbol", "Android Emoji", EmojiSymbols;
            font-size: 16px;"></span><br>
          <p><span><span style="font-family: Calibri, Arial, Helvetica,
                sans-serif, EmojiFont, "Apple Color Emoji",
                "Segoe UI Emoji", NotoColorEmoji, "Segoe
                UI Symbol", "Android Emoji",
                EmojiSymbols; font-size: 16px;">However, it seems to
                be working anyway. </span></span><span style="font-size:
              12pt;">Is the ERROR because I use the msg.call_function()
              ? Is there any better way to do serial forking using KEMI?</span></p>
          <p><span style="font-size: 12pt;"><br>
            </span></p>
          <p><span style="font-size: 12pt;">Thank you,</span></p>
          <p><span style="font-size: 12pt;">Samuel F</span></p>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
      </blockquote>
      <br>
      <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - May 22-24 (USA) - <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 8-10, 2017 - <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - May 22-24 (USA) - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 8-10, 2017 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>