aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_skinny.c
AgeCommit message (Collapse)AuthorFilesLines
2006-09-22Merged revisions 43518 via svnmerge from qwell1-18/+55
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r43518 | qwell | 2006-09-22 15:12:12 -0700 (Fri, 22 Sep 2006) | 4 lines Allow chan_skinny.so to be unloaded properly. Remove reload support, since it doesn't actually...work. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43519 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-22Merged revisions 43469 via svnmerge from qwell1-37/+25
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r43469 | qwell | 2006-09-21 20:01:16 -0700 (Thu, 21 Sep 2006) | 4 lines First shot at unload_module in chan_skinny.. More to come. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43470 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21Lots more removal of deprecated thingstilghman1-32/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43452 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18allow for packetization on rtp channel drivers, need to addmogorman1-20/+24
option for setting our own packetization as apposed to just doing what is asked. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43243 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18merge qwell's CLI verbification workkpfleming1-28/+52
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43212 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-17remove a bit of redundant codeqwell1-31/+17
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43123 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-17Skinny hold support.qwell1-4/+114
Original patch by wedhorn, with modifications by me. Issue #7588 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43111 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-17Get rid of all the useless (and confusing) typedefsqwell1-210/+210
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43099 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-02It was pointed out to me, that using two frames is silly.qwell1-13/+11
Thanks Josh. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41790 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-02fix some module loader breakageqwell1-11/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41789 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-02Fix VLDTMF issues.qwell1-7/+21
It still isn't variable length, but it does let you dial again. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41788 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31everything that loads a config that needs a config file to runmogorman1-1/+3
now reports AST_MODULE_LOAD_DECLINE when loading if config file is not there, also fixed an error in res_config_pgsql where it had a non static function when it should. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41633 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla ↵file1-4/+11
Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41507 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-28Merge in RTP-level packet bridging. Packet comes in, packet goes out - ↵file1-14/+18
that's what RTP-level packet bridging is all about! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41235 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21Fix a potential integer signedness problem.qwell1-0/+7
Also fix some locking issues I found at the same time. Issue 7770, original patch by alamantia git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40757 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming1-15/+8
- restructured build tree and makefiles to eliminate recursion problems - support for embedded modules - support for static builds - simpler cross-compilation support - simpler module/loader interface (no exported symbols) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-20This is just step 1 in taking over the world.qwell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40663 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-20Converted device2str and control2str to use thread local storage.qwell1-4/+15
Thanks Russell. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40600 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-20Make the CIPC device string usefulqwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40563 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-20Fix minor display issues in "skinny show devices".qwell1-7/+75
Patch by wedhorn with minor modifications by me. Issue 7766 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40561 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-16move the calls to ast_jb_configure() to before the PBX thread is started on therussell1-4/+3
channel to remove the theoretical race condition that the channel could get bridged before the channel's jitterbuffer gets configured. This was pointed out by PCadach on IRC. Thanks! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39964 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-05Merged revisions 38903-38904 via svnmerge from russell1-1/+7
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r38903 | russell | 2006-08-05 01:07:39 -0400 (Sat, 05 Aug 2006) | 2 lines suppress a compiler warning about the usage of a potentially uninitialized variable ........ r38904 | russell | 2006-08-05 01:08:50 -0400 (Sat, 05 Aug 2006) | 10 lines Fix an issue that would cause a NewCallerID manager event to be generated before the channel's NewChannel event. This was due to a somewhat recent change that included using ast_set_callerid() where it wasn't before. This function should not be used in the channel driver "new" functions. (issue #7654, fixed by me) Also, fix a couple minor bugs in usecount handling. chan_iax2 could have increased the usecount but then returned an error. The place where chan_sip increased the usecount did not call ast_update_usecount() ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38905 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-21Merge a new implementation of ast_inet_ntoa, our thread safe replacement forrussell1-11/+7
inet_ntoa, which uses thread specific data (aka thread local storage) instead of stack allocatted buffers to store the result. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38042 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-19merge Russell's 'hold_handling' branch, finally implementing music-on-hold ↵kpfleming1-5/+11
handling the way it was decided at AstriDevCon Europe 2006 (and the way people really want it to be) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37988 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-18move variable declarations to the beginning of a block.rizzo1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37907 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-14Rename a couple variables, to be consistent with the rest of the functionsnorth1-108/+124
Abstract out some common code into a single function With the recent scheduler "issues", it pointed out a few things I might have been missing, so I added some rudimentary vrtp and rtcp stuff General cleanup... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37629 f38db490-d61c-443f-a65b-d21fe96a405b
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