Module: sip-router
Branch: master
Commit: 574daa6d4630d055e2f6a281af9bbd9a2ad54ce5
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=574daa6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Mar 29 12:27:19 2012 +0200
core: option to set advertised address and port per socket
- listen parameter can be like:
listen=proto:ip:port advertise ip1:port1
- ip1 and port1 will be used to build Via and Route headers for messages
using the socket
---
cfg.lex | 2 +
cfg.y | 15 +++++
ip_addr.h | 10 +++
main.c | 24 +++++--
msg_translator.c | 101 +++++++++++++++++++++++-------
socket_info.c | 182 ++++++++++++++++++++++++++++++++++++++++++++----------
socket_info.h | 5 ++
7 files changed, 275 insertions(+), 64 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=574…