Media transport config in Python module

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

 



Hi,

I'm developing a Python application using the pjsua Python module. I'm behind a NAT and don't have a STUN server. I set up port forwarding for the SIP and RTP ports, and now I only need to tell pjsua my external ip address. I used TransportConfig.public_addr for this, but it appears that this only influences the SIP transport, not the media transports --- in particular not the SDP, so I don't get any incoming audio.

In the command line utility pjsua, the --ip-addr option sets the public_addr for both SIP transports and RTP transports. That's nice because now the SDP offered contains the public ip address and I do get incoming audio.

Do you have any suggestions?
Could the pjsua module be extended to support configuring the media transports?

Regards,

Bram



[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