Re: pjsua-lib usage without the media subsystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rus,

how would you receive a call without listening on a port?
Disabling audio device does not imply media stack shutdown. 

If you need sip protocol only, it seems to me, you'd better start from scratch and 
implement your own user agent.

Also, there is an article showing how to integrate third party media stack: https://trac.pjsip.org/repos/wiki/3rd_Party_Media_20

Andrey

----- Original Message -----
From: rus@xxxxxxxx
To: "pjsip" <pjsip@xxxxxxxxxxxxxxx>
Sent: Wednesday, October 11, 2017 10:26:17 PM
Subject: Re:  pjsua-lib usage without the media subsystem

Andrey,

The main issue is that PJSUA still listening at SDP RTP ports despite the pjsua_set_null_snd_dev() call :

...
udp        0      0 0.0.0.0:4000            0.0.0.0:*                           6061/pjsipua
...

 How to disbale this ? I need only custom SDP negotiation - no RTP
listening, no media hardware involved.

Rus

--------
SfinxSoft
http://sfinxsoft.com

On Wed, 11 Oct 2017, Лухнов Андрей Олегович wrote:

> Rus,
>
> please familiarize yourself with pjsip faq and docs: https://trac.pjsip.org/repos/wiki/FAQ#no-snd-dev
>
> majority of questions are covered there.
>
> Best,
> Andrey
>
> ----- Original Message -----
> From: rus@xxxxxxxx
> To: "pjsip" <pjsip@xxxxxxxxxxxxxxx>
> Sent: Wednesday, October 11, 2017 2:39:48 PM
> Subject:  pjsua-lib usage without the media subsystem
>
> Greetings,
>
> Is it possible to use the pjsua-lib without the media ? I'm developing the
> SIP-2-RTSP gateway so just need from the PJSIP the custom SDP negotiation
> only. Can you please guide me howto to with pjsua-lib the following :
>
> a) disable the media (audio and video)
> b) build the custom INVITE with my own SDP fields (ports, codecs, etc.)
>
> All the RTP/RTCP data supposed to be handled by third_party RTSP library.
>
> Thanks in advance
>
> Rus
>
> --------
> SfinxSoft
> http://sfinxsoft.com
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip@xxxxxxxxxxxxxxx
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip@xxxxxxxxxxxxxxx
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux