Re: How does sipecho.c work?

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

 




On Mon, Jan 27, 2020 at 10:28 PM mayamatakeshi <mayamatakeshi@xxxxxxxxx> wrote:
Hi,
I'm going thru the sipecho.c source code and it is not clear to me how it echoes RTP back to the UAC. 
I can see it copies the offer SDP, removes some attributes, leaves a single codec and replies but I don't see where it handles the incoming RTP packets.


Ah, I got it. 
Actually sipecho doesn't handle media at all: it just replies with an answer-SDP where the RTP endpoint in the same as in the offer-SDP.
So the uac sends RTP to its own RTP endpoint.




_______________________________________________
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