Re: [SR-Users] Framework/Lib to create SIP packets

2016-04-01 Thread Daniel-Constantin Mierla
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 pa

Re: [SR-Users] Framework/Lib to create SIP packets

2016-03-30 Thread Igor Olhovskiy
Yep, thanks for it too. sipp with custom XML can do the trick also. 2016-03-30 23:06 GMT+03:00 Anton Tonev : > You can probably use the sipp tool. It is more for load testing but you > can easily create messages. > > 2016-03-30 22:00 GMT+02:00 Igor Olhovskiy : > >> - then why are you asking this

Re: [SR-Users] Framework/Lib to create SIP packets

2016-03-30 Thread Anton Tonev
You can probably use the sipp tool. It is more for load testing but you can easily create messages. 2016-03-30 22:00 GMT+02:00 Igor Olhovskiy : > - then why are you asking this on kamailio mailing list? :) > I know here are many SIP-developers. Question about SIP, and receiver of > this message

Re: [SR-Users] Framework/Lib to create SIP packets

2016-03-30 Thread Igor Olhovskiy
- then why are you asking this on kamailio mailing list? :) I know here are many SIP-developers. Question about SIP, and receiver of this message would be Kamailio :) 2016-03-30 22:52 GMT+03:00 Alex Balashov : > On 03/30/2016 03:47 PM, Igor Olhovskiy wrote: > > Oh… Node. Too async for me ) But t

Re: [SR-Users] Framework/Lib to create SIP packets

2016-03-30 Thread Alex Balashov
On 03/30/2016 03:47 PM, Igor Olhovskiy wrote: Oh… Node. Too async for me ) But thanks. Yeah, I know. But look how easy - seductively easy. :) --- functionLRNquery(tn, req, res) { sip.send({ method: 'INVITE', uri: 'sip:' + tn + '@208.52.173.7:50

Re: [SR-Users] Framework/Lib to create SIP packets

2016-03-30 Thread huseyin kalyoncu
then why are you asking this on kamailio mailing list? :) On Wed, Mar 30, 2016 at 10:48 PM, Igor Olhovskiy wrote: > With uac_req_send() I need to have Kamailio installed just to send message > ;) Overkill a bit. But thanks :) > > 2016-03-30 22:47 GMT+03:00 Igor Olhovskiy : > >> Oh… Node. Too asy

Re: [SR-Users] Framework/Lib to create SIP packets

2016-03-30 Thread Igor Olhovskiy
With uac_req_send() I need to have Kamailio installed just to send message ;) Overkill a bit. But thanks :) 2016-03-30 22:47 GMT+03:00 Igor Olhovskiy : > Oh… Node. Too async for me ) But thanks. > > 2016-03-30 22:44 GMT+03:00 Alex Balashov : > >> It may seem kind of ludicrous, but I actually foun

Re: [SR-Users] Framework/Lib to create SIP packets

2016-03-30 Thread Igor Olhovskiy
Oh… Node. Too async for me ) But thanks. 2016-03-30 22:44 GMT+03:00 Alex Balashov : > It may seem kind of ludicrous, but I actually found node-sip the easiest > to use for crafting some custom requests... > > https://github.com/kirm/sip.js/blob/master/doc/api.markdown > > -- > Alex Balashov | Pri

Re: [SR-Users] Framework/Lib to create SIP packets

2016-03-30 Thread huseyin kalyoncu
is this what you are looking for? http://kamailio.org/docs/modules/4.4.x/modules/uac.html#uac.f.uac_req_send() On Wed, Mar 30, 2016 at 10:44 PM, Alex Balashov wrote: > It may seem kind of ludicrous, but I actually found node-sip the easiest > to use for crafting some custom requests... > > http

Re: [SR-Users] Framework/Lib to create SIP packets

2016-03-30 Thread Alex Balashov
It may seem kind of ludicrous, but I actually found node-sip the easiest to use for crafting some custom requests... https://github.com/kirm/sip.js/blob/master/doc/api.markdown -- Alex Balashov | Principal | Evariste Systems LLC 1447 Peachtree Street NE, Suite 700 Atlanta, GA 30309 United State

Re: [SR-Users] Framework/Lib to create SIP packets

2016-03-30 Thread Igor Olhovskiy
Yep, will look at PJSUA, thanks. More question is how to make sip packets with less work )) 2016-03-30 22:27 GMT+03:00 Anton Tonev : > Hello, > > Your question is about how to send customized PUBLISH to Kamailio? > > Anton > On Mar 30, 2016 21:22, "Igor Olhovskiy" wrote: > >> Hi, all >> Not a K

Re: [SR-Users] Framework/Lib to create SIP packets

2016-03-30 Thread Anton Tonev
Hello, Your question is about how to send customized PUBLISH to Kamailio? Anton On Mar 30, 2016 21:22, "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

Re: [SR-Users] Framework/Lib to create SIP packets

2016-03-30 Thread Alex Balashov
There are Python bindings for PJSUA (simplified UA wrapper, part of PJSIP)... -- Alex Balashov | Principal | Evariste Systems LLC 1447 Peachtree Street NE, Suite 700 Atlanta, GA 30309 United States Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) Web: http://www.evaristesys.com/, htt

[SR-Users] Framework/Lib to create SIP packets

2016-03-30 Thread Igor Olhovskiy
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