[SR-Users] Command Line SIP client

Henning Westerholt hw at skalatan.de
Thu Oct 31 17:27:01 CET 2019


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 at lists.kamailio.org> On Behalf Of Julien Chavanton
Sent: Thursday, October 31, 2019 3:57 PM
To: Kamailio (SER) - Users Mailing List <sr-users at 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 at evaristesys.com<mailto:abalashov at evaristesys.com>> wrote:
On Thu, Oct 31, 2019 at 01:30:32PM +0530, Gaurav Bmotra wrote:

> hi
> i m looking for Command Line SIP client , where i can register user form
> CLI for testing

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 at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20191031/30eaf848/attachment.html>


More information about the sr-users mailing list