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
19 years ago
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
19 years ago
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
19 years ago
Olle Johansson
9572ee68c2
Cleaning up code
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
Olle Johansson
30deec45f8
show, list, view, display... whatever.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
Olle Johansson
829f2c895d
Small formatting changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
Olle Johansson
a9ccda4e89
Block patch from other branch
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46404 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
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
19 years ago
Olle Johansson
a58a4fb8ac
Spelling fix.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46397 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
ee31dc4d52
Documentation update again
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46395 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
34f5c15427
Documentation update (I guess)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
4ec9329d8b
Documentation correction
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46393 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
a4366cc194
maxtime is not needed any more now that we actually set the T1 timer
...
based on the qualify result.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
baf9547d50
Only accept message once
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46390 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
ca433620a7
Adding documentation inspired by a virtual drink with an anonymous man in New Jersey
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46387 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
336a4602ba
Don't duplicate function if not needed...
...
- removing transmit_reinvite_with_t38_sdp in favour of adding an argument to
transmit_reinvite_with_sdp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46385 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
29e489e000
Merge from 1.4 : Don't send 183 reliably...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46383 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
0f9a1b19f1
- Don't lock the dialoglist during the whole destruction of a single SIP dialog. Only
...
lock when needed - when we remove the dialog from the dialog list
If this doesn't lead to severe problems, it might help with some locking issues
in 1.4/1.2.
- Remove the term "interface" as a synonym for a SIP dialog. Sorry, Mark, but no
one understands it... ;-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago