aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_skinny.c
AgeCommit message (Collapse)AuthorFilesLines
2007-05-11Add/fix support for Redial, Speeddial, and Messages buttons.qwell1-49/+130
Combined effort by DEA and mvanbaak. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@64030 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-10Merged revisions 60989 via svnmerge from murf1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r60989 | murf | 2007-04-09 12:32:07 -0600 (Mon, 09 Apr 2007) | 1 line This is a big improvement over the current CDR fixes. It may still need refinement, but this won't have as many folks bothered. This also adds the mods from 1.4/r.61136; ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@61152 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-06Merged revisions 58023 via svnmerge from russell1-0/+6
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r58023 | russell | 2007-03-06 12:01:20 -0600 (Tue, 06 Mar 2007) | 3 lines Return an error of transmit_response is called without a session. (issue #9002) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58025 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-24Allow a Skinny device to monitor a dialplan hint (w00t!).qwell1-39/+180
See skinny.conf.sample for configuration example. Note: Some devices (seen on 12SP+/30VIP) will lock up if they monitor too many hints. This seems to be a hardware limitation - there isn't anything we can do about it. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@56594 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-24Support devicestate requests.qwell1-0/+38
Now you should be able to subscribe to a Skinny device/line. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@56579 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-24Merged revisions 56569 via svnmerge from qwell1-2/+8
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r56569 | qwell | 2007-02-23 20:02:53 -0600 (Fri, 23 Feb 2007) | 4 lines Make sure to set a speeddials parent on creation. Don't crash if hold is pressed when no call is active. Don't return in places that we shouldn't.. Update softkey map when call is connected ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@56574 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-17Merged revisions 55217 via svnmerge from qwell1-6/+15
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r55217 | qwell | 2007-02-17 11:10:09 -0600 (Sat, 17 Feb 2007) | 4 lines Fix an issue where callerid would not be displayed on some phones. Issue 8995, initial patch and research done by wedhorn ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@55218 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-16Adding Realtime Text support (T.140) to Asteriskoej1-1/+1
T.140/RFC 2793 is a live communication channel, originally created for IP based text phones for hearing impaired. Feels very much like the old Unix talk application. This code is developed and disclaimed by John Martin of Aupix, UK. Tested for interoperability by myself and Omnitor in Sweden, the company that wrote most of the specifications. A big thank you to everyone involved in this. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54838 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-31Merged revisions 53046 via svnmerge from russell1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r53046 | russell | 2007-01-31 15:32:08 -0600 (Wed, 31 Jan 2007) | 11 lines Merged revisions 53045 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r53045 | russell | 2007-01-31 15:25:11 -0600 (Wed, 31 Jan 2007) | 3 lines Fix a bunch of places where pthread_attr_init() was called, but pthread_attr_destroy() was not. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53047 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-23Merged revisions 51788 via svnmerge from file1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r51788 | file | 2007-01-23 17:46:31 -0500 (Tue, 23 Jan 2007) | 2 lines Update channel drivers to use module referencing so that unloading them while in use will not result in crashes. (issue #8897 reported by junky) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51801 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19Merged revisions 51311 via svnmerge from russell1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r51311 | russell | 2007-01-19 11:49:38 -0600 (Fri, 19 Jan 2007) | 23 lines Merge the changes from the /team/group/vldtmf_fixup branch. The main bug being addressed here is a problem introduced when two SIP channels using SIP INFO dtmf have their media directly bridged. So, when a DTMF END frame comes into Asterisk from an incoming INFO message, Asterisk would try to emulate a digit of some length by first sending a DTMF BEGIN frame and sending a DTMF END later timed off of incoming audio. However, since there was no audio coming in, the DTMF_END was never generated. This caused DTMF based features to no longer work. To fix this, the core now knows when a channel doesn't care about DTMF BEGIN frames (such as a SIP channel sending INFO dtmf). If this is the case, then Asterisk will not emulate a digit of some length, and will instead just pass through the single DTMF END event. Channel drivers also now get passed the length of the digit to their digit_end callback. This improves SIP INFO support even further by enabling us to put the real digit duration in the INFO message instead of a hard coded 250ms. Also, for an incoming INFO message, the duration is read from the frame and passed into the core instead of just getting ignored. (issue #8597, maybe others...) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51314 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-05Merged revisions 49636 via svnmerge from kpfleming1-9/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r49636 | kpfleming | 2007-01-05 11:09:00 -0600 (Fri, 05 Jan 2007) | 10 lines Merged revisions 49635 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r49635 | kpfleming | 2007-01-05 10:56:40 -0600 (Fri, 05 Jan 2007) | 2 lines ensure that threads which are supposed to be detached (because we aren't going to wait on them) are created properly ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49637 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-01- Implement error handling in ast_append_haoej1-1/+1
- Use this in chan_sip - Document ha functions in acl.c git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49092 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-22Merged revisions 48888 via svnmerge from qwell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48888 | qwell | 2006-12-22 15:40:20 -0600 (Fri, 22 Dec 2006) | 2 lines Note to self: Run make before committing... ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48889 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-22Merged revisions 48870 via svnmerge from qwell1-4/+7
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48870 | qwell | 2006-12-22 14:43:05 -0600 (Fri, 22 Dec 2006) | 2 lines Fix for issue 7774 - patch by alamantia ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48871 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-06Constify a bunch of usage strings for CLI commands.russell1-5/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48306 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-10Merged revisions 47436 via svnmerge from tilghman1-5/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r47436 | tilghman | 2006-11-10 10:51:55 -0600 (Fri, 10 Nov 2006) | 2 lines Discussion of these CLI changes resulted in more consistency (Bug 8236) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47439 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-08committed in behalf of bug 8190murf1-5/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47343 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-07A fair number of changes for the sake of bug 7506murf1-4/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47290 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03remove useless usecnt handling coderizzo1-8/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47072 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-02Merged revisions 47053 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r47053 | tilghman | 2006-11-02 17:49:13 -0600 (Thu, 02 Nov 2006) | 2 lines More changes making the CLI more consistent with "category verb arguments" (continuation of issue 8236) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47054 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-02Merged revisions 47051 via svnmerge from tilghman1-8/+8
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r47051 | tilghman | 2006-11-02 17:00:20 -0600 (Thu, 02 Nov 2006) | 2 lines Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments" ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-19Extend the thread storage API such that a custom initialization function canrussell1-2/+2
be called for each thread specific object after they are allocated. Note that there was already the ability to define a custom cleanup function. Also, if the custom cleanup function is used, it *MUST* call free on the thread specific object at the end. There is no way to have this magically done that I can think of because the cleanup function registered with the pthread implementation will only call the function back with a pointer to the thread specific object, not the parent ast_threadstorage object. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@45623 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-09Merged revisions 44764 via svnmerge from qwell1-48/+70
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44764 | qwell | 2006-10-09 11:12:35 -0500 (Mon, 09 Oct 2006) | 4 lines Fix a problem where phones that go "missing" never got unregistered. Issue #8067, reported by pj, patch by Anthony LaMantia (with minor whitespace modifications) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44765 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04Merged revisions 44378 via svnmerge from kpfleming1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44378 | kpfleming | 2006-10-04 14:47:22 -0500 (Wed, 04 Oct 2006) | 4 lines update thread creation code a bit reduce standard thread stack size slightly to allow the pthreads library to allocate the stack+data and not overflow a power-of-2 allocation in the kernel and waste memory/address space add a new stack size for 'background' threads (those that don't handle PBX calls) when LOW_MEMORY is defined ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44379 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-03bug #8076 check option_debug before printing to debug channel.mogorman1-5/+10
patch provided in bugnote, with minor changes. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44253 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-28Merged revisions 43933 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r43933 | file | 2006-09-28 14:05:43 -0400 (Thu, 28 Sep 2006) | 2 lines Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43934 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-26Merged revisions 43650 via svnmerge from qwell1-15/+96
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r43650 | qwell | 2006-09-26 08:33:47 -0700 (Tue, 26 Sep 2006) | 11 lines Add proper codec support to chan_skinny. Works with at least ulaw, alaw, and g729a. This is technically a "new feature", but there are justifications for it. I found a bug with the recent rtp packetization changes, which caused the media setup to fail under certain circumstances, particularly when using allow=all, or having no allow= statements (globally or on the device). I could have either removed the rtp packetization features, or I could add proper codec support (which, without, I think most people would consider to be a bug anyways). ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43651 f38db490-d61c-443f-a65b-d21fe96a405b
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