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
Joshua Colp
7f7f2fe821
Let's make application/function/hint lists read/write lists... just for kicks
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 21:40:53 +00:00
Matthew Fredrickson
eee1b9e1fb
Updates to do unblock correctly
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47035 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 21:34:03 +00:00
Olle Johansson
9dffcc2e75
Move check for codec translators to an earlier place in the call, so we can fail gracefully (imported from 1.4)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47021 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 20:24:10 +00:00
Olle Johansson
0df2c7a774
Disable code for not implemented functionality (T38 over RTP/TCP)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46999 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 19:01:02 +00:00
Russell Bryant
903e1e3bf3
Sure enough, some of the uses of astobj are doing recursive locking. This
...
doesn't work with rwlocks, so, this is reverted for now.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 18:34:50 +00:00
Russell Bryant
c8e35348c0
astobj was already set up to use read and write locks. Now that we have wrappers
...
for them, use them here.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 18:12:08 +00:00
Joshua Colp
8d1d9b0610
Convert translation core linked list over to read/write based one, since it spends most of it's time only reading.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46972 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 18:01:10 +00:00
Joshua Colp
ffceb28cfd
Add AST_RWLIST_* set of macros which implement linked lists using read/write locks, the actual list manipulation is still done via the old macros.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46967 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 17:56:33 +00:00
Russell Bryant
232e56f496
Merged revisions 46965 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r46965 | russell | 2006-11-02 12:49:54 -0500 (Thu, 02 Nov 2006) | 11 lines
Merged revisions 46964 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r46964 | russell | 2006-11-02 12:47:56 -0500 (Thu, 02 Nov 2006) | 3 lines
ignore files in a music on hold directory that begin with '.'
(issue #8249 , cboie)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46966 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 17:51:56 +00:00
Joshua Colp
ae00c6d3fa
Set the AST_RWLOCK_INIT_VALUE to the PTHREAD_RWLOCK_INIT_VALUE if it is available, that way outside stuff can determine whether to use a constructor or deconstructor for initialization instead of using the init value.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46940 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 16:51:27 +00:00
Matthew Fredrickson
d810d52606
Changes to show blocked/unblocked states, as well as in service, out of service state
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46939 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 16:50:55 +00:00
Kevin P. Fleming
30b47fb8a0
Merged revisions 46937 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46937 | kpfleming | 2006-11-02 10:45:32 -0600 (Thu, 02 Nov 2006) | 2 lines
don't send INVITE when we have determined that we can't offer any audio formats due to lack of trancoding support (or incorrect configuration)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46938 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 16:45:50 +00:00
Joshua Colp
aebb4aaa0d
I'm crazy so I will add this... pthread rwlock wrappers, along with autoconf stuff that detects the presence of the initializer and the ability to set the kind of lock (in our case we rather like writer preferred locks so writer starvation doesn't occur... but on something like Darwin we don't get that)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46935 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 16:28:13 +00:00
Joshua Colp
946eebf16f
Merged revisions 46930 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r46930 | file | 2006-11-02 11:06:39 -0500 (Thu, 02 Nov 2006) | 10 lines
Merged revisions 46920 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r46920 | file | 2006-11-02 11:02:27 -0500 (Thu, 02 Nov 2006) | 2 lines
Repeat after me oej: I will at least make sure my code compiles before I commit it.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 16:14:03 +00:00
Matthew Fredrickson
040e112ebd
Add simple down event support
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46926 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 16:03:12 +00:00
Nadi Sarrar
a2cb7d974e
find_free_chan_in_stack: cleanup buggy usage
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46906 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 15:47:23 +00:00
Olle Johansson
5a87a3bbb2
Don't overwrite pkt->flags (imported from 1.2/1.4)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46902 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 15:31:53 +00:00
Russell Bryant
881ad15f2b
various whitespace changes to reduce indentation and to better conform to
...
formatting guidelines
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46886 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 14:15:12 +00:00
Russell Bryant
c227df91d9
Change the buffer used in callerid_feed() and callerid_feed_jp() to be
...
allocated on the stack using alloca() instead of using malloc() since
they are only used locally to these functions.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46885 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 14:07:48 +00:00
Russell Bryant
f02509cef4
Blocked revisions 46883 via svnmerge
...
........
r46883 | russell | 2006-11-02 09:02:37 -0500 (Thu, 02 Nov 2006) | 3 lines
Add the missing call to free described in issue #8268 . Also, add a bunch of
missing calls to free in callerid_feed_jp().
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 14:03:42 +00:00
Russell Bryant
d2117bf5a0
Merged revisions 46857 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46857 | russell | 2006-11-01 18:01:48 -0500 (Wed, 01 Nov 2006) | 2 lines
fix saying one hundred and two hundred in hebrew (issue #7810 , eldadran)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46863 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 23:04:14 +00:00
Russell Bryant
31287fd3aa
Add a couple of things to the CHANGES file
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 22:58:34 +00:00
Russell Bryant
f89ccdc0f3
Merged revisions 46847 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46847 | russell | 2006-11-01 17:51:21 -0500 (Wed, 01 Nov 2006) | 3 lines
Fixes for cross-compilation on mips
(issue #8058 , ywalther, with some modifications)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 22:54:15 +00:00
Russell Bryant
ae1133d8a9
Merged revisions 46845 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46845 | russell | 2006-11-01 17:32:12 -0500 (Wed, 01 Nov 2006) | 5 lines
Add a check in the configure script to determine whether ld is GNU ld or not.
This is needed because module embedding only works for gnu ld. GNU ld is now
listed as a dependency for all of the module embedding options in menuselect.
(issue #8143 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 22:35:52 +00:00
Matt O'Gorman
09ef9b465b
Merged revisions 46822 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.4
........
r46822 | mogorman | 2006-11-01 14:35:41 -0600 (Wed, 01 Nov 2006) | 2 lines
bind address support from bug 8164
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 20:38:05 +00:00
Steve Murphy
e52822b3bf
a fix for bug 8251; the var_val needs to accept longer strings or mass confusion and a lot of lost time is the result
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 19:48:40 +00:00
Joshua Colp
9335b4bc1c
Merged revisions 46780 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46780 | file | 2006-11-01 13:39:47 -0500 (Wed, 01 Nov 2006) | 2 lines
Force poll() emulation for Darwin to always be on. It's too broken to consider being used. This resolves the console issue OSX users have been seeing. I would have liked to autoconf this but I haven't been able to come up with a test case that works. Que sera.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 18:41:49 +00:00
Russell Bryant
4ffc388358
Add the ability to pass options to the Dial application when using the DUNDi
...
switch in the dialplan by setting the DUNDIDIALARGS channel variable.
(issue #8084 , patch by bluecrow76, with small modifications and documentation
updates)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 18:40:13 +00:00
Russell Bryant
63ff3c85da
Merged revisions 46778 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r46778 | russell | 2006-11-01 13:26:35 -0500 (Wed, 01 Nov 2006) | 17 lines
Merged revisions 46776 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r46776 | russell | 2006-11-01 13:24:17 -0500 (Wed, 01 Nov 2006) | 9 lines
soxmix and Asterisk expect different file extensions for certain formats. This
was already handled for the wav49 format. However, it was not handled for
ulaw and alaw. I fixed this in such a way that using the alternate extensions
for ulaw and alaw will only happen if we know we're calling soxmix, and not a
custom script defined using the MONITOR_EXEC variable. The wav49 processing
was left alone so that external scripts will see no behavior change.
(issue #7550 , reported by mnicholson, proposed patch by junky, committed fix
is a bit different)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 18:29:05 +00:00
Joshua Colp
9f78577f5e
Merged revisions 46775 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46775 | file | 2006-11-01 13:21:34 -0500 (Wed, 01 Nov 2006) | 2 lines
It's another round of chan_iax2 fixes! Should hopefully fix the deadlock issues people have been reporting. IAXtel now has qualify turned on for 800 peers and it is handling it fine.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 18:26:12 +00:00
Steve Murphy
3d742b51ef
OOps. forgot to add this to CHANGES
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46774 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 18:16:28 +00:00
Steve Murphy
a89a16eb41
This introduces Brazilian Portuguese via 7663
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46773 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 18:14:17 +00:00
Steve Murphy
1bb9f6b362
Cleanups suggested by Russell.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 17:46:40 +00:00
Luigi Rizzo
36a86a19dd
move variable declaration in the middle of a block
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46758 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 17:09:47 +00:00
Russell Bryant
190cff5969
Merged revisions 46744 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46744 | russell | 2006-11-01 11:39:09 -0500 (Wed, 01 Nov 2006) | 2 lines
Prevent an infinite loop when config processing gets to a jitterbuffer option
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 16:51:26 +00:00
Matt O'Gorman
198521c94a
change default return extension after parking timeout.
...
6953 with minor changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46732 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 00:07:37 +00:00
Kevin P. Fleming
39a4700047
Merged revisions 46714 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46714 | kpfleming | 2006-10-31 15:47:48 -0600 (Tue, 31 Oct 2006) | 2 lines
add an API so that translators can activate/deactivate themselves when needed
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46719 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 22:19:08 +00:00
Jason Parker
8b9ef26a45
Fix "core show translation" output. Issue #8243 , patch by Damin.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46718 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 22:07:18 +00:00
Jason Parker
ff235910e3
Blocked revisions 46716 via svnmerge
...
........
r46716 | qwell | 2006-10-31 16:02:15 -0600 (Tue, 31 Oct 2006) | 2 lines
Fix "core show translation" output. Issue #8243 , patch by Damin.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 22:06:27 +00:00
Luigi Rizzo
bf3afe5641
remove old/useless usecount handling
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 18:10:21 +00:00
Luigi Rizzo
e72c0db882
remove old/useless usecount stuff.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46695 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 18:04:19 +00:00
Luigi Rizzo
fe28cd213b
remove old/useless usecount management code.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46683 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 17:58:49 +00:00
Russell Bryant
59dbf47c91
Fix the new send text manager command. There is no way this could have worked.
...
- Check the channel name string length to be zero, not non-zero
- Check the message string length to be zero, not non-zero
- unlock the channel *after* calling sendtext
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 15:22:28 +00:00
Olle Johansson
602cab138b
Set #define for TIMER T1 value
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 13:56:33 +00:00
Olle Johansson
9572ee68c2
Cleaning up code
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 13:51:30 +00:00
Olle Johansson
f003df1315
Issue #80898 - Restoring func_enum (otmar)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 11:01:06 +00:00
Olle Johansson
1aa8c2cffc
Add manager sendtext action. (Issue 6131, ZX81 - thanks!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46630 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 10:42:22 +00:00