Hello,

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/).

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:

  * https://github.com/nils-ohlmeier/sipsak

If you need to send over websocket, a while ago I wrote a small tool in go - wsctl:

  * https://github.com/miconda/wsctl

Cheers,
Daniel

On 30/03/16 21:21, Igor Olhovskiy wrote:
Hi, all
Not a Kamailio-related question, but.
I want to form SIP-packets with info I need and receive answers.
At first iteration in would be PUBLISH (with XML info) messages (PUBLISH - 200 OK) sent to Kamailio.
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?

--
Best regards,
Igor


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com