Bugs item #1352051, was opened at 2005-11-09 12:15
Message generated for change (Comment added) made by kaiv
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=756076&aid=1352051&group_id=143636

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 3
Submitted By: Kai Vehmanen (kaiv)
Assigned to: Nobody/Anonymous (nobody)
Summary: Removal of getenv()s

Initial Comment:
All instances of getenv() in the libsofia-sip-ua
library (i.e. excluding example clients) should be
either removed, or clearly documented in the
appropriate module documentation.

Reported on sofia-sip-devel on 2005-11-09.

----------------------------------------------------------------------

>Comment By: Kai Vehmanen (kaiv)
Date: 2006-06-01 22:51

Message:
Logged In: YES 
user_id=25486

All the unnecessary getenv()s have now been removed, and the
rest documented. If new instances of careless getenv() use
are found, those should be filed as separate tickets (one
ticket per getenv() use instance).

----------------------------------------------------------------------

Comment By: Kai Vehmanen (kaiv)
Date: 2006-03-09 20:01

Message:
Logged In: YES 
user_id=25486

Here's the current status (2006-03-09).

Getenvs that should be configurable from the API: 
- two uses in nta.c (SIPCOMPACT, SIP_UDP_CONNECT)
- nua_stack.c - (PIMIW_HACK) :o ..?
- tport.c (TPORT_SSL)
- su_addrinfo (GAI)

Overrides, etc - ok, as long as are documented:
- sresolv.c - (LOCALDOMAIN)
- su_localinfo.c (HOSTADDR, HOSTADDR6)
- stun_common.c - (HOSTADDRESS)
- stun.c - (STUN_SERVER)
- tport.c - (HOME)

Ok uses:
- log switches (TPORT_LOG, FOO_DEBUG, etc)
- in test and example apps


----------------------------------------------------------------------

Comment By: Kai Vehmanen (kaiv)
Date: 2005-11-10 11:52

Message:
Logged In: YES 
user_id=25486

Current status (quoting P.Pessi's mail on sofia-sip-devel):

Environment variables for application to use, if applicable
(not related to this bug item):
- sip_proxy  - SIP uri of outbound proxy
- SIPADDRESS - SIP uri of user

Environment variables I think are currently used by stack
are here:
- STUN_SERVER - use STUN, overrides STUNTAG_SERVER()
- LOCALDOMAIN (documented in man resolv.conf)
- SIPCOMPACT - use one-letter names of SIP headers
- HOSTADDR6  - preferred IPv6 address
- TPORT_SSL  - use SSLv3 (instead of TLS) for sips and https
URLs.

Then there are environment variables controlling debugging
output (will remain in the stack):
- NUA_DEBUG
- NEA_DEBUG
- NTA_DEBUG
- NTH_DEBUG
- SOA_DEBUG
- IPTSEC_DEBUG
- TPORT_DEBUG
- TPORT_LOG
- TPORT_DUMP
- STUN_DEBUG
- SU_DEBUG
- SOFIA_DEBUG
- SHOW_DEBUG_LEVELS


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=756076&aid=1352051&group_id=143636


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to