aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_skinny.c
AgeCommit message (Collapse)AuthorFilesLines
2006-07-03Blocked revisions 36725 via svnmergerussell1-26/+17
........ r36725 | russell | 2006-07-03 00:19:09 -0400 (Mon, 03 Jul 2006) | 4 lines use ast_set_callerid to be more consistent and to make sure that the "callerid" option in the conf files is always handled the same way and sets ANI (issue #7285, gkloepfer) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36726 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-01It might help if this had the right stimulus namenorth1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36562 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-23fix some little issues on big endian platforms to resolve compiler warningsrussell1-9/+13
- don't call the byte swapping macros on single byte numbers - don't do a ++ increment in the argument in the argument to the byte swapping macros. This gets expanded to incrementing the variable 4 times in a single operation, which results in undefined (and obviously undesired) behavior. :) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35766 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-23revert my changes that converted the jb on the channel to be dynamicallyrussell1-16/+9
allocated. These changes caused crashes when using a channel type that did not support the jitterbuffer. Instead of fixing why it's crashing, I'm going to implement this in a better way next week. The way I did it caused a jitterbuffer to be allocated on every channel where the channel type supported jitterbuffers, even if they were disabled. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35746 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22- dynamically allocate the ast_jb structure that is on the channel structurerussell1-9/+16
so that channels not using a jitterbuffer don't waste as much memory - ensure that the channel drivers that use jitterbuffers can handle a failure from configuring a jitterbuffer on a new channel because of a memory allocation error - On passing through these channel drivers, configure the jitterbuffer before starting the PBX thread instead of afterwards. If the pbx fails to start for whatever reason, this would have caused a crash. - Also on passing, move the increase of the usecount to after all of the possible failure conditions in the function - fix a place where ast_update_use_count() was not called - ensure that the owner channel pointer of the channel pvt strcutures is set to NULL in failure conditions git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35553 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-20fix an issue with dtmf not being sent sometimesnorth1-7/+15
slightly modify handling of digits git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35032 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-18No need to have debug enabled by default anymore..north1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34717 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-18Finally merge chan_skinny fixes into trunk.north1-1291/+2256
ready...set...GO! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34696 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07simplify autoconfig include mechanism (make tholo happy he can use lint ↵kpfleming1-4/+4
again :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-01- add the ability to configure forced jitterbuffers on h323, jingle,russell1-8/+2
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-06-01This is what I get for coding while tired.. sorry ;/north1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31385 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-01Nobody saw this coming, I bet.north1-1/+32
jitterbuffer! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31250 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-31update the rest of the channel drivers that use RTP so that their channelrussell1-1/+1
tech structures indicate that they create jitter git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31077 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19As requested by kpfleming, renaming messagecount to inboxcount and ↵tilghman1-1/+1
messagecount2 to messagecount. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28745 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10ensure that control frames with payload can be sent to channel drivers via ↵kpfleming1-2/+2
->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-04-21replace some strncpy with ast_copy string,rizzo1-43/+33
on passing fix some potential null pointer dereference, and normalize some loops git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22043 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17whitespace and spelling (recieve instead of receive) fixes north1-82/+81
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20759 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14This rather large commit changes the way modules are loaded. rizzo1-10/+7
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-11staticize a function, and normalize code in preparation to module changes.rizzo1-5/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19188 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-06skinny debug/verbose cleanup.north1-40/+40
Thanks casper! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17903 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-27Changed some "register" methods to the proper "unregister" method. This is ↵north1-5/+5
in a #if 0 block, but it may still be useful someday. Thanks eliel. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15319 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-22More whitespace and typo fixes for chan_skinny - yay!north1-154/+154
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14188 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-21spelling and formatting fixes (issue #6760)russell1-518/+518
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@13850 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01use string fields for some stuff in ast_channelkpfleming1-15/+11
const-ify some more APIs remove 'type' field from ast_channel, in favor of the one in the channel's tech structure allow string field module users to specify the 'chunk size' for pool allocations update chan_alsa to be compatible with recent const-ification patches git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9060 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 ↵kpfleming1-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-16don't register channel type until we are ready, coding format updatesjeremy1-366/+329
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7124 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06issue #5605russell1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6979 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24Doxygen documentation update from oej (issue #5505)russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14update MANY more files with proper copyright/license info (thanks Ian!)kpfleming1-5/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-09allow users of RTP to know when the peer endpoint is (apparently) behind a NATkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6558 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-30fix netbsd compilation issuerussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6246 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-13fix big endian compilation issuerussell1-18/+21
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6124 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-10define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSIONrussell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6076 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-08clean up compiler warnings during build on 64-bit systemskpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6059 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-05add function to convert a cause code to a stringrussell1-2/+2
create MAX_MUSICCLASS instead of using MAX_LANGUAGE git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6024 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-24actually get the host's name for the code that needs it (bug #4569)kpfleming1-4/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5998 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-24don't use locks when reading usecounts (reading only, not writing)kpfleming1-5/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5994 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-21fix segfault when no CLID number is present (bug #4566)kpfleming1-34/+27
clean up CLID/CNAM display generation code suppress compiler warnings for unused items git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5962 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-07header ordering fixes for FreeBSD (pending a global merge into asterisk.h) ↵kpfleming1-1/+1
(bug #4484) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5876 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-07various compiler warning fixes (bug #4483)kpfleming1-3/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5875 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06more file version tagskpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06another round of version tag updates, along with 'show version files' ↵kpfleming1-13/+18
pattern filtering git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5865 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-05fix compilation on Darwin (bug #4462, ugh, we need all this stuff moved into ↵kpfleming1-1/+1
endian.h) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-02Add button templates for 7902, 7935, 7940, 7960, 7970, support big endian ↵jeremy1-196/+499
machines with proper byte ordering, fixed caller*id on 7910 (others?) and more. Bug #4398 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5811 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-25Use defined AST_MAX_ACCOUNT_CODE (bug #4350)markster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5765 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-24Correctly implement the button templates in hopes to support more 79XX ↵jeremy1-182/+155
series phones. Needs testing, please report. Bug #4366 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5762 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15correct some signed/unsigned issues found by GCC 4 (bug #4237)kpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5664 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-29don't use '%i' at all, since we have no current use cases that need non ↵kpfleming1-1/+1
base-10 parsing (bug #4110) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5533 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵kpfleming1-22/+22
(bug #4058) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b