Commit Graph

9786 Commits

Author SHA1 Message Date
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
Paul Cadach
8d881f8be0 Don't treat unknown control frames as voice
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28 06:01:37 +00:00
Tilghman Lesher
07317339ce Merged revisions 43815 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r43815 | tilghman | 2006-09-27 15:20:35 -0500 (Wed, 27 Sep 2006) | 2 lines

Avoid inability to lock directory log message by creating the directory ahead of time. (Issue 7631)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43816 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-27 20:21:54 +00:00
Jason Parker
482c18499e Fix an issue with PLAYBACKSTATUS not being set under certain circumstances.
Fix a minor issue, to make it use the filenames that were parsed, instead of the entire argument string.
Fix Background() to return -1 like Playback(), if no args are specified.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-27 19:44:02 +00:00
Jason Parker
a65a888802 Blocking this from 1.4, fix is quite a bit different.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-27 19:36:23 +00:00
Joshua Colp
f149686e8b Compensate for out of order packets better if RFC2833 compensation is turned on.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-27 19:10:59 +00:00
Joshua Colp
0929a218f3 Get rid of two functions from a time now past (we THINK these are from pre-recursive lock time) that may be contributing to two open issues on the bug tracker (7562/7939) and that has the potential to just make bad things happen if the timing is right.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-27 17:00:31 +00:00
Russell Bryant
439f15bdb9 Merged revisions 43778 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r43778 | russell | 2006-09-27 12:54:30 -0400 (Wed, 27 Sep 2006) | 42 lines

Fix a problem that occurred if a user entered a digit that matched a bridge
feature that was configured using multiple digits, and the digit that was
pressed timed out in the feature digit timeout period.  For example, if blind
transfer is configured as '##', and a user presses just '#'.  In this situation,
the call would lock up and no longer pass any frames.
(issue #7977 reported by festr, and issue #7982 reported by michaels and
 valuable input provided by mneuhauser and kuj.  Fixed by me, with testing help
 and peer review from Joshua Colp).

There are a couple of issues involved in this fix:

1) When ast_generic_bridge determines that there has been a timeout, it returned
   AST_BRIDGE_RETRY.  Then, when ast_channel_bridge gets this result, it calls
   ast_generic_bridge over again with the same timestamp for the next event.
   This results in an endless loop of nothing until the call is terminated.
   This is resolved by simply changing ast_generic_bridge to return 
   AST_BRIDGE_COMPLETE when it sees a timeout.

2) I also changed ast_channel_bridge such that if in the process of calculating
   the time until the next event, it knows a timeout has already occured, to
   immediately return AST_BRIDGE_COMPLETE instead of attempting to bridge the
   channels anyway.

3) In the process of testing the previous two changes, I ran into a problem in
   res_features where ast_channel_bridge would return because it determined
   that there was a timeout.  However, ast_bridge_call in res_features would
   then determine by its own calculation that there was still 1 ms before the
   timeout really occurs.  It would then proceed, and since the bridge broke
   out and did *not* return a frame, it interpreted this as the call was over
   and hung up the channels.

   The reason for this was because ast_bridge_call in res_features and
   ast_channel_bridge in channel.c were using different times for their
   calculations.  channel.c uses the start_time on the bridge config, which
   is the time that the feature digit was recieved.  However, res_features
   had another time, 'start', which was set right before calling 
   ast_channel_bridge.  'start' will always be slightly after start_time in the
   bridge config, and sometimes enough to round up to one ms.

   This is fixed by making ast_bridge_call use the same time as 
   ast_channel_bridge for the timeout calculation.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-27 16:55:49 +00:00
Christian Richter
cf7b068f58 removed the chan_misdn versioning, since asterisk has it's own
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43775 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-27 16:24:51 +00:00
Joshua Colp
8459e9a7ac Make rfc2833compensate a global option.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43774 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-27 16:23:12 +00:00
Russell Bryant
86c80784e0 Backport revision 43754 from the trunk, which removes an unused buffer from
mm_login to close bug 8038, as well as addresses some formatting and coding
guidelines issues in passing.

