diff --git a/ChangeLog b/ChangeLog index 697cd2a..c1b1931 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 0.5.12 ====== + 31-Jan-2006: - CALLIDHOST_SIZE to 128: support longer hostnames 1-Jan-2006: - short-dial: use "302 Moved" to point to target 28-Dec-2005: - Call logging: display FROM & TO for calls. 26-Dec-2005: - Added a short-dial feature ("pi_shortdial_*" config options) diff --git a/configure.in b/configure.in index 1ddeefb..1f835e0 100644 --- a/configure.in +++ b/configure.in @@ -49,7 +49,7 @@ dnl Release Version dnl SPD_MAJOR_VERSION=0 SPD_MINOR_VERSION=5 -SPD_MICRO_VERSION=11 +SPD_MICRO_VERSION=12 SPD_VERSION=$SPD_MAJOR_VERSION.$SPD_MINOR_VERSION.$SPD_MICRO_VERSION diff --git a/src/rtpproxy.h b/src/rtpproxy.h index eb9529d..a01df98 100644 --- a/src/rtpproxy.h +++ b/src/rtpproxy.h @@ -21,7 +21,7 @@ /* $Id$ */ #define CALLIDNUM_SIZE 256 -#define CALLIDHOST_SIZE 32 +#define CALLIDHOST_SIZE 128 #define CLIENT_ID_SIZE 128 typedef struct { int rtp_rx_sock; /* rx socket (0 -> free slot)*/ diff --git a/src/rtpproxy_relay.c b/src/rtpproxy_relay.c index fd11211..1321bbf 100644 --- a/src/rtpproxy_relay.c +++ b/src/rtpproxy_relay.c @@ -420,21 +420,21 @@ int rtp_relay_start_fwd (osip_call_id_t *callid, char *client_id, * the constants CALLIDNUM_SIZE and/or CALLIDHOST_SIZE. */ if (callid->number && strlen(callid->number) > CALLIDNUM_SIZE) { - ERROR("rtp_relay_start_fwd: received callid number " + ERROR("rtp_relay_start_fwd: received callid number [%s] " "has too many characters (%i, max=%i)", - strlen(callid->number),CALLIDNUM_SIZE); + callid->number, strlen(callid->number),CALLIDNUM_SIZE); return STS_FAILURE; } if (callid->host && strlen(callid->host) > CALLIDHOST_SIZE) { - ERROR("rtp_relay_start_fwd: received callid host " + ERROR("rtp_relay_start_fwd: received callid host [%s] " "has too many characters (%i, max=%i)", - strlen(callid->host),CALLIDHOST_SIZE); + callid->host, strlen(callid->host),CALLIDHOST_SIZE); return STS_FAILURE; } if (client_id && strlen(client_id) > CLIENT_ID_SIZE) { - ERROR("rtp_relay_start_fwd: client ID has too many characters " + ERROR("rtp_relay_start_fwd: client ID [%s] has too many characters " "(%i, max=%i) (maybe you need to increase CLIENT_ID_SIZE", - strlen(client_id),CLIENT_ID_SIZE); + client_id, strlen(client_id),CLIENT_ID_SIZE); return STS_FAILURE; }