<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    to add a bit more to the suggestions offered by the others ... if
    you have the sip packet in a file, you can send it over with
    protoshoot (included in kamailio at utils/protoshoot/).<br>
    <br>
    Maybe more useful will be sipsak, it allows to do a lot of sip stuff
    from command line -- this should be packaged on most linux distros,
    if not, it is hosted on github by the author Nils Olhmeier:<br>
    <br>
      * <a class="moz-txt-link-freetext" href="https://github.com/nils-ohlmeier/sipsak">https://github.com/nils-ohlmeier/sipsak</a><br>
    <br>
    If you need to send over websocket, a while ago I wrote a small tool
    in go - wsctl:<br>
    <br>
      * <a class="moz-txt-link-freetext" href="https://github.com/miconda/wsctl">https://github.com/miconda/wsctl</a><br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 30/03/16 21:21, Igor Olhovskiy
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAJTkRNtV39-TpC2nOMuEa=8V-MG=oDp39LptTUUMAz+C+g32yw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi, all
        <div>Not a Kamailio-related question, but.</div>
        <div>I want to form SIP-packets with info I need and receive
          answers.</div>
        <div>At first iteration in would be PUBLISH (with XML info)
          messages (PUBLISH - 200 OK) sent to Kamailio.</div>
        <div>I want to use Python (more preferable) or Lua (less
          preferable). Is there any lib I can create messages with, or
          forget and just use plain text + UDP socket?</div>
        <div>
          <div>
            <div><br>
            </div>
            -- <br>
            <div class="gmail_signature">
              <div dir="ltr">Best regards,
                <div>Igor</div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <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://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>
Kamailio World Conference, Berlin, May 18-20, 2016 - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
  </body>
</html>