asterisk/asterisk.git
14 years agoMerged revisions 35669 via svnmerge from
BJ Weschke [Fri, 23 Jun 2006 11:33:02 +0000 (11:33 +0000)]
Merged revisions 35669 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r35669 | bweschke | 2006-06-23 06:30:17 -0500 (Fri, 23 Jun 2006) | 3 lines

 We should lock the queue before we go making changes to member interface statuses.

........

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

14 years agoremove any generated doxygen docs during distclean
Kevin P. Fleming [Fri, 23 Jun 2006 08:32:19 +0000 (08:32 +0000)]
remove any generated doxygen docs during distclean

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

14 years agovery minor improvement
Kevin P. Fleming [Fri, 23 Jun 2006 08:15:48 +0000 (08:15 +0000)]
very minor improvement

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

14 years agoremove the autom4te.cache dir on a "make distclean" and add distclean to the
Russell Bryant [Fri, 23 Jun 2006 02:15:35 +0000 (02:15 +0000)]
remove the autom4te.cache dir on a "make distclean" and add distclean to the
.PHONY list

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

14 years agoreduce indentation
Russell Bryant [Fri, 23 Jun 2006 02:08:10 +0000 (02:08 +0000)]
reduce indentation

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

14 years agoreduce indentation
Russell Bryant [Fri, 23 Jun 2006 02:03:21 +0000 (02:03 +0000)]
reduce indentation

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

14 years agodelete snmp/agent.o on make clean
Russell Bryant [Fri, 23 Jun 2006 01:54:07 +0000 (01:54 +0000)]
delete snmp/agent.o on make clean

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

14 years agoadd basic autoconf support for res_snmp
Russell Bryant [Fri, 23 Jun 2006 01:50:55 +0000 (01:50 +0000)]
add basic autoconf support for res_snmp

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

14 years agoremove various commands that remove old modules since they have been there a
Russell Bryant [Fri, 23 Jun 2006 01:29:41 +0000 (01:29 +0000)]
remove various commands that remove old modules since they have been there a
sufficient amount of time.  Even if they happen to be still present, the main
Makefile will spit out a huge warning telling the user that modules not
installed by that run of "make install" are present in the modules directory.

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

14 years agodelete the local copy of mxml and use svn:externals to get it from its own
Russell Bryant [Fri, 23 Jun 2006 00:24:12 +0000 (00:24 +0000)]
delete the local copy of mxml and use svn:externals to get it from its own
repo since it is going to be used it more than one place now

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

14 years agodon't blow up if a jitterbuffer is not in use
Russell Bryant [Thu, 22 Jun 2006 17:49:28 +0000 (17:49 +0000)]
don't blow up if a jitterbuffer is not in use

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

14 years ago- move the increase of the use count to be after the possible failures
Russell Bryant [Thu, 22 Jun 2006 17:10:16 +0000 (17:10 +0000)]
- move the increase of the use count to be after the possible failures
- if the pbx fails to start, set the owner channel of the pvt strucutre
  to be NULL
- return immediately if the pbx fails to start so the loop to set all of
  the variables from the "setvar" options aren't set as a bunch of global
  variables instead

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

14 years ago- dynamically allocate the ast_jb structure that is on the channel structure
Russell Bryant [Thu, 22 Jun 2006 17:05:17 +0000 (17:05 +0000)]
- dynamically allocate the ast_jb structure that is on the channel structure
  so that channels not using a jitterbuffer don't waste as much memory
- ensure that the channel drivers that use jitterbuffers can handle a failure
  from configuring a jitterbuffer on a new channel because of a memory
  allocation error
- On passing through these channel drivers, configure the jitterbuffer before
  starting the PBX thread instead of afterwards. If the pbx fails to start for
  whatever reason, this would have caused a crash.
- Also on passing, move the increase of the usecount to after all of the
  possible failure conditions in the function
- fix a place where ast_update_use_count() was not called
- ensure that the owner channel pointer of the channel pvt strcutures is set to
  NULL in failure conditions

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

14 years agoactually allow all of the sub directories to be built when running "make", oops
Russell Bryant [Thu, 22 Jun 2006 16:26:09 +0000 (16:26 +0000)]
actually allow all of the sub directories to be built when running "make", oops

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

14 years agouse .PHONY instead of FORCE
Russell Bryant [Thu, 22 Jun 2006 15:55:13 +0000 (15:55 +0000)]
use .PHONY instead of FORCE

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

14 years agoadd a couple more targets to .PHONY
Russell Bryant [Thu, 22 Jun 2006 15:45:32 +0000 (15:45 +0000)]
add a couple more targets to .PHONY

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

14 years agoBug 6589 - option to display channel variables in queue events
Tilghman Lesher [Thu, 22 Jun 2006 15:43:02 +0000 (15:43 +0000)]
Bug 6589 - option to display channel variables in queue events

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

14 years ago- convert the 'uninstall' target to use separate targets to process each
Russell Bryant [Thu, 22 Jun 2006 15:38:13 +0000 (15:38 +0000)]
- convert the 'uninstall' target to use separate targets to process each
  subdirectory instead of a for loop
