hi i m looking for Command Line SIP client , where i can register user form CLI for testing
thank you
Hi Gaurav,
we use *pjsua* for this purpose
best regards
--
Giovanni Tommasini | evosip
web: https://evosip.cloud
Il giorno gio 31 ott 2019 alle ore 09:03 Gaurav Bmotra < saigauravmehra91@gmail.com> ha scritto:
hi, i like this one: https://github.com/alfredh/baresip
On Thursday, October 31, 2019, Gaurav Bmotra saigauravmehra91@gmail.com wrote:
There also sipp
On Thu, 31 Oct 2019 at 08:19, mayamatakeshi mayamatakeshi@gmail.com wrote:
hi *David Villasmil* how can i use sipp to register a account like i wan to register on this --- user : test pass: 1234 domain: sip-test.com transport: tls port :5061 ----- thank you
On Thu, Oct 31, 2019 at 3:13 PM David Villasmil < david.villasmil.work@gmail.com> wrote:
I use this cheat sheet a lot
https://tomeko.net/other/sipp/sipp_cheatsheet.php?lang=en
You need to create a csv file with your user/pass, it’s pretty simple.
There’s also lots of scenarios files (-sf) here
https://github.com/saghul/sipp-scenarios
But if all you want it to register, it might be simpler to just get Zoiper and configure an account to your server.
Regards
David
On Thu, 31 Oct 2019 at 09:56, Gaurav Bmotra saigauravmehra91@gmail.com wrote:
Hello,
if it is about doing registration from cli just for testing, check also the sipsak tool.
Cheers, Daniel
On 31.10.19 09:00, Gaurav Bmotra wrote:
On Thu, Oct 31, 2019 at 01:30:32PM +0530, Gaurav Bmotra wrote:
You might consider the demo CLI client that ships with PJSIP:
https://www.pjsip.org/pjsua.htm#acc
-- Alex
Hi Gaurav,
Form my experience, PJSSIP is one very good option for end to end testing, it is a very RFC compliant SIP stack, it will fail if anything is wrong and will usually provide verbose logging explaining why it failed.
If you want to integrate such a CLI tool in CI/CD to provide automated end to end tests. I would recommend looking at https://github.com/jchavanton/voip_patrol (note that I may not be neutral since I am the author) This app is based on the higher level library PJSSUA2 and is using XML scenario (a little bit like Freeswitch does) and does provide JSON formatted test results.
A Dockerfile is provided https://github.com/jchavanton/voip_patrol/tree/master/docker
If you need to mock broken clients, SIPP will be very handy, since you are mainly forging raw messages.
I personally use a mixture of both in CI/CD
Regards Julien
On Thu, Oct 31, 2019 at 7:22 AM Alex Balashov abalashov@evaristesys.com wrote:
Hi Julien,
This looks interesting, thanks for sharing!
Cheers,
Henning
-- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://skalatan.de/services
From: sr-users sr-users-bounces@lists.kamailio.org On Behalf Of Julien Chavanton Sent: Thursday, October 31, 2019 3:57 PM To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Subject: Re: [SR-Users] Command Line SIP client
Hi Gaurav,
Form my experience, PJSSIP is one very good option for end to end testing, it is a very RFC compliant SIP stack, it will fail if anything is wrong and will usually provide verbose logging explaining why it failed.
If you want to integrate such a CLI tool in CI/CD to provide automated end to end tests. I would recommend looking at https://github.com/jchavanton/voip_patrol (note that I may not be neutral since I am the author) This app is based on the higher level library PJSSUA2 and is using XML scenario (a little bit like Freeswitch does) and does provide JSON formatted test results.
A Dockerfile is provided https://github.com/jchavanton/voip_patrol/tree/master/docker
If you need to mock broken clients, SIPP will be very handy, since you are mainly forging raw messages.
I personally use a mixture of both in CI/CD
Regards Julien
On Thu, Oct 31, 2019 at 7:22 AM Alex Balashov <abalashov@evaristesys.commailto:abalashov@evaristesys.com> wrote: On Thu, Oct 31, 2019 at 01:30:32PM +0530, Gaurav Bmotra wrote:
You might consider the demo CLI client that ships with PJSIP:
https://www.pjsip.org/pjsua.htm#acc
-- Alex
-- Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.orgmailto:sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users