Re: Getting notified on RTP/RTCP address changes

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

 



I see. I did not understand your use case. You are talking about the _source_ port. I am not familiar with any SDP attribute that specifies the source port as you are suggesting, nor can I think of any use case where one would care. What are you trying to do?


From: pjsip <pjsip-bounces@xxxxxxxxxxxxxxx> on behalf of mscdexdotexe <mscdex@xxxxxxxxxx>
Sent: 30 March 2018 21:19:15
To: pjsip list
Subject: Re: Getting notified on RTP/RTCP address changes
 
Hello Marcel,

PJSIP automatically adjusts these addresses if it detects a different source address and/or port. This can be disabled with the PJMEDIA_UDP_NO_SRC_ADDR_CHECKING flag, but some SIP clients will use a dummy port in the SDP and then transmit from a different port, so disabling PJSIP's automatic switching behavior is not useful/helpful. There is also nothing I can do about the SIP clients in question, so it would be nice if there was a way to subscribe to these source address/port changes so I can update my application appropriately.

On Thu, Mar 29, 2018 at 10:46 AM, Landman, Marcel (Comms & Control Solutions) <Marcel.Landman@xxxxxxxxxxxx> wrote:

you will need to use a packet sniffer to diagnose this type of issue. An application will only receive packets on the ports it is listening on. If you want to change the port your application listens on, you need to use the SIP re-invite process (which exchanges a new SDP)


From: pjsip <pjsip-bounces@xxxxxxxxxxxxxxx> on behalf of mscdexdotexe <mscdex@xxxxxxxxxx>
Sent: 26 March 2018 10:17:12
To: pjsip@xxxxxxxxxxxxxxx
Subject: Getting notified on RTP/RTCP address changes
 
Is there some way to get notified when the RTP/RTCP address changes in pjsip, for example when pjsip notices a stream coming from a different port number than the original port number from the SDP?


This message has been scanned by Capita’s systems, but if you believe it to be spam then click here to report this email as spam.



This email is security checked and subject to the disclaimer on web-page: http://www.capita.co.uk/email-disclaimer.aspx


_______________________________________________
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