diff --git a/conf/autoload_configs/switch.conf.xml b/conf/autoload_configs/switch.conf.xml
index fba809ba2c..8342f120fc 100644
--- a/conf/autoload_configs/switch.conf.xml
+++ b/conf/autoload_configs/switch.conf.xml
@@ -16,7 +16,7 @@
-
+
diff --git a/conf/sip_profiles/internal.xml b/conf/sip_profiles/internal.xml
index 3e756a85c0..d09ca79dce 100644
--- a/conf/sip_profiles/internal.xml
+++ b/conf/sip_profiles/internal.xml
@@ -337,6 +337,9 @@
A completed transaction is kept around for the duration of T4 in order to catch late responses.
The T4 is the maximum duration for the messages to stay in the network and the duration of SIP timer K. -->
+
+
+
diff --git a/debian/freeswitch.init b/debian/freeswitch.init
index ddde2f5518..283400aabc 100755
--- a/debian/freeswitch.init
+++ b/debian/freeswitch.init
@@ -9,7 +9,7 @@
# Description: An advanced platform for voice services
### END INIT INFO
-# Author: Anthony Minesalle III
+# Author: Anthony Minesalle II
#
# Do NOT "set -e"
diff --git a/freeswitch.spec b/freeswitch.spec
index 05401b8e8a..66db65c698 100644
--- a/freeswitch.spec
+++ b/freeswitch.spec
@@ -613,7 +613,6 @@ fi
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/*.ttml
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/*.xml
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/extensions.conf
-%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/m3ua.conf
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/mime.types
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/acl.conf.xml
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/alsa.conf.xml
diff --git a/libs/esl/src/esl_buffer.c b/libs/esl/src/esl_buffer.c
index 8032169fe3..173c9cb76c 100644
--- a/libs/esl/src/esl_buffer.c
+++ b/libs/esl/src/esl_buffer.c
@@ -82,7 +82,7 @@ ESL_DECLARE(esl_status_t) esl_buffer_create(esl_buffer_t **buffer, esl_size_t bl
ESL_DECLARE(esl_size_t) esl_buffer_len(esl_buffer_t *buffer)
{
- assert(buffer != NULL);
+ esl_assert(buffer != NULL);
return buffer->datalen;
@@ -91,8 +91,7 @@ ESL_DECLARE(esl_size_t) esl_buffer_len(esl_buffer_t *buffer)
ESL_DECLARE(esl_size_t) esl_buffer_freespace(esl_buffer_t *buffer)
{
- assert(buffer != NULL);
-
+ esl_assert(buffer != NULL);
if (buffer->max_len) {
return (esl_size_t) (buffer->max_len - buffer->used);
@@ -103,7 +102,7 @@ ESL_DECLARE(esl_size_t) esl_buffer_freespace(esl_buffer_t *buffer)
ESL_DECLARE(esl_size_t) esl_buffer_inuse(esl_buffer_t *buffer)
{
- assert(buffer != NULL);
+ esl_assert(buffer != NULL);
return buffer->used;
}
@@ -112,7 +111,7 @@ ESL_DECLARE(esl_size_t) esl_buffer_seek(esl_buffer_t *buffer, esl_size_t datalen
{
esl_size_t reading = 0;
- assert(buffer != NULL);
+ esl_assert(buffer != NULL);
if (buffer->used < 1) {
buffer->used = 0;
@@ -133,7 +132,7 @@ ESL_DECLARE(esl_size_t) esl_buffer_toss(esl_buffer_t *buffer, esl_size_t datalen
{
esl_size_t reading = 0;
- assert(buffer != NULL);
+ esl_assert(buffer != NULL);
if (buffer->used < 1) {
buffer->used = 0;
@@ -174,8 +173,8 @@ ESL_DECLARE(esl_size_t) esl_buffer_read(esl_buffer_t *buffer, void *data, esl_si
{
esl_size_t reading = 0;
- assert(buffer != NULL);
- assert(data != NULL);
+ esl_assert(buffer != NULL);
+ esl_assert(data != NULL);
if (buffer->used < 1) {
@@ -201,7 +200,7 @@ ESL_DECLARE(esl_size_t) esl_buffer_packet_count(esl_buffer_t *buffer)
char *pe, *p, *e, *head = (char *) buffer->head;
esl_size_t x = 0;
- assert(buffer != NULL);
+ esl_assert(buffer != NULL);
e = (head + buffer->used);
@@ -224,8 +223,8 @@ ESL_DECLARE(esl_size_t) esl_buffer_read_packet(esl_buffer_t *buffer, void *data,
char *pe, *p, *e, *head = (char *) buffer->head;
esl_size_t datalen = 0;
- assert(buffer != NULL);
- assert(data != NULL);
+ esl_assert(buffer != NULL);
+ esl_assert(data != NULL);
e = (head + buffer->used);
@@ -251,9 +250,9 @@ ESL_DECLARE(esl_size_t) esl_buffer_write(esl_buffer_t *buffer, const void *data,
{
esl_size_t freespace, actual_freespace;
- assert(buffer != NULL);
- assert(data != NULL);
- assert(buffer->data != NULL);
+ esl_assert(buffer != NULL);
+ esl_assert(data != NULL);
+ esl_assert(buffer->data != NULL);
if (!datalen) {
return buffer->used;
@@ -312,8 +311,8 @@ ESL_DECLARE(esl_size_t) esl_buffer_write(esl_buffer_t *buffer, const void *data,
ESL_DECLARE(void) esl_buffer_zero(esl_buffer_t *buffer)
{
- assert(buffer != NULL);
- assert(buffer->data != NULL);
+ esl_assert(buffer != NULL);
+ esl_assert(buffer->data != NULL);
buffer->used = 0;
buffer->actually_used = 0;
diff --git a/libs/freetdm/mod_freetdm/mod_freetdm.c b/libs/freetdm/mod_freetdm/mod_freetdm.c
index 7bbdef6dae..f50d26c290 100755
--- a/libs/freetdm/mod_freetdm/mod_freetdm.c
+++ b/libs/freetdm/mod_freetdm/mod_freetdm.c
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005/2006, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
@@ -17,13 +17,13 @@
* The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
*
* The Initial Developer of the Original Code is
- * Anthony Minessale II
+ * Anthony Minessale II
* Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
- * Anthony Minessale II
+ * Anthony Minessale II
* Moises Silva
* David Yat Sin
*
@@ -1255,11 +1255,11 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
}
if (switch_test_flag(outbound_profile, SWITCH_CPF_SCREEN)) {
- caller_data.screen = 1;
+ caller_data.screen = FTDM_SCREENING_VERIFIED_PASSED;
}
if (switch_test_flag(outbound_profile, SWITCH_CPF_HIDE_NUMBER)) {
- caller_data.pres = 1;
+ caller_data.pres = FTDM_PRES_RESTRICTED;
}
if ((var = channel_get_variable(session, var_event, "freetdm_bearer_capability"))) {
diff --git a/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn.c b/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn.c
index 8d6472c054..c13f584df8 100644
--- a/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn.c
+++ b/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn.c
@@ -234,7 +234,7 @@ ftdm_state_map_t sangoma_isdn_state_map = {
ZSD_OUTBOUND,
ZSM_UNACCEPTABLE,
{FTDM_CHANNEL_STATE_RINGING, FTDM_END},
- {FTDM_CHANNEL_STATE_TERMINATING, FTDM_CHANNEL_STATE_HANGUP, FTDM_CHANNEL_STATE_PROGRESS_MEDIA, FTDM_CHANNEL_STATE_UP, FTDM_END},
+ {FTDM_CHANNEL_STATE_TERMINATING, FTDM_CHANNEL_STATE_HANGUP, FTDM_CHANNEL_STATE_PROGRESS, FTDM_CHANNEL_STATE_PROGRESS_MEDIA, FTDM_CHANNEL_STATE_UP, FTDM_END},
},
{
ZSD_OUTBOUND,
diff --git a/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn.h b/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn.h
index 087845f857..58fcc07040 100644
--- a/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn.h
+++ b/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn.h
@@ -408,11 +408,10 @@ ftdm_status_t set_restart_ind_ie(ftdm_channel_t *ftdmchan, RstInd *rstInd);
ftdm_status_t set_facility_ie(ftdm_channel_t *ftdmchan, FacilityStr *facilityStr);
ftdm_status_t set_facility_ie_str(ftdm_channel_t *ftdmchan, uint8_t *data, uint8_t *data_len);
-
-uint8_t sngisdn_get_infoTranCap_from_stack(ftdm_bearer_cap_t bearer_capability);
-uint8_t sngisdn_get_usrInfoLyr1Prot_from_stack(ftdm_user_layer1_prot_t layer1_prot);
-ftdm_bearer_cap_t sngisdn_get_infoTranCap_from_user(uint8_t bearer_capability);
-ftdm_user_layer1_prot_t sngisdn_get_usrInfoLyr1Prot_from_user(uint8_t layer1_prot);
+uint8_t sngisdn_get_infoTranCap_from_user(ftdm_bearer_cap_t bearer_capability);
+uint8_t sngisdn_get_usrInfoLyr1Prot_from_user(ftdm_user_layer1_prot_t layer1_prot);
+ftdm_bearer_cap_t sngisdn_get_infoTranCap_from_stack(uint8_t bearer_capability);
+ftdm_user_layer1_prot_t sngisdn_get_usrInfoLyr1Prot_from_stack(uint8_t layer1_prot);
static __inline__ uint32_t sngisdn_test_flag(sngisdn_chan_data_t *sngisdn_info, sngisdn_flag_t flag)
{
diff --git a/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_stack_hndl.c b/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_stack_hndl.c
index 305d23ca6a..912d061963 100644
--- a/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_stack_hndl.c
+++ b/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_stack_hndl.c
@@ -143,7 +143,7 @@ void sngisdn_process_con_ind (sngisdn_event_data_t *sngisdn_event)
ftdm_log_chan(sngisdn_info->ftdmchan, FTDM_LOG_INFO, "Incoming call: Called No:[%s] Calling No:[%s]\n", ftdmchan->caller_data.dnis.digits, ftdmchan->caller_data.cid_num.digits);
if (conEvnt->bearCap[0].eh.pres) {
- ftdmchan->caller_data.bearer_layer1 = sngisdn_get_infoTranCap_from_stack(conEvnt->bearCap[0].usrInfoLyr1Prot.val);
+ ftdmchan->caller_data.bearer_layer1 = sngisdn_get_usrInfoLyr1Prot_from_stack(conEvnt->bearCap[0].usrInfoLyr1Prot.val);
ftdmchan->caller_data.bearer_capability = sngisdn_get_infoTranCap_from_stack(conEvnt->bearCap[0].infoTranCap.val);
}
@@ -380,7 +380,10 @@ void sngisdn_process_cnst_ind (sngisdn_event_data_t *sngisdn_event)
case FTDM_CHANNEL_STATE_PROGRESS:
case FTDM_CHANNEL_STATE_RINGING:
if (cnStEvnt->progInd.eh.pres && cnStEvnt->progInd.progDesc.val == IN_PD_IBAVAIL) {
+ ftdm_log_chan_msg(ftdmchan, FTDM_LOG_DEBUG, "Early media available\n");
sngisdn_set_flag(sngisdn_info, FLAG_MEDIA_READY);
+ } else {
+ ftdm_log_chan_msg(ftdmchan, FTDM_LOG_DEBUG, "Early media not available\n");
}
switch (evntType) {
case MI_CALLPROC:
@@ -395,10 +398,8 @@ void sngisdn_process_cnst_ind (sngisdn_event_data_t *sngisdn_event)
break;
case MI_PROGRESS:
if (sngisdn_test_flag(sngisdn_info, FLAG_MEDIA_READY)) {
-
ftdm_set_state(ftdmchan, FTDM_CHANNEL_STATE_PROGRESS_MEDIA);
} else if (ftdmchan->state != FTDM_CHANNEL_STATE_PROGRESS) {
-
ftdm_set_state(ftdmchan, FTDM_CHANNEL_STATE_PROGRESS);
}
break;
diff --git a/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_stack_out.c b/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_stack_out.c
index f3ec8b134c..1591fb2a0e 100644
--- a/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_stack_out.c
+++ b/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_stack_out.c
@@ -39,7 +39,7 @@ void sngisdn_snd_setup(ftdm_channel_t *ftdmchan)
ConEvnt conEvnt;
sngisdn_chan_data_t *sngisdn_info = ftdmchan->call_data;
sngisdn_span_data_t *signal_data = (sngisdn_span_data_t*) ftdmchan->span->signal_data;
- ftdm_sngisdn_progind_t prog_ind = {SNGISDN_PROGIND_LOC_USER, SNGISDN_PROGIND_DESCR_NETE_ISDN};
+ ftdm_sngisdn_progind_t prog_ind = {SNGISDN_PROGIND_LOC_USER, SNGISDN_PROGIND_DESCR_ORIG_NISDN};
ftdm_assert((!sngisdn_info->suInstId && !sngisdn_info->spInstId), "Trying to call out, but call data was not cleared\n");
diff --git a/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_support.c b/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_support.c
index ba8224f75b..9c1b7baf79 100644
--- a/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_support.c
+++ b/libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_support.c
@@ -814,7 +814,7 @@ ftdm_status_t set_prog_ind_ie(ftdm_channel_t *ftdmchan, ProgInd *progInd, ftdm_s
break;
default:
ftdm_log(FTDM_LOG_WARNING, "Invalid prog_ind location:%d\n", loc);
- progInd->location.val = IN_PD_NOTETEISDN;
+ progInd->location.val = IN_LOC_USER;
}
return FTDM_SUCCESS;
}
@@ -1058,7 +1058,7 @@ void get_memory_info(void)
return;
}
-uint8_t sngisdn_get_infoTranCap_from_stack(ftdm_bearer_cap_t bearer_capability)
+uint8_t sngisdn_get_infoTranCap_from_user(ftdm_bearer_cap_t bearer_capability)
{
switch(bearer_capability) {
case FTDM_BEARER_CAP_SPEECH:
@@ -1074,7 +1074,7 @@ uint8_t sngisdn_get_infoTranCap_from_stack(ftdm_bearer_cap_t bearer_capability)
return FTDM_BEARER_CAP_SPEECH;
}
-uint8_t sngisdn_get_usrInfoLyr1Prot_from_stack(ftdm_user_layer1_prot_t layer1_prot)
+uint8_t sngisdn_get_usrInfoLyr1Prot_from_user(ftdm_user_layer1_prot_t layer1_prot)
{
switch(layer1_prot) {
case FTDM_USER_LAYER1_PROT_V110:
@@ -1090,25 +1090,22 @@ uint8_t sngisdn_get_usrInfoLyr1Prot_from_stack(ftdm_user_layer1_prot_t layer1_pr
return IN_UIL1_G711ULAW;
}
-ftdm_bearer_cap_t sngisdn_get_infoTranCap_from_user(uint8_t bearer_capability)
+ftdm_bearer_cap_t sngisdn_get_infoTranCap_from_stack(uint8_t bearer_capability)
{
switch(bearer_capability) {
case IN_ITC_SPEECH:
- return FTDM_BEARER_CAP_SPEECH;
-
+ return FTDM_BEARER_CAP_SPEECH;
case IN_ITC_UNRDIG:
- return FTDM_BEARER_CAP_64K_UNRESTRICTED;
-
+ return FTDM_BEARER_CAP_64K_UNRESTRICTED;
case IN_ITC_A31KHZ:
return FTDM_BEARER_CAP_3_1KHZ_AUDIO;
-
default:
return FTDM_BEARER_CAP_SPEECH;
}
return FTDM_BEARER_CAP_SPEECH;
}
-ftdm_user_layer1_prot_t sngisdn_get_usrInfoLyr1Prot_from_user(uint8_t layer1_prot)
+ftdm_user_layer1_prot_t sngisdn_get_usrInfoLyr1Prot_from_stack(uint8_t layer1_prot)
{
switch(layer1_prot) {
case IN_UIL1_CCITTV110:
diff --git a/libs/freetdm/src/include/private/libteletone.h b/libs/freetdm/src/include/private/libteletone.h
index 7453be51d8..dc98c8cb6c 100644
--- a/libs/freetdm/src/include/private/libteletone.h
+++ b/libs/freetdm/src/include/private/libteletone.h
@@ -1,6 +1,6 @@
/*
* libteletone
- * Copyright (C) 2005/2006, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
@@ -17,13 +17,13 @@
* The Original Code is libteletone
*
* The Initial Developer of the Original Code is
- * Anthony Minessale II
+ * Anthony Minessale II
* Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
- * Anthony Minessale II
+ * Anthony Minessale II
*
*
* libteletone.h -- Tone Generator/Detector
diff --git a/libs/freetdm/src/include/private/libteletone_detect.h b/libs/freetdm/src/include/private/libteletone_detect.h
index b2d43d15f5..71bf067514 100644
--- a/libs/freetdm/src/include/private/libteletone_detect.h
+++ b/libs/freetdm/src/include/private/libteletone_detect.h
@@ -1,6 +1,6 @@
/*
* libteletone
- * Copyright (C) 2005/2006, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* libteletone_detect.c Tone Detection Code
*
diff --git a/libs/freetdm/src/include/private/libteletone_generate.h b/libs/freetdm/src/include/private/libteletone_generate.h
index 2d47abdc7d..6d71694761 100644
--- a/libs/freetdm/src/include/private/libteletone_generate.h
+++ b/libs/freetdm/src/include/private/libteletone_generate.h
@@ -1,6 +1,6 @@
/*
* libteletone
- * Copyright (C) 2005/2006, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Copyright (c) 2007, Anthony Minessale II
* All rights reserved.
diff --git a/libs/freetdm/src/include/private/sangoma_tdm_api.h b/libs/freetdm/src/include/private/sangoma_tdm_api.h
index 062d4e219d..6438c99fbb 100644
--- a/libs/freetdm/src/include/private/sangoma_tdm_api.h
+++ b/libs/freetdm/src/include/private/sangoma_tdm_api.h
@@ -1,7 +1,7 @@
/*****************************************************************************
* sangoma_tdm_api.h Sangoma TDM API Portability functions
*
- * Author(s): Anthony Minessale II
+ * Author(s): Anthony Minessale II
* Nenad Corbic
* Michael Jerris
* David Rokhvarg
diff --git a/libs/freetdm/src/libteletone_detect.c b/libs/freetdm/src/libteletone_detect.c
index 61fef90149..0436c25953 100644
--- a/libs/freetdm/src/libteletone_detect.c
+++ b/libs/freetdm/src/libteletone_detect.c
@@ -1,12 +1,12 @@
/*
* libteletone
- * Copyright (C) 2005/2006, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Much less efficient expansion interface was added to allow for the detection of
* a single arbitrary tone combination which may also exceed 2 simultaneous tones.
* (controlled by compile time constant TELETONE_MAX_TONES)
*
- * Copyright (C) 2006 Anthony Minessale II
+ * Copyright (C) 2006 Anthony Minessale II
*
* libteletone_detect.c Tone Detection Code
*
diff --git a/libs/freetdm/src/priserver.c b/libs/freetdm/src/priserver.c
index b67fa04483..4e5ec8706d 100644
--- a/libs/freetdm/src/priserver.c
+++ b/libs/freetdm/src/priserver.c
@@ -1,7 +1,7 @@
/*****************************************************************************
* priserver.c Refactoring of pritest.c
*
- * Author(s): Anthony Minessale II
+ * Author(s): Anthony Minessale II
* Nenad Corbic
*
* Copyright: (c) 2005 Anthony Minessale II
diff --git a/libs/freetdm/src/sangoma_pri.c b/libs/freetdm/src/sangoma_pri.c
index 402611e518..4adcf017cf 100644
--- a/libs/freetdm/src/sangoma_pri.c
+++ b/libs/freetdm/src/sangoma_pri.c
@@ -1,7 +1,7 @@
/*****************************************************************************
* sangoma_pri.c libpri Sangoma integration
*
- * Author(s): Anthony Minessale II
+ * Author(s): Anthony Minessale II
* Nenad Corbic
*
* Copyright: (c) 2005 Anthony Minessale II
diff --git a/libs/freetdm/src/sangoma_pri.h b/libs/freetdm/src/sangoma_pri.h
index 2a1b2a2cef..d37622a6da 100644
--- a/libs/freetdm/src/sangoma_pri.h
+++ b/libs/freetdm/src/sangoma_pri.h
@@ -1,7 +1,7 @@
/*****************************************************************************
* libsangoma.c AFT T1/E1: HDLC API Code Library
*
- * Author(s): Anthony Minessale II
+ * Author(s): Anthony Minessale II
* Nenad Corbic
*
* Copyright: (c) 2005 Anthony Minessale II
diff --git a/libs/libdingaling/src/ldl_compat.h b/libs/libdingaling/src/ldl_compat.h
index b19137e083..26ae586632 100644
--- a/libs/libdingaling/src/ldl_compat.h
+++ b/libs/libdingaling/src/ldl_compat.h
@@ -1,6 +1,6 @@
/*
* libDingaLing XMPP Jingle Library
- * Copyright (C) 2005/2006, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/libs/libdingaling/src/libdingaling.c b/libs/libdingaling/src/libdingaling.c
index 11a9a8a5b8..44c4589429 100644
--- a/libs/libdingaling/src/libdingaling.c
+++ b/libs/libdingaling/src/libdingaling.c
@@ -1,6 +1,6 @@
/*
* libDingaLing XMPP Jingle Library
- * Copyright (C) 2005/2006, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/libs/libdingaling/src/libdingaling.h b/libs/libdingaling/src/libdingaling.h
index c32b9363d9..f103327339 100644
--- a/libs/libdingaling/src/libdingaling.h
+++ b/libs/libdingaling/src/libdingaling.h
@@ -1,6 +1,6 @@
/*
* libDingaLing XMPP Jingle Library
- * Copyright (C) 2005/2006, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/libs/libteletone/src/libteletone.h b/libs/libteletone/src/libteletone.h
index 6e806cec4f..b54098c8ee 100644
--- a/libs/libteletone/src/libteletone.h
+++ b/libs/libteletone/src/libteletone.h
@@ -1,6 +1,6 @@
/*
* libteletone
- * Copyright (C) 2005/2006, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
@@ -17,13 +17,13 @@
* The Original Code is libteletone
*
* The Initial Developer of the Original Code is
- * Anthony Minessale II
+ * Anthony Minessale II
* Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
- * Anthony Minessale II
+ * Anthony Minessale II
*
*
* libteletone.h -- Tone Generator/Detector
diff --git a/libs/libteletone/src/libteletone_detect.c b/libs/libteletone/src/libteletone_detect.c
index 3738e4c993..ae959535b5 100644
--- a/libs/libteletone/src/libteletone_detect.c
+++ b/libs/libteletone/src/libteletone_detect.c
@@ -1,6 +1,6 @@
/*
* libteletone
- * Copyright (C) 2005/2006, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
@@ -32,7 +32,7 @@
* a single arbitrary tone combination which may also exceed 2 simultaneous tones.
* (controlled by compile time constant TELETONE_MAX_TONES)
*
- * Copyright (C) 2006 Anthony Minessale II
+ * Copyright (C) 2006 Anthony Minessale II
*
*
* libteletone_detect.c Tone Detection Code
diff --git a/libs/libteletone/src/libteletone_detect.h b/libs/libteletone/src/libteletone_detect.h
index a9fee6cfbd..e2a8c20b33 100644
--- a/libs/libteletone/src/libteletone_detect.h
+++ b/libs/libteletone/src/libteletone_detect.h
@@ -1,6 +1,6 @@
/*
* libteletone
- * Copyright (C) 2005/2006, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
@@ -32,7 +32,7 @@
* a single arbitrary tone combination which may also exceed 2 simultaneous tones.
* (controlled by compile time constant TELETONE_MAX_TONES)
*
- * Copyright (C) 2006 Anthony Minessale II
+ * Copyright (C) 2006 Anthony Minessale II
*
*
* libteletone_detect.c Tone Detection Code
diff --git a/libs/libteletone/src/libteletone_generate.c b/libs/libteletone/src/libteletone_generate.c
index 3977ca521d..ebf62822a4 100644
--- a/libs/libteletone/src/libteletone_generate.c
+++ b/libs/libteletone/src/libteletone_generate.c
@@ -1,6 +1,6 @@
/*
* libteletone
- * Copyright (C) 2005/2006, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
@@ -17,13 +17,13 @@
* The Original Code is libteletone
*
* The Initial Developer of the Original Code is
- * Anthony Minessale II
+ * Anthony Minessale II
* Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
- * Anthony Minessale II
+ * Anthony Minessale II
*
*
* libteletone.c -- Tone Generator
diff --git a/libs/libteletone/src/libteletone_generate.h b/libs/libteletone/src/libteletone_generate.h
index a6addc4eb8..5e6444b0c4 100644
--- a/libs/libteletone/src/libteletone_generate.h
+++ b/libs/libteletone/src/libteletone_generate.h
@@ -1,6 +1,6 @@
/*
* libteletone
- * Copyright (C) 2005/2006, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
@@ -17,13 +17,13 @@
* The Original Code is libteletone
*
* The Initial Developer of the Original Code is
- * Anthony Minessale II
+ * Anthony Minessale II
* Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
- * Anthony Minessale II
+ * Anthony Minessale II
*
*
* libteletone.h -- Tone Generator
diff --git a/libs/openzap/mod_openzap/mod_openzap.c b/libs/openzap/mod_openzap/mod_openzap.c
index 6a75dc85ff..3e5227ea90 100644
--- a/libs/openzap/mod_openzap/mod_openzap.c
+++ b/libs/openzap/mod_openzap/mod_openzap.c
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005/2006, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
@@ -17,13 +17,13 @@
* The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
*
* The Initial Developer of the Original Code is
- * Anthony Minessale II
+ * Anthony Minessale II
* Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
- * Anthony Minessale II
+ * Anthony Minessale II
* Moises Silva
*
*
diff --git a/libs/openzap/src/include/libteletone.h b/libs/openzap/src/include/libteletone.h
index 6e806cec4f..b54098c8ee 100644
--- a/libs/openzap/src/include/libteletone.h
+++ b/libs/openzap/src/include/libteletone.h
@@ -1,6 +1,6 @@
/*
* libteletone
- * Copyright (C) 2005/2006, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
@@ -17,13 +17,13 @@
* The Original Code is libteletone
*
* The Initial Developer of the Original Code is
- * Anthony Minessale II
+ * Anthony Minessale II
* Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
- * Anthony Minessale II
+ * Anthony Minessale II
*
*
* libteletone.h -- Tone Generator/Detector
diff --git a/libs/openzap/src/include/libteletone_detect.h b/libs/openzap/src/include/libteletone_detect.h
index 3d0a5130ec..c8c667d282 100644
--- a/libs/openzap/src/include/libteletone_detect.h
+++ b/libs/openzap/src/include/libteletone_detect.h
@@ -1,6 +1,6 @@
/*
* libteletone
- * Copyright (C) 2005/2006, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* libteletone_detect.c Tone Detection Code
*
diff --git a/libs/openzap/src/include/libteletone_generate.h b/libs/openzap/src/include/libteletone_generate.h
index fce19e7255..1b774206ff 100644
--- a/libs/openzap/src/include/libteletone_generate.h
+++ b/libs/openzap/src/include/libteletone_generate.h
@@ -1,6 +1,6 @@
/*
* libteletone
- * Copyright (C) 2005/2006, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Copyright (c) 2007, Anthony Minessale II
* All rights reserved.
diff --git a/libs/openzap/src/include/sangoma_tdm_api.h b/libs/openzap/src/include/sangoma_tdm_api.h
index 062d4e219d..6438c99fbb 100644
--- a/libs/openzap/src/include/sangoma_tdm_api.h
+++ b/libs/openzap/src/include/sangoma_tdm_api.h
@@ -1,7 +1,7 @@
/*****************************************************************************
* sangoma_tdm_api.h Sangoma TDM API Portability functions
*
- * Author(s): Anthony Minessale II
+ * Author(s): Anthony Minessale II
* Nenad Corbic
* Michael Jerris
* David Rokhvarg
diff --git a/libs/openzap/src/libteletone_detect.c b/libs/openzap/src/libteletone_detect.c
index 61fef90149..0436c25953 100644
--- a/libs/openzap/src/libteletone_detect.c
+++ b/libs/openzap/src/libteletone_detect.c
@@ -1,12 +1,12 @@
/*
* libteletone
- * Copyright (C) 2005/2006, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Much less efficient expansion interface was added to allow for the detection of
* a single arbitrary tone combination which may also exceed 2 simultaneous tones.
* (controlled by compile time constant TELETONE_MAX_TONES)
*
- * Copyright (C) 2006 Anthony Minessale II
+ * Copyright (C) 2006 Anthony Minessale II
*
* libteletone_detect.c Tone Detection Code
*
diff --git a/libs/openzap/src/priserver.c b/libs/openzap/src/priserver.c
index 7a37357083..080e5d4cef 100644
--- a/libs/openzap/src/priserver.c
+++ b/libs/openzap/src/priserver.c
@@ -1,7 +1,7 @@
/*****************************************************************************
* priserver.c Refactoring of pritest.c
*
- * Author(s): Anthony Minessale II
+ * Author(s): Anthony Minessale II
* Nenad Corbic
*
* Copyright: (c) 2005 Anthony Minessale II
diff --git a/libs/openzap/src/sangoma_pri.c b/libs/openzap/src/sangoma_pri.c
index 5cf6a5cd10..c160eedd28 100644
--- a/libs/openzap/src/sangoma_pri.c
+++ b/libs/openzap/src/sangoma_pri.c
@@ -1,7 +1,7 @@
/*****************************************************************************
* sangoma_pri.c libpri Sangoma integration
*
- * Author(s): Anthony Minessale II
+ * Author(s): Anthony Minessale II
* Nenad Corbic
*
* Copyright: (c) 2005 Anthony Minessale II
diff --git a/libs/openzap/src/sangoma_pri.h b/libs/openzap/src/sangoma_pri.h
index 5ea21eb7b5..880fc85cea 100644
--- a/libs/openzap/src/sangoma_pri.h
+++ b/libs/openzap/src/sangoma_pri.h
@@ -1,7 +1,7 @@
/*****************************************************************************
* libsangoma.c AFT T1/E1: HDLC API Code Library
*
- * Author(s): Anthony Minessale II
+ * Author(s): Anthony Minessale II
* Nenad Corbic
*
* Copyright: (c) 2005 Anthony Minessale II
diff --git a/libs/win32/Download CELT.vcproj b/libs/win32/Download CELT.vcproj
index e32ebd42a6..cac10794c8 100644
--- a/libs/win32/Download CELT.vcproj
+++ b/libs/win32/Download CELT.vcproj
@@ -76,7 +76,7 @@
@@ -86,7 +86,7 @@
diff --git a/libs/win32/Download CELT.vcxproj b/libs/win32/Download CELT.vcxproj
index af8c9aa543..527ff5a5f5 100644
--- a/libs/win32/Download CELT.vcxproj
+++ b/libs/win32/Download CELT.vcxproj
@@ -65,15 +65,15 @@
Document
Downloading CELT.
- if not exist "$(ProjectDir)..\celt-0.7.1" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/celt-0.7.1.tar.gz "$(ProjectDir).."
-xcopy "$(ProjectDir)\celt\config.h" "$(ProjectDir)..\celt-0.7.1\libcelt" /C /D /Y /S /I
-xcopy "$(ProjectDir)\celt\float_cast.h" "$(ProjectDir)..\celt-0.7.1\libcelt" /C /D /Y /S /I
+ if not exist "$(ProjectDir)..\celt-0.10.0" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/celt-0.10.0.tar.gz "$(ProjectDir).."
+xcopy "$(ProjectDir)\celt\config.h" "$(ProjectDir)..\celt-0.10.0\libcelt" /C /D /Y /S /I
+xcopy "$(ProjectDir)\celt\float_cast.h" "$(ProjectDir)..\celt-0.10.0\libcelt" /C /D /Y /S /I
$(ProjectDir)..\CELT;%(Outputs)
Downloading CELT.
- if not exist "$(ProjectDir)..\celt-0.7.1" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/celt-0.7.1.tar.gz "$(ProjectDir).."
-xcopy "$(ProjectDir)\celt\config.h" "$(ProjectDir)..\celt-0.7.1\libcelt" /C /D /Y /S /I
-xcopy "$(ProjectDir)\celt\float_cast.h" "$(ProjectDir)..\celt-0.7.1\libcelt" /C /D /Y /S /I
+ if not exist "$(ProjectDir)..\celt-0.10.0" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/celt-0.10.0.tar.gz "$(ProjectDir).."
+xcopy "$(ProjectDir)\celt\config.h" "$(ProjectDir)..\celt-0.10.0\libcelt" /C /D /Y /S /I
+xcopy "$(ProjectDir)\celt\float_cast.h" "$(ProjectDir)..\celt-0.10.0\libcelt" /C /D /Y /S /I
$(ProjectDir)..\CELT;%(Outputs)
diff --git a/libs/win32/celt/libcelt.vcproj b/libs/win32/celt/libcelt.vcproj
index 0533096a76..9a19d9e5fd 100644
--- a/libs/win32/celt/libcelt.vcproj
+++ b/libs/win32/celt/libcelt.vcproj
@@ -44,7 +44,7 @@
+
+
+
+
diff --git a/libs/win32/celt/libcelt.vcxproj b/libs/win32/celt/libcelt.vcxproj
index 6abd09915b..b774320090 100644
--- a/libs/win32/celt/libcelt.vcxproj
+++ b/libs/win32/celt/libcelt.vcxproj
@@ -68,7 +68,7 @@
Disabled
- ..\..\celt-0.7.1\libcelt;%(AdditionalIncludeDirectories)
+ ..\..\celt-0.10.0\libcelt;%(AdditionalIncludeDirectories)
WIN32;_DEBUG;_LIB;HAVE_CONFIG_H;%(PreprocessorDefinitions)
true
EnableFastChecks
@@ -82,7 +82,7 @@
Disabled
- ..\..\celt-0.7.1\libcelt;%(AdditionalIncludeDirectories)
+ ..\..\celt-0.10.0\libcelt;%(AdditionalIncludeDirectories)
WIN32;_DEBUG;_LIB;HAVE_CONFIG_H;_AMD64_;_WIN64;%(PreprocessorDefinitions)
true
EnableFastChecks
@@ -94,7 +94,7 @@
MaxSpeed
true
- ..\..\celt-0.7.1\libcelt;%(AdditionalIncludeDirectories)
+ ..\..\celt-0.10.0\libcelt;%(AdditionalIncludeDirectories)
WIN32;NDEBUG;_LIB;HAVE_CONFIG_H;%(PreprocessorDefinitions)
MultiThreadedDLL
true
@@ -108,7 +108,7 @@
MaxSpeed
true
- ..\..\celt-0.7.1\libcelt;%(AdditionalIncludeDirectories)
+ ..\..\celt-0.10.0\libcelt;%(AdditionalIncludeDirectories)
WIN32;NDEBUG;_LIB;HAVE_CONFIG_H;_AMD64_;_WIN64;%(PreprocessorDefinitions)
MultiThreadedDLL
true
@@ -116,23 +116,25 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/libs/win32/celt/libcelt.vcxproj.filters b/libs/win32/celt/libcelt.vcxproj.filters
index f3cb02a769..22236564f3 100644
--- a/libs/win32/celt/libcelt.vcxproj.filters
+++ b/libs/win32/celt/libcelt.vcxproj.filters
@@ -15,55 +15,61 @@
-
+
Source Files
-
+
Source Files
-
+
Source Files
-
+
Source Files
-
+
Source Files
-
+
Source Files
-
+
Source Files
-
+
Source Files
-
+
Source Files
-
+
Source Files
-
+
Source Files
-
+
Source Files
-
+
Source Files
-
+
Source Files
-
+
Source Files
-
+
Source Files
-
+
+ Source Files
+
+
+ Source Files
+
+
Source Files
diff --git a/scripts/c/socket2me/socket2me.c b/scripts/c/socket2me/socket2me.c
index 5d6fceb701..1b3aa0c6f2 100644
--- a/scripts/c/socket2me/socket2me.c
+++ b/scripts/c/socket2me/socket2me.c
@@ -29,7 +29,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*
- * Copyright (C) 2007, Anthony Minessale II
+ * Copyright (C) 2007, Anthony Minessale II
*/
#include
diff --git a/scripts/javascript/api.js b/scripts/javascript/api.js
index 41b632ef6b..47c5770353 100644
--- a/scripts/javascript/api.js
+++ b/scripts/javascript/api.js
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005/2006, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
@@ -17,13 +17,13 @@
* The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
*
* The Initial Developer of the Original Code is
- * Anthony Minessale II
+ * Anthony Minessale II
* Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
- * Anthony Minessale II
+ * Anthony Minessale II
*
*
* api.js Demo javascript FSAPI Interface
diff --git a/scripts/javascript/js_modules/SpeechTools.jm b/scripts/javascript/js_modules/SpeechTools.jm
index 6f9fb25089..4e9628b2f5 100644
--- a/scripts/javascript/js_modules/SpeechTools.jm
+++ b/scripts/javascript/js_modules/SpeechTools.jm
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005/2006, Anthony Minessale II
+ * Copyright (C) 2005/2006, Anthony Minessale II
*
* Version: MPL 1.1
*
@@ -17,13 +17,13 @@
* The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
*
* The Initial Developer of the Original Code is
- * Anthony Minessale II
+ * Anthony Minessale II
* Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
- * Anthony Minessale II
+ * Anthony Minessale II
*
*
* SpeechTools.jm Speech Detection Interface
diff --git a/scripts/javascript/pizza.js b/scripts/javascript/pizza.js
index b665ca6620..9807f5bc8d 100644
--- a/scripts/javascript/pizza.js
+++ b/scripts/javascript/pizza.js
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005/2006, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
@@ -17,13 +17,13 @@
* The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
*
* The Initial Developer of the Original Code is
- * Anthony Minessale II
+ * Anthony Minessale II
* Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
- * Anthony Minessale II
+ * Anthony Minessale II
*
*
* pizza.js ASR Demonstration Application
diff --git a/scripts/javascript/ps_pizza.js b/scripts/javascript/ps_pizza.js
index 50d3167718..7fd405e009 100644
--- a/scripts/javascript/ps_pizza.js
+++ b/scripts/javascript/ps_pizza.js
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005/2006, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
@@ -17,13 +17,13 @@
* The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
*
* The Initial Developer of the Original Code is
- * Anthony Minessale II
+ * Anthony Minessale II
* Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
- * Anthony Minessale II
+ * Anthony Minessale II
*
*
* pizza.js ASR Demonstration Application
diff --git a/scripts/perl/sendmail b/scripts/perl/sendmail
index 1cf6f71d69..a89dce6cef 100644
--- a/scripts/perl/sendmail
+++ b/scripts/perl/sendmail
@@ -5,7 +5,7 @@
# voicemail gateway with no mail server>
#
# (c) 2005 Anthony Minessale II
-# Anthony Minessale
+# Anthony Minessale
#
################################################################################
use Net::SMTP;
diff --git a/scripts/python/freepy/__init__.py b/scripts/python/freepy/__init__.py
index e23fc6fc70..cebe48a0ab 100644
--- a/scripts/python/freepy/__init__.py
+++ b/scripts/python/freepy/__init__.py
@@ -1,6 +1,6 @@
"""
FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
-Copyright (C) 2005/2006, Anthony Minessale II
+Copyright (C) 2005-2011, Anthony Minessale II
Version: MPL 1.1
@@ -17,7 +17,7 @@ License.
The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
The Initial Developer of the Original Code is
-Anthony Minessale II
+Anthony Minessale II
Portions created by the Initial Developer are Copyright (C)
the Initial Developer. All Rights Reserved.
diff --git a/scripts/python/freepy/fseventlistener.py b/scripts/python/freepy/fseventlistener.py
index 8e1f118528..6e3455f62f 100644
--- a/scripts/python/freepy/fseventlistener.py
+++ b/scripts/python/freepy/fseventlistener.py
@@ -1,6 +1,6 @@
"""
FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
-Copyright (C) 2005/2006, Anthony Minessale II
+Copyright (C) 2005-2011, Anthony Minessale II
Version: MPL 1.1
@@ -17,7 +17,7 @@ License.
The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
The Initial Developer of the Original Code is
-Anthony Minessale II
+Anthony Minessale II
Portions created by the Initial Developer are Copyright (C)
the Initial Developer. All Rights Reserved.
diff --git a/scripts/python/freepy/fshelper.py b/scripts/python/freepy/fshelper.py
index a06ed40985..090abce9d6 100644
--- a/scripts/python/freepy/fshelper.py
+++ b/scripts/python/freepy/fshelper.py
@@ -2,7 +2,7 @@
"""
FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
-Copyright (C) 2005/2006, Anthony Minessale II
+Copyright (C) 2005-2011, Anthony Minessale II
Version: MPL 1.1
@@ -19,7 +19,7 @@ License.
The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
The Initial Developer of the Original Code is
-Anthony Minessale II
+Anthony Minessale II
Portions created by the Initial Developer are Copyright (C)
the Initial Developer. All Rights Reserved.
diff --git a/scripts/python/freepy/models.py b/scripts/python/freepy/models.py
index 2b9de74510..3dfb105424 100644
--- a/scripts/python/freepy/models.py
+++ b/scripts/python/freepy/models.py
@@ -1,6 +1,6 @@
"""
FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
-Copyright (C) 2005/2006, Anthony Minessale II
+Copyright (C) 2005-2011, Anthony Minessale II
Version: MPL 1.1
@@ -17,7 +17,7 @@ License.
The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
The Initial Developer of the Original Code is
-Anthony Minessale II
+Anthony Minessale II
Portions created by the Initial Developer are Copyright (C)
the Initial Developer. All Rights Reserved.
diff --git a/scripts/python/freepy/request.py b/scripts/python/freepy/request.py
index f2c6e389b0..d76fe2942c 100644
--- a/scripts/python/freepy/request.py
+++ b/scripts/python/freepy/request.py
@@ -1,6 +1,6 @@
"""
FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
-Copyright (C) 2005/2006, Anthony Minessale II
+Copyright (C) 2005-2011, Anthony Minessale II
Version: MPL 1.1
@@ -17,7 +17,7 @@ License.
The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
The Initial Developer of the Original Code is
-Anthony Minessale II
+Anthony Minessale II
Portions created by the Initial Developer are Copyright (C)
the Initial Developer. All Rights Reserved.
diff --git a/scripts/rss/rss2ivr.pl b/scripts/rss/rss2ivr.pl
index f74a51c5f3..ed5aabd3a3 100755
--- a/scripts/rss/rss2ivr.pl
+++ b/scripts/rss/rss2ivr.pl
@@ -4,7 +4,7 @@
#
# Copyright (C) 2006, Anthony Minessale
#
-# Anthony Minessale
+# Anthony Minessale
#
# This program is free software, distributed under the terms of
# Perl itself
diff --git a/scripts/trace/sipgrep b/scripts/trace/sipgrep
index e161675a34..7bd5daed4d 100755
--- a/scripts/trace/sipgrep
+++ b/scripts/trace/sipgrep
@@ -1,6 +1,6 @@
#!/usr/bin/perl
# sipgrep version 0.2. Skin for ngrep. (C) 2005-2006 Alexandr Dubovikov
-# Modified 2007 Anthony Minessale
+# Modified 2007 Anthony Minessale
use Term::ANSIColor;
use Getopt::Std;
diff --git a/src/fs_encode.c b/src/fs_encode.c
index 9517802600..bdaf1ec759 100644
--- a/src/fs_encode.c
+++ b/src/fs_encode.c
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/private/switch_core_pvt.h b/src/include/private/switch_core_pvt.h
index 422d5f2930..30690b1848 100644
--- a/src/include/private/switch_core_pvt.h
+++ b/src/include/private/switch_core_pvt.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch.h b/src/include/switch.h
index 81684c59b0..ce2ba7867f 100644
--- a/src/include/switch.h
+++ b/src/include/switch.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch_apr.h b/src/include/switch_apr.h
index d89a13bb30..a196af76f5 100644
--- a/src/include/switch_apr.h
+++ b/src/include/switch_apr.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch_bitpack.h b/src/include/switch_bitpack.h
index f534ea6bcf..3209cbc282 100644
--- a/src/include/switch_bitpack.h
+++ b/src/include/switch_bitpack.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch_buffer.h b/src/include/switch_buffer.h
index 40c4c5a278..75b5929b9b 100644
--- a/src/include/switch_buffer.h
+++ b/src/include/switch_buffer.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch_caller.h b/src/include/switch_caller.h
index f77f1b016d..bd53a04f68 100644
--- a/src/include/switch_caller.h
+++ b/src/include/switch_caller.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch_channel.h b/src/include/switch_channel.h
index e726554d81..c0bef4be59 100644
--- a/src/include/switch_channel.h
+++ b/src/include/switch_channel.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
@@ -256,6 +256,8 @@ SWITCH_DECLARE(switch_status_t) switch_channel_set_variable_partner_var_check(sw
const char *varname, const char *value, switch_bool_t var_check);
SWITCH_DECLARE(const char *) switch_channel_get_variable_partner(switch_channel_t *channel, const char *varname);
+SWITCH_DECLARE(const char *) switch_channel_get_hold_music(switch_channel_t *channel);
+SWITCH_DECLARE(const char *) switch_channel_get_hold_music_partner(switch_channel_t *channel);
#define switch_channel_set_variable(_channel, _var, _val) switch_channel_set_variable_var_check(_channel, _var, _val, SWITCH_TRUE)
#define switch_channel_set_variable_partner(_channel, _var, _val) switch_channel_set_variable_partner_var_check(_channel, _var, _val, SWITCH_TRUE)
@@ -344,6 +346,7 @@ SWITCH_DECLARE(void) switch_channel_set_cap_value(switch_channel_t *channel, swi
SWITCH_DECLARE(void) switch_channel_clear_cap(switch_channel_t *channel, switch_channel_cap_t cap);
SWITCH_DECLARE(uint32_t) switch_channel_test_cap(switch_channel_t *channel, switch_channel_cap_t cap);
+SWITCH_DECLARE(uint32_t) switch_channel_test_cap_partner(switch_channel_t *channel, switch_channel_cap_t cap);
/*!
\brief Set given flag(s) on a given channel's bridge partner
diff --git a/src/include/switch_config.h b/src/include/switch_config.h
index 4115564f56..b0ef805b52 100644
--- a/src/include/switch_config.h
+++ b/src/include/switch_config.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch_console.h b/src/include/switch_console.h
index 31d5ebf8e4..5585a041c1 100644
--- a/src/include/switch_console.h
+++ b/src/include/switch_console.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch_core.h b/src/include/switch_core.h
index bcd3c0aee2..ff131acb17 100644
--- a/src/include/switch_core.h
+++ b/src/include/switch_core.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
@@ -2162,6 +2162,13 @@ SWITCH_DECLARE(switch_status_t) switch_cache_db_execute_sql(switch_cache_db_hand
SWITCH_DECLARE(switch_status_t) switch_cache_db_execute_sql_callback(switch_cache_db_handle_t *dbh, const char *sql,
switch_core_db_callback_func_t callback, void *pdata, char **err);
+/*!
+ \brief Get the affected rows of the last performed query
+ \param [in] dbh The handle
+ \param [out] the number of affected rows
+*/
+SWITCH_DECLARE(int) switch_cache_db_affected_rows(switch_cache_db_handle_t *dbh);
+
/*!
\brief Provides some feedback as to the status of the db connection pool
\param [in] stream stream for status
diff --git a/src/include/switch_core_db.h b/src/include/switch_core_db.h
index 6be6e8eeda..6ea9b4a3fb 100644
--- a/src/include/switch_core_db.h
+++ b/src/include/switch_core_db.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch_core_event_hook.h b/src/include/switch_core_event_hook.h
index 575786f5ce..ff836b3978 100644
--- a/src/include/switch_core_event_hook.h
+++ b/src/include/switch_core_event_hook.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch_event.h b/src/include/switch_event.h
index 41bc75cada..56acbd3a4b 100644
--- a/src/include/switch_event.h
+++ b/src/include/switch_event.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch_frame.h b/src/include/switch_frame.h
index 20103a16cb..edc4f8be6c 100644
--- a/src/include/switch_frame.h
+++ b/src/include/switch_frame.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch_ivr.h b/src/include/switch_ivr.h
index da366c5b8d..46c9c91670 100644
--- a/src/include/switch_ivr.h
+++ b/src/include/switch_ivr.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch_limit.h b/src/include/switch_limit.h
index e798f9c8af..4488b8caf0 100644
--- a/src/include/switch_limit.h
+++ b/src/include/switch_limit.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch_loadable_module.h b/src/include/switch_loadable_module.h
index 37c752bd3e..7e4d617256 100644
--- a/src/include/switch_loadable_module.h
+++ b/src/include/switch_loadable_module.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch_log.h b/src/include/switch_log.h
index 98d9448bac..170425a2a4 100644
--- a/src/include/switch_log.h
+++ b/src/include/switch_log.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch_module_interfaces.h b/src/include/switch_module_interfaces.h
index ae0ce900a9..1cf01c54bc 100644
--- a/src/include/switch_module_interfaces.h
+++ b/src/include/switch_module_interfaces.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch_nat.h b/src/include/switch_nat.h
index 09118c10eb..bdbd51b592 100644
--- a/src/include/switch_nat.h
+++ b/src/include/switch_nat.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch_odbc.h b/src/include/switch_odbc.h
index b8d4bc2f17..f76384003a 100644
--- a/src/include/switch_odbc.h
+++ b/src/include/switch_odbc.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
@@ -92,6 +92,9 @@ SWITCH_DECLARE(switch_odbc_status_t) switch_odbc_handle_callback_exec_detailed(c
SWITCH_DECLARE(char *) switch_odbc_handle_get_error(switch_odbc_handle_t *handle, switch_odbc_statement_handle_t stmt);
+
+SWITCH_DECLARE(int) switch_odbc_handle_affected_rows(switch_odbc_handle_t *handle);
+
SWITCH_END_EXTERN_C
#endif
/* For Emacs:
diff --git a/src/include/switch_platform.h b/src/include/switch_platform.h
index c1ad51f92e..15b3277404 100644
--- a/src/include/switch_platform.h
+++ b/src/include/switch_platform.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch_regex.h b/src/include/switch_regex.h
index 4ee1fd582a..96d623043c 100644
--- a/src/include/switch_regex.h
+++ b/src/include/switch_regex.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch_resample.h b/src/include/switch_resample.h
index 55f1740bff..b38e094dd6 100644
--- a/src/include/switch_resample.h
+++ b/src/include/switch_resample.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch_rtp.h b/src/include/switch_rtp.h
index c48a40e6d1..27dacc7c18 100644
--- a/src/include/switch_rtp.h
+++ b/src/include/switch_rtp.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
@@ -237,6 +237,7 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_activate_jitter_buffer(switch_rtp_t *
SWITCH_DECLARE(switch_status_t) switch_rtp_debug_jitter_buffer(switch_rtp_t *rtp_session, const char *name);
SWITCH_DECLARE(switch_status_t) switch_rtp_deactivate_jitter_buffer(switch_rtp_t *rtp_session);
+SWITCH_DECLARE(switch_status_t) switch_rtp_pause_jitter_buffer(switch_rtp_t *rtp_session, switch_bool_t pause);
/*!
\brief Set an RTP Flag
diff --git a/src/include/switch_scheduler.h b/src/include/switch_scheduler.h
index d9fa5655d7..8db9696f4a 100644
--- a/src/include/switch_scheduler.h
+++ b/src/include/switch_scheduler.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch_stun.h b/src/include/switch_stun.h
index d5df57e4fe..426eb49628 100644
--- a/src/include/switch_stun.h
+++ b/src/include/switch_stun.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch_types.h b/src/include/switch_types.h
index bb5f59865f..01f890d51c 100644
--- a/src/include/switch_types.h
+++ b/src/include/switch_types.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
@@ -156,6 +156,7 @@ SWITCH_BEGIN_EXTERN_C
#define SWITCH_PROXY_MEDIA_VARIABLE "proxy_media"
#define SWITCH_ENDPOINT_DISPOSITION_VARIABLE "endpoint_disposition"
#define SWITCH_HOLD_MUSIC_VARIABLE "hold_music"
+#define SWITCH_TEMP_HOLD_MUSIC_VARIABLE "temp_hold_music"
#define SWITCH_EXPORT_VARS_VARIABLE "export_vars"
#define SWITCH_BRIDGE_EXPORT_VARS_VARIABLE "bridge_export_vars"
#define SWITCH_R_SDP_VARIABLE "switch_r_sdp"
@@ -1035,6 +1036,8 @@ typedef enum {
CC_MEDIA_ACK = 1,
CC_BYPASS_MEDIA,
CC_PROXY_MEDIA,
+ CC_JITTERBUFFER,
+ CC_FS_RTP,
/* WARNING: DO NOT ADD ANY FLAGS BELOW THIS LINE */
CC_FLAG_MAX
} switch_channel_cap_t;
diff --git a/src/include/switch_utils.h b/src/include/switch_utils.h
index 3360f33fe5..4771dba40a 100644
--- a/src/include/switch_utils.h
+++ b/src/include/switch_utils.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
@@ -184,6 +184,32 @@ static inline switch_bool_t switch_is_digit_string(const char *s)
return SWITCH_TRUE;
}
+static inline char switch_itodtmf(char i)
+{
+ char r = i;
+
+ if (i > 9 && i < 14) {
+ r = i + 55;
+ }
+
+ return r;
+}
+
+static inline int switch_dtmftoi(char *s)
+{
+ int r;
+
+ switch_assert(s);
+
+ if (!(r = atoi(s))) {
+ int l = tolower(*s);
+ if (l > 96 && l < 101) {
+ r = l - 87;
+ }
+ }
+
+ return r;
+}
static inline uint32_t switch_known_bitrate(switch_payload_t payload)
{
diff --git a/src/include/switch_xml.h b/src/include/switch_xml.h
index 9b0fbb44f3..bd9e6a06da 100644
--- a/src/include/switch_xml.h
+++ b/src/include/switch_xml.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/include/switch_xml_config.h b/src/include/switch_xml_config.h
index 3e78f5f46f..49986c9211 100644
--- a/src/include/switch_xml_config.h
+++ b/src/include/switch_xml_config.h
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/mod/applications/mod_callcenter/mod_callcenter.c b/src/mod/applications/mod_callcenter/mod_callcenter.c
index ca92b17fa4..d1de632ee6 100644
--- a/src/mod/applications/mod_callcenter/mod_callcenter.c
+++ b/src/mod/applications/mod_callcenter/mod_callcenter.c
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/mod/applications/mod_cidlookup/mod_cidlookup.c b/src/mod/applications/mod_cidlookup/mod_cidlookup.c
index 230c48ac8d..2ec41f19e4 100755
--- a/src/mod/applications/mod_cidlookup/mod_cidlookup.c
+++ b/src/mod/applications/mod_cidlookup/mod_cidlookup.c
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/mod/applications/mod_cluechoo/mod_cluechoo.c b/src/mod/applications/mod_cluechoo/mod_cluechoo.c
index ab14b757aa..2699d82fc4 100644
--- a/src/mod/applications/mod_cluechoo/mod_cluechoo.c
+++ b/src/mod/applications/mod_cluechoo/mod_cluechoo.c
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/mod/applications/mod_commands/mod_commands.c b/src/mod/applications/mod_commands/mod_commands.c
index 8daaace7f3..15ac8ecd2a 100644
--- a/src/mod/applications/mod_commands/mod_commands.c
+++ b/src/mod/applications/mod_commands/mod_commands.c
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c
index 21feaa99ca..a9da20e9d9 100644
--- a/src/mod/applications/mod_conference/mod_conference.c
+++ b/src/mod/applications/mod_conference/mod_conference.c
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/mod/applications/mod_curl/mod_curl.c b/src/mod/applications/mod_curl/mod_curl.c
index 4f6aefd313..633e4c80e2 100644
--- a/src/mod/applications/mod_curl/mod_curl.c
+++ b/src/mod/applications/mod_curl/mod_curl.c
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/mod/applications/mod_db/mod_db.c b/src/mod/applications/mod_db/mod_db.c
index 088d9d0a85..e611d036ea 100644
--- a/src/mod/applications/mod_db/mod_db.c
+++ b/src/mod/applications/mod_db/mod_db.c
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/mod/applications/mod_directory/mod_directory.c b/src/mod/applications/mod_directory/mod_directory.c
index d92974766d..0127363064 100644
--- a/src/mod/applications/mod_directory/mod_directory.c
+++ b/src/mod/applications/mod_directory/mod_directory.c
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/mod/applications/mod_distributor/mod_distributor.c b/src/mod/applications/mod_distributor/mod_distributor.c
index f4070a9bc6..b87b3edb75 100644
--- a/src/mod/applications/mod_distributor/mod_distributor.c
+++ b/src/mod/applications/mod_distributor/mod_distributor.c
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c
index 6fbf70bdfd..4602dd2bc5 100755
--- a/src/mod/applications/mod_dptools/mod_dptools.c
+++ b/src/mod/applications/mod_dptools/mod_dptools.c
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
@@ -389,7 +389,7 @@ SWITCH_STANDARD_APP(dtmf_unbind_function)
int kval = 0;
if (key) {
- kval = atoi(key);
+ kval = switch_dtmftoi(key);
}
switch_ivr_unbind_dtmf_meta_session(session, kval);
@@ -405,7 +405,7 @@ SWITCH_STANDARD_APP(dtmf_bind_function)
if (!zstr(data) && (lbuf = switch_core_session_strdup(session, data))
&& (argc = switch_separate_string(lbuf, ' ', argv, (sizeof(argv) / sizeof(argv[0])))) == 4) {
- int kval = atoi(argv[0]);
+ int kval = switch_dtmftoi(argv[0]);
switch_bind_flag_t bind_flags = 0;
if (strchr(argv[1], 'a')) {
@@ -2531,7 +2531,7 @@ SWITCH_STANDARD_APP(audio_bridge_function)
camp_data = (char *) data;
}
- if (!(moh = switch_channel_get_variable(caller_channel, "hold_music"))) {
+ if (!(moh = switch_channel_get_hold_music(caller_channel))) {
moh = switch_channel_get_variable(caller_channel, "campon_hold_music");
}
diff --git a/src/mod/applications/mod_easyroute/mod_easyroute.c b/src/mod/applications/mod_easyroute/mod_easyroute.c
index 8a21a2230c..481df958cf 100644
--- a/src/mod/applications/mod_easyroute/mod_easyroute.c
+++ b/src/mod/applications/mod_easyroute/mod_easyroute.c
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/mod/applications/mod_enum/mod_enum.c b/src/mod/applications/mod_enum/mod_enum.c
index 1f00721bda..378c336810 100644
--- a/src/mod/applications/mod_enum/mod_enum.c
+++ b/src/mod/applications/mod_enum/mod_enum.c
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/mod/applications/mod_esf/mod_esf.c b/src/mod/applications/mod_esf/mod_esf.c
index 20cad68c27..a2f8ddb8cd 100644
--- a/src/mod/applications/mod_esf/mod_esf.c
+++ b/src/mod/applications/mod_esf/mod_esf.c
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/mod/applications/mod_expr/mod_expr.c b/src/mod/applications/mod_expr/mod_expr.c
index f761b3c8e9..d562d8cd9c 100644
--- a/src/mod/applications/mod_expr/mod_expr.c
+++ b/src/mod/applications/mod_expr/mod_expr.c
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/mod/applications/mod_fax/mod_fax.c b/src/mod/applications/mod_fax/mod_fax.c
index da1a98edf6..a899d270fc 100644
--- a/src/mod/applications/mod_fax/mod_fax.c
+++ b/src/mod/applications/mod_fax/mod_fax.c
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II
+ * Copyright (C) 2005-2011, Anthony Minessale II
*
* Version: MPL 1.1
*
diff --git a/src/mod/applications/mod_fifo/mod_fifo.c b/src/mod/applications/mod_fifo/mod_fifo.c
index e9d7cfb0e6..2e074138ba 100644
--- a/src/mod/applications/mod_fifo/mod_fifo.c
+++ b/src/mod/applications/mod_fifo/mod_fifo.c
@@ -1,6 +1,6 @@
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
- * Copyright (C) 2005-2010, Anthony Minessale II