Merge branch 'master' of git.freeswitch.org:freeswitch

This commit is contained in:
David Yat Sin 2011-01-05 16:25:22 -05:00
commit e06feedd9e
248 changed files with 423 additions and 327 deletions

View File

@ -16,7 +16,7 @@
</cli-keybindings> </cli-keybindings>
<default-ptimes> <default-ptimes>
<!-- set this to overide the 20ms assumption of various codecs in the sdp with no ptime defined --> <!-- set this to override the 20ms assumption of various codecs in the sdp with no ptime defined -->
<!--<codec name="G729" ptime="40"/>--> <!--<codec name="G729" ptime="40"/>-->
</default-ptimes> </default-ptimes>

View File

@ -9,7 +9,7 @@
# Description: An advanced platform for voice services # Description: An advanced platform for voice services
### END INIT INFO ### END INIT INFO
# Author: Anthony Minesalle III <anthmct@yahoo.com> # Author: Anthony Minesalle II <anthm@freeswitch.org>
# #
# Do NOT "set -e" # Do NOT "set -e"

View File

@ -82,10 +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) ESL_DECLARE(esl_size_t) esl_buffer_len(esl_buffer_t *buffer)
{ {
assert(buffer != NULL); esl_assert(buffer != NULL);
if (!buffer){
return (esl_size_t)NULL;
}
return buffer->datalen; return buffer->datalen;
@ -94,10 +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) ESL_DECLARE(esl_size_t) esl_buffer_freespace(esl_buffer_t *buffer)
{ {
assert(buffer != NULL); esl_assert(buffer != NULL);
if (!buffer) {
return (esl_size_t)NULL;
}
if (buffer->max_len) { if (buffer->max_len) {
return (esl_size_t) (buffer->max_len - buffer->used); return (esl_size_t) (buffer->max_len - buffer->used);
@ -108,10 +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) ESL_DECLARE(esl_size_t) esl_buffer_inuse(esl_buffer_t *buffer)
{ {
assert(buffer != NULL); esl_assert(buffer != NULL);
if (!buffer) {
return (esl_size_t)NULL;
}
return buffer->used; return buffer->used;
} }
@ -120,10 +111,7 @@ ESL_DECLARE(esl_size_t) esl_buffer_seek(esl_buffer_t *buffer, esl_size_t datalen
{ {
esl_size_t reading = 0; esl_size_t reading = 0;
assert(buffer != NULL); esl_assert(buffer != NULL);
if (!buffer) {
return (esl_size_t)NULL;
}
if (buffer->used < 1) { if (buffer->used < 1) {
buffer->used = 0; buffer->used = 0;
@ -144,10 +132,7 @@ ESL_DECLARE(esl_size_t) esl_buffer_toss(esl_buffer_t *buffer, esl_size_t datalen
{ {
esl_size_t reading = 0; esl_size_t reading = 0;
assert(buffer != NULL); esl_assert(buffer != NULL);
if (!buffer) {
return (esl_size_t)NULL;
}
if (buffer->used < 1) { if (buffer->used < 1) {
buffer->used = 0; buffer->used = 0;
@ -188,11 +173,8 @@ ESL_DECLARE(esl_size_t) esl_buffer_read(esl_buffer_t *buffer, void *data, esl_si
{ {
esl_size_t reading = 0; esl_size_t reading = 0;
assert(buffer != NULL); esl_assert(buffer != NULL);
if (!buffer) { esl_assert(data != NULL);
return (esl_size_t)NULL;
}
assert(data != NULL);
if (buffer->used < 1) { if (buffer->used < 1) {
@ -218,7 +200,7 @@ ESL_DECLARE(esl_size_t) esl_buffer_packet_count(esl_buffer_t *buffer)
char *pe, *p, *e, *head = (char *) buffer->head; char *pe, *p, *e, *head = (char *) buffer->head;
esl_size_t x = 0; esl_size_t x = 0;
assert(buffer != NULL); esl_assert(buffer != NULL);
e = (head + buffer->used); e = (head + buffer->used);
@ -241,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; char *pe, *p, *e, *head = (char *) buffer->head;
esl_size_t datalen = 0; esl_size_t datalen = 0;
assert(buffer != NULL); esl_assert(buffer != NULL);
assert(data != NULL); esl_assert(data != NULL);
e = (head + buffer->used); e = (head + buffer->used);
@ -268,12 +250,9 @@ ESL_DECLARE(esl_size_t) esl_buffer_write(esl_buffer_t *buffer, const void *data,
{ {
esl_size_t freespace, actual_freespace; esl_size_t freespace, actual_freespace;
assert(buffer != NULL); esl_assert(buffer != NULL);
if (!buffer) { esl_assert(data != NULL);
return (esl_size_t)NULL; esl_assert(buffer->data != NULL);
}
assert(data != NULL);
assert(buffer->data != NULL);
if (!datalen) { if (!datalen) {
return buffer->used; return buffer->used;
@ -332,11 +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) ESL_DECLARE(void) esl_buffer_zero(esl_buffer_t *buffer)
{ {
assert(buffer != NULL); esl_assert(buffer != NULL);
if (!buffer) { esl_assert(buffer->data != NULL);
return;
}
assert(buffer->data != NULL);
buffer->used = 0; buffer->used = 0;
buffer->actually_used = 0; buffer->actually_used = 0;

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *
@ -17,13 +17,13 @@
* The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* *
* The Initial Developer of the Original Code is * The Initial Developer of the Original Code is
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* Portions created by the Initial Developer are Copyright (C) * Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved. * the Initial Developer. All Rights Reserved.
* *
* Contributor(s): * Contributor(s):
* *
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* Moises Silva <moy@sangoma.com> * Moises Silva <moy@sangoma.com>
* David Yat Sin <dyatsin@sangoma.com> * David Yat Sin <dyatsin@sangoma.com>
* *
@ -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)) { 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)) { 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"))) { if ((var = channel_get_variable(session, var_event, "freetdm_bearer_capability"))) {

View File

@ -1,6 +1,6 @@
/* /*
* libteletone * libteletone
* Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *
@ -17,13 +17,13 @@
* The Original Code is libteletone * The Original Code is libteletone
* *
* The Initial Developer of the Original Code is * The Initial Developer of the Original Code is
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* Portions created by the Initial Developer are Copyright (C) * Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved. * the Initial Developer. All Rights Reserved.
* *
* Contributor(s): * Contributor(s):
* *
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* *
* *
* libteletone.h -- Tone Generator/Detector * libteletone.h -- Tone Generator/Detector

View File

@ -1,6 +1,6 @@
/* /*
* libteletone * libteletone
* Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* libteletone_detect.c Tone Detection Code * libteletone_detect.c Tone Detection Code
* *

View File

@ -1,6 +1,6 @@
/* /*
* libteletone * libteletone
* Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Copyright (c) 2007, Anthony Minessale II * Copyright (c) 2007, Anthony Minessale II
* All rights reserved. * All rights reserved.

View File

@ -1,7 +1,7 @@
/***************************************************************************** /*****************************************************************************
* sangoma_tdm_api.h Sangoma TDM API Portability functions * sangoma_tdm_api.h Sangoma TDM API Portability functions
* *
* Author(s): Anthony Minessale II <anthmct@yahoo.com> * Author(s): Anthony Minessale II <anthm@freeswitch.org>
* Nenad Corbic <ncorbic@sangoma.com> * Nenad Corbic <ncorbic@sangoma.com>
* Michael Jerris <mike@jerris.com> * Michael Jerris <mike@jerris.com>
* David Rokhvarg <davidr@sangoma.com> * David Rokhvarg <davidr@sangoma.com>

View File

@ -1,12 +1,12 @@
/* /*
* libteletone * libteletone
* Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Much less efficient expansion interface was added to allow for the detection of * 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. * a single arbitrary tone combination which may also exceed 2 simultaneous tones.
* (controlled by compile time constant TELETONE_MAX_TONES) * (controlled by compile time constant TELETONE_MAX_TONES)
* *
* Copyright (C) 2006 Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2006 Anthony Minessale II <anthm@freeswitch.org>
* *
* libteletone_detect.c Tone Detection Code * libteletone_detect.c Tone Detection Code
* *

View File

@ -1,7 +1,7 @@
/***************************************************************************** /*****************************************************************************
* priserver.c Refactoring of pritest.c * priserver.c Refactoring of pritest.c
* *
* Author(s): Anthony Minessale II <anthmct@yahoo.com> * Author(s): Anthony Minessale II <anthm@freeswitch.org>
* Nenad Corbic <ncorbic@sangoma.com> * Nenad Corbic <ncorbic@sangoma.com>
* *
* Copyright: (c) 2005 Anthony Minessale II * Copyright: (c) 2005 Anthony Minessale II

View File

@ -1,7 +1,7 @@
/***************************************************************************** /*****************************************************************************
* sangoma_pri.c libpri Sangoma integration * sangoma_pri.c libpri Sangoma integration
* *
* Author(s): Anthony Minessale II <anthmct@yahoo.com> * Author(s): Anthony Minessale II <anthm@freeswitch.org>
* Nenad Corbic <ncorbic@sangoma.com> * Nenad Corbic <ncorbic@sangoma.com>
* *
* Copyright: (c) 2005 Anthony Minessale II * Copyright: (c) 2005 Anthony Minessale II

View File

@ -1,7 +1,7 @@
/***************************************************************************** /*****************************************************************************
* libsangoma.c AFT T1/E1: HDLC API Code Library * libsangoma.c AFT T1/E1: HDLC API Code Library
* *
* Author(s): Anthony Minessale II <anthmct@yahoo.com> * Author(s): Anthony Minessale II <anthm@freeswitch.org>
* Nenad Corbic <ncorbic@sangoma.com> * Nenad Corbic <ncorbic@sangoma.com>
* *
* Copyright: (c) 2005 Anthony Minessale II * Copyright: (c) 2005 Anthony Minessale II

View File

@ -1,6 +1,6 @@
/* /*
* libDingaLing XMPP Jingle Library * libDingaLing XMPP Jingle Library
* Copyright (C) 2005/2006, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* libDingaLing XMPP Jingle Library * libDingaLing XMPP Jingle Library
* Copyright (C) 2005/2006, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* libDingaLing XMPP Jingle Library * libDingaLing XMPP Jingle Library
* Copyright (C) 2005/2006, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* libteletone * libteletone
* Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *
@ -17,13 +17,13 @@
* The Original Code is libteletone * The Original Code is libteletone
* *
* The Initial Developer of the Original Code is * The Initial Developer of the Original Code is
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* Portions created by the Initial Developer are Copyright (C) * Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved. * the Initial Developer. All Rights Reserved.
* *
* Contributor(s): * Contributor(s):
* *
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* *
* *
* libteletone.h -- Tone Generator/Detector * libteletone.h -- Tone Generator/Detector

View File

@ -1,6 +1,6 @@
/* /*
* libteletone * libteletone
* Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *
@ -32,7 +32,7 @@
* a single arbitrary tone combination which may also exceed 2 simultaneous tones. * a single arbitrary tone combination which may also exceed 2 simultaneous tones.
* (controlled by compile time constant TELETONE_MAX_TONES) * (controlled by compile time constant TELETONE_MAX_TONES)
* *
* Copyright (C) 2006 Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2006 Anthony Minessale II <anthm@freeswitch.org>
* *
* *
* libteletone_detect.c Tone Detection Code * libteletone_detect.c Tone Detection Code

View File

@ -1,6 +1,6 @@
/* /*
* libteletone * libteletone
* Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *
@ -32,7 +32,7 @@
* a single arbitrary tone combination which may also exceed 2 simultaneous tones. * a single arbitrary tone combination which may also exceed 2 simultaneous tones.
* (controlled by compile time constant TELETONE_MAX_TONES) * (controlled by compile time constant TELETONE_MAX_TONES)
* *
* Copyright (C) 2006 Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2006 Anthony Minessale II <anthm@freeswitch.org>
* *
* *
* libteletone_detect.c Tone Detection Code * libteletone_detect.c Tone Detection Code

View File

@ -1,6 +1,6 @@
/* /*
* libteletone * libteletone
* Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *
@ -17,13 +17,13 @@
* The Original Code is libteletone * The Original Code is libteletone
* *
* The Initial Developer of the Original Code is * The Initial Developer of the Original Code is
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* Portions created by the Initial Developer are Copyright (C) * Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved. * the Initial Developer. All Rights Reserved.
* *
* Contributor(s): * Contributor(s):
* *
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* *
* *
* libteletone.c -- Tone Generator * libteletone.c -- Tone Generator

View File

@ -1,6 +1,6 @@
/* /*
* libteletone * libteletone
* Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *
@ -17,13 +17,13 @@
* The Original Code is libteletone * The Original Code is libteletone
* *
* The Initial Developer of the Original Code is * The Initial Developer of the Original Code is
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* Portions created by the Initial Developer are Copyright (C) * Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved. * the Initial Developer. All Rights Reserved.
* *
* Contributor(s): * Contributor(s):
* *
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* *
* *
* libteletone.h -- Tone Generator * libteletone.h -- Tone Generator

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *
@ -17,13 +17,13 @@
* The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* *
* The Initial Developer of the Original Code is * The Initial Developer of the Original Code is
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* Portions created by the Initial Developer are Copyright (C) * Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved. * the Initial Developer. All Rights Reserved.
* *
* Contributor(s): * Contributor(s):
* *
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* Moises Silva <moy@sangoma.com> * Moises Silva <moy@sangoma.com>
* *
* *

View File

@ -1,6 +1,6 @@
/* /*
* libteletone * libteletone
* Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *
@ -17,13 +17,13 @@
* The Original Code is libteletone * The Original Code is libteletone
* *
* The Initial Developer of the Original Code is * The Initial Developer of the Original Code is
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* Portions created by the Initial Developer are Copyright (C) * Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved. * the Initial Developer. All Rights Reserved.
* *
* Contributor(s): * Contributor(s):
* *
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* *
* *
* libteletone.h -- Tone Generator/Detector * libteletone.h -- Tone Generator/Detector

View File

@ -1,6 +1,6 @@
/* /*
* libteletone * libteletone
* Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* libteletone_detect.c Tone Detection Code * libteletone_detect.c Tone Detection Code
* *

View File

@ -1,6 +1,6 @@
/* /*
* libteletone * libteletone
* Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Copyright (c) 2007, Anthony Minessale II * Copyright (c) 2007, Anthony Minessale II
* All rights reserved. * All rights reserved.

View File

@ -1,7 +1,7 @@
/***************************************************************************** /*****************************************************************************
* sangoma_tdm_api.h Sangoma TDM API Portability functions * sangoma_tdm_api.h Sangoma TDM API Portability functions
* *
* Author(s): Anthony Minessale II <anthmct@yahoo.com> * Author(s): Anthony Minessale II <anthm@freeswitch.org>
* Nenad Corbic <ncorbic@sangoma.com> * Nenad Corbic <ncorbic@sangoma.com>
* Michael Jerris <mike@jerris.com> * Michael Jerris <mike@jerris.com>
* David Rokhvarg <davidr@sangoma.com> * David Rokhvarg <davidr@sangoma.com>

View File

@ -1,12 +1,12 @@
/* /*
* libteletone * libteletone
* Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Much less efficient expansion interface was added to allow for the detection of * 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. * a single arbitrary tone combination which may also exceed 2 simultaneous tones.
* (controlled by compile time constant TELETONE_MAX_TONES) * (controlled by compile time constant TELETONE_MAX_TONES)
* *
* Copyright (C) 2006 Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2006 Anthony Minessale II <anthm@freeswitch.org>
* *
* libteletone_detect.c Tone Detection Code * libteletone_detect.c Tone Detection Code
* *

View File

@ -1,7 +1,7 @@
/***************************************************************************** /*****************************************************************************
* priserver.c Refactoring of pritest.c * priserver.c Refactoring of pritest.c
* *
* Author(s): Anthony Minessale II <anthmct@yahoo.com> * Author(s): Anthony Minessale II <anthm@freeswitch.org>
* Nenad Corbic <ncorbic@sangoma.com> * Nenad Corbic <ncorbic@sangoma.com>
* *
* Copyright: (c) 2005 Anthony Minessale II * Copyright: (c) 2005 Anthony Minessale II

View File

@ -1,7 +1,7 @@
/***************************************************************************** /*****************************************************************************
* sangoma_pri.c libpri Sangoma integration * sangoma_pri.c libpri Sangoma integration
* *
* Author(s): Anthony Minessale II <anthmct@yahoo.com> * Author(s): Anthony Minessale II <anthm@freeswitch.org>
* Nenad Corbic <ncorbic@sangoma.com> * Nenad Corbic <ncorbic@sangoma.com>
* *
* Copyright: (c) 2005 Anthony Minessale II * Copyright: (c) 2005 Anthony Minessale II

View File

@ -1,7 +1,7 @@
/***************************************************************************** /*****************************************************************************
* libsangoma.c AFT T1/E1: HDLC API Code Library * libsangoma.c AFT T1/E1: HDLC API Code Library
* *
* Author(s): Anthony Minessale II <anthmct@yahoo.com> * Author(s): Anthony Minessale II <anthm@freeswitch.org>
* Nenad Corbic <ncorbic@sangoma.com> * Nenad Corbic <ncorbic@sangoma.com>
* *
* Copyright: (c) 2005 Anthony Minessale II * Copyright: (c) 2005 Anthony Minessale II

View File

@ -29,7 +29,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* *
* *
* Copyright (C) 2007, Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2007, Anthony Minessale II <anthm@freeswitch.org>
*/ */
#include <stdio.h> #include <stdio.h>

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *
@ -17,13 +17,13 @@
* The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* *
* The Initial Developer of the Original Code is * The Initial Developer of the Original Code is
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* Portions created by the Initial Developer are Copyright (C) * Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved. * the Initial Developer. All Rights Reserved.
* *
* Contributor(s): * Contributor(s):
* *
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* *
* *
* api.js Demo javascript FSAPI Interface * api.js Demo javascript FSAPI Interface

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2005/2006, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *
@ -17,13 +17,13 @@
* The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* *
* The Initial Developer of the Original Code is * The Initial Developer of the Original Code is
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* Portions created by the Initial Developer are Copyright (C) * Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved. * the Initial Developer. All Rights Reserved.
* *
* Contributor(s): * Contributor(s):
* *
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* *
* *
* SpeechTools.jm Speech Detection Interface * SpeechTools.jm Speech Detection Interface

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *
@ -17,13 +17,13 @@
* The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* *
* The Initial Developer of the Original Code is * The Initial Developer of the Original Code is
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* Portions created by the Initial Developer are Copyright (C) * Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved. * the Initial Developer. All Rights Reserved.
* *
* Contributor(s): * Contributor(s):
* *
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* *
* *
* pizza.js ASR Demonstration Application * pizza.js ASR Demonstration Application

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *
@ -17,13 +17,13 @@
* The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* *
* The Initial Developer of the Original Code is * The Initial Developer of the Original Code is
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* Portions created by the Initial Developer are Copyright (C) * Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved. * the Initial Developer. All Rights Reserved.
* *
* Contributor(s): * Contributor(s):
* *
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* *
* *
* pizza.js ASR Demonstration Application * pizza.js ASR Demonstration Application

View File

@ -5,7 +5,7 @@
# voicemail gateway with no mail server> # voicemail gateway with no mail server>
# #
# (c) 2005 Anthony Minessale II # (c) 2005 Anthony Minessale II
# Anthony Minessale <anthmct@yahoo.com> # Anthony Minessale <anthm@freeswitch.org>
# #
################################################################################ ################################################################################
use Net::SMTP; use Net::SMTP;

View File

@ -1,6 +1,6 @@
""" """
FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
Version: MPL 1.1 Version: MPL 1.1
@ -17,7 +17,7 @@ License.
The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
The Initial Developer of the Original Code is The Initial Developer of the Original Code is
Anthony Minessale II <anthmct@yahoo.com> Anthony Minessale II <anthm@freeswitch.org>
Portions created by the Initial Developer are Copyright (C) Portions created by the Initial Developer are Copyright (C)
the Initial Developer. All Rights Reserved. the Initial Developer. All Rights Reserved.

View File

@ -1,6 +1,6 @@
""" """
FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
Version: MPL 1.1 Version: MPL 1.1
@ -17,7 +17,7 @@ License.
The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
The Initial Developer of the Original Code is The Initial Developer of the Original Code is
Anthony Minessale II <anthmct@yahoo.com> Anthony Minessale II <anthm@freeswitch.org>
Portions created by the Initial Developer are Copyright (C) Portions created by the Initial Developer are Copyright (C)
the Initial Developer. All Rights Reserved. the Initial Developer. All Rights Reserved.

View File

@ -2,7 +2,7 @@
""" """
FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
Version: MPL 1.1 Version: MPL 1.1
@ -19,7 +19,7 @@ License.
The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
The Initial Developer of the Original Code is The Initial Developer of the Original Code is
Anthony Minessale II <anthmct@yahoo.com> Anthony Minessale II <anthm@freeswitch.org>
Portions created by the Initial Developer are Copyright (C) Portions created by the Initial Developer are Copyright (C)
the Initial Developer. All Rights Reserved. the Initial Developer. All Rights Reserved.

View File

@ -1,6 +1,6 @@
""" """
FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
Version: MPL 1.1 Version: MPL 1.1
@ -17,7 +17,7 @@ License.
The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
The Initial Developer of the Original Code is The Initial Developer of the Original Code is
Anthony Minessale II <anthmct@yahoo.com> Anthony Minessale II <anthm@freeswitch.org>
Portions created by the Initial Developer are Copyright (C) Portions created by the Initial Developer are Copyright (C)
the Initial Developer. All Rights Reserved. the Initial Developer. All Rights Reserved.

View File

@ -1,6 +1,6 @@
""" """
FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
Version: MPL 1.1 Version: MPL 1.1
@ -17,7 +17,7 @@ License.
The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
The Initial Developer of the Original Code is The Initial Developer of the Original Code is
Anthony Minessale II <anthmct@yahoo.com> Anthony Minessale II <anthm@freeswitch.org>
Portions created by the Initial Developer are Copyright (C) Portions created by the Initial Developer are Copyright (C)
the Initial Developer. All Rights Reserved. the Initial Developer. All Rights Reserved.

View File

@ -4,7 +4,7 @@
# #
# Copyright (C) 2006, Anthony Minessale # Copyright (C) 2006, Anthony Minessale
# #
# Anthony Minessale <anthmct@yahoo.com> # Anthony Minessale <anthm@freeswitch.org>
# #
# This program is free software, distributed under the terms of # This program is free software, distributed under the terms of
# Perl itself # Perl itself

View File

@ -1,6 +1,6 @@
#!/usr/bin/perl #!/usr/bin/perl
# sipgrep version 0.2. Skin for ngrep. (C) 2005-2006 Alexandr Dubovikov <shurik@start4.info> # sipgrep version 0.2. Skin for ngrep. (C) 2005-2006 Alexandr Dubovikov <shurik@start4.info>
# Modified 2007 Anthony Minessale <anthmct@yahoo.com> # Modified 2007 Anthony Minessale <anthm@freeswitch.org>
use Term::ANSIColor; use Term::ANSIColor;
use Getopt::Std; use Getopt::Std;

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * 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_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); 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 \brief Provides some feedback as to the status of the db connection pool
\param [in] stream stream for status \param [in] stream stream for status

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * 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(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 SWITCH_END_EXTERN_C
#endif #endif
/* For Emacs: /* For Emacs:

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *
@ -973,9 +973,14 @@ static switch_status_t messagehook (switch_core_session_t *session, switch_core_
consumer_channel = switch_core_session_get_channel(consumer_session); consumer_channel = switch_core_session_get_channel(consumer_session);
outbound_id = switch_channel_get_variable(consumer_channel, "fifo_outbound_uuid"); outbound_id = switch_channel_get_variable(consumer_channel, "fifo_outbound_uuid");
if (!outbound_id) return SWITCH_STATUS_SUCCESS;
switch (msg->message_id) { switch (msg->message_id) {
case SWITCH_MESSAGE_INDICATE_BRIDGE: case SWITCH_MESSAGE_INDICATE_BRIDGE:
case SWITCH_MESSAGE_INDICATE_UNBRIDGE: case SWITCH_MESSAGE_INDICATE_UNBRIDGE:
if (msg->numeric_arg == 42) {
goto end;
}
if ((caller_session = switch_core_session_locate(msg->string_arg))) { if ((caller_session = switch_core_session_locate(msg->string_arg))) {
caller_channel = switch_core_session_get_channel(caller_session); caller_channel = switch_core_session_get_channel(caller_session);
if (msg->message_id == SWITCH_MESSAGE_INDICATE_BRIDGE) { if (msg->message_id == SWITCH_MESSAGE_INDICATE_BRIDGE) {
@ -1028,7 +1033,6 @@ static switch_status_t messagehook (switch_core_session_t *session, switch_core_
switch_channel_get_variable(caller_channel, "fifo_import_prefix")); switch_channel_get_variable(caller_channel, "fifo_import_prefix"));
} }
ced_name = switch_channel_get_variable(consumer_channel, "callee_id_name"); ced_name = switch_channel_get_variable(consumer_channel, "callee_id_name");
ced_number = switch_channel_get_variable(consumer_channel, "callee_id_number"); ced_number = switch_channel_get_variable(consumer_channel, "callee_id_number");

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *
@ -17,7 +17,7 @@
* The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* *
* The Initial Developer of the Original Code is * The Initial Developer of the Original Code is
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* *
* The Initial Developer of this module is * The Initial Developer of this module is
* Darren Schreiber <d@d-man.org> * Darren Schreiber <d@d-man.org>

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *
@ -17,13 +17,13 @@
* The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* *
* The Initial Developer of the Original Code is * The Initial Developer of the Original Code is
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* Portions created by the Initial Developer are Copyright (C) * Portions created by the Initial Developer are Copyright (C)
* the Initial Developer. All Rights Reserved. * the Initial Developer. All Rights Reserved.
* *
* Contributor(s): * Contributor(s):
* *
* Anthony Minessale II <anthmct@yahoo.com> * Anthony Minessale II <anthm@freeswitch.org>
* Neal Horman <neal at wanlink dot com> * Neal Horman <neal at wanlink dot com>
* Tihomir Culjaga <tculjaga@gmail.com> * Tihomir Culjaga <tculjaga@gmail.com>
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2011, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *

Some files were not shown because too many files have changed in this diff Show More