Joshua Colp
22114b509d
Add support for using epoll instead of poll. This should increase scalability and is done in such a way that we should be able to add support for other poll() replacements.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78683 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-08 21:44:58 +00:00
Jason Parker
395243c923
Merged revisions 78375 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r78375 | qwell | 2007-08-07 13:25:15 -0500 (Tue, 07 Aug 2007) | 3 lines
Properly check the capabilities count to avoid a segfault.
(ASA-2007-019)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-07 18:26:19 +00:00
Jason Parker
bb700d82ce
Implement setvar functionality in chan_skinny
...
Closes issue #10379 , patch by mvanbaak.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78179 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-06 16:08:11 +00:00
Jason Parker
1064b75ab7
Merged revisions 77996 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
(closes issue #9779 )
........
r77996 | qwell | 2007-08-02 16:53:39 -0500 (Thu, 02 Aug 2007) | 5 lines
Make sure we actually allow 6 chars to be sent.
Also make note of the "A" option of date format.
Issue 9779, modifications by DEA, wedhorn, and myself.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-02 21:54:54 +00:00
Jason Parker
fb94195d90
Merged revisions 77993 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
(closes issue #10325 )
........
r77993 | qwell | 2007-08-02 15:22:40 -0500 (Thu, 02 Aug 2007) | 5 lines
If a device disconnects, the session will go away.
If this happens during call setup, we need to give up.
Issue 10325.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-02 20:23:20 +00:00
Jason Parker
98ef35b908
Merged revisions 77947 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
(closes issue #10299 )
........
r77947 | qwell | 2007-08-02 13:42:36 -0500 (Thu, 02 Aug 2007) | 5 lines
Make sure we clear the prompt status message on a hangup.
Also rearrange messages to better fit with what a wireshark trace shows it should be.
Issue 10299, initial patch and solution by sbisker, modified by me to fit with wireshark trace.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77948 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-02 18:43:29 +00:00
Jason Parker
e7e9275241
Merged revisions 77894 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
(closes issue #10358 )
........
r77894 | qwell | 2007-08-02 10:15:45 -0500 (Thu, 02 Aug 2007) | 5 lines
Make sure that we show the correct extension if dialed from a macro
"From: 5555" rather than "From: s"
Issue 10358, initial patch by DEA, reworked by me to use S_OR, tested by sbisker
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-02 15:16:53 +00:00
Jason Parker
e27df99e5f
Merged revisions 77890 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
(closes issue #10291 )
........
r77890 | qwell | 2007-08-01 17:28:56 -0500 (Wed, 01 Aug 2007) | 4 lines
Put in some additional debug information for softkey/stimulus messages.
Issue 10291, patch by DEA.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77891 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-01 22:31:07 +00:00
Jason Parker
d9beb54cbb
Merged revisions 77883 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r77883 | qwell | 2007-08-01 16:08:42 -0500 (Wed, 01 Aug 2007) | 7 lines
Fix an issue that caused one-way audio on some newer devices (specifically the 7921),
due to sending packets in the wrong order during hangup.
Also make sure we clear tones/messages on the correct line/instance.
Issue 10291, patch by DEA, tested by sbisker and myself.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-01 21:12:02 +00:00
Russell Bryant
f8483a0d04
Do a massive conversion for using the ast_verb() macro
...
(closes issue #10277 , patches by mvanbaak)
Basically, this changes ...
if (option_verbose > 2)
ast_verbose(VERBOSE_PREFIX_3, "Something\n");
to ...
ast_verb(3, "Something\n");
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-26 15:49:18 +00:00
Jason Parker
cf551decc5
Revert trivial whitespace change (for testing)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-24 17:43:36 +00:00
Jason Parker
307d1fcb77
Trivial whitespace change to test comitting...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-24 17:23:16 +00:00
Jason Parker
3562d4eea2
The chan_skinny Dial() syntax was funky. You had to do Dial(Skinny/line@device)
...
This allows you to just Dial(Skinny/line), as long as line isn't ambiguous.
Note that this does not remove or deprecate the "old" syntax, as it's still
quite useful - even moreso if shared lines get implemented.
Initial patch by me, with some changes and suggestions from wedhorn.
(closes issue #10263 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-24 15:35:58 +00:00
Jason Parker
d8d1b6c8f2
Merged revisions 76656 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r76656 | qwell | 2007-07-23 13:59:28 -0500 (Mon, 23 Jul 2007) | 3 lines
Fix some incorrect softkey labels in messages.
Don't try to play dialtone in some unimplemented features.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76657 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-23 19:00:19 +00:00
Jason Parker
6f81f60696
Merged revisions 76620 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
(closes issue #10276 )
........
r76620 | qwell | 2007-07-23 12:57:53 -0500 (Mon, 23 Jul 2007) | 4 lines
Don't try to queue up hold/unhold frames on a non-existent channel.
Issue 10276.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76621 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-23 17:58:46 +00:00
Joshua Colp
91c3d90e8f
Use autoconf logic to determine byte swapping macro presence. This should now also use other macros if present.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-23 13:46:57 +00:00
Joshua Colp
4dc6b6d50a
Merged revisions 76519 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r76519 | file | 2007-07-23 10:23:09 -0300 (Mon, 23 Jul 2007) | 6 lines
(closes issue #10268 )
Reported by: mvanbaak
Patches:
chan_skinny_openbsd.diff uploaded by mvanbaak (license 7)
Add another OS that has to use the Macros for byte ordering.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76520 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-23 13:24:03 +00:00
Jason Parker
4a023add58
Merged revisions 76174 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r76174 | qwell | 2007-07-20 15:32:55 -0500 (Fri, 20 Jul 2007) | 2 lines
It's possible for sub->owner to be NULL here if you cancel the call immediately after/during sending a digit.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76175 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-20 20:33:34 +00:00
Jason Parker
204743a820
Merged revisions 75807 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r75807 | qwell | 2007-07-18 17:59:18 -0500 (Wed, 18 Jul 2007) | 1 line
Need to make sure we set milliseconds and timestamp - pointed out by the recent ast_ time stuff from Tilghman
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75808 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-18 23:00:30 +00:00
Jason Parker
89acafbf37
Merged revisions 75732 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r75732 | qwell | 2007-07-18 15:17:27 -0500 (Wed, 18 Jul 2007) | 1 line
Umm, why are we transmitting dialtone on cfwdall?
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-18 20:18:00 +00:00
Jason Parker
4f22126365
Merged revisions 75711 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
(closes issue #9245 )
........
r75711 | qwell | 2007-07-18 14:54:32 -0500 (Wed, 18 Jul 2007) | 4 lines
Fixes for 7935/7936 conference phones.
Issue 9245, patch by slimey.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-18 20:05:45 +00:00
Jason Parker
a1b2a23b4d
Merged revisions 75707 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
(closes issue #9887 )
........
r75707 | qwell | 2007-07-18 14:48:12 -0500 (Wed, 18 Jul 2007) | 4 lines
Fix issues with new 79x1 phones.
Issue 9887, patches by DEA
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75710 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-18 19:51:18 +00:00
Tilghman Lesher
81bc1d7af5
Merge in ast_strftime branch, which changes timestamps to be accurate to the microsecond, instead of only to the second
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75706 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-18 19:47:20 +00:00
Russell Bryant
91e2afe4e7
Merged revisions 75450 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r75450 | russell | 2007-07-17 15:57:56 -0500 (Tue, 17 Jul 2007) | 11 lines
Merged revisions 75449 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r75449 | russell | 2007-07-17 15:57:09 -0500 (Tue, 17 Jul 2007) | 3 lines
Properly check for the length in the skinny packet to prevent an invalid memcpy.
(ASA-2007-016)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-17 20:58:40 +00:00
Jason Parker
4cc5a034b7
Merged revisions 74866 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r74866 | qwell | 2007-07-12 11:53:35 -0500 (Thu, 12 Jul 2007) | 1 line
It helps if I actually add this stuff for the 7921 too - otherwise it won't actually do much of anything.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@74867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-12 16:54:02 +00:00
Jason Parker
588c3f85fe
Merged revisions 74864 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r74864 | qwell | 2007-07-12 11:48:49 -0500 (Thu, 12 Jul 2007) | 1 line
Add device ID for 7921 wireless skinny phone
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@74865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-12 16:49:17 +00:00
Joshua Colp
ec8ef98a03
Merged revisions 74082 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r74082 | file | 2007-07-09 12:32:43 -0300 (Mon, 09 Jul 2007) | 2 lines
Only destroy the scheduler context if it was allocated. (issue #10124 reported by gzero)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@74083 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-09 15:34:54 +00:00
Joshua Colp
836ea36d3c
Merged revisions 74045 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r74045 | file | 2007-07-09 11:49:05 -0300 (Mon, 09 Jul 2007) | 2 lines
Few minor thread synchronization tweaks. (issue #10124 reported by gzero)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@74046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-09 14:50:04 +00:00
Jason Parker
8a9bc541ee
Add support for regcontext and regexten to chan_skinny
...
Issue 9762, patch by mvanbaak.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-29 21:37:43 +00:00
Luigi Rizzo
600d737dce
move variable declarations to the beginning of the block
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72456 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-28 19:01:43 +00:00
Jason Parker
8ccfdf3c80
Merged revisions 70494 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r70494 | qwell | 2007-06-20 15:53:16 -0500 (Wed, 20 Jun 2007) | 4 lines
Make sure we clear the previously dialed number if it did not exist.
Issue 9958.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-20 20:54:08 +00:00
Russell Bryant
055d82cbce
Add a massive set of changes for converting to use the ast_debug() macro.
...
(issue #9957 , patches from mvanbaak, caio1982, critch, and dimas)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-14 19:39:12 +00:00
Jason Parker
4db176fdc2
Merged revisions 68249 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r68249 | qwell | 2007-06-07 15:25:18 -0500 (Thu, 07 Jun 2007) | 4 lines
Fix an issue with newer phones which require packets be padded out to the correct length.
Issue 9887, patch by DEA.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68251 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-07 20:25:56 +00:00
Tilghman Lesher
9d05ff8ed5
Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-06 21:20:11 +00:00
Jason Parker
48ac1e8a86
Merged revisions 67421 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r67421 | qwell | 2007-06-05 13:18:24 -0500 (Tue, 05 Jun 2007) | 4 lines
Correctly update date/time on devices throughout the life of the device, instead of just at registration.
Issue 9152, yet another patch by DEA.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-05 18:19:53 +00:00
Jason Parker
95327fdb2f
Merged revisions 67156 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r67156 | qwell | 2007-06-04 18:26:28 -0500 (Mon, 04 Jun 2007) | 6 lines
Fix for skinny keepalives.
If there is no traffic from the phone for (keep_alive * 1100) ms (arbitrarily
adding 10% for network issues, etc), unregister the device.
Issue 8394, patch by DEA.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67157 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-04 23:29:22 +00:00
Russell Bryant
0f409e66cf
Merged revisions 66881 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r66881 | russell | 2007-06-01 14:41:30 -0500 (Fri, 01 Jun 2007) | 6 lines
Changes to the way DTMF is handled in the core broke dialing in chan_skinny.
This patch makes chan_skinny usable again. I did not end up testing this,
but there are multiple positive test reports listed in the bug report.
(issue #9596 , reported by pj, testing by pj and mvanbaak, and the fix was
written by DEA)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66882 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-01 19:42:27 +00:00
Russell Bryant
4b3a3fb14c
Add a new API call for creating detached threads. Then, go replace all of the
...
places in the code where the same block of code for creating detached threads
was replicated. (patch from bbryant)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-24 18:30:19 +00:00
Jason Parker
60f6a72123
Add/fix support for Redial, Speeddial, and Messages buttons.
...
Combined effort by DEA and mvanbaak.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64030 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-11 22:52:36 +00:00
Steve Murphy
ecaf781933
Merged revisions 60989 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@61152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10 05:41:34 +00:00
Russell Bryant
d7aa9b6e2d
Merged revisions 58023 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@58025 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-06 18:02:35 +00:00
Jason Parker
97ab07a9e8
Allow a Skinny device to monitor a dialplan hint (w00t!).
...
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: https://origsvn.digium.com/svn/asterisk/trunk@56594 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-24 02:23:43 +00:00
Jason Parker
a23096985b
Support devicestate requests.
...
Now you should be able to subscribe to a Skinny device/line.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-24 02:06:44 +00:00
Jason Parker
639aee2ec7
Merged revisions 56569 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@56574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-24 02:04:34 +00:00
Jason Parker
0e5f3cf25e
Merged revisions 55217 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@55218 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-17 17:11:07 +00:00
Olle Johansson
ba32ee49d0
Adding Realtime Text support (T.140) to Asterisk
...
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: https://origsvn.digium.com/svn/asterisk/trunk@54838 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 13:35:44 +00:00
Russell Bryant
b233892198
Merged revisions 53046 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@53047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-31 21:35:15 +00:00
Joshua Colp
ee3ab150f6
Merged revisions 51788 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@51801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 22:59:55 +00:00
Russell Bryant
dcca8f345f
Merged revisions 51311 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@51314 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 18:06:03 +00:00
Kevin P. Fleming
a8dc50812f
Merged revisions 49636 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@49637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 17:10:59 +00:00
Olle Johansson
f83b845f08
- Implement error handling in ast_append_ha
...
- Use this in chan_sip
- Document ha functions in acl.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49092 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-01 19:20:46 +00:00
Jason Parker
a01ae565e9
Merged revisions 48888 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@48889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-22 21:40:56 +00:00
Jason Parker
9883943ec5
Merged revisions 48870 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@48871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-22 20:43:38 +00:00
Russell Bryant
ec8591d04c
Constify a bunch of usage strings for CLI commands.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-06 07:35:31 +00:00
Tilghman Lesher
691363656f
Merged revisions 47436 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@47439 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 17:01:06 +00:00
Steve Murphy
2907433599
committed in behalf of bug 8190
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47343 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-08 22:52:01 +00:00
Steve Murphy
908f176cf3
A fair number of changes for the sake of bug 7506
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47290 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-07 21:47:49 +00:00
Luigi Rizzo
d5ea99c868
remove useless usecnt handling code
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47072 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-03 12:14:00 +00:00
Tilghman Lesher
79f75ec09a
Merged revisions 47053 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@47054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 23:55:59 +00:00
Tilghman Lesher
10875731ec
Merged revisions 47051 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@47052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 23:16:09 +00:00
Russell Bryant
bd53e7ee4c
Extend the thread storage API such that a custom initialization function can
...
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: https://origsvn.digium.com/svn/asterisk/trunk@45623 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-19 01:00:57 +00:00
Jason Parker
a35c0989dd
Merged revisions 44764 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@44765 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-09 16:15:16 +00:00
Kevin P. Fleming
3c876af5cf
Merged revisions 44378 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@44379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 19:51:38 +00:00
Matt O'Gorman
ae8cc3e18b
bug #8076 check option_debug before printing to debug channel.
...
patch provided in bugnote, with minor changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-03 15:53:07 +00:00
Joshua Colp
29d27bfe0d
Merged revisions 43933 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@43934 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28 18:09:01 +00:00
Jason Parker
8b42bb0f3a
Merged revisions 43650 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@43651 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-26 15:35:37 +00:00
Jason Parker
cb8065e5c3
Merged revisions 43518 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@43519 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-22 22:13:47 +00:00
Jason Parker
81bfa44bb8
Merged revisions 43469 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@43470 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-22 03:09:22 +00:00
Tilghman Lesher
6ae8741518
Lots more removal of deprecated things
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43452 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-21 21:59:12 +00:00
Matt O'Gorman
465adf2bf1
allow for packetization on rtp channel drivers, need to add
...
option for setting our own packetization as apposed to just doing
what is asked.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18 23:32:57 +00:00
Kevin P. Fleming
fcb999c01c
merge qwell's CLI verbification work
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18 19:54:18 +00:00
Jason Parker
df0963a738
remove a bit of redundant code
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43123 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-17 23:04:48 +00:00
Jason Parker
6d5809297b
Skinny hold support.
...
Original patch by wedhorn, with modifications by me.
Issue #7588
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43111 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-17 22:24:27 +00:00
Jason Parker
86fcf5a887
Get rid of all the useless (and confusing) typedefs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43099 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-17 21:58:04 +00:00
Jason Parker
ce35c33353
It was pointed out to me, that using two frames is silly.
...
Thanks Josh.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41790 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-02 01:44:50 +00:00
Jason Parker
1d9bf5b1e8
fix some module loader breakage
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41789 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-02 01:39:42 +00:00
Jason Parker
696465a002
Fix VLDTMF issues.
...
It still isn't variable length, but it does let you dial again.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41788 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-02 01:39:15 +00:00
Matt O'Gorman
05a695af72
everything that loads a config that needs a config file to run
...
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: https://origsvn.digium.com/svn/asterisk/trunk@41633 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-31 21:00:20 +00:00
Joshua Colp
c6977b9983
Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla 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: https://origsvn.digium.com/svn/asterisk/trunk@41507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-31 01:59:02 +00:00
Joshua Colp
c70ed7614a
Merge in RTP-level packet bridging. Packet comes in, packet goes out - that's what RTP-level packet bridging is all about!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-28 17:37:56 +00:00
Jason Parker
79dca5ef75
Fix a potential integer signedness problem.
...
Also fix some locking issues I found at the same time.
Issue 7770, original patch by alamantia
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40757 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21 07:34:59 +00:00
Kevin P. Fleming
0a27d8bfe5
merge new_loader_completion branch, including (at least):
...
- 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: https://origsvn.digium.com/svn/asterisk/trunk@40722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21 02:11:39 +00:00
Jason Parker
d371de5bf6
This is just step 1 in taking over the world.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40663 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-20 18:03:24 +00:00
Jason Parker
c12f6bcdd4
Converted device2str and control2str to use thread local storage.
...
Thanks Russell.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-20 04:39:57 +00:00
Jason Parker
6e140aae84
Make the CIPC device string useful
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-20 01:27:24 +00:00
Jason Parker
1bacbd54f4
Fix minor display issues in "skinny show devices".
...
Patch by wedhorn with minor modifications by me.
Issue 7766
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-20 01:25:02 +00:00
Russell Bryant
9f9a5f1984
move the calls to ast_jb_configure() to before the PBX thread is started on the
...
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: https://origsvn.digium.com/svn/asterisk/trunk@39964 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-16 03:43:47 +00:00
Russell Bryant
663adb2b0e
Merged revisions 38903-38904 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@38905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-05 05:26:29 +00:00
Russell Bryant
ca9ba719b6
Merge a new implementation of ast_inet_ntoa, our thread safe replacement for
...
inet_ntoa, which uses thread specific data (aka thread local storage) instead
of stack allocatted buffers to store the result.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-21 17:31:28 +00:00
Kevin P. Fleming
6d0742fc16
merge Russell's 'hold_handling' branch, finally implementing music-on-hold handling the way it was decided at AstriDevCon Europe 2006 (and the way people really want it to be)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-19 20:44:39 +00:00
Luigi Rizzo
31d0db0e29
move variable declarations to the beginning of a block.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37907 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-18 21:19:59 +00:00
North Antara
7bb38d5ee2
Rename a couple variables, to be consistent with the rest of the functions
...
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: https://origsvn.digium.com/svn/asterisk/trunk@37629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-14 20:14:38 +00:00
Russell Bryant
73e8e2ab1f
Blocked revisions 36725 via svnmerge
...
........
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: https://origsvn.digium.com/svn/asterisk/trunk@36726 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-03 04:25:21 +00:00
North Antara
79f45173fb
It might help if this had the right stimulus name
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-01 17:59:37 +00:00
Russell Bryant
1c17258f4e
fix some little issues on big endian platforms to resolve compiler warnings
...
- 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: https://origsvn.digium.com/svn/asterisk/trunk@35766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 23:22:57 +00:00
Russell Bryant
c8ceb92a4f
revert my changes that converted the jb on the channel to be dynamically
...
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: https://origsvn.digium.com/svn/asterisk/trunk@35746 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 16:49:12 +00:00
Russell Bryant
46018d5032
- dynamically allocate the ast_jb structure that is on the channel structure
...
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: https://origsvn.digium.com/svn/asterisk/trunk@35553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 17:05:17 +00:00
North Antara
fb0bb9b195
fix an issue with dtmf not being sent sometimes
...
slightly modify handling of digits
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35032 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-20 08:09:30 +00:00
North Antara
e832ae320f
No need to have debug enabled by default anymore..
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-18 23:18:34 +00:00
North Antara
a5d6979fac
Finally merge chan_skinny fixes into trunk.
...
ready...set...GO!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-18 22:36:39 +00:00
Kevin P. Fleming
472c1ca282
simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 18:54:56 +00:00
Russell Bryant
4c76028de9
- add the ability to configure forced jitterbuffers on h323, jingle,
...
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: https://origsvn.digium.com/svn/asterisk/trunk@31413 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 16:47:28 +00:00
North Antara
d902bd27ff
This is what I get for coding while tired.. sorry ;/
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31385 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 15:44:35 +00:00
North Antara
e25c4621b4
Nobody saw this coming, I bet.
...
jitterbuffer!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 04:35:00 +00:00
Russell Bryant
0384330d64
update the rest of the channel drivers that use RTP so that their channel
...
tech structures indicate that they create jitter
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31077 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-31 17:21:21 +00:00
Tilghman Lesher
d0c36296d2
As requested by kpfleming, renaming messagecount to inboxcount and messagecount2 to messagecount.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 18:21:31 +00:00
Kevin P. Fleming
fdcfd6469b
ensure that control frames with payload can be sent to channel drivers via ->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: https://origsvn.digium.com/svn/asterisk/trunk@26417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 12:24:11 +00:00
Luigi Rizzo
8a63187145
replace some strncpy with ast_copy string,
...
on passing fix some potential null pointer dereference,
and normalize some loops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22043 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-21 18:08:57 +00:00
North Antara
659cb5ea5a
whitespace and spelling (recieve instead of receive) fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17 01:17:03 +00:00
Luigi Rizzo
e43bc6634d
This rather large commit changes the way modules are loaded.
...
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: https://origsvn.digium.com/svn/asterisk/trunk@20003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14 14:08:19 +00:00
Luigi Rizzo
6b2d947b62
staticize a function, and normalize code in preparation to module changes.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19188 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 10:00:24 +00:00
Kevin P. Fleming
f10f427d49
since the module API is changing, it's a good time to const-ify the description() and key() return values
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-08 22:01:19 +00:00
North Antara
0a24923596
skinny debug/verbose cleanup.
...
Thanks casper!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17903 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 16:50:33 +00:00
North Antara
e9cf7dbfff
Changed some "register" methods to the proper "unregister" method. This is in a #if 0 block, but it may still be useful someday.
...
Thanks eliel.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-27 21:13:54 +00:00
North Antara
2ccaab2ad1
More whitespace and typo fixes for chan_skinny - yay!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14188 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-22 20:45:00 +00:00
Russell Bryant
2a00b76ace
spelling and formatting fixes (issue #6760 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-21 15:12:41 +00:00
Kevin P. Fleming
a16ae226b6
use string fields for some stuff in ast_channel
...
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: https://origsvn.digium.com/svn/asterisk/trunk@9060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-01 23:05:28 +00:00
Kevin P. Fleming
2c65582b66
remove extraneous svn:executable properties
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Jeremy McNamara
af4301802d
don't register channel type until we are ready, coding format updates
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-16 21:07:52 +00:00
Russell Bryant
31a804b97c
issue #5605
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-06 15:09:47 +00:00
Russell Bryant
3453e3efa5
Doxygen documentation update from oej (issue #5505 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24 20:12:06 +00:00
Kevin P. Fleming
5da915dcfd
update MANY more files with proper copyright/license info (thanks Ian!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 20:46:50 +00:00
Kevin P. Fleming
60ffafcc39
allow users of RTP to know when the peer endpoint is (apparently) behind a NAT
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-09 19:54:34 +00:00
Russell Bryant
a5f0c99bb3
fix netbsd compilation issue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6246 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-30 19:12:30 +00:00
Russell Bryant
f62a613d24
fix big endian compilation issue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-13 19:21:04 +00:00
Russell Bryant
4c531ca8c0
define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-10 23:49:57 +00:00
Kevin P. Fleming
f64717b556
clean up compiler warnings during build on 64-bit systems
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6059 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-08 17:06:54 +00:00
Russell Bryant
52ef5c7d30
add function to convert a cause code to a string
...
create MAX_MUSICCLASS instead of using MAX_LANGUAGE
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 17:16:17 +00:00
Kevin P. Fleming
19c1ac82a4
actually get the host's name for the code that needs it (bug #4569 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5998 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-24 02:56:15 +00:00
Kevin P. Fleming
4803ab0bb2
don't use locks when reading usecounts (reading only, not writing)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-24 02:15:04 +00:00
Kevin P. Fleming
d66913bea2
fix segfault when no CLID number is present (bug #4566 )
...
clean up CLID/CNAM display generation code
suppress compiler warnings for unused items
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5962 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-21 23:06:44 +00:00
Kevin P. Fleming
e5e64bfd41
header ordering fixes for FreeBSD (pending a global merge into asterisk.h) (bug #4484 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5876 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-07 17:06:33 +00:00
Kevin P. Fleming
7584fac64b
various compiler warning fixes (bug #4483 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-07 16:59:20 +00:00
Kevin P. Fleming
2b8338cb52
more file version tags
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:12:19 +00:00
Kevin P. Fleming
005e436b57
another round of version tag updates, along with 'show version files' pattern filtering
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 21:09:59 +00:00
Kevin P. Fleming
50307c4e80
fix compilation on Darwin (bug #4462 , ugh, we need all this stuff moved into endian.h)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-05 15:40:49 +00:00
Jeremy McNamara
9950df1b49
Add button templates for 7902, 7935, 7940, 7960, 7970, support big endian machines with proper byte ordering, fixed caller*id on 7910 (others?) and more. Bug #4398
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5811 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-02 09:11:46 +00:00
Mark Spencer
41e7cc8154
Use defined AST_MAX_ACCOUNT_CODE (bug #4350 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5765 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-25 17:18:05 +00:00
Jeremy McNamara
fa46a46ec1
Correctly implement the button templates in hopes to support more 79XX series phones. Needs testing, please report. Bug #4366
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5762 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-24 22:24:04 +00:00
Kevin P. Fleming
6cd4f9a8d3
correct some signed/unsigned issues found by GCC 4 (bug #4237 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 03:21:51 +00:00
Kevin P. Fleming
8634ef9e4a
don't use '%i' at all, since we have no current use cases that need non base-10 parsing (bug #4110 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 17:00:33 +00:00
Kevin P. Fleming
1f9ab2380a
use double-quotes instead of angle-brackets for non-system include files (bug #4058 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21 06:02:45 +00:00
Russell Bryant
7bffc0459c
add missing newlines, fix misspelling of nonexistent (bug #4027 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-13 23:33:47 +00:00
Mark Spencer
7082d0584e
Add PLC and jitter buffer and iax2 meta trunk with timestamps (bug #2532 , #3400 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-17 21:30:19 +00:00
Mark Spencer
cb9d518b3e
Record read size
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5177 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-14 01:05:34 +00:00
Mark Spencer
18d9b26cf9
Rework channel structure to eliminate "pvt" portion of channel (bug #3573 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-04 06:47:24 +00:00
Jeremy McNamara
da2ac25552
finally commit vm enhancements for skinny Bug #3511
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-25 17:43:10 +00:00
Mark Spencer
5f726ad8c7
Merge config updates (bug #3406 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-25 06:10:20 +00:00
Mark Spencer
a611ce04f1
Improve skinny display (bug #3416 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4888 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-25 03:41:05 +00:00
Russell Bryant
0c30452423
update copyright headers for 2005
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-21 07:06:25 +00:00
Mark Spencer
cb55bf96ef
Fix ringback on outbound skinny calls (bug #3295 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-16 08:16:07 +00:00
Mark Spencer
96503a02c1
Make groups be 64-bits (bug #3351 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-15 21:51:38 +00:00
Mark Spencer
d6471bec31
Merge Olle's comment patch (bug #3097 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-19 21:13:41 +00:00
Mark Spencer
8a13712e45
Pass concept of status back, permit "leaveempty" to work with static agents who are not loggedon (bug #2719 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-26 22:25:43 +00:00
Mark Spencer
e21ed1865b
First pass at making transfer work within agent (not tested, shouldn't break anything that currently worked)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4061 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-23 12:19:47 +00:00
Mark Spencer
0ddbbd1785
Add ability to check voicemail from multiple folders (bug #2561 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-03 21:18:27 +00:00
Mark Spencer
fce17976e9
Major PBX revamps (including labels, update examples)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3886 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-03 04:19:59 +00:00
Mark Spencer
04fc29c8b2
Huge callerid rework (might break H.323, others)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3874 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-02 00:58:31 +00:00
Mark Spencer
4d6b943ea4
Fix star 80 to star 60 (bug #2247 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3772 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-13 21:34:47 +00:00
Mark Spencer
7acee329e1
Merge BSD stack size work (bug #2067 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-08 17:15:02 +00:00
Mark Spencer
569b95352a
rename "parking" to "features" in preparation for some more (possibly post 1.0) feature additions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-17 20:58:01 +00:00
Mark Spencer
bba1faf910
Last set of strncpy/snprintf updates (bug #2049 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-16 04:40:54 +00:00
Mark Spencer
2f911dfba6
Use INET_ADDRLEN (bug #1956 ) (from airport!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-30 16:56:51 +00:00
Mark Spencer
f97df161f4
Create reentrant ast_inet_ntoa and replace all inet_ntoa's with ast_inet_ntoa's (but #1944 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-29 12:56:46 +00:00
James Golovich
8801247d76
Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22 18:49:00 +00:00
Mark Spencer
5546e32355
Merge major BSD mutex and symbol conflict patches (bug #1816 ) (link patch still pending)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22 17:42:14 +00:00
Mark Spencer
5b9cab6c13
Separate PROCEEDING and PROGRESS
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-14 21:18:52 +00:00
Mark Spencer
727abcdec7
Merge FreeBSD locking fixes (bug #1411 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-09 01:45:08 +00:00
Jeremy McNamara
b0f9569b5c
make sending indications more robust and proper
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-31 02:49:53 +00:00
Anthony Minessale II
f30d55fbf6
saw this in valgrind (-tony)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3107 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-29 03:40:35 +00:00
Mark Spencer
cf57ba2310
Make RTP handle codecs (first pass)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-27 04:18:46 +00:00
Mark Spencer
ec14976ac3
Perform proper heap bounds checking on skinny messages (bug #1726 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-26 23:15:23 +00:00
Jeremy McNamara
ed01d3b366
Turn off lamp on call completion, code cleanup and a couple other minor bug fixes.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-12 21:30:23 +00:00
James Golovich
995468ea0a
Include utils.h in chan_skinny.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-05 05:16:42 +00:00
Jeremy McNamara
ecbd983648
use ast_strlen_zero
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-05 05:03:48 +00:00
Mark Spencer
add7cf7ded
Move skinny to support poll
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-26 12:51:49 +00:00
Mark Spencer
d3f9887589
gethostbyname isn't reentrant, who knew...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-22 00:20:34 +00:00
Mark Spencer
13bca43aa8
Get rid of all that old needlock garbage now that we're using recursive mutexes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2644 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-06 22:17:32 +00:00
Jeremy McNamara
528c513602
swap out printf's for ast_verbose
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2632 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-06 03:43:43 +00:00
Mark Spencer
eeb2ca5b26
Make read/write mode have a lock parameter and use it properly.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-27 06:50:12 +00:00
James Golovich
9223055df1
Fixup some pthread_t checking in channels
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2438 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-15 09:14:16 +00:00
James Golovich
0e90480d6b
Fix bug 1217. Change pthread_t initializers to AST_PTHREADT_NULL and
...
AST_PTHREADT_STOP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-15 07:51:22 +00:00
Jeremy McNamara
657056b114
clean up warning
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-04 06:29:12 +00:00
Jeremy McNamara
16d9e65b32
check to see if sub->rtp is allocated. Bug #1040
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-04 06:25:27 +00:00
Mark Spencer
806bb3c63f
Add support for parking with IAX2
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-04 01:11:25 +00:00
Mark Spencer
9c2f131b66
NetBSD portability enhancements (bug #969 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2109 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-02 06:38:08 +00:00
Mark Spencer
32e131862d
Elminate unused code/warnings (bug #934 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-28 21:06:03 +00:00
Jeremy McNamara
0f4379d111
Fix monitor thread issue.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-13 00:40:33 +00:00
Jeremy McNamara
b7e53c695f
clean up debug
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1959 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-12 02:19:25 +00:00
Jeremy McNamara
d3c388db9c
make firmware version configurable per device
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1913 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-09 21:12:21 +00:00
Jeremy McNamara
d547cbee4e
add stop media transmission message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-22 19:15:34 +00:00
Mark Spencer
c0d8f10a42
FreeBSD patch, take 2
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-21 02:57:29 +00:00
Martin Pycko
13b7b73b08
Revert the previous patch since it's braking compilation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1636 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-16 21:11:29 +00:00
Mark Spencer
d5b54e4b7f
Sane FreeBSD patch
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-16 10:44:04 +00:00
Jeremy McNamara
19ef8e56ef
lets try just a empty speed dial, for real this time
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1587 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-30 10:58:34 +00:00
Jeremy McNamara
740e8469da
lets try just a empty speed dial
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1586 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-30 10:53:02 +00:00
Jeremy McNamara
3bbf429ac0
remove speedial setting, for now
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1585 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-30 09:46:55 +00:00
Jeremy McNamara
41cafc5042
anonyance fixes, per tholo :)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1560 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-27 01:05:55 +00:00
Jeremy McNamara
79ecd05a02
don't die if skinny cannot figure out hostname
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1519 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-14 15:42:27 +00:00
Jeremy McNamara
6be8c6b6bf
minor code fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-14 15:39:22 +00:00