pjsip blog

Tracking development of pjsip, the Open Source SIP, media, and NAT traversal stack/SDK/library for Android, iOS, Windows, Linux, MacOS, RTOS, embedded, and pretty much anything, any device.

Also check PJSIP Documentation site.

, , ,

Command Line SIP Client

Josh Benson of Open Source Society tells us how pjsua can be used as fully featured SIP client to solve real life problems in PJSIP: Command-Line VoIP Client for Linux:

Some time ago, I was tasked at work with finding an IP telephony client that used the SIP protocol, ran on linux, and did everything from the command line. The goal was to have a program that could be deployed at remote networks to test the quality and performance of VoIP calls between the remote site and our central Asterisk VoIP server.

Read more..

Josh has it spot on. While pjsua is intended primarily as the reference implementation of PJSIP (command line programs are always easier to learn than GUI), it is also intended to have the full features of a SIP client. Softphones with pretty GUI are easier to use, and they are also easier to find, but for some specific tasks, sometimes we have to revert back to using the good old console application, and that’s where pjsua fits the bill.

I’m glad that Josh and others find it useful. Thanks Josh for sharing your experience.

[Update: As the Open Source Society website is gone, I’ve removed the hyperlink. Sorry. Let me know if this is temporary and it’s back]

7 responses to “Command Line SIP Client”

  1. chandrashekar B  S Avatar
    chandrashekar B S

    Hi,
    I’ve implemented pjsip stack(UA) on atmel AMRV5(linux).It work good and i’m very happy.

    with warm regards
    chandrashekarB.S

  2. Anitha Avatar
    Anitha

    Hi
    Chandrashekar,

    Even i am trying to port PJSIP on atmel ARMV4(linux),but iam facing some error during run time

    Could u please send me all the details of compiling and building pjsip on ARM and also send any changes made in build.mak and config_site.h

    Waiting for ur reply
    Thanks
    Anitha Suresh

  3. Dave Avatar

    I share the belief the command line SIP clients are useful. Unfortunately, from what I’ve seen so far, they’re not as straight-forward to use as GUI clients. You might have to dig through the docs to figure out how to use it with your specific IP PBX, etc.

    And some like PJSIP require you to compile from source. Would be nice to have pre-built binaries for those who can’t or don’t know how to compile the source.

  4. SIP Client on Puppy Linux « pjsip blog Avatar

    […] the open source time travel project (I kid you not), has released PuppySIP, which wraps the command line SIP client pjsua. Puppy Linux is one of the smallest (if not THE smallest) Linux distribution around. I use it […]

  5. kitten Avatar

    Man, this thing rocks. I just found out about it and compiled it; I was looking for something just like this for the same reason as Josh. For testing remote voip clients, this thing is invaluable. Now, I have to wrap my head around their sketchy documentation.. but otherwise, an excellent tool to have.

  6. ismangil Avatar

    kitten,

    If you can let us know which bits of the sketchy documentation you want us to elaborate on, we’ll try to improve it.

    Thanks for your comment!

  7. Adrian Georgescu Avatar

    Hi,

    There are more simple to use line unix SIP command clients based on PJSIP here:

    http://sipsimpleclient.com/wiki/SipTesting

    Session establishment

    sip_audio_session – Setup a voice audio session (Voice over IP)
    sip_im_session – Setup IM session and File transfer using MSRP protocol
    sip_desktop_sharing – Share desktop using VNC protocol over MSRP transport
    sip_message – Send/receive text in page mode using SIP MESSAGE method

    Presence

    sip_publish_presence – PUBLISH presence to a SIP Presence Agent
    sip_subscribe_presence – SUBSCRIBE to presence information
    sip_subscribe_winfo – SUBSCRIBE to watcher list on a SIP Presence Agent
    sip_subscribe_rls – SUBSCRIBE to lists managed by Resource List Server

    Presence policy

    xcapclient – PUT/GET/DELETE full or partial documents on an XCAP server
    xcap_pres_rules – Manage content of pres-rules XCAP document
    xcap_rls_services – Manage content of RLS services XCAP document
    Register

    sip_register – REGISTER a SIP end-point with a SIP Registrar

Navigation

About

Here is where we talk about pjsip development in general, and maybe other stuff as well. For the project itself, please go to the main pjsip project website. or pjsip documentation.

PJSIP is backed by Teluu, which provides professional support, additional licensing options, and a network of qualified consultants.