head 1.6; access; symbols pkgsrc-2018Q2:1.5.0.34 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.32 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.30 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.28 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.24 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.22 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.20 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.18 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.16 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.14 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.12 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.10 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.8 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.6 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.4 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.2 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.4.0.10 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.8 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.6 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.4 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.2 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.3.0.6 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.4 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.2 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.2.0.4 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.2 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.1.1.1.0.10 pkgsrc-2011Q4-base:1.1.1.1 pkgsrc-2011Q3:1.1.1.1.0.8 pkgsrc-2011Q3-base:1.1.1.1 pkgsrc-2011Q2:1.1.1.1.0.6 pkgsrc-2011Q2-base:1.1.1.1 pkgsrc-2011Q1:1.1.1.1.0.4 pkgsrc-2011Q1-base:1.1.1.1 pkgsrc-2010Q4:1.1.1.1.0.2 pkgsrc-2010Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.6 date 2018.07.16.21.17.13; author jnemeth; state dead; branches; next 1.5; commitid G2EZX8T1D6hWdpKA; 1.5 date 2014.07.26.07.03.26; author jnemeth; state Exp; branches; next 1.4; commitid Vs1pNT9xOJhs8RJx; 1.4 date 2013.04.18.16.55.22; author jnemeth; state Exp; branches; next 1.3; 1.3 date 2012.08.03.08.22.53; author jnemeth; state Exp; branches; next 1.2; 1.2 date 2012.01.15.03.32.48; author jnemeth; state Exp; branches; next 1.1; 1.1 date 2010.12.15.03.22.45; author jnemeth; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2010.12.15.03.22.45; author jnemeth; state Exp; branches; next ; desc @@ 1.6 log @Deleting comms/asterisk18 (Asterisk 1.8.*) as mentioned on pkgsrc-users@@ a few weeks ago. This package is ancient and has been EOL for a couple of years. It likely has numerous security issues. Also, the PKGNAME will conflict with the upcoming Asterisk 18.* in a couple of years times. There were no objections. @ text @$NetBSD: patch-ax,v 1.5 2014/07/26 07:03:26 jnemeth Exp $ --- apps/app_queue.c.orig 2014-06-12 15:38:48.000000000 +0000 +++ apps/app_queue.c @@@@ -3591,8 +3591,8 @@@@ static void record_abandoned(struct queu "Uniqueid: %s\r\n" "Position: %d\r\n" "OriginalPosition: %d\r\n" - "HoldTime: %d\r\n", - qe->parent->name, qe->chan->uniqueid, qe->pos, qe->opos, (int)(time(NULL) - qe->start)); + "HoldTime: %jd\r\n", + qe->parent->name, qe->chan->uniqueid, qe->pos, qe->opos, (intmax_t)(time(NULL) - qe->start)); qe->parent->callsabandoned++; ao2_unlock(qe->parent); @@@@ -4309,7 +4309,7 @@@@ static int wait_our_turn(struct queue_en if ((status = get_member_status(qe->parent, qe->max_penalty, qe->min_penalty, qe->parent->leavewhenempty, 0))) { *reason = QUEUE_LEAVEEMPTY; - ast_queue_log(qe->parent->name, qe->chan->uniqueid, "NONE", "EXITEMPTY", "%d|%d|%ld", qe->pos, qe->opos, (long) time(NULL) - qe->start); + ast_queue_log(qe->parent->name, qe->chan->uniqueid, "NONE", "EXITEMPTY", "%d|%d|%jd", qe->pos, qe->opos, (intmax_t) time(NULL) - qe->start); leave_queue(qe); break; } @@@@ -4516,12 +4516,12 @@@@ static void send_agent_complete(const st "Channel: %s\r\n" "Member: %s\r\n" "MemberName: %s\r\n" - "HoldTime: %ld\r\n" - "TalkTime: %ld\r\n" + "HoldTime: %jd\r\n" + "TalkTime: %jd\r\n" "Reason: %s\r\n" "%s", queuename, qe->chan->uniqueid, peer->name, member->interface, member->membername, - (long)(callstart - qe->start), (long)(time(NULL) - callstart), reason, + (intmax_t)(callstart - qe->start), (intmax_t)(time(NULL) - callstart), reason, qe->parent->eventwhencalled == QUEUE_EVENT_VARIABLES ? vars2manager(qe->chan, vars, vars_len) : ""); } @@@@ -4564,9 +4564,9 @@@@ static void queue_transfer_fixup(void *d int callcompletedinsl = qtds->callcompletedinsl; struct ast_datastore *datastore; - ast_queue_log(qe->parent->name, qe->chan->uniqueid, member->membername, "TRANSFER", "%s|%s|%ld|%ld|%d", - new_chan->exten, new_chan->context, (long) (callstart - qe->start), - (long) (time(NULL) - callstart), qe->opos); + ast_queue_log(qe->parent->name, qe->chan->uniqueid, member->membername, "TRANSFER", "%s|%s|%jd|%jd|%d", + new_chan->exten, new_chan->context, (intmax_t) (callstart - qe->start), + (intmax_t) (time(NULL) - callstart), qe->opos); update_queue(qe->parent, member, callcompletedinsl, (time(NULL) - callstart)); @@@@ -5055,7 +5055,7 @@@@ static int try_calling(struct queue_ent } else if (ast_check_hangup(qe->chan)) { /* Caller must have hung up just before being connected */ ast_log(LOG_NOTICE, "Caller was about to talk to agent on %s but the caller hungup.\n", peer->name); - ast_queue_log(queuename, qe->chan->uniqueid, member->membername, "ABANDON", "%d|%d|%ld", qe->pos, qe->opos, (long) time(NULL) - qe->start); + ast_queue_log(queuename, qe->chan->uniqueid, member->membername, "ABANDON", "%d|%d|%jd", qe->pos, qe->opos, (intmax_t) time(NULL) - qe->start); record_abandoned(qe); ast_hangup(peer); ao2_ref(member, -1); @@@@ -5101,8 +5101,8 @@@@ static int try_calling(struct queue_ent /* if setqueueentryvar is defined, make queue entry (i.e. the caller) variables available to the channel */ /* use pbx_builtin_setvar to set a load of variables with one call */ if (qe->parent->setqueueentryvar) { - snprintf(interfacevar, sizeof(interfacevar), "QEHOLDTIME=%ld,QEORIGINALPOS=%d", - (long) time(NULL) - qe->start, qe->opos); + snprintf(interfacevar, sizeof(interfacevar), "QEHOLDTIME=%jd,QEORIGINALPOS=%d", + (intmax_t) time(NULL) - qe->start, qe->opos); pbx_builtin_setvar_multiple(qe->chan, interfacevar); pbx_builtin_setvar_multiple(peer, interfacevar); } @@@@ -5356,8 +5356,8 @@@@ static int try_calling(struct queue_ent ast_log(LOG_WARNING, "Asked to execute an AGI on this channel, but could not find application (agi)!\n"); } qe->handled++; - ast_queue_log(queuename, qe->chan->uniqueid, member->membername, "CONNECT", "%ld|%s|%ld", (long) time(NULL) - qe->start, peer->uniqueid, - (long)(orig - to > 0 ? (orig - to) / 1000 : 0)); + ast_queue_log(queuename, qe->chan->uniqueid, member->membername, "CONNECT", "%jd|%s|%jd", (intmax_t) time(NULL) - qe->start, peer->uniqueid, + (intmax_t)(orig - to > 0 ? (orig - to) / 1000 : 0)); if (qe->chan->cdr) { struct ast_cdr *cdr; @@@@ -5393,12 +5393,12 @@@@ static int try_calling(struct queue_ent "Channel: %s\r\n" "Member: %s\r\n" "MemberName: %s\r\n" - "Holdtime: %ld\r\n" + "Holdtime: %jd\r\n" "BridgedChannel: %s\r\n" - "Ringtime: %ld\r\n" + "Ringtime: %jd\r\n" "%s", queuename, qe->chan->uniqueid, peer->name, member->interface, member->membername, - (long) time(NULL) - qe->start, peer->uniqueid, (long)(orig - to > 0 ? (orig - to) / 1000 : 0), + (intmax_t) time(NULL) - qe->start, peer->uniqueid, (intmax_t)(orig - to > 0 ? (orig - to) / 1000 : 0), qe->parent->eventwhencalled == QUEUE_EVENT_VARIABLES ? vars2manager(qe->chan, vars, sizeof(vars)) : ""); ast_copy_string(oldcontext, qe->chan->context, sizeof(oldcontext)); ast_copy_string(oldexten, qe->chan->exten, sizeof(oldexten)); @@@@ -5430,17 +5430,17 @@@@ static int try_calling(struct queue_ent /* detect a blind transfer */ if (!(qe->chan->_softhangup | peer->_softhangup) && (strcasecmp(oldcontext, qe->chan->context) || strcasecmp(oldexten, qe->chan->exten))) { - ast_queue_log(queuename, qe->chan->uniqueid, member->membername, "TRANSFER", "%s|%s|%ld|%ld|%d", - qe->chan->exten, qe->chan->context, (long) (callstart - qe->start), - (long) (time(NULL) - callstart), qe->opos); + ast_queue_log(queuename, qe->chan->uniqueid, member->membername, "TRANSFER", "%s|%s|%jd|%jd|%d", + qe->chan->exten, qe->chan->context, (intmax_t) (callstart - qe->start), + (intmax_t) (time(NULL) - callstart), qe->opos); send_agent_complete(qe, queuename, peer, member, callstart, vars, sizeof(vars), TRANSFER); } else if (ast_check_hangup(qe->chan) && !ast_check_hangup(peer)) { - ast_queue_log(queuename, qe->chan->uniqueid, member->membername, "COMPLETECALLER", "%ld|%ld|%d", - (long) (callstart - qe->start), (long) (time(NULL) - callstart), qe->opos); + ast_queue_log(queuename, qe->chan->uniqueid, member->membername, "COMPLETECALLER", "%jd|%jd|%d", + (intmax_t) (callstart - qe->start), (intmax_t) (time(NULL) - callstart), qe->opos); send_agent_complete(qe, queuename, peer, member, callstart, vars, sizeof(vars), CALLER); } else { - ast_queue_log(queuename, qe->chan->uniqueid, member->membername, "COMPLETEAGENT", "%ld|%ld|%d", - (long) (callstart - qe->start), (long) (time(NULL) - callstart), qe->opos); + ast_queue_log(queuename, qe->chan->uniqueid, member->membername, "COMPLETEAGENT", "%jd|%jd|%d", + (intmax_t) (callstart - qe->start), (intmax_t) (time(NULL) - callstart), qe->opos); send_agent_complete(qe, queuename, peer, member, callstart, vars, sizeof(vars), AGENT); } if ((tds = ast_channel_datastore_find(qe->chan, &queue_transfer_info, NULL))) { @@@@ -6336,8 +6336,8 @@@@ check_turns: record_abandoned(&qe); reason = QUEUE_TIMEOUT; res = 0; - ast_queue_log(args.queuename, chan->uniqueid,"NONE", "EXITWITHTIMEOUT", "%d|%d|%ld", - qe.pos, qe.opos, (long) time(NULL) - qe.start); + ast_queue_log(args.queuename, chan->uniqueid,"NONE", "EXITWITHTIMEOUT", "%d|%d|%jd", + qe.pos, qe.opos, (intmax_t) time(NULL) - qe.start); break; } @@@@ -6379,7 +6379,7 @@@@ check_turns: if ((status = get_member_status(qe.parent, qe.max_penalty, qe.min_penalty, qe.parent->leavewhenempty, 0))) { record_abandoned(&qe); reason = QUEUE_LEAVEEMPTY; - ast_queue_log(args.queuename, chan->uniqueid, "NONE", "EXITEMPTY", "%d|%d|%ld", qe.pos, qe.opos, (long)(time(NULL) - qe.start)); + ast_queue_log(args.queuename, chan->uniqueid, "NONE", "EXITEMPTY", "%d|%d|%jd", qe.pos, qe.opos, (intmax_t)(time(NULL) - qe.start)); res = 0; break; } @@@@ -6401,7 +6401,7 @@@@ check_turns: record_abandoned(&qe); reason = QUEUE_TIMEOUT; res = 0; - ast_queue_log(qe.parent->name, qe.chan->uniqueid,"NONE", "EXITWITHTIMEOUT", "%d|%d|%ld", qe.pos, qe.opos, (long) time(NULL) - qe.start); + ast_queue_log(qe.parent->name, qe.chan->uniqueid,"NONE", "EXITWITHTIMEOUT", "%d|%d|%jd", qe.pos, qe.opos, (intmax_t) time(NULL) - qe.start); break; } @@@@ -6428,8 +6428,8 @@@@ stop: if (!qe.handled) { record_abandoned(&qe); ast_queue_log(args.queuename, chan->uniqueid, "NONE", "ABANDON", - "%d|%d|%ld", qe.pos, qe.opos, - (long) time(NULL) - qe.start); + "%d|%d|%jd", qe.pos, qe.opos, + (intmax_t) time(NULL) - qe.start); res = -1; } else if (qcontinue) { reason = QUEUE_CONTINUE; @@@@ -6437,7 +6437,7 @@@@ stop: } } else if (qe.valid_digits) { ast_queue_log(args.queuename, chan->uniqueid, "NONE", "EXITWITHKEY", - "%s|%d|%d|%ld", qe.digits, qe.pos, qe.opos, (long) time(NULL) - qe.start); + "%s|%d|%d|%jd", qe.digits, qe.pos, qe.opos, (intmax_t) time(NULL) - qe.start); } } @ 1.5 log @Update to Asterisk 1.8.29.0: this is a general bug fix release. The Asterisk Development Team has announced the release of Asterisk 1.8.29.0. The release of Asterisk 1.8.29.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following are the issues resolved in this release: Bugs fixed in this release: ----------------------------------- * ASTERISK-22551 - Session timer : UAS (Asterisk) starts counting at Invite, UAC starts counting at 200 OK. (Reported by i2045) * ASTERISK-23582 - [patch]Inconsistent column length in *odbc (Reported by Walter Doekes) * ASTERISK-23803 - AMI action UpdateConfig EmptyCat clears all categories but the requested one (Reported by zvision) * ASTERISK-23035 - ConfBridge with name longer than max (32 chars) results in several bridges with same conf_name (Reported by Iñaki Cívico) * ASTERISK-23683 - #includes - wildcard character in a path more than one directory deep - results in no config parsing on module reload (Reported by tootai) * ASTERISK-23827 - autoservice thread doesn't exit at shutdown (Reported by Corey Farrell) * ASTERISK-23814 - No call started after peer dialed (Reported by Igor Goncharovsky) * ASTERISK-23673 - Security: DOS by consuming the number of allowed HTTP connections. (Reported by Richard Mudgett) * ASTERISK-23246 - DEBUG messages in sdp_crypto.c display despite a DEBUG level of zero (Reported by Rusty Newton) * ASTERISK-23766 - [patch] Specify timeout for database write in SQLite (Reported by Igor Goncharovsky) * ASTERISK-23818 - PBX_Lua: after asterisk startup module is loaded, but dialplan not available (Reported by Dennis Guse) * ASTERISK-23667 - features.conf.sample is unclear as to which options can or cannot be set in the general section (Reported by David Brillert) * ASTERISK-23790 - [patch] - SIP From headers longer than 256 characters result in dropped call and 'No closing bracket' warnings. (Reported by uniken1) * ASTERISK-23908 - [patch]When using FEC error correction, asterisk tries considers negative sequence numbers as missing (Reported by Torrey Searle) * ASTERISK-23921 - refcounter.py uses excessive ram for large refs files (Reported by Corey Farrell) * ASTERISK-23948 - REF_DEBUG fails to record ao2_ref against objects that were already freed (Reported by Corey Farrell) * ASTERISK-23984 - Infinite loop possible in ast_careful_fwrite() (Reported by Steve Davies) * ASTERISK-23897 - [patch]Change in SETUP ACK handling (checking PI) in revision 413765 breaks working environments (Reported by Pavel Troller) Improvements made in this release: ----------------------------------- * ASTERISK-23564 - [patch]TLS/SRTP status of channel not currently available in a CLI command (Reported by Patrick Laimbock) * ASTERISK-23492 - Add option to safe_asterisk to disable backgrounding (Reported by Walter Doekes) For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.29.0 Thank you for your continued support of Asterisk! @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Update to Asterisk 1.8.21.0: this is a bug fix update The Asterisk Development Team has announced the release of Asterisk 1.8.21.0. The release of Asterisk 1.8.21.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following is a sample of the issues resolved in this release: * --- Fix issue where chan_mobile fails to bind to first available port * --- Fix station ringback; trunk hangup issues in SLA * --- Fix Queue Log Reporting Every Call COMPLETECALLER With "h" Extension Present * --- Fix Record-Route parsing for large headers. * --- Fix AMI redirect action with two channels failing to redirect both channels. For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.21.0 Thank you for your continued support of Asterisk! @ text @d3 1 a3 1 --- apps/app_queue.c.orig 2013-01-08 20:22:16.000000000 +0000 d5 1 a5 1 @@@@ -3533,8 +3533,8 @@@@ static void record_abandoned(struct queu d16 1 a16 1 @@@@ -4210,7 +4210,7 @@@@ static int wait_our_turn(struct queue_en d18 1 a18 1 if ((status = get_member_status(qe->parent, qe->max_penalty, qe->min_penalty, qe->parent->leavewhenempty))) { d25 1 a25 1 @@@@ -4417,12 +4417,12 @@@@ static void send_agent_complete(const st d41 1 a41 1 @@@@ -4465,9 +4465,9 @@@@ static void queue_transfer_fixup(void *d d54 1 a54 1 @@@@ -4956,7 +4956,7 @@@@ static int try_calling(struct queue_ent d63 1 a63 1 @@@@ -5002,8 +5002,8 @@@@ static int try_calling(struct queue_ent d74 1 a74 1 @@@@ -5257,8 +5257,8 @@@@ static int try_calling(struct queue_ent d85 1 a85 1 @@@@ -5294,12 +5294,12 @@@@ static int try_calling(struct queue_ent d101 1 a101 1 @@@@ -5331,17 +5331,17 @@@@ static int try_calling(struct queue_ent d126 1 a126 1 @@@@ -6237,8 +6237,8 @@@@ check_turns: d137 2 a138 2 @@@@ -6280,7 +6280,7 @@@@ check_turns: if ((status = get_member_status(qe.parent, qe.max_penalty, qe.min_penalty, qe.parent->leavewhenempty))) { d146 1 a146 1 @@@@ -6302,7 +6302,7 @@@@ check_turns: d155 1 a155 1 @@@@ -6329,8 +6329,8 @@@@ stop: d166 9 @ 1.3 log @Update to Asterisk 1.8.15.0; this is a general bug fix release: The release of Asterisk 1.8.15.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following is a sample of the issues resolved in this release: * --- Fix deadlock potential with ast_set_hangupsource() calls. * --- Fix request routing issue when outboundproxy is used. * --- Make the address family filter specific to the transport. * --- Fix NULL pointer segfault in ast_sockaddr_parse() * --- Do not perform install on existing directories For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.15.0 Thank you for your continued support of Asterisk! @ text @d3 1 a3 1 --- apps/app_queue.c.orig 2012-06-22 22:07:35.000000000 +0000 d5 1 a5 1 @@@@ -3357,8 +3357,8 @@@@ static void record_abandoned(struct queu d16 1 a16 1 @@@@ -4003,7 +4003,7 @@@@ static int wait_our_turn(struct queue_en d25 1 a25 1 @@@@ -4209,12 +4209,12 @@@@ static void send_agent_complete(const st d41 1 a41 1 @@@@ -4257,9 +4257,9 @@@@ static void queue_transfer_fixup(void *d d54 1 a54 1 @@@@ -4748,7 +4748,7 @@@@ static int try_calling(struct queue_ent d63 1 a63 1 @@@@ -4794,8 +4794,8 @@@@ static int try_calling(struct queue_ent d74 1 a74 1 @@@@ -5051,8 +5051,8 @@@@ static int try_calling(struct queue_ent d85 1 a85 1 @@@@ -5088,12 +5088,12 @@@@ static int try_calling(struct queue_ent d101 1 a101 1 @@@@ -5125,17 +5125,17 @@@@ static int try_calling(struct queue_ent d112 1 a112 1 } else if (ast_check_hangup(qe->chan)) { d126 1 a126 1 @@@@ -6026,8 +6026,8 @@@@ check_turns: d137 1 a137 1 @@@@ -6069,7 +6069,7 @@@@ check_turns: d146 1 a146 1 @@@@ -6091,7 +6091,7 @@@@ check_turns: d155 1 a155 1 @@@@ -6118,8 +6118,8 @@@@ stop: @ 1.2 log @Update to Asterisk 1.8.8.1. share/doc/asterisk/AST.{txt,pdf} has been replaced with share/doc/asterisk/Asterisk_Admin_Guide. You will need a browser to read the latter. ----- Asterisk 1.8.8.1 ----- The release of Asterisk 1.8.8.1 resolves a regression introduced in Asterisk 1.8.8.0 reported by the community, and would have not been possible without your participation. Thank you! The following is the issue resolved in this release: * Handle AST_CONTROL_UPDATE_RTP_PEER frames in local bridge loop Failing to handle AST_CONTROL_UPDATE_RTP_PEER frames in the local bridge loop causes the loop to exit prematurely. This causes a variety of negative side effects, which may include having Music On Hold failing during a SIP Hold. For a full description of the changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.8.1 Thank you for your continued support of Asterisk! ----- Asterisk 1.8.8.0 ----- The release of Asterisk 1.8.8.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following is a sample of the issues resolved in this release: * Updated SIP 484 handling; added Incomplete control frame When a SIP phone uses the dial application and receives a 484 Address Incomplete response, if overlapped dialing is enabled for SIP, then the 484 Address Incomplete is forwarded back to the SIP phone and the HANGUPCAUSE channel variable is set to 28. Previously, the Incomplete application dialplan logic was automatically triggered; now, explicit dialplan usage of the application is required. * Prevent IAX2 from getting IPv6 addresses via DNS IAX2 does not support IPv6 and getting such addresses from DNS can cause error messages on the remote end involving bad IPv4 address casts in the presence of IPv6/IPv4 tunnels. * Fix bad RTP media bridges in directmedia calls on peers separated by multiple Asterisk nodes. * Fix crashes in ast_rtcp_write() * Fix for incorrect voicemail duration in external notifications. This patch fixes an issue where the voicemail duration was being reported with a duration significantly less than the actual sound file duration. * Prevent segfault if call arrives before Asterisk is fully booted. * Fix remote Crash Vulnerability in SIP channel driver (AST-2011-012) http://downloads.asterisk.org/pub/security/AST-2011-012.pdf * Fix locking order in app_queue.c which caused deadlocks * Fix regression in configure script for libpri capability checks * Prevent BLF subscriptions from causing deadlocks. * Fix deadlock if peer is destroyed while sending MWI notice. * Fix issue with setting defaultenabled on categories that are already enabled by default. * Don't crash on INFO automon request with no channel AST-2011-014. When automon was enabled in features.conf, it was possible to crash Asterisk by sending an INFO request if no channel had been created yet. * Fixed crash from orphaned MWI subscriptions in chan_sip This patch resolves the issue where MWI subscriptions are orphaned by subsequent SIP SUBSCRIBE messages. * Default to nat=yes; warn when nat in general and peer differ AST-2011-013. It is possible to enumerate SIP usernames when the general and user/peer nat settings differ in whether to respond to the port a request is sent from or the port listed for responses in the Via header. For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.8.0 Thank you for your continued support of Asterisk! @ text @d3 1 a3 1 --- apps/app_queue.c.orig 2011-09-23 08:34:03.000000000 +0000 d5 1 a5 1 @@@@ -3358,8 +3358,8 @@@@ static void record_abandoned(struct queu d16 1 a16 1 @@@@ -3948,7 +3948,7 @@@@ static int wait_our_turn(struct queue_en d25 1 a25 1 @@@@ -4153,12 +4153,12 @@@@ static void send_agent_complete(const st d41 1 a41 1 @@@@ -4201,9 +4201,9 @@@@ static void queue_transfer_fixup(void *d d54 3 a56 3 @@@@ -4681,7 +4681,7 @@@@ static int try_calling(struct queue_ent } else if (res2) { /* Caller must have hung up just before being connected*/ d63 1 a63 1 @@@@ -4727,8 +4727,8 @@@@ static int try_calling(struct queue_ent d74 1 a74 1 @@@@ -4984,8 +4984,8 @@@@ static int try_calling(struct queue_ent d85 1 a85 1 @@@@ -5021,12 +5021,12 @@@@ static int try_calling(struct queue_ent d101 1 a101 1 @@@@ -5058,17 +5058,17 @@@@ static int try_calling(struct queue_ent d126 1 a126 1 @@@@ -5959,8 +5959,8 @@@@ check_turns: d137 1 a137 1 @@@@ -6002,7 +6002,7 @@@@ check_turns: d146 1 a146 1 @@@@ -6024,7 +6024,7 @@@@ check_turns: d155 1 a155 1 @@@@ -6051,8 +6051,8 @@@@ stop: @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD: patch-ax,v 1.5 2010/09/23 23:30:38 jnemeth Exp $ d3 1 a3 1 --- apps/app_queue.c.orig 2010-09-21 20:29:59.000000000 +0000 d5 1 a5 1 @@@@ -3180,8 +3180,8 @@@@ static void record_abandoned(struct queu d16 1 a16 1 @@@@ -3768,7 +3768,7 @@@@ static int wait_our_turn(struct queue_en d25 1 a25 1 @@@@ -3972,12 +3972,12 @@@@ static void send_agent_complete(const st d41 1 a41 1 @@@@ -4020,9 +4020,9 @@@@ static void queue_transfer_fixup(void *d d54 1 a54 1 @@@@ -4516,7 +4516,7 @@@@ static int try_calling(struct queue_ent d63 1 a63 1 @@@@ -4562,8 +4562,8 @@@@ static int try_calling(struct queue_ent d74 1 a74 1 @@@@ -4808,8 +4808,8 @@@@ static int try_calling(struct queue_ent d82 4 a85 4 if (update_cdr && qe->chan->cdr) ast_copy_string(qe->chan->cdr->dstchannel, member->membername, sizeof(qe->chan->cdr->dstchannel)); if (qe->parent->eventwhencalled) @@@@ -4819,12 +4819,12 @@@@ static int try_calling(struct queue_ent d101 1 a101 1 @@@@ -4856,17 +4856,17 @@@@ static int try_calling(struct queue_ent d126 1 a126 1 @@@@ -5765,8 +5765,8 @@@@ check_turns: d137 1 a137 1 @@@@ -5808,7 +5808,7 @@@@ check_turns: d146 1 a146 1 @@@@ -5830,7 +5830,7 @@@@ check_turns: d155 1 a155 1 @@@@ -5857,8 +5857,8 @@@@ stop: @ 1.1.1.1 log @ Import Asterisk 1.8.1: Asterisk is a complete PBX in software. It provides all of the features you would expect from a PBX and more. Asterisk does voice over IP in three protocols, and can interoperate with almost all standards-based telephony equipment using relatively inexpensive hardware. Asterisk 1.8 is a long term support version (i.e. it will be supported for four years with an additional year of security only fixes). See: https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions What's new: Asterisk 1.8 is the next major release series of Asterisk. The release of Asterisk 1.8.0 would not have been possible without the support and contributions of the community. Since Asterisk 1.6.2, we've had over 500 reporters, more than 300 testers and greater than 200 developers contributed to this release. You can find a summary of the work involved with the 1.8.0 release in the sumary: http://svn.asterisk.org/svn/asterisk/tags/1.8.0/asterisk-1.8.0-summary.txt A short list of available features includes: * Secure RTP * IPv6 Support in the SIP channel driver * Connected Party Identification Support * Calendaring Integration * A new call logging system, Channel Event Logging (CEL) * Distributed Device State using Jabber/XMPP PubSub * Call Completion Supplementary Services support * Advice of Charge support * Much, much more! A full list of new features can be found in the CHANGES file. http://svn.digium.com/view/asterisk/branches/1.8/CHANGES?view=markup For a full list of changes in the current release candidate, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.0 ----- The Asterisk Development Team has announced the release of Asterisk 1.8.1. The release of Asterisk 1.8.1 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following is a sample of the issues resolved in this release: * Fix issue when using directmedia. Asterisk needs to limit the codecs offered to just the ones that both sides recognize, otherwise they may end up sending audio that the other side doesn't understand. (Closes issue #17403. Reported, patched by one47. Tested by one47, falves11) * Resolve issue where Party A in an analog 3-way call would continue to hear ringback after party C answers. (Patched by rmudgett) * Fix playback failure when using IAX with the timerfd module. (Closes issue #18110. Reported, tested by tpanton. Patched by jpeeler) * Fix problem with qualify option packets for realtime peers never stopping. The option packets not only never stopped, but if a realtime peer was not in the peer list multiple options dialogs could accumulate over time. (Closes issue #16382. Reported by lftsy. Tested by zerohalo. Patched by jpeeler) * Fix issue where it is possible to crash Asterisk by feeding the curl engine invalid data. (Closes issue #18161. Reported by wdoekes. Patched by tilghman) For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.1 @ text @@