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
Olle Johansson
b136baaff4
Fix rport handling.
...
...where did the 1.2 properties come from, really? they're back.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 10:29:24 +00:00
Olle Johansson
97be2ac76f
- If peer that register fails ACL, fail him
...
- Remove the 1.2 props I've set by mistake earlier
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46609 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 09:24:55 +00:00
Olle Johansson
11cb7ce745
Block patch that only applies to 1.4
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46584 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 08:35:54 +00:00
Olle Johansson
0487368645
Take two, using find_resource on Kevin's suggestion.
...
Might need better locking support, giving up if we can't get the lock. Right now,
using existing locking in find_resource
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 08:08:56 +00:00
Russell Bryant
d70a7b6d8e
add author doxygen tag (issue #8241 , kshumard)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 06:37:48 +00:00
Russell Bryant
08fc237994
Merged revisions 46563 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46563 | russell | 2006-10-31 01:30:53 -0500 (Tue, 31 Oct 2006) | 3 lines
Start Asterisk later in the boot process to ensure it starts after stuff like
MySQL (issue #8253 , Alric)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 06:31:34 +00:00
Russell Bryant
2e5e32c574
Merged revisions 46561 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r46561 | russell | 2006-10-31 01:19:56 -0500 (Tue, 31 Oct 2006) | 11 lines
Merged revisions 46560 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r46560 | russell | 2006-10-31 01:18:36 -0500 (Tue, 31 Oct 2006) | 3 lines
When handling the case where the hostname is just an IPV4 numeric address,
be sure to set the address type. (issue #8247 , alexr)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 06:21:40 +00:00
Russell Bryant
f012ccd4a3
Merged revisions 46558 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r46558 | russell | 2006-10-31 01:14:13 -0500 (Tue, 31 Oct 2006) | 11 lines
Merged revisions 46557 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r46557 | russell | 2006-10-31 01:13:09 -0500 (Tue, 31 Oct 2006) | 3 lines
fix some copy/paste bugs in the checking of arguments for the
"control stream file" AGI command (issue #8255 , mnicholson)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 06:15:12 +00:00
Russell Bryant
94c9db95b1
Merged revisions 46554 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46554 | russell | 2006-10-31 00:55:07 -0500 (Tue, 31 Oct 2006) | 5 lines
Add a small tweak to the code that checks to see whether destination formats
are translatable based on the source format. If we have already determined
that there is no translation path in one direction, don't bother checking the
other direction.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46556 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 06:10:59 +00:00
Steve Murphy
6d81c47801
These changes submitted by moy via bug 6992, to add a Dial 'End' event to asterisk. I include some changes to astman to cover other events that have been added.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46541 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 23:11:55 +00:00
Kevin P. Fleming
7afa6a1d01
Merged revisions 46526 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46526 | kpfleming | 2006-10-30 16:19:55 -0600 (Mon, 30 Oct 2006) | 3 lines
when unregistering a translator, don't rebuild the translation matrix unless needed
when filtering formats out of an offer, ensure we check for translation ability in both directions
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46529 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 22:27:56 +00:00
Olle Johansson
30deec45f8
show, list, view, display... whatever.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 21:56:48 +00:00
Olle Johansson
11d00cac15
Adding dialplan function IFMODULE, so you can create dialplans that handle
...
various PBX installations and checks if a module is loaded before using
it.
example IFMODULE(chan_sip3.so)
issue #6671 in the bug tracker, finally gone. Thanks to mithraen for keeping
it updated.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46513 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 21:48:41 +00:00
Kevin P. Fleming
79e45105f5
Merged revisions 46511 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46511 | kpfleming | 2006-10-30 15:46:07 -0600 (Mon, 30 Oct 2006) | 2 lines
ensure that items removed from a list are always unlinked from the list (next pointer set to NULL)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46512 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 21:46:34 +00:00
Olle Johansson
ab414260c4
Update sip list to eventlist format.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46509 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 21:22:41 +00:00
Olle Johansson
692dc8fd80
Issue #3930 - Add manager command for listing dialplan (coded april 2005, in bugtracker since)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 21:18:39 +00:00
Joshua Colp
6b4c7b6923
Merged revisions 46506 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46506 | file | 2006-10-30 16:09:13 -0500 (Mon, 30 Oct 2006) | 2 lines
Don't explicitly link in crypt as it is not used on some platforms.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 21:11:37 +00:00
Olle Johansson
f98f457727
Change name of "contact" setting to "callback" which better reflects what it
...
is to the person that configures asterisk. That we use it internally in the
contact header is a totally different story.
Still not convinced this is a good option.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46489 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 19:56:14 +00:00
Olle Johansson
753a03161d
Globals need the "global_" prefix in chan_sip, and need to be reset to default value at reload.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 18:34:51 +00:00
Joshua Colp
e3807ed8cc
Merged revisions 46474 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46474 | file | 2006-10-30 13:13:07 -0500 (Mon, 30 Oct 2006) | 2 lines
We need to lock the pvt structure during retransmission as another worker thread may be doing something as well.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 18:17:02 +00:00
Matthew Fredrickson
f171dabffe
Make sure we give the linkset number, not the offset in the linksets array
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 18:04:28 +00:00
Olle Johansson
aadccc10b8
Small conversion to ast_channel_unlock
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46461 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 18:02:37 +00:00
Matthew Fredrickson
4bfa05d373
Specify which linkset we're getting the messages from in the message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 17:32:04 +00:00
Olle Johansson
2cb07fbaa4
In debug mode, recognize that someone is sending zrtp, even though we
...
can't do anything with it yet. Ideally a first step would be a
passthrough mode.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46439 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 16:59:02 +00:00
Matthew Fredrickson
d0d065bcca
Don't make errors when we don't need them
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 16:50:22 +00:00
Olle Johansson
8a2e564df5
Issue 8246 Doxygen updates (kshumard)
...
THANK YOU!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 16:33:02 +00:00
Olle Johansson
94e0a15cf8
The RTCP patch started in trunk, so don't start all over again :-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46432 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 16:11:08 +00:00
Olle Johansson
829f2c895d
Small formatting changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-29 20:47:01 +00:00
Olle Johansson
52a5d63a2d
Bind RTCP to the same IP as RTP.
...
I currently don't see this as a bug that needs to be fixed in 1.4/1.2 too,
but feel free to backport if you see it that way. RTCP now binds to
ALL IP addresses on the host, RTP to a specific address.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46409 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-29 20:21:33 +00:00
Olle Johansson
53ef33ccc3
Issue #7869 - Stop retransmission of 302 redirects.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-29 19:35:04 +00:00
Olle Johansson
ef7d20f9c9
Issue #7608 - Notifications sent with wrong content-type (imported from 1.2, 1.4)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46405 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-29 19:16:36 +00:00
Olle Johansson
a9ccda4e89
Block patch from other branch
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46404 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-29 19:14:46 +00:00
Olle Johansson
1086f1dfb5
Issues related to issue #7828 - segfault with MWI subscriptions and realtime.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46400 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-29 17:07:47 +00:00
Olle Johansson
430ca5b59c
- Fix the OUTGOING stuff (merge from 1.4)
...
- Make sure we UNREF authpeer when not needed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46399 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-29 16:58:07 +00:00
Olle Johansson
a58a4fb8ac
Spelling fix.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46397 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-29 08:40:57 +00:00