bound_addr/public_addr won't set RTP address

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

 



Hi!

Sandeep Karanth, 27.11.2012 05:08:
> now,if I can recall correctly you can do these
...
> acc_cfg.*rtp_cfg.public_addr = pj_str("THE_IP_YOU_WISH_TO_SET");*
> acc_cfg.*rtp_cfg.bound_addr= pj_str("THE_IP_YOU_WISH_TO_SET");*

That's what I needed. Many thanks!

As I'm using the python module, I had to hack this in the wrapper code.
For simplicity, I added an "rtp_addr" option to the create_account()
method. The patch is attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtp_addr.patch
Type: text/x-patch
Size: 2659 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20121128/fa056a8c/attachment-0001.patch>


[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