Compare commits

..

6 Commits

Author SHA1 Message Date
Kevin P. Fleming
bf7b61be26 Convert all release tags to Opsound music-on-hold.
For more details:
http://blogs.digium.com/2009/08/18/asterisk-music-on-hold-changes/



git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.2.29@212958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-18 20:42:51 +00:00
Russell Bryant
594f58aa39 Importing files for 1.2.29 release
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.2.29@120124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 19:33:24 +00:00
Russell Bryant
f5b04d4a9c Creating tag for the release of asterisk-1.2.29
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.2.29@120120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 19:32:03 +00:00
Russell Bryant
229bce7251 Creating tag for the release of asterisk-1.2.29
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.2.29@120114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 19:30:58 +00:00
Russell Bryant
c652a76a5c Importing files for 1.2.29 release
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.2.29@115615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-12 14:54:39 +00:00
Russell Bryant
404f65d033 Creating tag for the release of asterisk-1.2.29
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.2.29@115614 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-12 14:53:11 +00:00
4 changed files with 2 additions and 48 deletions

View File

@@ -1 +1 @@
1.2.30
1.2.29

View File

@@ -1,12 +1,3 @@
2008-07-22 Russell Bryant <russell@digium.com>
* Asterisk 1.2.30 released
2008-07-22 21:14 +0000 [r132711] Tilghman Lesher <tlesher@digium.com>
* configs/iax.conf.sample, channels/chan_iax2.c: Fixes for
AST-2008-010 and AST-2008-011
2008-06-03 Russell Bryant <russell@digium.com>
* Asterisk 1.2.29 released

View File

@@ -272,7 +272,6 @@ enum {
IAX_DELAYPBXSTART = (1 << 25), /*!< Don't start a PBX on the channel until the peer sends us a
response, so that we've achieved a three-way handshake with
them before sending voice or anything else*/
IAX_ALLOWFWDOWNLOAD = (1 << 26), /*!< Allow the FWDOWNL command? */
} iax2_flags;
static int global_rtautoclear = 120;
@@ -1283,7 +1282,7 @@ static int find_callno(unsigned short callno, unsigned short dcallno, struct soc
}
/* Look for an existing connection first */
for (x=2;(res < 1) && (x<maxnontrunkcall);x++) {
for (x=1;(res < 1) && (x<maxnontrunkcall);x++) {
ast_mutex_lock(&iaxsl[x]);
if (iaxs[x]) {
/* Look for an exact match */
@@ -3099,15 +3098,6 @@ struct parsed_dial_string {
char *options;
};
static int send_apathetic_reply(unsigned short callno, unsigned short dcallno, struct sockaddr_in *sin, int command, int ts, unsigned char seqno)
{
struct ast_iax2_full_hdr f = { .scallno = htons(0x8000 | callno), .dcallno = htons(dcallno),
.ts = htonl(ts), .iseqno = seqno, .oseqno = seqno, .type = AST_FRAME_IAX,
.csub = compress_subclass(command) };
return sendto(defaultsockfd, &f, sizeof(f), 0, (struct sockaddr *)sin, sizeof(*sin));
}
/*!
* \brief Parses an IAX dial string into its component parts.
* \param data the string to be parsed
@@ -6838,17 +6828,6 @@ static int socket_read(int *id, int fd, short events, void *cbdata)
} else {
f.subclass = uncompress_subclass(fh->csub);
}
/* Deal with POKE/PONG without allocating a callno */
if (f.frametype == AST_FRAME_IAX && f.subclass == IAX_COMMAND_POKE) {
/* Reply back with a PONG, but don't care about the result. */
send_apathetic_reply(1, ntohs(fh->scallno), &sin, IAX_COMMAND_PONG, ntohs(fh->ts), fh->oseqno);
return 1;
} else if (f.frametype == AST_FRAME_IAX && f.subclass == IAX_COMMAND_ACK && dcallno == 1) {
/* Ignore */
return 1;
}
if ((f.frametype == AST_FRAME_IAX) && ((f.subclass == IAX_COMMAND_NEW) || (f.subclass == IAX_COMMAND_REGREQ) ||
(f.subclass == IAX_COMMAND_POKE) || (f.subclass == IAX_COMMAND_FWDOWNL) ||
(f.subclass == IAX_COMMAND_REGREL)))
@@ -7942,10 +7921,6 @@ retryowner2:
break;
case IAX_COMMAND_FWDOWNL:
/* Firmware download */
if (!ast_test_flag(&globalflags, IAX_ALLOWFWDOWNLOAD)) {
send_command_final(iaxs[fr->callno], AST_FRAME_IAX, IAX_COMMAND_UNSUPPORT, 0, NULL, 0, -1);
break;
}
memset(&ied0, 0, sizeof(ied0));
res = iax_firmware_append(&ied0, (unsigned char *)ies.devicetype, ies.fwdesc);
if (res < 0)
@@ -9213,8 +9188,6 @@ static int set_config(char *config_file, int reload)
delayreject = ast_true(v->value);
else if (!strcasecmp(v->name, "mailboxdetail"))
ast_set2_flag((&globalflags), ast_true(v->value), IAX_MESSAGEDETAIL);
else if (!strcasecmp(v->name, "allowfwdownload"))
ast_set2_flag((&globalflags), ast_true(v->value), IAX_ALLOWFWDOWNLOAD);
else if (!strcasecmp(v->name, "rtcachefriends"))
ast_set2_flag((&globalflags), ast_true(v->value), IAX_RTCACHEFRIENDS);
else if (!strcasecmp(v->name, "rtignoreregexpire"))

View File

@@ -255,16 +255,6 @@ autokill=yes
; The default value is 'host'
;
;codecpriority=host
;
; allowfwdownload controls whether this host will serve out firmware to
; IAX clients which request it. This has only been used for the IAXy,
; and it has been recently proven that this firmware distribution method
; can be used as a source of traffic amplification attacks. Also, the
; IAXy firmware has not been updated for at least 18 months, so unless
; you are provisioning IAXys in a secure network, we recommend that you
; leave this option to the default, off.
;
;allowfwdownload=yes
;rtcachefriends=yes ; Cache realtime friends by adding them to the internal list
; just like friends added from the config file only on a