asterisk/asterisk.git
14 years agoAdd the ability to retrieve the exit code of the forked AGI process. If there
Russell Bryant [Thu, 25 May 2006 18:31:19 +0000 (18:31 +0000)]
Add the ability to retrieve the exit code of the forked AGI process.  If there
is an error executing the AGI script, or the AGI script itself returns a
non-zero value, the AGISTATUS variable will now be set to FAILURE instead of
SUCCESS.

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

14 years agoAdd Archive option to call files and add documentation on them. (issue #5426 reported...
Joshua Colp [Thu, 25 May 2006 17:58:55 +0000 (17:58 +0000)]
Add Archive option to call files and add documentation on them. (issue #5426 reported by ezio - props to blitzrage for proof reading the documentation)

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

14 years agoMerged revisions 30296 via svnmerge from
Kevin P. Fleming [Thu, 25 May 2006 17:39:46 +0000 (17:39 +0000)]
Merged revisions 30296 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r30296 | kpfleming | 2006-05-25 12:39:33 -0500 (Thu, 25 May 2006) | 2 lines

don't try to use -march=s390 when building on S/390 systems (reported via asterisk-users mailing list)

........

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

14 years agoMerged revisions 30293 via svnmerge from
Kevin P. Fleming [Thu, 25 May 2006 17:22:26 +0000 (17:22 +0000)]
Merged revisions 30293 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r30293 | kpfleming | 2006-05-25 12:18:01 -0500 (Thu, 25 May 2006) | 2 lines

allow SIPCHANINFO(peername) to work for calls from users as well (issue #7215)

........

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

14 years ago- add support for setting an AGISTATUS variable that indicates successful
Russell Bryant [Thu, 25 May 2006 16:44:22 +0000 (16:44 +0000)]
- add support for setting an AGISTATUS variable that indicates successful
  execution, failure, or if the channel requested hangup.
- only return -1 from the application if the application requested hangup. If
  there was just a failure in execution of the AGI, just set the status
  variable appropriately and move on in the dialplan.
(issue #7121, original patch by Alessandro Polverini, updated patch by srt,
 committed patch is heavily modified to allow still returning -1 on hangup)

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

14 years agoSafely traverse the thread lists and wait until each thread is done before moving...
Joshua Colp [Thu, 25 May 2006 16:14:17 +0000 (16:14 +0000)]
Safely traverse the thread lists and wait until each thread is done before moving on to the next.

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

14 years agoOnly get the low 16 bits if we actually have a message count
Joshua Colp [Thu, 25 May 2006 15:42:11 +0000 (15:42 +0000)]
Only get the low 16 bits if we actually have a message count

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

14 years agoadd DB_DELETE function for the common case of retrieving and deleting a key in
Russell Bryant [Thu, 25 May 2006 15:40:38 +0000 (15:40 +0000)]
add DB_DELETE function for the common case of retrieving and deleting a key in
a single operation (issue #7214, twilson)

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

14 years agoMerged revisions 30239 via svnmerge from
Joshua Colp [Thu, 25 May 2006 15:29:30 +0000 (15:29 +0000)]
Merged revisions 30239 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r30239 | file | 2006-05-25 12:27:44 -0300 (Thu, 25 May 2006) | 2 lines

Get rid of an incorrect SIP dial string in the sample extensions.conf - I even tried variations... no go (issue #7222 reported by arkadia)

........

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

14 years ago Properly initialize destination variables before we send them into pbx_substitute_va...
BJ Weschke [Thu, 25 May 2006 14:32:15 +0000 (14:32 +0000)]
 Properly initialize destination variables before we send them into pbx_substitute_variables_helper(..). Ya! Testing! Take 2.

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

14 years ago Making sure a char ptr is initialized before we strchr on it is a GOOD thing. Ya...
BJ Weschke [Thu, 25 May 2006 13:51:44 +0000 (13:51 +0000)]
 Making sure a char ptr is initialized before we strchr on it is a GOOD thing. Ya! Testing!

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

14 years ago Doxygen comment for Qwell
BJ Weschke [Thu, 25 May 2006 01:40:20 +0000 (01:40 +0000)]
 Doxygen comment for Qwell

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

14 years ago Make sure we catch all the instances where a member didn't answer the call sent...
BJ Weschke [Thu, 25 May 2006 00:11:30 +0000 (00:11 +0000)]
 Make sure we catch all the instances where a member didn't answer the call sent to them rather than just on a timeout after a dial attempt and some minor code cleanup/reuse.

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

14 years agoadded EVENT_NEW_CHANNEL. We change the channel name now when we got the real channel...
Christian Richter [Wed, 24 May 2006 23:21:03 +0000 (23:21 +0000)]
added EVENT_NEW_CHANNEL. We change the channel name now when we got the real channel, also changed name generation to new stringfield api

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

14 years agoNothing to see here... move along
Joshua Colp [Wed, 24 May 2006 23:08:39 +0000 (23:08 +0000)]
Nothing to see here... move along

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

14 years agoUpdate some documentation (file internal brain bug #42)
Joshua Colp [Wed, 24 May 2006 22:00:37 +0000 (22:00 +0000)]
Update some documentation (file internal brain bug #42)

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

14 years agoblock chan_sip fix that is not broken here :-)
Kevin P. Fleming [Wed, 24 May 2006 21:25:46 +0000 (21:25 +0000)]
block chan_sip fix that is not broken here :-)

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

14 years agodon't send CANCEL for an INVITE that we haven't received a provisional response for...
Kevin P. Fleming [Wed, 24 May 2006 20:37:45 +0000 (20:37 +0000)]
don't send CANCEL for an INVITE that we haven't received a provisional response for yet... mark it pending until a response arrives (issue #7079)

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

14 years agoMerged revisions 30037 via svnmerge from
Matt O'Gorman [Wed, 24 May 2006 20:07:02 +0000 (20:07 +0000)]
Merged revisions 30037 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2

........
r30037 | mogorman | 2006-05-24 14:55:21 -0500 (Wed, 24 May 2006) | 3 lines

app_meemte used the ast_max_exten instead of path_max
solves bug 6822

........

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

14 years agoMerge branch for bug 6264 (Privacy option 2 returns dial-status ANSWER / option_prior...
Joshua Colp [Wed, 24 May 2006 20:00:10 +0000 (20:00 +0000)]
Merge branch for bug 6264 (Privacy option 2 returns dial-status ANSWER / option_priority_jumping not respected) (reported by jkoopmann and branch by murf)

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

14 years agoreset timeout on reconnect.
Matt O'Gorman [Wed, 24 May 2006 19:59:04 +0000 (19:59 +0000)]
reset timeout on reconnect.

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

14 years agoTypo
Olle Johansson [Wed, 24 May 2006 19:58:36 +0000 (19:58 +0000)]
Typo

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

14 years agoBlocked revisions 30035 via svnmerge
Joshua Colp [Wed, 24 May 2006 19:46:14 +0000 (19:46 +0000)]
Blocked revisions 30035 via svnmerge

........
r30035 | file | 2006-05-24 16:44:26 -0300 (Wed, 24 May 2006) | 2 lines

Merge branch for bug 6264 (Privacy option 2 returns dial-status ANSWER / option_priority_jumping not respected) (reported by jkoopmann and branch by murf

........

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

14 years agoMerged revisions 30033 via svnmerge from
Joshua Colp [Wed, 24 May 2006 19:16:07 +0000 (19:16 +0000)]
Merged revisions 30033 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r30033 | file | 2006-05-24 16:14:01 -0300 (Wed, 24 May 2006) | 2 lines

Fix deadlock caused by a race condition in the logger when reloading (issue #7195 reported and fixed by softins)

........

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

14 years agodon't force the compiler name
Kevin P. Fleming [Wed, 24 May 2006 18:18:14 +0000 (18:18 +0000)]
don't force the compiler name

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

14 years agoTypo fix. Thanks Peter!
Olle Johansson [Wed, 24 May 2006 18:17:50 +0000 (18:17 +0000)]
Typo fix. Thanks Peter!

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

14 years agoMerged revisions 29973 via svnmerge from
Kevin P. Fleming [Wed, 24 May 2006 17:02:54 +0000 (17:02 +0000)]
Merged revisions 29973 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29973 | kpfleming | 2006-05-24 11:59:20 -0500 (Wed, 24 May 2006) | 2 lines

support video recording via AGI 'RECORD FILE' command (issue #7068)

........

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

14 years agoMerged revisions 29971 via svnmerge from
Kevin P. Fleming [Wed, 24 May 2006 16:54:10 +0000 (16:54 +0000)]
Merged revisions 29971 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29971 | kpfleming | 2006-05-24 11:52:08 -0500 (Wed, 24 May 2006) | 2 lines

fix various bugs related to exiting from queue via keypress and moh handling (issue #6776, different fix)

........

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

14 years agoMerged revisions 29969 via svnmerge from
Kevin P. Fleming [Wed, 24 May 2006 16:19:57 +0000 (16:19 +0000)]
Merged revisions 29969 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29969 | kpfleming | 2006-05-24 11:17:26 -0500 (Wed, 24 May 2006) | 2 lines

respect 'usecallingpres' in zapata.conf even if CLID has not been set for the channel (issue #7123)

........

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

14 years agofixed to early connect bug which came in yesterday.., also added the transmit of...
Christian Richter [Wed, 24 May 2006 07:58:52 +0000 (07:58 +0000)]
fixed to early connect bug which came in yesterday.., also added the transmit of progress indicators through channel vars

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

14 years agoAdded incoming audio notch filtering, plus a bunch of command improvements, etc.
Jim Dixon [Wed, 24 May 2006 07:01:02 +0000 (07:01 +0000)]
Added incoming audio notch filtering, plus a bunch of command improvements, etc.

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

14 years agoblock SIP obscurity fix from merging... trunk version was different
Kevin P. Fleming [Wed, 24 May 2006 03:32:55 +0000 (03:32 +0000)]
block SIP obscurity fix from merging... trunk version was different

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

14 years agoadd a new option for 'obscuring' SIP user/peer names from fishers
Kevin P. Fleming [Wed, 24 May 2006 03:28:49 +0000 (03:28 +0000)]
add a new option for 'obscuring' SIP user/peer names from fishers
use an enum for authentication results and clean up code
fix a bug where SUBSCRIBE for an unknown user/peer would not generate a response

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

14 years agofurther codec module optimization based on codec_alaw changes by rizzo
Russell Bryant [Tue, 23 May 2006 22:57:03 +0000 (22:57 +0000)]
further codec module optimization based on codec_alaw changes by rizzo
(issue #7190, Mithraen)

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

14 years agoMerged revisions 29849 via svnmerge from
Russell Bryant [Tue, 23 May 2006 21:46:26 +0000 (21:46 +0000)]
Merged revisions 29849 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29849 | russell | 2006-05-23 17:44:52 -0400 (Tue, 23 May 2006) | 2 lines

fix the sourceaddress option (issue #7213, alphaque)

........

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

14 years agoget rid of that transport sillyness
Matt O'Gorman [Tue, 23 May 2006 21:28:14 +0000 (21:28 +0000)]
get rid of that transport sillyness

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

14 years agohmm still need a way to get rid of connections
Matt O'Gorman [Tue, 23 May 2006 21:18:07 +0000 (21:18 +0000)]
hmm still need a way to get rid of connections
later on.

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

14 years agoBump up the echo tail length option
Matthew Fredrickson [Tue, 23 May 2006 21:10:55 +0000 (21:10 +0000)]
Bump up the echo tail length option

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

14 years agofixes bug where server goes away.
Matt O'Gorman [Tue, 23 May 2006 20:25:23 +0000 (20:25 +0000)]
fixes bug where server goes away.

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

14 years agoadded a l1watcher timeout, therefore removed the old behaviour of guessing the l1state.
Christian Richter [Tue, 23 May 2006 19:40:16 +0000 (19:40 +0000)]
added a l1watcher timeout, therefore removed the old behaviour of guessing the l1state.

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

14 years agoallows for configurable answer timeout on attended transfer
Matt O'Gorman [Tue, 23 May 2006 18:23:05 +0000 (18:23 +0000)]
allows for configurable answer timeout on attended transfer
patch 0006763 with minor changes.

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

14 years agoMerged revisions 29764 via svnmerge from
Kevin P. Fleming [Tue, 23 May 2006 18:17:40 +0000 (18:17 +0000)]
Merged revisions 29764 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29764 | kpfleming | 2006-05-23 13:16:40 -0500 (Tue, 23 May 2006) | 2 lines

simplify/fix lock retry, and fix comment

........

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

14 years ago Sanity check code for an extended failure in trying to obtain a channel lock that...
BJ Weschke [Tue, 23 May 2006 17:31:05 +0000 (17:31 +0000)]
 Sanity check code for an extended failure in trying to obtain a channel lock that may have been obtained elsewhere. Prevents the monitor thread of the SIP module from going into an infinite loop, effectively, breaking SIP until you restart Asterisk or the mutex is unlocked, whichever comes first.

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

14 years ago What's good for 1.2 isn't good for /trunk. Fix for /trunk coming next...
BJ Weschke [Tue, 23 May 2006 17:21:02 +0000 (17:21 +0000)]
 What's good for 1.2 isn't good for /trunk. Fix for /trunk coming next...

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

14 years agoon a clean, we have to clean out the ael directory too
Russell Bryant [Tue, 23 May 2006 17:09:51 +0000 (17:09 +0000)]
on a clean, we have to clean out the ael directory too

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

14 years agorestore AST_LIST_HEAD_INIT (with no users in the tree right now)
Kevin P. Fleming [Tue, 23 May 2006 17:04:07 +0000 (17:04 +0000)]
restore AST_LIST_HEAD_INIT (with no users in the tree right now)
update ast_mutex_init to allow mutexes that are all zero bytes to be initialized (in the case of a dynamically-allocated structure containing a mutex)

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

14 years agofinish cleaning up some more stuff before russell
Matt O'Gorman [Tue, 23 May 2006 16:43:58 +0000 (16:43 +0000)]
finish cleaning up some more stuff before russell
gets a chance to.

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

14 years agoremove another excess "debug" message
Russell Bryant [Tue, 23 May 2006 16:37:46 +0000 (16:37 +0000)]
remove another excess "debug" message

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

14 years agoMerged revisions 29696 via svnmerge from
BJ Weschke [Tue, 23 May 2006 16:37:40 +0000 (16:37 +0000)]
Merged revisions 29696 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29696 | bweschke | 2006-05-23 11:58:24 -0400 (Tue, 23 May 2006) | 3 lines

 Fix a potential leak and correct (hopefully) a segfault under certain conditions. #6784 (vovan and perry testing)

........

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

14 years ago app_meetme Muting and Manager API enhancements #6731 (softins w/some minor mods...
BJ Weschke [Tue, 23 May 2006 16:35:46 +0000 (16:35 +0000)]
  app_meetme Muting and Manager API enhancements #6731 (softins w/some minor mods to accomodate recent enum work)

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

14 years agoremove an unnecessary error message that is really an old debug message
Russell Bryant [Tue, 23 May 2006 16:33:04 +0000 (16:33 +0000)]
remove an unnecessary error message that is really an old debug message

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

14 years agoupdate chan_jingle to reflect the recent change to the indicate prototype
Russell Bryant [Tue, 23 May 2006 16:25:37 +0000 (16:25 +0000)]
update chan_jingle to reflect the recent change to the indicate prototype

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

14 years agoBreaking once will stop us... :-)
Olle Johansson [Tue, 23 May 2006 12:39:48 +0000 (12:39 +0000)]
Breaking once will stop us... :-)

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

14 years ago* export_ies uses now _VAR else the vars are not copied to the dest chan
Christian Richter [Tue, 23 May 2006 12:38:06 +0000 (12:38 +0000)]
* export_ies uses now _VAR else the vars are not copied to the dest chan
* when receiving a connect from the NT Side we wait until we have the final
  l3id until we queue the answer to asterisk to avoid bridging conflicts
* when not bridged to misdn we had a segfault after receiving the connect
  due to a strcasecmp bug.. this didn't happen before, cause we hadn't had
  the bridge before
* cleanup of the bchannels is queued now, due to possible race conditions
* added mISDN_clear_stack when cleaning the bchannel

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

14 years agoCode formatting
Olle Johansson [Tue, 23 May 2006 12:14:35 +0000 (12:14 +0000)]
Code formatting

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

14 years agoFormatting, typos
Olle Johansson [Tue, 23 May 2006 11:15:57 +0000 (11:15 +0000)]
Formatting, typos

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

14 years agoHandle ringing (early) state properly on SIP
Mark Spencer [Tue, 23 May 2006 04:49:31 +0000 (04:49 +0000)]
Handle ringing (early) state properly on SIP

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

14 years agopatch from bug 0007204 to make bug 5750 follow standard
Matt O'Gorman [Mon, 22 May 2006 22:51:56 +0000 (22:51 +0000)]
patch from bug 0007204 to make bug 5750 follow standard
manager naming convention.

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

14 years agoremove properties from the xmpp merge
Kevin P. Fleming [Mon, 22 May 2006 22:02:38 +0000 (22:02 +0000)]
remove properties from the xmpp merge

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

14 years agoMerged revisions 29555 via svnmerge from
Joshua Colp [Mon, 22 May 2006 21:28:32 +0000 (21:28 +0000)]
Merged revisions 29555 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29555 | file | 2006-05-22 18:27:12 -0300 (Mon, 22 May 2006) | 2 lines

Increase the silence threshold to 128 to "fix" it, so I'm told. (issue #6595 reported by davetroy fixed by casper)

........

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

14 years agobootstrap updates to include xmpp related stuff
Kevin P. Fleming [Mon, 22 May 2006 21:20:01 +0000 (21:20 +0000)]
bootstrap updates to include xmpp related stuff

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

14 years agoasterisk-xmpp merge in
Matt O'Gorman [Mon, 22 May 2006 21:12:30 +0000 (21:12 +0000)]
asterisk-xmpp merge in

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

14 years agoMerged revisions 29512 via svnmerge from
Joshua Colp [Mon, 22 May 2006 20:19:00 +0000 (20:19 +0000)]
Merged revisions 29512 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29512 | file | 2006-05-22 17:15:04 -0300 (Mon, 22 May 2006) | 2 lines

Use the correct language when playing the transfer sound (issue #7109 reported by casper)

........

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

14 years ago This is part 2/2 of the patches for #7090. Adds one-step call parking to /trunk...
BJ Weschke [Mon, 22 May 2006 16:43:43 +0000 (16:43 +0000)]
 This is part 2/2 of the patches for #7090. Adds one-step call parking to /trunk via builtin functions and 'k' 'K' application options added to app_dial. This also resolves #6340.

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

14 years agoMerged revisions 29464 via svnmerge from
Joshua Colp [Mon, 22 May 2006 16:36:13 +0000 (16:36 +0000)]
Merged revisions 29464 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29464 | file | 2006-05-22 13:33:03 -0300 (Mon, 22 May 2006) | 2 lines

Preserve presentation bit when going through chan_local (issue #7002 reported by acunningham)

........

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

14 years agoadd DEBUG_CHANNEL_LOCKS to menuselect
Russell Bryant [Mon, 22 May 2006 16:34:45 +0000 (16:34 +0000)]
add DEBUG_CHANNEL_LOCKS to menuselect

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

14 years agoAdd PICKUPMARK support to app_directed_pickup (issue #7104 reported by thaeger)
Joshua Colp [Mon, 22 May 2006 16:08:23 +0000 (16:08 +0000)]
Add PICKUPMARK support to app_directed_pickup (issue #7104 reported by thaeger)

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

14 years agodon't stop recording until hangup (no terminator) (issue #7168 reported by julien23)
Joshua Colp [Mon, 22 May 2006 15:48:22 +0000 (15:48 +0000)]
don't stop recording until hangup (no terminator) (issue #7168 reported by julien23)

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

14 years ago Add UniqueID to the leave manager event.
BJ Weschke [Mon, 22 May 2006 15:28:28 +0000 (15:28 +0000)]
 Add UniqueID to the leave manager event.

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

14 years agoadded callcounters for incoming and outgoing calls
Christian Richter [Mon, 22 May 2006 15:02:03 +0000 (15:02 +0000)]
added callcounters for incoming and outgoing calls

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

14 years agoMerged revisions 29398 via svnmerge from
Tilghman Lesher [Mon, 22 May 2006 15:01:36 +0000 (15:01 +0000)]
Merged revisions 29398 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29398 | tilghman | 2006-05-22 09:59:59 -0500 (Mon, 22 May 2006) | 2 lines

Bug 7194 - spelling fix

........

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

14 years agoBlocked revisions 29394 via svnmerge
Tilghman Lesher [Mon, 22 May 2006 14:39:10 +0000 (14:39 +0000)]
Blocked revisions 29394 via svnmerge

........
r29394 | tilghman | 2006-05-22 09:34:34 -0500 (Mon, 22 May 2006) | 2 lines

Bug 7196 - month range did not work

........

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

14 years agoEscaping commas within fields isn't always desireable.
Tilghman Lesher [Mon, 22 May 2006 03:40:31 +0000 (03:40 +0000)]
Escaping commas within fields isn't always desireable.

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

14 years agoremove code duplication generating some ast_verbose messages .
Luigi Rizzo [Mon, 22 May 2006 03:16:38 +0000 (03:16 +0000)]
remove code duplication generating some ast_verbose messages .

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

14 years agouse functional form of time()
Luigi Rizzo [Mon, 22 May 2006 02:51:04 +0000 (02:51 +0000)]
use functional form of time()

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

14 years agouse the functional form of time(), and mark XXX a couple of places
Luigi Rizzo [Mon, 22 May 2006 02:43:24 +0000 (02:43 +0000)]
use the functional form of time(), and mark XXX a couple of places
with dubious assignments.

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

14 years agomore constifications
Luigi Rizzo [Mon, 22 May 2006 02:31:58 +0000 (02:31 +0000)]
more constifications

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

14 years agovarious constification of function arguments to prevent erroneous
Luigi Rizzo [Mon, 22 May 2006 02:27:33 +0000 (02:27 +0000)]
various constification of function arguments to prevent erroneous
usage and to ease understanding of the function themselves.

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

14 years agothe msg argument of the various transmi_response*() functions is const.
Luigi Rizzo [Mon, 22 May 2006 02:22:39 +0000 (02:22 +0000)]
the msg argument of the various transmi_response*() functions is const.

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

14 years agomark const the 'header' argument of gettag
Luigi Rizzo [Mon, 22 May 2006 02:19:14 +0000 (02:19 +0000)]
mark const the 'header' argument of gettag

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

14 years agomark const the source of copy_request
Luigi Rizzo [Mon, 22 May 2006 02:17:52 +0000 (02:17 +0000)]
mark const the source of copy_request

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

14 years agofix indentation to make a table more readable
Luigi Rizzo [Mon, 22 May 2006 02:16:04 +0000 (02:16 +0000)]
fix indentation to make a table more readable

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

14 years agosimplify register_peer_exten() removing some duplicated code.
Luigi Rizzo [Mon, 22 May 2006 02:02:57 +0000 (02:02 +0000)]
simplify register_peer_exten() removing some duplicated code.

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

14 years agouse strsep() to trim away ;xxx from SIP messages.
Luigi Rizzo [Mon, 22 May 2006 01:27:52 +0000 (01:27 +0000)]
use strsep() to trim away ;xxx from SIP messages.
Note that in a couple of places the code overwrites the string
in the buffer - mark the two places with XXX but do not fix the
bug yet.

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

14 years agouse a more compact method to trim the trailing ;... from SIP lines.
Luigi Rizzo [Mon, 22 May 2006 01:08:41 +0000 (01:08 +0000)]
use a more compact method to trim the trailing ;... from SIP lines.
These are just the first two instances, there are many more to replace.

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

14 years agoannotate const parameters of copy_header()
Luigi Rizzo [Mon, 22 May 2006 00:46:04 +0000 (00:46 +0000)]
annotate const parameters of copy_header()

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

14 years agosrc is const in parse_copy()
Luigi Rizzo [Mon, 22 May 2006 00:32:36 +0000 (00:32 +0000)]
src is const in parse_copy()

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

14 years agominor logic simplification in get_sip_pvt_byid_locked()
Luigi Rizzo [Mon, 22 May 2006 00:29:12 +0000 (00:29 +0000)]
minor logic simplification in get_sip_pvt_byid_locked()

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

14 years agosimplify logic in function create_addr()
Luigi Rizzo [Mon, 22 May 2006 00:17:46 +0000 (00:17 +0000)]
simplify logic in function create_addr()

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

14 years agosimplify logic in realtime_peer(), removing an unnecessary
Luigi Rizzo [Mon, 22 May 2006 00:07:48 +0000 (00:07 +0000)]
simplify logic in realtime_peer(), removing an unnecessary
initialization, an extra variable (newpeername) and a
variable newpeername, and an 'else' branch.

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

14 years agostrcmp() is the right function to use here, not strncmp().
Luigi Rizzo [Sun, 21 May 2006 23:54:28 +0000 (23:54 +0000)]
strcmp() is the right function to use here, not strncmp().
On passing simplify an ast_cli message nearby.

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

14 years agoMerged revisions 29196 via svnmerge from
BJ Weschke [Sun, 21 May 2006 15:25:31 +0000 (15:25 +0000)]
Merged revisions 29196 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29196 | bweschke | 2006-05-21 10:16:59 -0500 (Sun, 21 May 2006) | 3 lines

 When an application that is executed via applicationmap and exits non-zero, make sure that we pass through the correct return value from the application to make sure a segfault doesn't occur by a bridge trying to continue when it should not. Also, when executing applications via applicationmap, make sure that the application is executed against the channel whose DTMF caused it to be fired off in the first place. (part 1/2 of #7090 - this is the only fix that will be applied to both 1.2 and /trunk) acunningham and blitzrage on testing...

........

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

14 years agoput a bunch of defines in enums, and convert comments to doxygen format
Russell Bryant [Sun, 21 May 2006 15:13:19 +0000 (15:13 +0000)]
put a bunch of defines in enums, and convert comments to doxygen format

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

14 years agoremove a CLI command that has been marked deprecated since before Asterisk 1.0
Russell Bryant [Sun, 21 May 2006 14:06:37 +0000 (14:06 +0000)]
remove a CLI command that has been marked deprecated since before Asterisk 1.0

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

14 years agoremove an unused variable, and while at it
Luigi Rizzo [Sun, 21 May 2006 09:56:38 +0000 (09:56 +0000)]
remove an unused variable, and while at it
add some very minor optimizations.

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

14 years agoremove unused variable
Russell Bryant [Sat, 20 May 2006 22:37:18 +0000 (22:37 +0000)]
remove unused variable

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

14 years agoAdd support for logging CDR recrods to a radius server (issue #6639, phsultan)
Russell Bryant [Sat, 20 May 2006 22:30:05 +0000 (22:30 +0000)]
Add support for logging CDR recrods to a radius server (issue #6639, phsultan)
 - with contributions from miconda, jcollie, and sb
 - branch maintained by oej
Thanks everyone!

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

14 years agofix the possibility of writing one byte past the end of a buffer.
Russell Bryant [Sat, 20 May 2006 19:54:14 +0000 (19:54 +0000)]
fix the possibility of writing one byte past the end of a buffer.
(issue #7189, Mithraen)

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

14 years agoadd some code optimizations, see the report for an explanation
Russell Bryant [Sat, 20 May 2006 13:37:11 +0000 (13:37 +0000)]
add some code optimizations, see the report for an explanation
(issue #7105, Mithraen)

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

14 years ago- add a UserEvent action that allows a manager client to "broadcast" an event
Russell Bryant [Sat, 20 May 2006 13:29:22 +0000 (13:29 +0000)]
- add a UserEvent action that allows a manager client to "broadcast" an event
  to all connected manager clients
- update the UserEvent application to use the application argument parsing
  macros and to allow headers to be specified as pipe delimeted arguments
  (issue #5324, original patch by outtolunc, committed patch by Corydon)

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