asterisk/asterisk.git
16 years agoIssue #7380 - Cannot put a one-legged call on hold/off hold
Olle Johansson [Wed, 21 Jun 2006 19:58:03 +0000 (19:58 +0000)]
Issue #7380 - Cannot put a one-legged call on hold/off hold

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35336 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 35334 via svnmerge from
Joshua Colp [Wed, 21 Jun 2006 19:26:52 +0000 (19:26 +0000)]
Merged revisions 35334 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r35334 | file | 2006-06-21 16:25:34 -0300 (Wed, 21 Jun 2006) | 2 lines

Add Venezuelan indications (issue #7402 reported by palillo)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35335 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoOnly delete scheduled item if it exists
Olle Johansson [Wed, 21 Jun 2006 19:07:02 +0000 (19:07 +0000)]
Only delete scheduled item if it exists

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35333 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoActually allow realtime queue members to be added (issue #7408 reported by tgrman)
Joshua Colp [Wed, 21 Jun 2006 18:39:56 +0000 (18:39 +0000)]
Actually allow realtime queue members to be added (issue #7408 reported by tgrman)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35311 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoOnly formatting changes... (tabs to spaces)
Olle Johansson [Wed, 21 Jun 2006 17:05:38 +0000 (17:05 +0000)]
Only formatting changes... (tabs to spaces)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35287 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoFix timing issue (race) with poke/pong for very close peers that can cause a peer...
Joshua Colp [Wed, 21 Jun 2006 16:50:24 +0000 (16:50 +0000)]
Fix timing issue (race) with poke/pong for very close peers that can cause a peer to be declared unreachable (issue #7396 reported by stevedavies)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35264 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago* added support for PID export/import to identify bridging in misdn_call already
Christian Richter [Wed, 21 Jun 2006 15:21:46 +0000 (15:21 +0000)]
* added support for PID export/import to identify bridging in misdn_call already
* fixed a few inband Alerting issues, sometimes we need to create alerting, some
times it's inband
* beautified the state debugging of misdn_hangup
* removed "real"  bchannel activating/deactivating in chan_misdn.c
* fixed "round_robin" bug when there's only 1 port
* added more informative prints when channel could not be created
* changed some warnings to notices
* reworked the whole bchannel state machine stuff,
  it is now like in the examples of mISDNuser and therefore a lot easier,
  and it is now harder to create bugs
* bchannel_activate/deactivate is now only called in setup/cleanup bc,
  they may merge sometime
* it is very important to setup/cleanup the bchannels under the correct
  conditions, especially in the NT Side we can only setup the bchannels
  when we send a Message!
  In the TE side we can only setup the bchannel when we received the channel
  of course

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35241 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago- Doxygen and some formatting fixes in res_features
Olle Johansson [Wed, 21 Jun 2006 07:49:29 +0000 (07:49 +0000)]
- Doxygen and some formatting fixes in res_features
- Get rid of compiler warnings in chan_sip

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35210 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoFinally fix parking and go back to metermaids
Olle Johansson [Wed, 21 Jun 2006 07:13:20 +0000 (07:13 +0000)]
Finally fix parking and go back to metermaids

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35209 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBug 7399 - Sample config showed [general] as the context, so the app should look...
Tilghman Lesher [Tue, 20 Jun 2006 22:26:16 +0000 (22:26 +0000)]
Bug 7399 - Sample config showed [general] as the context, so the app should look there, too.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35185 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBug 7372: Wrong size for the block alignment (should have been 4 bytes;
Tilghman Lesher [Tue, 20 Jun 2006 22:22:47 +0000 (22:22 +0000)]
Bug 7372:  Wrong size for the block alignment (should have been 4 bytes;
writing 4 from a 2-byte integer caused extra (wrong) bytes set in the header)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35184 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoHow many times can we free allocated memory? Many, obviously... ;-)
Olle Johansson [Tue, 20 Jun 2006 21:12:58 +0000 (21:12 +0000)]
How many times can we free allocated memory? Many, obviously... ;-)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35160 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoHunting crash when parking calls with SIP REFER
Olle Johansson [Tue, 20 Jun 2006 21:09:50 +0000 (21:09 +0000)]
Hunting crash when parking calls with SIP REFER

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35159 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agouse correct test for checking if sip domains are enabled or not
Olle Johansson [Tue, 20 Jun 2006 15:46:49 +0000 (15:46 +0000)]
use correct test for checking if sip domains are enabled or not

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35125 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago$(INSTALL) is determined by configure and set in the makeopts file
Russell Bryant [Tue, 20 Jun 2006 15:08:44 +0000 (15:08 +0000)]
$(INSTALL) is determined by configure and set in the makeopts file

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35123 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 35121 via svnmerge from
Tilghman Lesher [Tue, 20 Jun 2006 15:06:38 +0000 (15:06 +0000)]
Merged revisions 35121 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r35121 | tilghman | 2006-06-20 10:05:23 -0500 (Tue, 20 Jun 2006) | 2 lines

Bug 7398 - Solaris puts its zoneinfo files in a nonstandard place

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35122 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoDon't count unknown media streams as media streams in the offer... (Fenlander reporte...
Olle Johansson [Tue, 20 Jun 2006 13:31:42 +0000 (13:31 +0000)]
Don't count unknown media streams as media streams in the offer... (Fenlander reported this on irc)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35095 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoparse SDP properly even when we are debugging. (Thanks fenlander!)
Olle Johansson [Tue, 20 Jun 2006 13:28:33 +0000 (13:28 +0000)]
parse SDP properly even when we are debugging. (Thanks fenlander!)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35094 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoIssue #6820 - SIP channels hang in semi active state
Olle Johansson [Tue, 20 Jun 2006 10:34:53 +0000 (10:34 +0000)]
Issue #6820 - SIP channels hang in semi active state
- Block fix from 1.2
- Implement part of that fix that was not already implemented, but in a different way

basically, don't cancel destruction when we receive re-transmits.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35059 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agofix an issue with dtmf not being sent sometimes
North Antara [Tue, 20 Jun 2006 08:09:30 +0000 (08:09 +0000)]
fix an issue with dtmf not being sent sometimes

slightly modify handling of digits

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35032 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoensure menuselect fails if the deps file isn't found
Russell Bryant [Tue, 20 Jun 2006 04:04:57 +0000 (04:04 +0000)]
ensure menuselect fails if the deps file isn't found

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35006 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago- use $(CC) instead of gcc when building testexpr2
Russell Bryant [Tue, 20 Jun 2006 01:06:50 +0000 (01:06 +0000)]
- use $(CC) instead of gcc when building testexpr2
- modify ast_expr2.fl and ast_expr2.y to not try to register the file version
  in a STANDALONE build
- add config.status as a dependency on testexpr2 to ensure configure is
  executed before building it
- add include/asterisk/buildopts.h as a dependency for testexpr2 as well
- add -Iinclude to the gcc commands for building the testexpr2 objects so that
  it can find the local asterisk headers

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34980 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago- Formatting
Olle Johansson [Mon, 19 Jun 2006 21:09:24 +0000 (21:09 +0000)]
- Formatting
- Create larger buffer for managing long auth headers from clients (adviced by SNOM)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34951 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 34911 via svnmerge from
Joshua Colp [Mon, 19 Jun 2006 20:29:08 +0000 (20:29 +0000)]
Merged revisions 34911 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34911 | file | 2006-06-19 17:27:44 -0300 (Mon, 19 Jun 2006) | 2 lines

Call reset_user_pw upon changing the password using externpass (issue #7395 reported by Ryan Cumming)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34912 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 34875 via svnmerge from
Tilghman Lesher [Mon, 19 Jun 2006 18:11:04 +0000 (18:11 +0000)]
Merged revisions 34875 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34875 | tilghman | 2006-06-19 13:07:26 -0500 (Mon, 19 Jun 2006) | 2 lines

Issue 7357 - txt file left behind when going to operator.  Also, fix a possible file descriptor leak.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34876 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agovarious cleanups, remove support for CVS checkouts
Kevin P. Fleming [Mon, 19 Jun 2006 15:17:32 +0000 (15:17 +0000)]
various cleanups, remove support for CVS checkouts

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34844 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agocopy the definition of ast_strdupa and use it instead of strdupa to fix the
Russell Bryant [Mon, 19 Jun 2006 14:24:35 +0000 (14:24 +0000)]
copy the definition of ast_strdupa and use it instead of strdupa to fix the
build on systems that don't have it, such as mac

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34818 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agowhen we get a disconnect, we should stop the tones on te side..
Christian Richter [Mon, 19 Jun 2006 09:44:04 +0000 (09:44 +0000)]
when we get a disconnect, we should stop the tones on te side..

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34788 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agowe need to send DISCONNECT on Timeout in the ALERTING/PROCEEDING cases too
Christian Richter [Mon, 19 Jun 2006 07:36:18 +0000 (07:36 +0000)]
we need to send DISCONNECT on Timeout in the ALERTING/PROCEEDING cases too

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34762 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agodon't blow up in the sub Makefiles if menuselect.makeopts is not present. This
Russell Bryant [Mon, 19 Jun 2006 00:14:16 +0000 (00:14 +0000)]
don't blow up in the sub Makefiles if menuselect.makeopts is not present. This
is valid in some cases, such as "make clean".

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34738 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoNo need to have debug enabled by default anymore..
North Antara [Sun, 18 Jun 2006 23:18:34 +0000 (23:18 +0000)]
No need to have debug enabled by default anymore..

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34717 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoFinally merge chan_skinny fixes into trunk.
North Antara [Sun, 18 Jun 2006 22:36:39 +0000 (22:36 +0000)]
Finally merge chan_skinny fixes into trunk.

ready...set...GO!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34696 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agohandle ast_calloc failure and tweak some formatting to comply with coding
Russell Bryant [Sun, 18 Jun 2006 21:45:48 +0000 (21:45 +0000)]
handle ast_calloc failure and tweak some formatting to comply with coding
guidelines (issue #7341, casper)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34667 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agomerge changes from team/murf/AEL-trunk-fixesonly
Russell Bryant [Sun, 18 Jun 2006 21:36:24 +0000 (21:36 +0000)]
merge changes from team/murf/AEL-trunk-fixesonly
 - fix callerid matching for extensions
 - fix nested switch statements
 - fix compilation with bison 2.1a or higher
(issue #7309)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34665 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agofix a polish voicemail bug with saying dates (issue #7389, supczinskib)
Russell Bryant [Sun, 18 Jun 2006 21:26:48 +0000 (21:26 +0000)]
fix a polish voicemail bug with saying dates (issue #7389, supczinskib)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34664 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agobail if ast_calloc fails, this was done before but i accidently removed it when
Russell Bryant [Sun, 18 Jun 2006 21:24:35 +0000 (21:24 +0000)]
bail if ast_calloc fails, this was done before but i accidently removed it when
moving these allocations so duplicate error messages were not produced
(issue #7345)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34663 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlocked revisions 34655 via svnmerge
Russell Bryant [Sun, 18 Jun 2006 21:05:40 +0000 (21:05 +0000)]
Blocked revisions 34655 via svnmerge

........
r34655 | russell | 2006-06-18 17:03:58 -0400 (Sun, 18 Jun 2006) | 3 lines

don't set state to BUSY if the channel is already in the UP state
(issue #7376, backported from trunk)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34662 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agofix various coding guidelines issues (issue #7345, with additional changes)
Russell Bryant [Sun, 18 Jun 2006 20:51:14 +0000 (20:51 +0000)]
fix various coding guidelines issues (issue #7345, with additional changes)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34631 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agouse the CFLAGS from the main Makefile when building libdb1
Russell Bryant [Sun, 18 Jun 2006 20:41:32 +0000 (20:41 +0000)]
use the CFLAGS from the main Makefile when building libdb1
(issue #7324, with mods)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34630 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agothere is no reason to build and link stdtime/libtime.a because we already
Russell Bryant [Sun, 18 Jun 2006 20:33:53 +0000 (20:33 +0000)]
there is no reason to build and link stdtime/libtime.a because we already
directly include stdtime/localtime.o in the OBJS for asterisk, which is the
only object file for libtime

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34629 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 34627 via svnmerge from
Russell Bryant [Sun, 18 Jun 2006 20:18:41 +0000 (20:18 +0000)]
Merged revisions 34627 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34627 | russell | 2006-06-18 16:15:15 -0400 (Sun, 18 Jun 2006) | 5 lines

don't store multiple secrets delimited with semicolons for peers because this
is only valid for users. Instead, only keep the last specified secret for a
peer entry. Also, document how multiple secrets are handled in the sample
config. (Reported by PCadach on #asterisk-bugs)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34628 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoadded TONE_HANGUP, also added Tone generation by mISDN_dsp for post hangup tones...
Christian Richter [Sun, 18 Jun 2006 19:09:32 +0000 (19:09 +0000)]
added TONE_HANGUP, also added Tone generation by mISDN_dsp for post hangup tones, therefore the TONE_X defines are in the isdn_lib.h now. changed a REALEASE to a DISCONNECT in NT Stack, to make tones available in that state.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34604 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agocommit russell's menuselect/buildoptions work with some changes:
Kevin P. Fleming [Sun, 18 Jun 2006 12:52:08 +0000 (12:52 +0000)]
commit russell's menuselect/buildoptions work with some changes:
  reverted per-directory .cleancount support
  added ability for 'remove_on_change' to support multiple filenames
  add 'remove_on_change' support to members, not just categories
  only do 'remove_on_change' removals if the config is actually saved
  add a 'remove_on_change' entry for each module found by prep_moduledeps so that if it gets turned off any existing .o/.so files will disappear

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34577 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago* fixed bchannel cleaning race condition with new bchannel state (CLEAN_REQUEST)
Christian Richter [Sat, 17 Jun 2006 10:37:35 +0000 (10:37 +0000)]
* fixed bchannel cleaning race condition with new bchannel state (CLEAN_REQUEST)
* added early bridge-hook, so we know if we need to generate ringing or
  can take it from the far end chan_misdn channel (if available)
* fixed the issue, that we may not activate the bchannel on PTMP,
  when we receive ALERTING/PROCEEDING/PROGRESS, only on CONNECT. There might
  be other PTMP devices and we might disturb their bchannel.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34552 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoremove IMAP_STORAGE from the build options list for app_voicemail since it's
Russell Bryant [Fri, 16 Jun 2006 17:53:26 +0000 (17:53 +0000)]
remove IMAP_STORAGE from the build options list for app_voicemail since it's
not in trunk yet

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34523 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoremove prototypes for static functions and fix some potential memory leaks
Russell Bryant [Fri, 16 Jun 2006 16:58:51 +0000 (16:58 +0000)]
remove prototypes for static functions and fix some potential memory leaks

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34498 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoremove "depend" from the "all" targets in sub Makefiles. The main Makefile
Russell Bryant [Fri, 16 Jun 2006 16:54:00 +0000 (16:54 +0000)]
remove "depend" from the "all" targets in sub Makefiles.  The main Makefile
already calls "make depend" for each of the subdirectories

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34497 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoFix adsi target in main Makefile and check a variable properly (issue #7369 reported...
Joshua Colp [Fri, 16 Jun 2006 16:45:52 +0000 (16:45 +0000)]
Fix adsi target in main Makefile and check a variable properly (issue #7369 reported by casper)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34496 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoHandle failure of ast_calloc when allocating interfaces in res_smdi (issue #7344...
Joshua Colp [Fri, 16 Jun 2006 16:30:42 +0000 (16:30 +0000)]
Handle failure of ast_calloc when allocating interfaces in res_smdi (issue #7344 reported by casper)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34495 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoAdd bulgarian indications (issue #7314 reported by KNK)
Joshua Colp [Fri, 16 Jun 2006 16:23:13 +0000 (16:23 +0000)]
Add bulgarian indications (issue #7314 reported by KNK)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34494 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoadd support for setting the CFLAGS for voicemail storage options in menuselect
Russell Bryant [Fri, 16 Jun 2006 16:17:43 +0000 (16:17 +0000)]
add support for setting the CFLAGS for voicemail storage options in menuselect

Thanks to kpfleming for the Makefile magic :)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34492 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoUpdate the RADIUS CDR module documentation (issue #7377 reported by phsultan)
Joshua Colp [Fri, 16 Jun 2006 16:16:21 +0000 (16:16 +0000)]
Update the RADIUS CDR module documentation (issue #7377 reported by phsultan)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34491 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago Fixed per kpfleming's suggestion to asterisk-dev.
BJ Weschke [Fri, 16 Jun 2006 12:56:03 +0000 (12:56 +0000)]
 Fixed per kpfleming's suggestion to asterisk-dev.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34464 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago Quit early and print a LOG_WARNING if we are trying to check devicestate on a Local...
BJ Weschke [Fri, 16 Jun 2006 12:55:18 +0000 (12:55 +0000)]
 Quit early and print a LOG_WARNING if we are trying to check devicestate on a Local channel that's been improperly defined.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34463 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago Make sure agent_tech is unregistered within unload_module(). It's in 1.2, but was...
BJ Weschke [Fri, 16 Jun 2006 12:24:14 +0000 (12:24 +0000)]
 Make sure agent_tech is unregistered within unload_module(). It's in 1.2, but was lost at some point in /trunk. #7374 (jstorm)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34461 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago Don't ast_request a channel structure twice when a call is being forwarded. (#7362...
BJ Weschke [Fri, 16 Jun 2006 12:18:18 +0000 (12:18 +0000)]
 Don't ast_request a channel structure twice when a call is being forwarded. (#7362 - twlison / vechers confirming fix)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34458 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoDon't force a busy state that will break channel signalling if the channel
Olle Johansson [Fri, 16 Jun 2006 06:25:26 +0000 (06:25 +0000)]
Don't force a busy state that will break channel signalling if the channel
already is up. (Reported by Steve Davies in e-mail, waiting for 1.2 approval)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34433 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 34400 via svnmerge from
Joshua Colp [Fri, 16 Jun 2006 03:38:24 +0000 (03:38 +0000)]
Merged revisions 34400 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34400 | file | 2006-06-16 00:37:05 -0300 (Fri, 16 Jun 2006) | 2 lines

Zero out a declared structure so as to not crash if it contains invalid data (reported by Qwell on #asterisk-dev)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34401 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agobuild menuselect objects with -Wall and remove an unused variable
Russell Bryant [Fri, 16 Jun 2006 00:14:46 +0000 (00:14 +0000)]
build menuselect objects with -Wall and remove an unused variable

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34374 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoremove prototypes for private functions and make functions and variables not
Russell Bryant [Thu, 15 Jun 2006 23:40:55 +0000 (23:40 +0000)]
remove prototypes for private functions and make functions and variables not
used outside of this file static

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34348 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlock patch for 1.2 already fixed in trunk, but in another way
Olle Johansson [Thu, 15 Jun 2006 14:14:23 +0000 (14:14 +0000)]
Block patch for 1.2 already fixed in trunk, but in another way

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34307 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 34274 via svnmerge from
Kevin P. Fleming [Thu, 15 Jun 2006 13:35:04 +0000 (13:35 +0000)]
Merged revisions 34274 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34274 | kpfleming | 2006-06-15 08:30:22 -0500 (Thu, 15 Jun 2006) | 3 lines

don't use prefixed structure names for internal structures
don't use a plural structure name for a singular object

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34275 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoHoppsan!
Olle Johansson [Thu, 15 Jun 2006 13:00:55 +0000 (13:00 +0000)]
Hoppsan!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34247 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 34242 via svnmerge from
Tilghman Lesher [Thu, 15 Jun 2006 12:41:24 +0000 (12:41 +0000)]
Merged revisions 34242 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34242 | tilghman | 2006-06-15 07:40:10 -0500 (Thu, 15 Jun 2006) | 3 lines

VoicemailMain exits on any key, when the language is set to Italian, instead of
properly handling the key (issue 7353).

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34243 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoast_calloc() already reports OOM conditions
Tilghman Lesher [Thu, 15 Jun 2006 12:30:45 +0000 (12:30 +0000)]
ast_calloc() already reports OOM conditions

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34241 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoast_calloc already reports out of memory conditions (issue 7343)
Tilghman Lesher [Thu, 15 Jun 2006 12:26:50 +0000 (12:26 +0000)]
ast_calloc already reports out of memory conditions (issue 7343)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34240 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago- Do not require a space at the end of the m= string in a T38 re-invite
Olle Johansson [Thu, 15 Jun 2006 06:35:55 +0000 (06:35 +0000)]
- Do not require a space at the end of the m= string in a T38 re-invite
  Bug reported in the t38 issue report, but by mistake ignored before commit.
  Thanks to everyone informing me about this, and Corydon for helping me sort
  out sscanf :-)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34217 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agouse the proper named constants for checking device state, and don't treat UNKNOWN...
Kevin P. Fleming [Wed, 14 Jun 2006 23:24:26 +0000 (23:24 +0000)]
use the proper named constants for checking device state, and don't treat UNKNOWN as not available in autofill mode

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34194 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agovarious coding style cleanup and minor fixes
Kevin P. Fleming [Wed, 14 Jun 2006 23:20:08 +0000 (23:20 +0000)]
various coding style cleanup and minor fixes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34193 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agomake Local channel return sensible device state values
Kevin P. Fleming [Wed, 14 Jun 2006 22:39:19 +0000 (22:39 +0000)]
make Local channel return sensible device state values

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34162 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 34159-34160 via svnmerge from
Kevin P. Fleming [Wed, 14 Jun 2006 22:35:49 +0000 (22:35 +0000)]
Merged revisions 34159-34160 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34159 | kpfleming | 2006-06-14 17:17:37 -0500 (Wed, 14 Jun 2006) | 2 lines

use existing dial string parser for strings supplied to iax2_devicestate, because they can be complete dial strings, not just device names

........
r34160 | kpfleming | 2006-06-14 17:22:21 -0500 (Wed, 14 Jun 2006) | 2 lines

coding style cleanups on queue interface handling code that was committed for the last release

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34161 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoAdd some debug logging
Olle Johansson [Wed, 14 Jun 2006 15:15:29 +0000 (15:15 +0000)]
Add some debug logging

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34126 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago- Use our standard of doxygen comments, not javadoc style
Olle Johansson [Wed, 14 Jun 2006 14:46:19 +0000 (14:46 +0000)]
- Use our standard of doxygen comments, not javadoc style
- small reformatting changes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34093 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 34087 via svnmerge from
Kevin P. Fleming [Wed, 14 Jun 2006 14:12:56 +0000 (14:12 +0000)]
Merged revisions 34087 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34087 | kpfleming | 2006-06-14 09:07:53 -0500 (Wed, 14 Jun 2006) | 2 lines

clarify file headers that mention disclaimer usage

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34090 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoFormatting fixes
Olle Johansson [Wed, 14 Jun 2006 11:40:31 +0000 (11:40 +0000)]
Formatting fixes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34065 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoadd Grandstream to credits too
Kevin P. Fleming [Wed, 14 Jun 2006 04:03:45 +0000 (04:03 +0000)]
add Grandstream to credits too

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34043 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agomake the compiler's life easier. Thanks Kevin :)
Russell Bryant [Wed, 14 Jun 2006 03:19:47 +0000 (03:19 +0000)]
make the compiler's life easier.  Thanks Kevin :)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34022 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoindicate which options are just binary and don't really need a full integer
Russell Bryant [Wed, 14 Jun 2006 03:00:15 +0000 (03:00 +0000)]
indicate which options are just binary and don't really need a full integer

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33997 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agouse the proper test for compiler atomics
Kevin P. Fleming [Wed, 14 Jun 2006 02:23:29 +0000 (02:23 +0000)]
use the proper test for compiler atomics

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33995 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 33993 via svnmerge from
Kevin P. Fleming [Wed, 14 Jun 2006 02:21:47 +0000 (02:21 +0000)]
Merged revisions 33993 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33993 | kpfleming | 2006-06-13 21:20:22 -0500 (Tue, 13 Jun 2006) | 2 lines

don't output 'no format found' when we _did_ find the format but couldn't open the desired file for some other reason

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33994 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoAllowed proper tx/rx signal exclusivity for simplex repeater modes
Jim Dixon [Tue, 13 Jun 2006 23:46:41 +0000 (23:46 +0000)]
Allowed proper tx/rx signal exclusivity for simplex repeater modes
on 2 wire interfaces

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33973 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agouse atomic operations provided by the compiler if they are available (yay for gcc...
Kevin P. Fleming [Tue, 13 Jun 2006 21:35:29 +0000 (21:35 +0000)]
use atomic operations provided by the compiler if they are available (yay for gcc 4.1 users!)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33953 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agouse a compiler builtin (which uses processor instructions) for this operation
Kevin P. Fleming [Tue, 13 Jun 2006 20:59:15 +0000 (20:59 +0000)]
use a compiler builtin (which uses processor instructions) for this operation

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33933 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoI am the king of typos....
Matt O'Gorman [Tue, 13 Jun 2006 19:58:39 +0000 (19:58 +0000)]
I am the king of typos....

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33913 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoAllow AST_FRAME_MODEM frames to be dumped, and document T.38 passthrough support
Joshua Colp [Tue, 13 Jun 2006 19:38:41 +0000 (19:38 +0000)]
Allow AST_FRAME_MODEM frames to be dumped, and document T.38 passthrough support

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33912 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoadded thanks to voipsupply and steve underwood
Matt O'Gorman [Tue, 13 Jun 2006 19:22:34 +0000 (19:22 +0000)]
added thanks to voipsupply and steve underwood

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33911 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoadds support for t38 pass through patch brought up to trunk from
Matt O'Gorman [Tue, 13 Jun 2006 18:35:53 +0000 (18:35 +0000)]
adds support for t38 pass through patch brought up to trunk from
bug 5090 by josh colp.  Thanks to everyone who help get this patch through
especially to the author Steven Underwood.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33890 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agominor fix
Kevin P. Fleming [Tue, 13 Jun 2006 15:11:29 +0000 (15:11 +0000)]
minor fix

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33869 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 33841 via svnmerge from
Kevin P. Fleming [Tue, 13 Jun 2006 13:40:58 +0000 (13:40 +0000)]
Merged revisions 33841 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33841 | kpfleming | 2006-06-13 08:30:06 -0500 (Tue, 13 Jun 2006) | 2 lines

memory allocation optimizations

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33842 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 33813 via svnmerge from
Russell Bryant [Tue, 13 Jun 2006 12:41:37 +0000 (12:41 +0000)]
Merged revisions 33813 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33813 | russell | 2006-06-13 08:40:40 -0400 (Tue, 13 Jun 2006) | 2 lines

remove duplicate mutex_unlock

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33814 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agodestroy the loaded say.conf on module unload
Russell Bryant [Tue, 13 Jun 2006 04:40:15 +0000 (04:40 +0000)]
destroy the loaded say.conf on module unload

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33786 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agofix a place where code returns without unlocking the vm users list and various
Russell Bryant [Tue, 13 Jun 2006 04:37:36 +0000 (04:37 +0000)]
fix a place where code returns without unlocking the vm users list and various
places where code returns without destroying loaded configuration

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33785 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlocked revisions 33783 via svnmerge
Russell Bryant [Tue, 13 Jun 2006 04:32:45 +0000 (04:32 +0000)]
Blocked revisions 33783 via svnmerge

........
r33783 | russell | 2006-06-13 00:31:19 -0400 (Tue, 13 Jun 2006) | 3 lines

fix various places where the code returns without unlocking vmlock or
destroying loaded configuration

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33784 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 33781 via svnmerge from
Russell Bryant [Tue, 13 Jun 2006 04:21:10 +0000 (04:21 +0000)]
Merged revisions 33781 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33781 | russell | 2006-06-13 00:20:10 -0400 (Tue, 13 Jun 2006) | 3 lines

add a missing close of an open fd, destroy of open config, and removal of the
calling channel from the localusers list

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33782 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 33753 via svnmerge from
Russell Bryant [Tue, 13 Jun 2006 03:56:09 +0000 (03:56 +0000)]
Merged revisions 33753 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33753 | russell | 2006-06-12 23:55:11 -0400 (Mon, 12 Jun 2006) | 5 lines

revert a change that caused more problems than it fixed and fix the real
problem in this code.  fds was declared as an array of zero size which caused
some weird problems, some of which would only be seen when compiling without
optimizations.  (fixes issues #7071, #7326, and #7305)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33754 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 33724 via svnmerge from
Joshua Colp [Mon, 12 Jun 2006 21:37:29 +0000 (21:37 +0000)]
Merged revisions 33724 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33724 | file | 2006-06-12 18:34:38 -0300 (Mon, 12 Jun 2006) | 2 lines

Greatly simply the mixmonitor thread, and move channel reference directly to spy structure so that the core can modify it.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33725 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoonly set the QOS variables if the pvt has an owner so that they are not
Russell Bryant [Mon, 12 Jun 2006 21:01:48 +0000 (21:01 +0000)]
only set the QOS variables if the pvt has an owner so that they are not
created as global variables.  (The fact that these were getting created on
my system probably means that these are in the wrong place so oej, you may
want to look at this again.)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33706 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 33693 via svnmerge from
Russell Bryant [Mon, 12 Jun 2006 20:40:56 +0000 (20:40 +0000)]
Merged revisions 33693 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33693 | russell | 2006-06-12 16:40:11 -0400 (Mon, 12 Jun 2006) | 2 lines

fix a place where a frame would be free'd twice

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33694 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoupdate aclocal.m4 as generated by a newer version of aclocal
Russell Bryant [Mon, 12 Jun 2006 20:36:46 +0000 (20:36 +0000)]
update aclocal.m4 as generated by a newer version of aclocal

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33692 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agobootstrap to include latest configure script change
Kevin P. Fleming [Mon, 12 Jun 2006 20:33:01 +0000 (20:33 +0000)]
bootstrap to include latest configure script change

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33691 65c4cc65-6c06-0410-ace0-fbb531ad65f3