Sat, 03 Oct 2009 16:18:52 +0200
Update version, adjust corresponding buildconf, and correct logic.
1: Make minor corrections and improvements to scripts patch logic.
2: Upgrade to most recent stable release version 3.0.2.
3: Force selection of a single db backend, as multiple ones never
were supported (changing 'with_db<end>' identifiers accordingly.)
4: Unfortunately add gawk requirement although only partly needed.
5: Add openssl::with_threads requirement to solve strange and hard
to debug problems on Solaris leading to connection failures:
'host-dir JobId 0: Error: openssl.c:86 Connect failure: ERR=error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number'
and
'host-dir JobId 40: Fatal error: TLS negotiation failed with FD at "back1.host.com:9102"'
1 Index: channels/chan_sip.c
2 diff -Nau channels/chan_sip.c.orig channels/chan_sip.c
3 --- channels/chan_sip.c.orig 2009-04-24 00:54:30.000000000 +0200
4 +++ channels/chan_sip.c 2009-04-24 00:56:15.000000000 +0200
5 @@ -5214,8 +5214,10 @@
7 numberofports = 1;
8 len = -1;
9 - if ((sscanf(m, "audio %d/%d RTP/AVP %n", &x, &numberofports, &len) == 2 && len > 0) ||
10 - (sscanf(m, "audio %d RTP/AVP %n", &x, &len) == 1 && len > 0)) {
11 + if (((sscanf(m, "audio %d/%d RTP/AVP %n", &x, &numberofports, &len) == 2) && (len > 0)) ||
12 + ((sscanf(m, "audio %d/%d RTP/SAVP %n", &x, &numberofports, &len) == 2) && (len > 0)) ||
13 + ((sscanf(m, "audio %d RTP/AVP %n", &x, &len) == 1) && (len > 0)) ||
14 + ((sscanf(m, "audio %d RTP/SAVP %n", &x, &len) == 1) && (len > 0))) {
15 audio = TRUE;
16 numberofmediastreams++;
17 /* Found audio stream in this media definition */