Commit graph

2096 commits

Author SHA1 Message Date
Jeremy McNamara
ec9ce8db9d Make capbilities be connection specific versus for the whole endpoint. Bug #4334
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5742 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 19:13:19 +00:00
Jeremy McNamara
793182ea7d Fix memory leak, avoid uncessary abuse of memory and formatting tweaks. Bug #4282
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5739 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 16:17:08 +00:00
Kevin P. Fleming
d5b50fc83d formatting cleanup (bug #4330)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5737 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 15:19:42 +00:00
Kevin P. Fleming
58a530eba8 remove unnecessary conditional logic (bug #4313, take two)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5735 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 12:51:58 +00:00
Kevin P. Fleming
041147243c ensure that peer-level RTP settings are actually used (bug #4313)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 04:49:12 +00:00
Kevin P. Fleming
c8889e6563 add IAXPEER function (bug #4310, with minor formatting and doc changes)
add note to CODING-GUIDELINES about minimizing indentation in function bodies


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5733 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 04:31:02 +00:00
Kevin P. Fleming
a1779650de move variable declarations to top of function where they belong (bug #4303)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 02:49:34 +00:00
Mark Spencer
53d655cf0a Yet another set of jitter buffer changes (this time some scheduling improvements) (bug #4319)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 01:24:09 +00:00
Mark Spencer
9272e1f68a More jitter buffer fixes for large resync (bug #4311)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5719 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 00:34:28 +00:00
Mark Spencer
503be4c93a Merge skew reduction (bug #4222)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 00:01:11 +00:00
Mark Spencer
ee8cbfa872 Add IAX2 testing code (bug #4242)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-18 23:43:13 +00:00
Mark Spencer
28e5165284 Actually apply timestamp bug (bug #3961)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-18 23:33:06 +00:00
Russell Bryant
9f9fcca6c0 print out the IAX DATETIME IE in 'iax2 debug' in human readable form
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-17 19:41:09 +00:00
Matthew Fredrickson
ee296ae8a9 Turn on the DSP for the channel after an ANSWER so that we get DTMF detected
properly


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5705 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 19:15:56 +00:00
Matthew Fredrickson
9b89127c75 Additions to chan_zap.c to receive PRI_EVENT_KEYPAD_DIGIT properly. Bug #4286
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 18:48:09 +00:00
Kevin P. Fleming
252bf2d652 SIP hold improvements (bug #4290)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5702 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 16:16:41 +00:00
Kevin P. Fleming
507ceb1a29 add 'zap show status' CLI command to display card/span status (bug #3585)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5701 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 14:41:05 +00:00
Kevin P. Fleming
9bf21dbf58 more strncpy -> ast_copy_string conversions, fixing some buglets along the way
add recommendation to CODING-GUIDELINES to use ast_copy_string instead of strncpy in new code


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5686 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 23:26:45 +00:00
Kevin P. Fleming
fb59e4a857 combine two lines of code to make the logic clearer (bug #4273)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5683 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 22:05:16 +00:00
Kevin P. Fleming
ea4c054123 fix segfaults in realtime_peer/realtime_user when wrong-type realtime entry is loaded (bug #4266)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5680 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 20:00:08 +00:00
Kevin P. Fleming
3fbdf210ce fix up help text and output for 'iax2 trunk debug' CLI command (bug #4191)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5670 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 04:51:13 +00:00
Kevin P. Fleming
7bcaa0caa2 code formatting cleanup (bug #4213)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5668 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 04:17:42 +00:00
Kevin P. Fleming
acffa5d930 implement more detailed hangup causes (bug #4214)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5667 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 04:11:01 +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
0356b70224 add functions to register/unregister multiple CLI commands in a single operation (bug #4255, with minor mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 03:03:48 +00:00
Kevin P. Fleming
c382394360 add counters to 'show agents' CLI command (bug #4232)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 02:48:16 +00:00
Kevin P. Fleming
4515e94c39 various minor formatting changes and code cleanups (bug #4262)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5658 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 00:27:18 +00:00
Mark Spencer
e37adfa243 Add netstats option (bug #4175)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5657 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 00:15:14 +00:00
Mark Spencer
01424f1f05 Fix one way audio problem with iax trunking (bug #4221)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5656 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 00:07:42 +00:00
Mark Spencer
c936fc827c Add remainder of rtp fixes, iax2 patch (bug #3961)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-14 23:57:44 +00:00
Mark Spencer
060b71e52f Fix incorrect variable (bug #4243)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5653 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-14 23:45:22 +00:00
Jeremy McNamara
5af8df2b98 Formatting fixes and sanity checks Bug #4263
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5646 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-13 20:24:30 +00:00
James Golovich
7d26776adc Fix typo in chan_zap.c faclityenable != facilityenable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5644 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-12 21:11:42 +00:00
Malcolm Davenport
04274f46c3 Resolve Bug #4248
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5642 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-12 20:45:32 +00:00
Russell Bryant
65a7d2ac76 fixes for the new jitter buffer (bug #4249)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-12 19:01:03 +00:00
Matthew Fredrickson
ba736889bf enable/disable facility ies
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-12 15:05:25 +00:00
Matthew Fredrickson
567dd8c1ea Set DNID for immediate calls (Bug #4220)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5630 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-11 15:03:11 +00:00
Jeremy McNamara
c224da2948 C++ formatting fixes, Log PWLib assertions, remove uncessary locking and to shut bkw up. Bug #4185
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-11 13:39:33 +00:00
Jeremy McNamara
e6be0236e5 Formatting fixes, proper locking and to shut bkw up. Bug #4185
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-11 13:27:49 +00:00
Jeremy McNamara
f3f322c990 Fix one way audio with some broken Endpoints and to shut bkw up. Bug #4164
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-11 13:20:32 +00:00
Jeremy McNamara
bd8ec48b6a Add specific gcc version to shut bkw up
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5626 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-11 12:45:39 +00:00
Matthew Fredrickson
31d5fab9cd chan_zap.c portion of PRI show debug command (Bug #3985)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5621 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-10 21:52:43 +00:00
Russell Bryant
5f54bf2230 revert this patch ... THIS IS NORMAL OPERATION, see the bugnotes for details (bug #4107)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5618 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-10 04:26:34 +00:00
Mark Spencer
82d52ffe35 Use maxdomainlen in chan_sip (bug #4212)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5601 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-08 16:49:28 +00:00
Mark Spencer
00bcbaaa05 Fix gethostname calls (bug #4198, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-08 16:44:25 +00:00
Russell Bryant
7e83b3a4b1 now fix the formatting part (bug #4207)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-07 19:51:39 +00:00
Russell Bryant
6ce084b7e2 remove unreachable block of code (bug #4207)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-07 19:49:32 +00:00
Kevin P. Fleming
4d2537ae11 major re-work of dialplan functions, including:
- locking of functions list during registration/unregistration/searching
 - rename of function description structure to be consistent with the rest of the API
 - addition of 'desc' element to description structure, for detailed description (like applications)
 - addition of 'show function' CLI command to show function details
 - conversion of existing functions to use uppercase names to match policy
 - creation of new 'pbx_functions.so' module to contain standard 'builtin' functions
 - removal of all builtin functions from pbx.c and apps and placement into new 'funcs' directory


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-05 05:39:33 +00:00
Mark Spencer
0575c11d72 Merge formatting changes (bug #4172)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 19:22:45 +00:00
Mark Spencer
2fcda7000b Minor protocol fixes (bug #4169)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5577 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 19:17:09 +00:00