Joshua Colp
d56d4a3f7f
Merged revisions 44213 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44213 | file | 2006-10-02 16:07:59 -0400 (Mon, 02 Oct 2006) | 2 lines
Change the fd on the I/O context in case it changed during the reload, which is indeed possible. (issue #7943 reported by eclubb)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44215 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02 20:11:02 +00:00
Joshua Colp
0cc2b24ea6
Merged revisions 44198 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44198 | file | 2006-10-02 15:39:59 -0400 (Mon, 02 Oct 2006) | 2 lines
We should be using $AST_SBIN instead of hardcoding the path for the error message (issue #7942 reported by eclubb)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02 19:41:39 +00:00
Paul Cadach
6b37705130
Missed part of userconf functionality for chan_h323
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44186 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02 18:52:56 +00:00
Joshua Colp
e7a2e3cb07
Merged revisions 44168 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44168 | file | 2006-10-02 13:22:27 -0400 (Mon, 02 Oct 2006) | 2 lines
Shrink when current_ioc is unused. It is set to -1 when unused, not 0. (issue #7941 reported by eclubb)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44169 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02 17:25:13 +00:00
Paul Cadach
20ff512ee9
Typo fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44167 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02 17:16:37 +00:00
Paul Cadach
f76b7ab4a9
Optimization of oh323_indicate(): less locks - less problems, plus single exit point
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02 17:15:11 +00:00
Mark Spencer
43b8d09b81
Don't use Channel when you're not talking about a channel :)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02 02:38:28 +00:00
Paul Cadach
5ec38a80bf
Do not simulate any audio tones if we got PROGRESS message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-01 19:32:24 +00:00
Russell Bryant
aff14e6d89
Fix a problem that cuased AST_DATA_DIR in defaults.h to be empty. The cause is
...
that since ASTDATADIR is explicitly exported using "export ASTDATADIR" at the
top of the Makefile, make no longer considers the variable "undefined", so the
Makefile can't use ?= to set ASTDATADIR if not yet set.
(issue #8063 , reported by akohlsmith, fixed by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44125 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-01 18:30:06 +00:00
Russell Bryant
3e2fa16670
Merged revisions 44110 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44110 | russell | 2006-10-01 11:19:23 -0400 (Sun, 01 Oct 2006) | 3 lines
Fix the name of the "eventmemberstatus" option in the sample queues.conf
(issue #8065 , adamg)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44111 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-01 15:20:12 +00:00
Luigi Rizzo
c88b87f6ed
sync with trunk - move variable declarations to the beginning of a block.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44109 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-01 15:01:28 +00:00
Paul Cadach
b0bb62a7e5
Allow one-way RTP streams (device->Asterisk)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-30 19:20:38 +00:00
Luigi Rizzo
719ba6b535
fix two recent build problems:
...
- with AST_DEVMODE, building codecs/lpc10 fails because of lots
of warnings, and the configure step in editline fails as well.
Fix this by removing the -Werror in these steps.
- on FreeBSD (but probably on other platforms as well), the final
link of asterisk fails because AST_LIBS was not exported to the
subdirs Makefiles. Add a proper fix in the top-level Makefile
(a possible alternative way is to add "export AST_LIBS" near
the beginning of the file).
With this fix, i believe that some of the platform-specific
conditionals in main/Makefile are redundant (because they should
be already dealt with in the top level Makefile) but i don't
have a platform to check.
Merging to head will happen in a moment.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44080 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-30 16:28:39 +00:00
Paul Cadach
ffd8a2576b
Fix issue #7928 correctly. Next is a comment of previous fix:
...
Issue #7928 - Don't send both 404 and 503. Fix by phsultan with
a small fix by me, myself or I. Thanks, Philippe!
(This was caused by my changes to the transaction handling)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-30 16:12:23 +00:00
Paul Cadach
7a7c5011a1
Found some buggy SIP clients (phones Planet VIP-153T firmware
...
1.0, Linksys PAP2 firmware 3.1.9(LSc)) which sends ACK not on OK
message only (when remote party answers) but on RINGING message
too, so when we send 200 OK message, we get unidentified ACK
message (because INVITE acknowledged on RINGING message already),
so 200 OK retransmits within its retransmission interval then
call gets dropped.
If someone else knows how to provide workaround for such cases,
please, fix it in correct way.
Thanks to ssh from #asteriskru for provide access to his box to
study and fix this case.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-30 04:37:39 +00:00
Kevin P. Fleming
886f6ecbb9
ignore temporary files made by the Makefiles during a build
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44057 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 22:51:53 +00:00
Kevin P. Fleming
ec2e4f2216
fix a few build system bugs, and convert Makefiles to be compatible with GNU make 3.80
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 22:47:40 +00:00
Jason Parker
2a5feb5485
Fix a bug with the removal of 'atleast' argument to 'core verbose' and 'core debug'.
...
Add that argument back in.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 22:35:09 +00:00
Paul Cadach
e4ff1716d5
Compile first, please
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44043 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 21:09:10 +00:00
Paul Cadach
8a107b3a16
Set TON/PRESENTATION information more carefully when no CallingNumber IE available
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 21:05:43 +00:00
Paul Cadach
4ecb66c6b4
Fake display name by called number on incoming calls (until passing connected number/connected name is not implemented)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 20:43:13 +00:00
Paul Cadach
5d8c027883
Ported code refers to H.450 - add includes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 19:09:22 +00:00
Paul Cadach
6f72c19b74
Properly pass TON/PRESENTATION information - original
...
H323Connection::SendSignalSetup() destroys Q.931 fields.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 19:06:55 +00:00
Kevin P. Fleming
26524583fc
yet another place where we were not using the correct CFLAGS by default
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 18:49:07 +00:00
Kevin P. Fleming
37f61d385a
missed one conversion to ASTCFLAGS
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 18:40:17 +00:00
Paul Cadach
b05cb6d46b
Pass TON/PRESENTATION information too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 18:30:34 +00:00
Kevin P. Fleming
704397dc3c
don't abuse CFLAGS and LDFLAGS for build of Asterisk components, because they are also then used for non-Asterisk components (like menuselect); use our own variables instead
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 18:25:49 +00:00
Kevin P. Fleming
2ac0d927ae
support --without-curl in configure script
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 16:52:27 +00:00
Kevin P. Fleming
ea0cccc05f
another cross-compile fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43996 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 16:47:05 +00:00
Kevin P. Fleming
9f2b0f44ec
a couple more environment settings that can't leak into the menuselect build
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 16:38:27 +00:00
Kevin P. Fleming
c2475110cc
proper fix for ast_group_t change
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43978 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 13:45:40 +00:00
Kevin P. Fleming
69528cec15
eliminate compiler warning when DEBUG_CHANNEL_LOCKS is enabled and users of this header file don't also include channel.h
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28 22:42:18 +00:00
Jason Parker
4be96dc8d3
Fix incorrect argument order for member names, on persisted members.
...
Issue 8047, patch by jmls.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28 20:11:22 +00:00
Joshua Colp
d2d4833b79
Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28 18:05:43 +00:00
Joshua Colp
62619c66df
Blocked revisions 43924 via svnmerge
...
........
r43924 | file | 2006-09-28 14:00:30 -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/branches/1.4@43932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28 18:01:58 +00:00
Kevin P. Fleming
78e8232ef8
Merged revisions 43916 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43916 | kpfleming | 2006-09-28 12:31:57 -0500 (Thu, 28 Sep 2006) | 2 lines
fix buggy (and overly complex) loop used during reload of app_queue for static member list updating
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43919 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28 17:35:42 +00:00
Paul Cadach
13b9f34966
Extend call establishment timeout
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43918 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28 17:34:19 +00:00
Joshua Colp
24b723af44
Make sure the pvt exists before accessing it again as it may have gone away (issue #7562 reported by Seb7 and issue #7939 reported by sorg)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28 17:31:09 +00:00
Joshua Colp
cdf62550ed
Warning be gone!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43913 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28 17:14:07 +00:00
BJ Weschke
1dd8d10aa9
Merged revisions 43897 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43897 | bweschke | 2006-09-28 12:37:15 -0400 (Thu, 28 Sep 2006) | 3 lines
app_queue is comparing the device names incorrectly while checking their statuses. It's internal list of interfaces includes the dial string, while the argument passed to this function does not have the dial string (/n for a local channel). This causes it to ignore the device state changes because it thinks it belongs to none of its members. (#8040 reported and patch by tim_ringenbach)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43899 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28 16:41:05 +00:00
Kevin P. Fleming
81c8f6b539
Merged revisions 43895 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43895 | kpfleming | 2006-09-28 11:32:44 -0500 (Thu, 28 Sep 2006) | 2 lines
eliminate compiler warning introduced by recent changes
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28 16:38:25 +00:00
Joshua Colp
a30a5f2f09
Merged revisions 43891 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43891 | file | 2006-09-28 12:13:55 -0400 (Thu, 28 Sep 2006) | 2 lines
Stop the stream after waitstream returns so that our formats get restored. (issue #7370 reported by kryptolus)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43893 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28 16:17:36 +00:00
Paul Cadach
f1ebcc8e34
Fix compiler warning
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28 15:56:21 +00:00
BJ Weschke
675749c706
Merged revisions 43871 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43871 | bweschke | 2006-09-28 11:18:05 -0400 (Thu, 28 Sep 2006) | 3 lines
Fix race condion crash with get_member_status (#7864 - tim_ringenbach reported and patched)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43873 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28 15:29:21 +00:00
BJ Weschke
669bbb6784
Autopause not working for queue members. ( #8042 - jmls reported and patch)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28 13:24:10 +00:00
Paul Cadach
89e23aa040
Force remote side to start media on outgoing PROGRESS message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43862 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28 12:58:22 +00:00
Paul Cadach
bfaac1699c
Put attribute tag at correct place
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43861 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28 12:47:23 +00:00
Christian Richter
a3f43a7dfe
Merged revisions 43764 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43764 | crichter | 2006-09-27 14:51:03 +0200 (Mi, 27 Sep 2006) | 1 line
fixed a bug which led to chan_list zombies, when the call could not be properly established in misdn_call. also removed the ACK_HDLC stuff which is not really needed.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28 11:03:05 +00:00
Paul Cadach
e2d1986cec
Do not open transmit channel until TCS is received
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28 10:51:21 +00:00
Paul Cadach
13663f59cf
Don't warn on HOLD/UNHOLD control frames
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28 06:02:45 +00:00