Implement add_record_route/1 which uses default values for host and port. Implement myhostname/0 which looks for a configured hostname and otherwise return the hosts IP address. Export default_port/1. Remove redundant logging in send_response(). send_response_to: check if there is a received= parameter on the Via, and use it if there is. send_response_to: If the send fails, log it and return the error to the caller. default_port: handle both list and integer values. send_proxy_request(): use myhostname() in added Via header. Remove obsoleted send_proxy_request/4. print_contact: Improve formatting send_proxy_response: Check that there is a Via left to use as destination after we remove the topmost.
Implement add_record_route/1 which uses default values for host
and port.
Implement myhostname/0 which looks for a configured hostname and
otherwise return the hosts IP address.
Export default_port/1.
Remove redundant logging in send_response().
send_response_to: check if there is a received= parameter on the
Via, and use it if there is.
send_response_to: If the send fails, log it and return the error
to the caller.
default_port: handle both list and integer values.
send_proxy_request(): use myhostname() in added Via header.
Remove obsoleted send_proxy_request/4.
print_contact: Improve formatting
send_proxy_response: Check that there is a Via left to use as
destination after we remove the topmost.


git-svn-id: 3f662d0c7823f96a484d6a9a7c90f2d7866b6747@225 e454d3dc-12ff-0310-9b8b-94264392205f

bernardd/yxa,bernardd/yxa,bernardd/yxa,bernardd/yxa