aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_zap.c
AgeCommit message (Collapse)AuthorFilesLines
2006-06-07simplify autoconfig include mechanism (make tholo happy he can use lint ↵kpfleming1-5/+5
again :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07remove the WITH_SMDI definerussell1-24/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32845 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06revert my changes to convert fields of zt_pvt to use stringfields. When I didrussell1-80/+74
this, I was not keeping in mind the fact that after a stringfield is overwritten by another string, the memory used by the old string can not be recovered. I would like to go back through these changes and make sure that stringfields are not used for fields that are written to many times before these changes are committed. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32759 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06Add q.921 state information. (#7260)mattf1-2/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32740 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06don't return -1 if zapata.conf is not present (part of the patch fromrussell1-1/+1
issue #7290, tzafrir) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32545 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06- use stringfields in a bunch of the fields of the zt_pvt structure in chan_zaprussell1-74/+80
- constify some arguments to functions in callerid.c / callerid.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32456 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-01- add the ability to configure forced jitterbuffers on h323, jingle,russell1-5/+1
and mgcp channels - remove the jitterbuffer configuration from the pvt structures in the sip, zap, and skinny channel drivers, as copying the same global configuration into each pvt structure has no benefit. - update and fix some typos in jitterbuffer related documentation (issue #7257, north, with additional updates and modifications) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31413 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-31clean up various whitespace issues (issue #7236, casper)russell1-247/+255
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31126 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-31move the includes of abstract_jb.h to be with the rest of the asterisk includes.russell1-2/+2
These used to be wrapped in a #ifdef git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31078 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-31Add support for using a jitterbuffer for RTP on bridged calls. This includesrussell1-0/+23
a new implementation of a fixed size jitterbuffer, as well as support for the existing adaptive jitterbuffer implementation. (issue #3854, Slav Klenov) Thank you very much to Slav Klenov of Securax and all of the people involved in the testing of this feature for all of your hard work! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-24Merged revisions 29969 via svnmerge from kpfleming1-3/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r29969 | kpfleming | 2006-05-24 11:17:26 -0500 (Wed, 24 May 2006) | 2 lines respect 'usecallingpres' in zapata.conf even if CLID has not been set for the channel (issue #7123) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29970 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-23Bump up the echo tail length optionmattf1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19Clean up some chan_zap code to make it more readable. (issue #6834 reported ↵file1-25/+7
by ppyy) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28704 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19Merged revisions 28698 via svnmerge from file1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r28698 | file | 2006-05-19 14:04:02 -0300 (Fri, 19 May 2006) | 2 lines Make the minidle option actually exist as documented (issue #7159 reported by imran) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28703 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19fix up a patch that did not merge properly from 1.2 ... weird russell1-6/+6
(issue #6866, flefoll) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28592 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-17Add distinctive ring detection with Caller ID for Australia, New Zealand, ↵file1-5/+63
and other countries. (issue #3596 reported by deon patch by dbowerman with minor mods by moi) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27812 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-16Add option for enabling and disabling echo cancellationmattf1-0/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27523 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10remove some chekc sof the result of ast_mutex_lock (issue #7119, Mithraen)russell1-69/+42
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26531 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10ensure that control frames with payload can be sent to channel drivers via ↵kpfleming1-3/+3
->indicate() update iax2_indicate to pass control frame payload to the connected channel add an API call for sending an indication with payload, and use it for control frames with payload git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26417 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-06Merged revisions 25123 via svnmerge from russell1-0/+6
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r25123 | russell | 2006-05-05 20:05:27 -0400 (Fri, 05 May 2006) | 3 lines ensure that the appropriate manager events are sent in all of the places where alarms are detected or cleared (issue #6866, flefoll) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25124 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03 Provide the ability to adjust txgain/rxgain on a channel level via the ↵bweschke1-0/+21
CHANNEL() function git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24621 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01move some code used only --with-pri in the properrizzo1-9/+9
conditionally-compiled area. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23809 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30remove unusable MFC/R2 supportkpfleming1-362/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23670 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27allows for chan_zap to have all channels reloadedmogorman1-1/+52
via zap restart patch from bug 6955 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22932 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27Make sure we use the correct event type when we're moving channels around :-)mattf1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22867 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have ↵kpfleming1-118/+126
autoconf and menuselect tools for Asterisk! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-22Added "Operator Services" connection mode for Zap channels, and the 'O' optionjdixon1-14/+78
in app_dial to support the use of this mode. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22128 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14This rather large commit changes the way modules are loaded. rizzo1-20/+14
As partly documented in loader.c and include/asterisk/module.h, modules are now expected to return all of their methods and flags into a structure 'mod_data', and are normally loaded with RTLD_NOW | RTLD_LOCAL, so symbols are resolved immediately and conflicts should be less likely. Only in a small number of cases (res_*, typically) modules are loaded RTLD_GLOBAL, so they can export symbols. The core of the change is only the two files loader.c and include/asterisk/module.h, all the rest is simply adaptation of the existing modules to the new API, a rather mechanical (but believe me, time and finger-consuming!) process whose detail you can figure out by svn diff'ing any single module. Expect some minor compilation issue after this change, please report it on mantis http://bugs.digium.com/view.php?id=6968 so we collect all the feedback in one place. I am just sorry that this change missed SVN version number 20000! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08since the module API is changing, it's a good time to const-ify the ↵kpfleming1-2/+2
description() and key() return values git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-05Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) ↵tilghman1-1/+1
rand() to threadsafe ast_random() git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17627 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-04Formatting cleanupoej1-53/+53
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17369 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-04Issue #6878 - Manager event DNDstate hidden under verbose option (casper)oej1-10/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17366 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28normalize/simplify a bit of the command completion code.rizzo1-11/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15856 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28The condition to check the zaptel version was too strict.rizzo1-1/+1
If you are compiling with WITHOUT_ZAPTEL=1, you can also work with older version of zaptel, and there is no reason not to allow that. This should help various people mentioning on the -dev list that there were issues with newer zaptel versions on FreeBSD, and so they had to use older version. (This includes me, btw!) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15785 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28ensure that 'zap show channel' will indicate that the echo canceler has been ↵kpfleming1-0/+7
disabled when CED has been detected on the channel git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15662 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-27Janitor work converting !ast_strlen_zero(a)?a:bmogorman1-6/+6
to S_OR functions. from bug note 6805 with minor modifications. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15283 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-25Add micro-http server and abstract manager interface, make snmp not die markster1-2/+2
on reload. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14953 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-23Allow channels to be moved if channel change is requested in SETUP_ACK, also ↵mattf1-9/+15
add a WAY cool new field to the nsf option git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14521 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-21Added separate outsignalling specification, and fixed FEATDMF to allow forjdixon1-15/+72
international inbound calls. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14079 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-16Merged revisions 13237 via svnmerge from russell1-2/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r13237 | russell | 2006-03-16 12:42:46 -0500 (Thu, 16 Mar 2006) | 3 lines always use the callerid signalling method set in the zt_pvt strucutre as opposed to the last one read from the config file (issue #6734, with mods) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@13238 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-04Fix some whitespace issuesmarkster1-15/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11817 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-21Bug 6554 - Show all spans statuses with a single commandtilghman1-0/+27
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10607 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-21Bug 6552 - Be a little more descriptive about which span has the PRI errortilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10606 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-10clean up SMDI support commit:kpfleming1-3/+3
copyright header format and dates code formatting and guidelines conformance use of timeval wrapper functions use of memory allocation wrappers propery unref created interface objects during config load document new variable set by chan_zap in doc/channelvariables.txt remove useless 'extern' on function prototypes and definitions git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9451 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-10Minor bugfix for #6386mattf1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9436 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-10Add smdi support for asterisk (see doc/smdi.txt for config info) (#5945)mattf1-8/+79
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9423 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-09remove unnecessary format check in zt_request so that we will actually acceptrussell1-8/+0
a requested format of ALAW (issue #6421, different patch) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9260 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-09clarify return value (issue #6434)russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9248 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-07Make sure we output the APDU debug on pri debug commandsmattf1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9194 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-02Fix w/ string field updates #6397mattf1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9113 f38db490-d61c-443f-a65b-d21fe96a405b