TOS over transport udp for sip, rtp, rtcp.

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

 



Hi benny:

I've been doing a lot of research about this topic for pjsua... but there
are some mailinglist for this but I think are quite old (2007) and I think
that info is not available, I don't know where to find a post from january/
2007.

I've set TOS using pj_setsockopt(), and I know that works in sip (I've just
tested for py_pjsua over linux).

For sip, I added pj_setsockopt inside this function udp_set_socket().

but for rtp, I added pj_setsockopt() inside this function
pjmedia_transport_udp_create3(), but with not success like with sip. I mean,
the code point of the message it still being 0x00, and not the one I
previously setted.

I've also tried before call function pj_ioqueue_register_sock that is inside
function pjmedia_transport_udp_attach, but there is an error, the error is
that "operation not permited".

And for last, I now that it's not really a good idea to modify the pjsua
project, but I don't know where I can set my TOS/DSCP's for the streams. I
wonder if could exist some global define over config_site.h and set per
example:

#define PJ_TOS_SIP 0x60
#define PJ_TOS_RTP 0xB8
#define PJ_TOS_RTCP 0xXX

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080422/cb9819d4/attachment.html 


[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