- remove the FORCE target from the main Makefile and add the couple places
  I used it to the .PHONY target.  .PHONY does the same thing and is a built-in
  more efficient way of doing it.
- add a bunch more targets to .PHONY ...

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

14 years agoFormatting fixes
Olle Johansson [Thu, 22 Jun 2006 15:34:20 +0000 (15:34 +0000)]
Formatting fixes

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

14 years ago- specify that 'depend' is a .PHONY target
Russell Bryant [Thu, 22 Jun 2006 15:08:08 +0000 (15:08 +0000)]
- specify that 'depend' is a .PHONY target
- use separate targets instead of a for loop for doing 'make depend' for
  each sub directory

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

14 years agouse separate targets instead of for loops to process sub directories for the
Russell Bryant [Thu, 22 Jun 2006 14:31:52 +0000 (14:31 +0000)]
use separate targets instead of for loops to process sub directories for the
'clean' and 'clean-depend' targets

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

14 years agoget rid of another annoying stray space in the gcc commands
Russell Bryant [Thu, 22 Jun 2006 14:16:41 +0000 (14:16 +0000)]
get rid of another annoying stray space in the gcc commands

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

14 years ago- specify that 'all' is a .PHONY target
Russell Bryant [Thu, 22 Jun 2006 14:09:18 +0000 (14:09 +0000)]
- specify that 'all' is a .PHONY target
- add a copyright header to the build_tools Makefile
- remove 'depend' from the 'all' target in agi/ and utils/ since it is handled
  by the main Makefile already

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

14 years agoclean up a little mess I created by using the 'or' function instead of gross
Russell Bryant [Thu, 22 Jun 2006 13:22:07 +0000 (13:22 +0000)]
clean up a little mess I created by using the 'or' function instead of gross
nested if statements

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

14 years agorevert my change to use the AC_PREFIX_DEFAULT macro since it is not something
Russell Bryant [Thu, 22 Jun 2006 12:55:49 +0000 (12:55 +0000)]
revert my change to use the AC_PREFIX_DEFAULT macro since it is not something
that is expanded inline, so it didn't do what I wanted it to. The --help output
will be wrong again, but that's better than completely breaking it. :)
(Thanks to jcollie for catching this!)

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

14 years agouse a slightly different, but equivalent way of setting the
Russell Bryant [Thu, 22 Jun 2006 12:48:25 +0000 (12:48 +0000)]
use a slightly different, but equivalent way of setting the
SUBDIRS_INSTALL variable

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

14 years agoinstead of using a for loop to call 'make install' on each subdirectory, use
Russell Bryant [Thu, 22 Jun 2006 12:33:50 +0000 (12:33 +0000)]
instead of using a for loop to call 'make install' on each subdirectory, use
separate targets

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

14 years agoinstead of using a for loop to call make on each subdirectory, use a target for
Russell Bryant [Thu, 22 Jun 2006 12:14:29 +0000 (12:14 +0000)]
instead of using a for loop to call make on each subdirectory, use a target for
each subdirectory.
 - the shell code in the for loop doesn't have a manually catch errors from
   make on a subdirectory
 - you can now run something like "make apps" or "make channels" from the root
   source directory
 - This should allow for better support for parallel instances of make (the -j
   option) since make can work on each subdirectory target in parallel

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

14 years agonothing to see here ...
Russell Bryant [Thu, 22 Jun 2006 11:39:25 +0000 (11:39 +0000)]
nothing to see here ...

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

14 years agoadd the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targets
Russell Bryant [Thu, 22 Jun 2006 11:27:03 +0000 (11:27 +0000)]
add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targets
since they are targets that do not have resulting files and are never listed
as prerequisites to real targets.  Using .PHONY in this manner improves make
performance by never having to check for resulting files.

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

14 years agouse $(FIND) and $(LN) from configure
Russell Bryant [Thu, 22 Jun 2006 10:38:45 +0000 (10:38 +0000)]
use $(FIND) and $(LN) from configure

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

14 years agouse $(BASENAME) set by configure
Russell Bryant [Thu, 22 Jun 2006 10:36:45 +0000 (10:36 +0000)]
use $(BASENAME) set by configure

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

14 years agouse the AC_PREFIX_DEFAULT macro to set the default prefix instead of setting
Russell Bryant [Thu, 22 Jun 2006 10:30:51 +0000 (10:30 +0000)]
use the AC_PREFIX_DEFAULT macro to set the default prefix instead of setting
the variable directly, so that the configure --help information shows the
correct default prefix

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

14 years agoAdd agent to video docs
Olle Johansson [Wed, 21 Jun 2006 20:14:25 +0000 (20:14 +0000)]
Add agent to video docs

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

14 years agoAdd video support to chan_agent.
Olle Johansson [Wed, 21 Jun 2006 20:11:09 +0000 (20:11 +0000)]
Add video support to chan_agent.

More ideas for developing better video support in Asterisk?

Join the asterisk-video mailing list to help out in the
Asterisk Video Task Force!

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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