<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello,<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 14/07/16 11:02, Marino Mileti wrote:<br>
    </div>
    <blockquote
      cite="mid:57875520.d5241c0a.5a283.171bSMTPIN_ADDED_BROKEN@mx.google.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 12 (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:Cambria;
        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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Testo fumetto Carattere";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.StileMessaggioDiPostaElettronica17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.TestofumettoCarattere
        {mso-style-name:"Testo fumetto Carattere";
        mso-style-priority:99;
        mso-style-link:"Testo fumetto";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</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">Hi guys,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><span lang="EN-GB">I've two question
            regarding rpc command.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-GB">Is it possible to
            "execute" a specific route (for example my
            route[REMOTE_TEST]) using a rpc command by kamcmd?<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-GB">If not exist some other
            tricks to do this?</span></p>
      </div>
    </blockquote>
    you can send a xmlrpc, jsonrpc or just http request to kamailio and
    it will result is executing a route or event_route inside
    kamailio.cfg, from where you can execute other sub-routes. See
    xmlrpc, jsonrpc-s or xhttp modules.<br>
    <br>
    Obviously, you can send a sip message with tools like sipsak or sipp
    from command line and handle it inside request_route to execute what
    route block you want.<br>
    <br>
    Sometimes it may just suit executing a route block periodically --
    for that see rtimer module.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <blockquote
      cite="mid:57875520.d5241c0a.5a283.171bSMTPIN_ADDED_BROKEN@mx.google.com"
      type="cite">
      <div class="WordSection1">
        <p class="MsoNormal"><span lang="EN-GB"><o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-GB">Another
            question...regarding uac module...<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-GB">When Kamailio starts the
            UAC module makes a REGISTER according to database...and
            periodically refresh this registration. Is it possible to
            "force" a refresh with rpc command by kamcmd?<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-GB">Many thanks!<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><i><span
              style="font-family:"Cambria","serif";color:#1F497D">Marino
              Maria Mileti</span></i><i><span
style="font-size:12.0pt;font-family:"Cambria","serif";color:#1F497D"><o:p></o:p></span></i></p>
        <p class="MsoNormal"><i><span
style="font-size:9.0pt;font-family:"Cambria","serif";color:#1F497D"><a
                moz-do-not-send="true"
                href="mailto:marino.mileti@alice.it"><span
                  style="color:blue">marino.mileti@alice.it</span></a><o:p></o:p></span></i></p>
        <p class="MsoNormal"><i><span
style="font-size:9.0pt;font-family:"Cambria","serif";color:#1F497D"><o:p> </o:p></span></i></p>
        <p class="MsoNormal"><i><span
style="font-size:9.0pt;font-family:"Cambria","serif";color:#1F497D"><img
                id="Immagine_x0020_6"
                src="cid:part2.073F4912.3A64C073@gmail.com"
                alt="cid:006a01cb6b0e$67eecdae$_CDOSYS2.0" height="26"
                border="0" width="36"></span></i><i><span
              style="font-size:9.0pt;color:#1F497D" lang="EN-US">Reduce
              your energy consumption and keep polar bears on ice!</span></i><span
style="font-size:7.5pt;font-family:"Tahoma","sans-serif";color:#339966"
            lang="EN-US"> </span><span
            style="font-size:12.0pt;font-family:"Times New
            Roman","serif";color:#1F497D" lang="EN-GB"><o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
      </div>
      <br>
      <br>
      <hr style="border:none; color:#909090; background-color:#B0B0B0;
        height: 1px; width: 99%;">
      <table style="border-collapse:collapse;border:none;">
        <tbody>
          <tr>
            <td style="border:none;padding:0px 15px 0px 8px"> <a
                moz-do-not-send="true"
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient">
                <img moz-do-not-send="true"
                  src="http://static.avast.com/emails/avast-mail-stamp.png"
                  alt="Avast logo" border="0"> </a> </td>
            <td>
              <p style="color:#3d4d5a;
font-family:"Calibri","Verdana","Arial","Helvetica";
                font-size:12pt;"> Questa e-mail è stata controllata per
                individuare virus con Avast antivirus. <br>
                <a moz-do-not-send="true"
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient">www.avast.com</a>
              </p>
            </td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> - <a class="moz-txt-link-freetext" href="http://www.kamailio.org">http://www.kamailio.org</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>