[Devel] NEW functionalities in Nathelper

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Mar 8 10:15:25 CET 2006


Hi,

based on the latest requests/patches from several users, some functions 
from nathelper module got their functionality upgraded:

- fix_nated_sdp() may take one more parameter to force a specific IP 
instead of the signalling IP.
  See discussion thread 
http://www.openser.org/pipermail/devel/2006-February/002078.html
  Ex: fix_nated_sdp("2","192.168.2.100");
  Pseudo-variables are also supported in the IP definition.

- force_rtp_proxy() accepts a new flag 's' to swap the 
creation/confirmation of RTP session between
  requests and replies (this is needed to be able to cope with SDPs 
advertised via 200OK / ACK)
  See discussion thread 
http://www.openser.org/pipermail/devel/2006-February/002042.html
  Ex: force_rtp_proxy("s");

- add_rcv_param() may take as parameter a flag telling if the parameter 
should go to the contact URI
  or contact header; make sense if you forward REGISTER requests and 
need the registrar to save the
  parameter as part of URI.
  See Discussion thread 
http://www.openser.org/pipermail/devel/2006-February/002103.html
  Ex: add_rcv_param("1"); # add it as URI param

on line docs were also updated.

regards,
bogdan




More information about the Devel mailing list