Originally, I did not commit this to 1.4 since it is not necessarily fixing a
bug.  However, since the IMAP storage code is brand new, I decided it would
be better to make the change here as well, in case someone has to work on this
code to address issues in the very near future.  I don't want to make
unnecessary merge problems going to the trunk.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43756 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-27 04:35:18 +00:00
Steve Murphy
740233659f This change to extensions.ael was to fix bug 8031; the install scripts are causing it to be copied to /etc/asterisk/extensions.ael, and because it is a fairly direct conversion of the original extensions.conf, the macro and context names clash with the existing extensions.conf. So, I put an ael- in front of all macros and contexts, and checked every goto and macro call. Also, this file compiles under aelparse.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43739 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-27 02:32:47 +00:00
Russell Bryant
8857675a88 (This was actually BE-65)
Merged revisions 43708 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r43708 | russell | 2006-09-26 16:49:21 -0400 (Tue, 26 Sep 2006) | 7 lines

Back in revision 4798, this message was changed from using ast_cli() to directly
calling write().  During this change, checking if this was a remote console was
removed.  This caused this message about using "exit" or "quit" to exit an
Asterisk console to come up in times where it did not make sense.  This change
restores the check to see if this is a remote console before printing the
message.  (fixes BE-4)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43710 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-26 20:56:42 +00:00
Joshua Colp
2862b777fe Merged revisions 43705 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r43705 | file | 2006-09-26 16:38:06 -0400 (Tue, 26 Sep 2006) | 2 lines

Use proper type to represent the group variable (issue #8025 reported by makoto)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-26 20:47:26 +00:00
Russell Bryant
6a4c92a630 Add missing newline character in the warning message about deprecated TOS values
in configuration.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-26 20:30:36 +00:00
Russell Bryant
6cb2b9fedb Merged revisions 43699 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r43699 | russell | 2006-09-26 16:23:15 -0400 (Tue, 26 Sep 2006) | 6 lines

When parsing the sections of voicemail.conf that contain mailbox definitions,
don't introduce a length limit on the definition by using a 256 byte temporary
storage buffer.  Instead, make the temporary buffer just as big as it needs
to be to hold the entire mailbox definition.
(fixes BE-68)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43700 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-26 20:24:39 +00:00
Joshua Colp
6dc8b23feb Strip options off the argument passed for devicestate in chan_local. (issue #8034 reported by pcardozo)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-26 20:19:33 +00:00
Joshua Colp
d95288fdf8 Slight overhaul of the whisper support. 1. We need to duplicate the frame from ast_translate 2. We need to ensure we always have signed linear coming in for signed linear combining. 3. We need to ensure we are always feeding signed linear out. 4. Properly store and restore write format when beeping on the channel we are whispering on. 5. Properly discontinue the stream on the channel for the beep. (issue #8019 reported by timkelly1980)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43695 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-26 20:09:41 +00:00
Kevin P. Fleming
07e5f6c4b5 update to use 1.4.3 core sounds, with corrected beep/beeperr/tt-monkeys files
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43676 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-26 18:34:27 +00:00
Jason Parker
49e903f56d Issue #8015, patch by Dan Austin.
Maximum values were incorrect, which is why this is being put in 1.4


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-26 18:08:51 +00:00
Jason Parker
955cb53b6b Add proper codec support to chan_skinny. Works with at least ulaw, alaw, and g729a.
This is technically a "new feature", but there are justifications for it.

I found a bug with the recent rtp packetization changes, which caused the media setup to
fail under certain circumstances, particularly when using allow=all, or having no allow=
statements (globally or on the device).

I could have either removed the rtp packetization features, or I could add proper codec
support (which, without, I think most people would consider to be a bug anyways).


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-26 15:33:47 +00:00
Tilghman Lesher
314d85326e Should have moved these lines up in the merge, instead of removing them
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43642 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-25 22:07:44 +00:00
Tilghman Lesher
84f8e88490 Merged revisions 43634 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r43634 | tilghman | 2006-09-25 16:14:41 -0500 (Mon, 25 Sep 2006) | 4 lines

Two bugs when forwarding voicemail (Issue 7824):
1) delete=yes was ignored
2) maxmessages was ignored

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-25 22:04:47 +00:00
Paul Cadach
f1018ee8bb Fix ASN1 description of non-standard Cisco extensions
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-25 21:26:12 +00:00
Paul Cadach
b2b256eeef Backport changes of trunk:
1) r43540: Avoid possible deadlock on channel destruction
2) r43590: Disable fastStart if requested by remote side


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43626 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-25 20:28:21 +00:00