asterisk/asterisk.git
13 years agoIn addition to making it so attended transfers don't fail unnecessarily,
Russell Bryant [Tue, 1 May 2007 22:24:51 +0000 (22:24 +0000)]
In addition to making it so attended transfers don't fail unnecessarily,
add some new options to control what happens when you hangup on an attended
transfer before the target extension answers the transferred channel.  You
can now have it send the transferee back to the transferer.
(issue #8413, patch from sergee with very minor modifications by me)

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

13 years agoMerged revisions 62548 via svnmerge from
Russell Bryant [Tue, 1 May 2007 21:57:58 +0000 (21:57 +0000)]
Merged revisions 62548 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r62548 | russell | 2007-05-01 16:57:10 -0500 (Tue, 01 May 2007) | 12 lines

Merged revisions 62547 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62547 | russell | 2007-05-01 16:55:19 -0500 (Tue, 01 May 2007) | 4 lines

Remove an unnecessary check that makes it so if you hang up after doing an
attended transfer before the target extension answers the channel, the transfer
is not successful.  (issue #9338, patch by svanlund)

........

................

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

13 years agoMerged revisions 62545 via svnmerge from
Tilghman Lesher [Tue, 1 May 2007 21:41:48 +0000 (21:41 +0000)]
Merged revisions 62545 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62545 | tilghman | 2007-05-01 16:34:43 -0500 (Tue, 01 May 2007) | 2 lines

Bug 9590 - Memory leaks around find_user() (found by rayjay, different fixes by me)

........

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

13 years agoMerged revisions 62497 via svnmerge from
Russell Bryant [Tue, 1 May 2007 16:27:14 +0000 (16:27 +0000)]
Merged revisions 62497 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r62497 | russell | 2007-05-01 11:26:48 -0500 (Tue, 01 May 2007) | 11 lines

Merged revisions 62496 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62496 | russell | 2007-05-01 11:26:23 -0500 (Tue, 01 May 2007) | 3 lines

Add indications.conf information for the Philippines.
(issue #9525, reported and patched by loloski)

........

................

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

13 years agoAdd a note to CHANGES about the new support for 802.1p. Thanks IgorG!
Russell Bryant [Mon, 30 Apr 2007 21:54:13 +0000 (21:54 +0000)]
Add a note to CHANGES about the new support for 802.1p.  Thanks IgorG!

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

13 years agoThis patch adds additional information to the EXITWITHKEY and EXITWITHTIMEOUT
Russell Bryant [Mon, 30 Apr 2007 16:46:49 +0000 (16:46 +0000)]
This patch adds additional information to the EXITWITHKEY and EXITWITHTIMEOUT
entries in the queue log.
(issue #7561, reported and originally patched by fkasumovic, patch slightly
 modified and updated to trunk by me)

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

13 years agoAdd support for setting the CoS for VLAN traffic (802.1p) in Linux. The
Russell Bryant [Mon, 30 Apr 2007 16:16:26 +0000 (16:16 +0000)]
Add support for setting the CoS for VLAN traffic (802.1p) in Linux.  The
file doc/qos.tex has been updated to document the new functionality.
(issue #9540, patch submitted by IgorG)

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

13 years agoMerged revisions 62419 via svnmerge from
Russell Bryant [Mon, 30 Apr 2007 15:59:27 +0000 (15:59 +0000)]
Merged revisions 62419 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r62419 | russell | 2007-04-30 10:58:28 -0500 (Mon, 30 Apr 2007) | 12 lines

Merged revisions 62417 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62417 | russell | 2007-04-30 10:57:26 -0500 (Mon, 30 Apr 2007) | 4 lines

This patch fixes an issue where depending on the cause code, when the network
sends a PRI disconnect, the call may not be properly hung up.
(issue #9588, reported and patched by softins)

........

................

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

13 years agoDon't crash when invalid arguments are provided to the CHANNEL() function
Russell Bryant [Mon, 30 Apr 2007 15:37:23 +0000 (15:37 +0000)]
Don't crash when invalid arguments are provided to the CHANNEL() function
for a SIP channel.
(issue #9619, reported by jtodd, original patch by Corydon76, committed patch
 slightly modified by me)

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

13 years agoMerged revisions 62414 via svnmerge from
Russell Bryant [Mon, 30 Apr 2007 15:30:02 +0000 (15:30 +0000)]
Merged revisions 62414 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62414 | russell | 2007-04-30 10:25:31 -0500 (Mon, 30 Apr 2007) | 4 lines

When serving dynamic content, include a Cache-Control header to instruct the
browsers to not store the resulting content.
(issue #9621, reported by Pari, patch by me)

........

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

13 years agoMerged revisions 62371 via svnmerge from
Jason Parker [Mon, 30 Apr 2007 14:56:43 +0000 (14:56 +0000)]
Merged revisions 62371 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62371 | qwell | 2007-04-30 09:52:31 -0500 (Mon, 30 Apr 2007) | 2 lines

Remove unused (and potentially confusing) jitterbuffer options from sample config.

........

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

13 years agoMerged revisions 62369 via svnmerge from
Joshua Colp [Mon, 30 Apr 2007 14:37:47 +0000 (14:37 +0000)]
Merged revisions 62369 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r62369 | file | 2007-04-30 11:36:11 -0300 (Mon, 30 Apr 2007) | 10 lines

Merged revisions 62368 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62368 | file | 2007-04-30 11:34:07 -0300 (Mon, 30 Apr 2007) | 2 lines

Update copyright notice. It's now the year 2007!

........

................

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

13 years agoMerged revisions 62331 via svnmerge from
Russell Bryant [Sun, 29 Apr 2007 05:51:18 +0000 (05:51 +0000)]
Merged revisions 62331 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62331 | russell | 2007-04-29 00:50:37 -0500 (Sun, 29 Apr 2007) | 3 lines

Fix a bug that made the "language" setting in zapata.conf not
functional.  (issue #9626, reported and fixed by sergee)

........

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

13 years agoBlocked revisions 62299 via svnmerge
Russell Bryant [Sat, 28 Apr 2007 21:56:46 +0000 (21:56 +0000)]
Blocked revisions 62299 via svnmerge

........
r62299 | russell | 2007-04-28 16:56:20 -0500 (Sat, 28 Apr 2007) | 2 lines

Note that the "talker optimization" option will be enabled by default in 1.6

........

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

13 years agonote MeetMe change in CHANGES
Russell Bryant [Sat, 28 Apr 2007 21:55:00 +0000 (21:55 +0000)]
note MeetMe change in CHANGES

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

13 years agoEnable the functionality of the 'o' option to "optimize talker" by default.
Russell Bryant [Sat, 28 Apr 2007 21:54:44 +0000 (21:54 +0000)]
Enable the functionality of the 'o' option to "optimize talker" by default.

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

13 years agoReformat some of iax2.h and convert comments to doxygen format
Russell Bryant [Sat, 28 Apr 2007 21:26:00 +0000 (21:26 +0000)]
Reformat some of iax2.h and convert comments to doxygen format

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

13 years agoMerge changes from team/russell/events
Russell Bryant [Sat, 28 Apr 2007 21:01:44 +0000 (21:01 +0000)]
Merge changes from team/russell/events

This set of changes introduces a new generic event API for use within Asterisk.
I am still working on a way for events to be shared between servers, but this
part is ready and can already be used inside of Asterisk.

This set of changes introduces the first use of the API, as well.  I have
restructured the way that MWI (message waiting indication) is handled.  It is
now event based instead of polling based.  For example, if there are a bunch
of SIP phones subscribed to mailboxes, then chan_sip will not have to
constantly poll the mailboxes for changes.  app_voicemail will generate events
when changes occur.

See UPGRADE.txt and CHANGES for some more information on the effects of these
changes from the user perspective.  For developer information, see the text in
include/asterisk/event.h.

As always, additional feedback is welcome on the asterisk-dev mailing list.

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

13 years agoUpdate the DUNDi section of the documentation with example usage of DUNDIQUERY
Russell Bryant [Sat, 28 Apr 2007 19:53:12 +0000 (19:53 +0000)]
Update the DUNDi section of the documentation with example usage of DUNDIQUERY
and DUNDIRESULT.  Also, update the automatically generated application docs.

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

13 years agoMerge changes from team/russell/dundi_results
Russell Bryant [Sat, 28 Apr 2007 19:52:37 +0000 (19:52 +0000)]
Merge changes from team/russell/dundi_results

This introduces two new dialplan functions: DUNDIQUERY and DUNDIRESULT.
DUNDIQUERY lets you intitiate a DUNDi query from the dialplan.  Then,
DUNDIRESULT will let you find out how many results there are, and access each
one without having to the query again.

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

13 years agoRemove a message that goes to LOG_ERROR that's not really an error.
Russell Bryant [Sat, 28 Apr 2007 19:23:46 +0000 (19:23 +0000)]
Remove a message that goes to LOG_ERROR that's not really an error.

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

13 years agoAdd a min-announce-frequency option to queues.conf which allows you to control the
Russell Bryant [Fri, 27 Apr 2007 22:08:54 +0000 (22:08 +0000)]
Add a min-announce-frequency option to queues.conf which allows you to control the
minimum amount of time between queue announcements for use when the caller's queue
position changes frequently.
(issue #9604, patch by Matthew Roth)

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

13 years agoMerged revisions 62218 via svnmerge from
Russell Bryant [Fri, 27 Apr 2007 21:11:46 +0000 (21:11 +0000)]
Merged revisions 62218 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62218 | russell | 2007-04-27 16:10:51 -0500 (Fri, 27 Apr 2007) | 11 lines

Fix a weird problem where when a caller talking to someone sitting behind an
agent channel sent a digit, the digit would be played to the agent for forever.
This is because chan_agent always returned -1 from its send_digit_begin and _end
callbacks.  This non-zero return value indicates to the Asterisk core that it
would like an inband DTMF generator put on the channel.  However, this is the
wrong thing to do.  It should *always* return 0, instead.  When the digit begin
and end functions are called on the proxied channel, the underlying channel
will indicate whether inband DTMF is needed or not, and the generator will be
put on that one, and not the Agent channel.
(issue #9615, #9616, reported by jiddings and BigJimmy, and fixed by me)

........

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

13 years agoMerged revisions 62174 via svnmerge from
Jason Parker [Fri, 27 Apr 2007 16:18:51 +0000 (16:18 +0000)]
Merged revisions 62174 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r62174 | qwell | 2007-04-27 11:17:46 -0500 (Fri, 27 Apr 2007) | 11 lines

Merged revisions 62173 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62173 | qwell | 2007-04-27 11:16:16 -0500 (Fri, 27 Apr 2007) | 3 lines

This transcoder message needn't be a NOTICE.
I've seen it cause confusion more than a few times.

........

................

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

13 years agoMerged revisions 62171 via svnmerge from
Russell Bryant [Fri, 27 Apr 2007 16:15:47 +0000 (16:15 +0000)]
Merged revisions 62171 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62171 | russell | 2007-04-27 11:14:11 -0500 (Fri, 27 Apr 2007) | 6 lines

If no variables were passed into pbx_substitute_variables_helper_full(), then
don't even bother creating a temporary bogus channel, since that is only for
allowing certain functions to operate on the variables as if they were on a
channel.  Most importantly, this fixes a crash.
(issue #9613, reported by callguy, fixed by me)

........

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

13 years agoIssue #9545 Autocomplete for "sip unregister" cli command. (eliel) Thanks!
Olle Johansson [Fri, 27 Apr 2007 14:40:28 +0000 (14:40 +0000)]
Issue #9545 Autocomplete for "sip unregister" cli command. (eliel) Thanks!

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

13 years agoMerged revisions 62137 via svnmerge from
Olle Johansson [Fri, 27 Apr 2007 14:37:10 +0000 (14:37 +0000)]
Merged revisions 62137 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r62137 | oej | 2007-04-27 16:04:07 +0200 (Fri, 27 Apr 2007) | 12 lines

Merged revisions 62126 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62126 | oej | 2007-04-27 15:57:45 +0200 (Fri, 27 Apr 2007) | 4 lines

Issue #7351 - SIP Cancel fails due to the wrong contact uri. Reported by PPYY, failed to fix by OEJ
final fix by wojtekka - THANKS!!!! THis was a hard one to catch.

........

................

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

13 years agoBlocking patch to 1.4 that was alredy in trunk
Olle Johansson [Fri, 27 Apr 2007 08:22:41 +0000 (08:22 +0000)]
Blocking patch to 1.4 that was alredy in trunk

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

13 years agoMerged revisions 62038 via svnmerge from
Joshua Colp [Thu, 26 Apr 2007 16:35:14 +0000 (16:35 +0000)]
Merged revisions 62038 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r62038 | file | 2007-04-26 12:33:52 -0400 (Thu, 26 Apr 2007) | 10 lines

Merged revisions 62037 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62037 | file | 2007-04-26 12:30:57 -0400 (Thu, 26 Apr 2007) | 2 lines

Revert previous fix for when the IAX2 channel goes funky (that's the technical term). This is causing legit calls to be prematurely hung up. (issue #9600 reported by justdave)

........

................

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

13 years agoMerged revisions 62005 via svnmerge from
Russell Bryant [Thu, 26 Apr 2007 03:24:01 +0000 (03:24 +0000)]
Merged revisions 62005 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62005 | file | 2007-04-25 22:19:51 -0500 (Wed, 25 Apr 2007) | 2 lines

Missed an ast_app_group_discard during merge. Thanks blitzrage!

........

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

13 years agoMerged revisions 61961 via svnmerge from
Joshua Colp [Thu, 26 Apr 2007 01:50:02 +0000 (01:50 +0000)]
Merged revisions 61961 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61961 | file | 2007-04-25 21:48:55 -0400 (Wed, 25 Apr 2007) | 2 lines

Don't always say that the channel is being paused if it is actually being unpaused in the Manager ack message. (reported by jsmith in #asterisk-bugs)

........

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

13 years agoMerged revisions 61959 via svnmerge from
Joshua Colp [Thu, 26 Apr 2007 01:29:23 +0000 (01:29 +0000)]
Merged revisions 61959 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61959 | file | 2007-04-25 21:27:18 -0400 (Wed, 25 Apr 2007) | 10 lines

Merged revisions 61958 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61958 | file | 2007-04-25 21:25:03 -0400 (Wed, 25 Apr 2007) | 2 lines

Don't count failed include attempts against the configuration include level. (issue #9593 reported by mostyn)

........

................

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

13 years agoMerged revisions 61914 via svnmerge from
Kevin P. Fleming [Wed, 25 Apr 2007 22:34:58 +0000 (22:34 +0000)]
Merged revisions 61914 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61914 | kpfleming | 2007-04-25 17:29:53 -0500 (Wed, 25 Apr 2007) | 10 lines

Merged revisions 61913 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61913 | kpfleming | 2007-04-25 17:24:59 -0500 (Wed, 25 Apr 2007) | 2 lines

handle a very bizarre race condition with channels being redirected before a simple switch can be started on them (issue #9286)

........

................

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

13 years agoMerged revisions 61870 via svnmerge from
Russell Bryant [Wed, 25 Apr 2007 22:01:37 +0000 (22:01 +0000)]
Merged revisions 61870 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61870 | russell | 2007-04-25 16:59:07 -0500 (Wed, 25 Apr 2007) | 10 lines

Merged revisions 61866 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61866 | russell | 2007-04-25 16:55:23 -0500 (Wed, 25 Apr 2007) | 2 lines

If the callerid= option is specified, but empty, clear any previous data.

........

................

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

13 years agoMerged revisions 61863 via svnmerge from
Russell Bryant [Wed, 25 Apr 2007 21:15:19 +0000 (21:15 +0000)]
Merged revisions 61863 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61863 | russell | 2007-04-25 16:13:15 -0500 (Wed, 25 Apr 2007) | 10 lines

Merged revisions 61862 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61862 | russell | 2007-04-25 16:06:22 -0500 (Wed, 25 Apr 2007) | 2 lines

Ensure that callerid settings are reset on a reload.

........

................

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

13 years agoMerged revisions 61805 via svnmerge from
Joshua Colp [Wed, 25 Apr 2007 19:27:42 +0000 (19:27 +0000)]
Merged revisions 61805 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61805 | file | 2007-04-25 15:21:54 -0400 (Wed, 25 Apr 2007) | 10 lines

Merged revisions 61804 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61804 | file | 2007-04-25 14:52:50 -0400 (Wed, 25 Apr 2007) | 2 lines

Merge rewritten group counting support. No more storing data on the variable list of the channels. That was bad, mmmk? (issue #7497 reported by sabbathbh)

........

................

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

13 years agoMerged revisions 61799 via svnmerge from
Russell Bryant [Wed, 25 Apr 2007 16:23:00 +0000 (16:23 +0000)]
Merged revisions 61799 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61799 | russell | 2007-04-25 11:22:07 -0500 (Wed, 25 Apr 2007) | 11 lines

Merged revisions 61798 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61798 | russell | 2007-04-25 11:20:38 -0500 (Wed, 25 Apr 2007) | 3 lines

Fix a typo where cid_num got copied instead of cid_ani.
(issue #9587, reported and patched by xrg)

........

................

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

13 years agoMerged revisions 61787 via svnmerge from
Russell Bryant [Tue, 24 Apr 2007 21:37:00 +0000 (21:37 +0000)]
Merged revisions 61787 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61787 | russell | 2007-04-24 16:34:53 -0500 (Tue, 24 Apr 2007) | 12 lines

Merged revisions 61786 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61786 | russell | 2007-04-24 16:33:59 -0500 (Tue, 24 Apr 2007) | 4 lines

Don't crash if a manager connection provides a username that exists in
manager.conf but does not have a password, and also requests MD5
authentication. (ASA-2007-012)

........

................

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

13 years agoremoved #if 0 block from chan_zap restart_monitor()
Dwayne M. Hubbard [Tue, 24 Apr 2007 19:08:28 +0000 (19:08 +0000)]
removed #if 0 block from chan_zap restart_monitor()

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

13 years agoMerged revisions 61781 via svnmerge from
Russell Bryant [Tue, 24 Apr 2007 19:03:16 +0000 (19:03 +0000)]
Merged revisions 61781 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61781 | russell | 2007-04-24 14:00:06 -0500 (Tue, 24 Apr 2007) | 6 lines

Improve DTMF handling in ast_read() even more in response to a discussion on
the asterisk-dev mailing list.  I changed the enforced minimum length of a
digit from 100ms to 80ms.  Furthermore, I made it now enforce a gap of 45ms in
between digits.  These values are not configurable in a configuration file
right now, but they can be easily changed near the top of main/channel.c.

........

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

13 years agoMerged revisions 61774 via svnmerge from
Russell Bryant [Tue, 24 Apr 2007 16:17:36 +0000 (16:17 +0000)]
Merged revisions 61774 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61774 | russell | 2007-04-24 11:16:41 -0500 (Tue, 24 Apr 2007) | 5 lines

Add a few more state changes in handle_frame_ownerless() so that the SLA code
will get notified of these changes even when an owner channel is not provided.
This isn't from a specific bug report, it's just something I noticed while
poking around.

........

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

13 years agoMerged revisions 61772 via svnmerge from
Joshua Colp [Tue, 24 Apr 2007 16:10:10 +0000 (16:10 +0000)]
Merged revisions 61772 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61772 | file | 2007-04-24 12:07:02 -0400 (Tue, 24 Apr 2007) | 10 lines

Merged revisions 61771 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61771 | file | 2007-04-24 12:05:06 -0400 (Tue, 24 Apr 2007) | 2 lines

Allow RFC2833 to be sent in the response SDP when an INVITE comes in without SDP. (issue #9546 reported by mcrawford)

........

................

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

13 years agoWhen building a JSON encoded string in the GetConfigJSON manager action, escape
Russell Bryant [Mon, 23 Apr 2007 18:49:19 +0000 (18:49 +0000)]
When building a JSON encoded string in the GetConfigJSON manager action, escape
the '\' and '"' characters.  (issue #9475, reported by pari, patch by me)

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

13 years agoMerged revisions 61765 via svnmerge from
Russell Bryant [Mon, 23 Apr 2007 18:19:42 +0000 (18:19 +0000)]
Merged revisions 61765 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61765 | russell | 2007-04-23 13:17:00 -0500 (Mon, 23 Apr 2007) | 5 lines

Some dialplan functions, such as CUT(), expect to operate on variables on a
channel.  So, this little hack lets them work in places where a channel doesn't
exist, such as within DUNDi configuration.
(issue #9465, reported and patched by Corydon76, testing by blitzrage)

........

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

13 years agoMerged revisions 61763 via svnmerge from
Russell Bryant [Mon, 23 Apr 2007 17:58:15 +0000 (17:58 +0000)]
Merged revisions 61763 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61763 | russell | 2007-04-23 12:57:32 -0500 (Mon, 23 Apr 2007) | 4 lines

Ensure that digits passing through Asterisk have a reasonable minimum length.
It is currently 100 ms.  If someone thinks this should be different, feel free
to speak up.  (related to issues #8944, #9250, and #9348)

........

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

13 years agoAdd OSP support for IAX2 to the changes file. Also, slightly reorganize some
Russell Bryant [Mon, 23 Apr 2007 15:34:51 +0000 (15:34 +0000)]
Add OSP support for IAX2 to the changes file.  Also, slightly reorganize some
of the content.

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

13 years agoMerged revisions 61707 via svnmerge from
Jason Parker [Fri, 20 Apr 2007 21:37:04 +0000 (21:37 +0000)]
Merged revisions 61707 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61707 | qwell | 2007-04-20 16:35:27 -0500 (Fri, 20 Apr 2007) | 8 lines

Avoid invalid seqno cycling detection.

Per comment from Dave Troy:
 This adds back in some simple typecasting I had in an earlier version
 which I realize now may be breaking things.

Issue #9554.

........

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

13 years agoMerged revisions 61705 via svnmerge from
Jason Parker [Fri, 20 Apr 2007 21:16:14 +0000 (21:16 +0000)]
Merged revisions 61705 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61705 | qwell | 2007-04-20 16:15:29 -0500 (Fri, 20 Apr 2007) | 12 lines

Merged revisions 61704 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61704 | qwell | 2007-04-20 16:14:27 -0500 (Fri, 20 Apr 2007) | 4 lines

Fix an issue that I noticed while looking over issue 9571.

The reload timestamp was getting set after reloading the built-in stuff, and before the modules.

........

................

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

13 years agoMerge changes from team/russell/iax2_osp
Russell Bryant [Fri, 20 Apr 2007 21:12:53 +0000 (21:12 +0000)]
Merge changes from team/russell/iax2_osp

This set of changes adds OSP support to chan_iax2.  However, I have modified
the patch a bit from what was submitted.  You now use the CHANNEL() function
to get and set the OSP token for IAX2.

(issue #8531, reported by and original patch by homesick, patch updated by me)

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

13 years agoMerged revisions 61697 via svnmerge from
Russell Bryant [Fri, 20 Apr 2007 20:43:05 +0000 (20:43 +0000)]
Merged revisions 61697 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61697 | russell | 2007-04-20 15:42:02 -0500 (Fri, 20 Apr 2007) | 2 lines

Remove a stray debug message introduced by a recent commit.

........

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

13 years agoMerged revisions 61694 via svnmerge from
Jason Parker [Fri, 20 Apr 2007 19:54:54 +0000 (19:54 +0000)]
Merged revisions 61694 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61694 | qwell | 2007-04-20 14:51:49 -0500 (Fri, 20 Apr 2007) | 13 lines

Merged revisions 61692 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61692 | qwell | 2007-04-20 14:49:54 -0500 (Fri, 20 Apr 2007) | 5 lines

If the '* to hangup' option is not enabled, we don't need to disable * as a valid exit key.
  If it was enabled, this statement would've never been checked in the first place.

Issue #9552

........

................

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

13 years agoMerged revisions 61690 via svnmerge from
Russell Bryant [Fri, 20 Apr 2007 18:23:24 +0000 (18:23 +0000)]
Merged revisions 61690 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61690 | russell | 2007-04-20 13:19:18 -0500 (Fri, 20 Apr 2007) | 4 lines

Fix the UpdateConfig manager action to properly treat "variables" and "objects"
differently (a=b versus a=>b).
(issue #9568, reported by pari, patch by me)

........

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

13 years agoUse the last line in the SDP, even if it has no CRLF. Remember Jon Postel :-)
Olle Johansson [Fri, 20 Apr 2007 08:41:24 +0000 (08:41 +0000)]
Use the last line in the SDP, even if it has no CRLF. Remember Jon Postel :-)

This code exists in 1.2 and 1.4 but was removed from trunk for some unknown reason.

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

13 years agoMerged revisions 61683 via svnmerge from
Tilghman Lesher [Thu, 19 Apr 2007 04:37:29 +0000 (04:37 +0000)]
Merged revisions 61683 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61683 | tilghman | 2007-04-18 23:36:20 -0500 (Wed, 18 Apr 2007) | 2 lines

Bug 9557 - simple reason why reading a function always returned NULL

........

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

13 years agoMerged revisions 61681 via svnmerge from
Tilghman Lesher [Thu, 19 Apr 2007 02:51:21 +0000 (02:51 +0000)]
Merged revisions 61681 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61681 | tilghman | 2007-04-18 21:45:05 -0500 (Wed, 18 Apr 2007) | 13 lines

Merged revisions 61680 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61680 | tilghman | 2007-04-18 21:30:18 -0500 (Wed, 18 Apr 2007) | 5 lines

Bug 9557 - Specifying the GetVar AMI action without a Channel parameter can
cause Asterisk to crash.  The reason this needs to be fixed in the functions
instead of in AMI is because Channel can legitimately be NULL, such as when
retrieving global variables.

........

................

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

13 years agoMerged revisions 61678 via svnmerge from
Kevin P. Fleming [Wed, 18 Apr 2007 22:11:02 +0000 (22:11 +0000)]
Merged revisions 61678 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61678 | kpfleming | 2007-04-18 17:10:23 -0500 (Wed, 18 Apr 2007) | 2 lines

allow external build systems to extract the required sound file versions

........

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

13 years agoMerged revisions 61676 via svnmerge from
Olle Johansson [Wed, 18 Apr 2007 20:48:13 +0000 (20:48 +0000)]
Merged revisions 61676 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61676 | oej | 2007-04-18 22:46:23 +0200 (Wed, 18 Apr 2007) | 2 lines

Clean upp formatting, add some doxygen stuff while we're in cleaning mode... Thanks Kevin!

........

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

13 years agoMerged revisions 61674 via svnmerge from
Olle Johansson [Wed, 18 Apr 2007 20:39:31 +0000 (20:39 +0000)]
Merged revisions 61674 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61674 | oej | 2007-04-18 22:28:53 +0200 (Wed, 18 Apr 2007) | 2 lines

Issue #9554 - Improve RTCP (Dave Troy)

........

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

13 years agoMini-voicemail - an embryo for a new voicemail system based on building
Olle Johansson [Wed, 18 Apr 2007 07:57:18 +0000 (07:57 +0000)]
Mini-voicemail - an embryo for a new voicemail system based on building
blocks instead of one large monolithic app. Supports multiple templates
and is designed mostly for voicemail delivery over e-mail.

There's a todo with a list of ideas in the source code if you want
to contribute. Feedback is appreciated!

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

13 years agoDoxygen changes
Olle Johansson [Mon, 16 Apr 2007 15:40:32 +0000 (15:40 +0000)]
Doxygen changes

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

13 years agotest my new trunk access ;)
Claude Patry [Sat, 14 Apr 2007 18:22:39 +0000 (18:22 +0000)]
test my new trunk access ;)

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

13 years agoadded CLI 'sip unregister <peer>' for issue 9326. thanks eliel
Dwayne M. Hubbard [Fri, 13 Apr 2007 21:23:10 +0000 (21:23 +0000)]
added CLI 'sip unregister <peer>' for issue 9326.  thanks eliel

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

13 years agoMerged revisions 61658 via svnmerge from
Steve Murphy [Fri, 13 Apr 2007 21:22:01 +0000 (21:22 +0000)]
Merged revisions 61658 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61658 | murf | 2007-04-13 15:17:20 -0600 (Fri, 13 Apr 2007) | 1 line

This is a fix to the way CDR merge handles the data that results from ForkCDR.
........

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

13 years agoMerged revisions 61656 via svnmerge from
Joshua Colp [Fri, 13 Apr 2007 19:18:46 +0000 (19:18 +0000)]
Merged revisions 61656 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61656 | file | 2007-04-13 15:17:08 -0400 (Fri, 13 Apr 2007) | 10 lines

Merged revisions 61655 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61655 | file | 2007-04-13 15:15:12 -0400 (Fri, 13 Apr 2007) | 2 lines

Add OUTBOUND_GROUP_ONCE variable to app_dial. This behaves the same as OUTBOUND_GROUP except it will get unset after use so it won't get accidentally inherited. (issue #BE-140)

........

................

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

13 years agoMerged revisions 61651 via svnmerge from
Joshua Colp [Fri, 13 Apr 2007 18:09:29 +0000 (18:09 +0000)]
Merged revisions 61651 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61651 | file | 2007-04-13 14:08:02 -0400 (Fri, 13 Apr 2007) | 2 lines

Do not bother looking for a result if none are present.

........

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

13 years agoMerged revisions 61648 via svnmerge from
Joshua Colp [Fri, 13 Apr 2007 17:21:53 +0000 (17:21 +0000)]
Merged revisions 61648 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61648 | file | 2007-04-13 13:19:53 -0400 (Fri, 13 Apr 2007) | 2 lines

For those very verbose SIP implementations that attach tons of info to the Contact header... let's increase our variable sizes. (issue #9535 reported by jeffg)

........

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

13 years agoMerged revisions 61645 via svnmerge from
Russell Bryant [Fri, 13 Apr 2007 17:15:45 +0000 (17:15 +0000)]
Merged revisions 61645 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61645 | russell | 2007-04-13 12:10:19 -0500 (Fri, 13 Apr 2007) | 3 lines

Eliminate a compiler warning with ODBC_STORAGE enabled so that it will build
under dev-mode.

........

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

13 years agoMerged revisions 61644 via svnmerge from
Steve Murphy [Fri, 13 Apr 2007 17:11:53 +0000 (17:11 +0000)]
Merged revisions 61644 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61644 | murf | 2007-04-13 11:01:02 -0600 (Fri, 13 Apr 2007) | 1 line

A fix for chan_oss that resulted from the CDR changes; it helps to use the right info.
........

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

13 years agoMerged revisions 61641 via svnmerge from
Joshua Colp [Fri, 13 Apr 2007 16:35:33 +0000 (16:35 +0000)]
Merged revisions 61641 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61641 | file | 2007-04-13 12:32:03 -0400 (Fri, 13 Apr 2007) | 2 lines

Don't assume the callid of a dialog will be set, as in some circumstances it may not. (issue #9534 reported by tecnoxarxa)

........

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

13 years agoDon't treat a host lookup as failed if sipregs is not in use when doing a realtime...
Joshua Colp [Thu, 12 Apr 2007 19:32:00 +0000 (19:32 +0000)]
Don't treat a host lookup as failed if sipregs is not in use when doing a realtime lookup. (issue #9255 reported by sergee)

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

13 years agoclarified 'minmemfree' description in doc/asterisk-conf.tex
Dwayne M. Hubbard [Wed, 11 Apr 2007 22:19:14 +0000 (22:19 +0000)]
clarified 'minmemfree' description in doc/asterisk-conf.tex

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

13 years agofixed the '-e' command line option for minmemfree. updated doc/asterisk-conf.tex
Dwayne M. Hubbard [Wed, 11 Apr 2007 22:10:26 +0000 (22:10 +0000)]
fixed the '-e' command line option for minmemfree.  updated doc/asterisk-conf.tex

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

13 years agochanged #if HAVE_SYSINFO to #if defined(HAVE_SYSINFO)
Dwayne M. Hubbard [Wed, 11 Apr 2007 21:13:44 +0000 (21:13 +0000)]
changed #if HAVE_SYSINFO to #if defined(HAVE_SYSINFO)

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

13 years agoadded HAVE_SYSINFO preprocessor directives for portability and general happiness
Dwayne M. Hubbard [Wed, 11 Apr 2007 20:59:08 +0000 (20:59 +0000)]
added HAVE_SYSINFO preprocessor directives for portability and general happiness

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

13 years agoAdd a configure script check for sysinfo support.
Joshua Colp [Wed, 11 Apr 2007 20:21:18 +0000 (20:21 +0000)]
Add a configure script check for sysinfo support.

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

13 years agoadded option_minmemfree for use in asterisk.conf to specify the amount of minimum...
Dwayne M. Hubbard [Wed, 11 Apr 2007 19:11:32 +0000 (19:11 +0000)]
added option_minmemfree for use in asterisk.conf to specify the amount of minimum free memory prior to accepting calls.  added CLI 'core show sysinfo' to display system information

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

13 years agoOutput verbose messages to the normal logger as well. (issue #9476 reported by gdalgl...
Joshua Colp [Wed, 11 Apr 2007 17:07:17 +0000 (17:07 +0000)]
Output verbose messages to the normal logger as well. (issue #9476 reported by gdalgliesh)

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

13 years agoMerged revisions 61477 via svnmerge from
Russell Bryant [Wed, 11 Apr 2007 16:06:37 +0000 (16:06 +0000)]
Merged revisions 61477 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61477 | russell | 2007-04-11 11:05:29 -0500 (Wed, 11 Apr 2007) | 13 lines

Merged revisions 61476 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61476 | russell | 2007-04-11 11:01:25 -0500 (Wed, 11 Apr 2007) | 5 lines

If someone sets the "useragent" option in sip.conf to be empty, then don't add
the User-Agent header at all.  It is an optional header, anyway.  Also, the bug
report says that some of Japan's SIP providers don't allow it for some weird
reason.  (issue #9488, reported by makoto, fixed by me)

........

................

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

13 years agoMerged revisions 61342,61372-61373,61443 via svnmerge from
Nadi Sarrar [Wed, 11 Apr 2007 15:48:54 +0000 (15:48 +0000)]
Merged revisions 61342,61372-61373,61443 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61342 | nadi | 2007-04-11 12:52:28 +0200 (Mi, 11 Apr 2007) | 2 lines

AOCD's are now exported to asterisk channel variables.

........
r61372 | nadi | 2007-04-11 15:33:30 +0200 (Mi, 11 Apr 2007) | 2 lines

Ignore facility messages in case we don't have a corresponding channel object.

........
r61373 | nadi | 2007-04-11 15:40:26 +0200 (Mi, 11 Apr 2007) | 2 lines

Export AOCD variables on misdn_hangup.

........
r61443 | nadi | 2007-04-11 17:39:14 +0200 (Mi, 11 Apr 2007) | 2 lines

Don't export AOCD variables on misdn_hangup anymore, this was mainly a fix for trunk..

........

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

13 years agoAdd a minor loop optimization to the custom device state callback. Once the
Russell Bryant [Wed, 11 Apr 2007 15:25:43 +0000 (15:25 +0000)]
Add a minor loop optimization to the custom device state callback.  Once the
correct device is found, it should just break out of the loop ...

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

13 years agoMerged revisions 61427 via svnmerge from
Russell Bryant [Wed, 11 Apr 2007 15:13:12 +0000 (15:13 +0000)]
Merged revisions 61427 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61427 | russell | 2007-04-11 10:09:39 -0500 (Wed, 11 Apr 2007) | 14 lines

Merged revisions 61426 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61426 | russell | 2007-04-11 10:05:36 -0500 (Wed, 11 Apr 2007) | 6 lines

Fix a bug with switching between host=dynamic and using specific hosts for
peers.  The code would only reset the peer's address when it is dynamic if
it was a new peer structure.  Now, it will also reset the address if it was
already in the peer list, but before the reload, it was not dynamic.
(issue #9515, reported by caio1982, fixed by me)

........

................

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

13 years agoMerged revisions 61407 via svnmerge from
Russell Bryant [Wed, 11 Apr 2007 14:49:07 +0000 (14:49 +0000)]
Merged revisions 61407 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61407 | russell | 2007-04-11 09:48:01 -0500 (Wed, 11 Apr 2007) | 4 lines

Add "svgz" to the mimetypes table.  (issue #9510, bkruse)

In passing, constify the elements of the mimetypes table.

........

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

13 years agoMerged revisions 61377 via svnmerge from
Russell Bryant [Wed, 11 Apr 2007 14:13:08 +0000 (14:13 +0000)]
Merged revisions 61377 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61377 | russell | 2007-04-11 09:04:44 -0500 (Wed, 11 Apr 2007) | 13 lines

Merged revisions 61376 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61376 | russell | 2007-04-11 09:02:54 -0500 (Wed, 11 Apr 2007) | 5 lines

Remove the attempt at reporting configuration errors in sip.conf.  This can
cause a bunch of improper messages when using realtime.  I give up.  As oej
tried to convince me when I put this in, there is just no easy way to do it.
(inspired by a message on the -dev list)

........

................

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

13 years agovia 8119, a patch to allow voicemail data to be stored in RealTime.
Steve Murphy [Wed, 11 Apr 2007 14:09:26 +0000 (14:09 +0000)]
via 8119, a patch to allow voicemail data to be stored in RealTime.

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

13 years agoRemove duplicate prototype declaration. (issue #9517 reported by junky)
Joshua Colp [Wed, 11 Apr 2007 14:01:53 +0000 (14:01 +0000)]
Remove duplicate prototype declaration. (issue #9517 reported by junky)

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

13 years agovia 8118, a RealTime upgrade to make RT a complete storage abstraction. The store...
Steve Murphy [Wed, 11 Apr 2007 13:41:17 +0000 (13:41 +0000)]
via 8118, a RealTime upgrade to make RT a complete storage abstraction. The store/destroy mechanisms needed these missing peices.

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

13 years agoIssue 6082 - New DTMF event for manager
Tilghman Lesher [Tue, 10 Apr 2007 23:55:26 +0000 (23:55 +0000)]
Issue 6082 - New DTMF event for manager

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

13 years agoAdded zapata.conf parameter "cid_rxgain" to allow the user to adjust the gain bump...
Doug Bailey [Tue, 10 Apr 2007 22:02:53 +0000 (22:02 +0000)]
Added zapata.conf parameter "cid_rxgain" to allow the user to adjust the gain bump used during CID acquisition.

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

13 years agoNote the bridge manager action and application in the CHANGES file.
Russell Bryant [Tue, 10 Apr 2007 20:50:27 +0000 (20:50 +0000)]
Note the bridge manager action and application in the CHANGES file.

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

13 years agoMerge changes from team/russell/issue_5841:
Russell Bryant [Tue, 10 Apr 2007 20:44:44 +0000 (20:44 +0000)]
Merge changes from team/russell/issue_5841:

This patch adds a "Bridge" Manager action, as well as a "Bridge" dialplan
application.  The manager action will allow you to steal two active channels
in the system and bridge them together.  Then, the one that did not hang up
will continue in the dialplan.  Using the application will bridge the calling
channel to an arbitrary channel in the system.  Whichever channel does not
hang up here will continue in the dialplan, as well.

This patch has been touched by a bunch of people over the course of a couple
years.  Please forgive me if I have missed your name in the history of things.
The most recent patch came from issue #5841, but there is also a reference to
an earlier version of this patch from issue #4297.  The people involved in writing
and/or reviewing the code include at least: twisted, mflorrel, heath1444, davetroy,
tim_ringenbach, moy, tmancill, serge-v, and me.  There are also positive test
reports from many people.

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

13 years agoAdd an option to the dial API for playing music instead of ringing to the caller.
Russell Bryant [Tue, 10 Apr 2007 19:16:24 +0000 (19:16 +0000)]
Add an option to the dial API for playing music instead of ringing to the caller.
I started this for use with SLA but ended up deciding not to use it.  However,
there is no reason not to put this part in, anyway.

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

13 years agoBlocked revisions 61220 via svnmerge
Russell Bryant [Tue, 10 Apr 2007 16:08:16 +0000 (16:08 +0000)]
Blocked revisions 61220 via svnmerge

........
r61220 | russell | 2007-04-10 11:05:55 -0500 (Tue, 10 Apr 2007) | 5 lines

File upload support was added to solve some needs for the Asterisk GUI.
However, after much discussion, it has been decided that adding this to 1.4 is
not in the best interests of the project.  It has been removed here, but will
remain in trunk.

........

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

13 years agoupdated ast_channel_alloc() call to include the 4 extra args everyone got. Not much...
Steve Murphy [Tue, 10 Apr 2007 16:07:10 +0000 (16:07 +0000)]
updated ast_channel_alloc() call to include the 4 extra args everyone got. Not much info there, as the config file evidently does not allow amaflags, or accountcode settings; and the pvt's exten doesn't sound like what we need in the cdr, either.

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

13 years agoMerged revisions 61183 via svnmerge from
Nadi Sarrar [Tue, 10 Apr 2007 12:47:57 +0000 (12:47 +0000)]
Merged revisions 61183 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61183 | nadi | 2007-04-10 14:43:40 +0200 (Di, 10 Apr 2007) | 10 lines

Merged revisions 61170 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61170 | nadi | 2007-04-10 14:31:45 +0200 (Di, 10 Apr 2007) | 2 lines

msns config parameter defaults to '*'

........

................

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

13 years agoMerged revisions 60989 via svnmerge from
Steve Murphy [Tue, 10 Apr 2007 05:41:34 +0000 (05:41 +0000)]
Merged revisions 60989 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60989 | murf | 2007-04-09 12:32:07 -0600 (Mon, 09 Apr 2007) | 1 line

This is a big improvement over the current CDR fixes. It may still need refinement, but this won't have as many folks bothered.
This also adds the mods from 1.4/r.61136;
........

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

13 years agoRemove unused instances of unnamed enums.
Russell Bryant [Mon, 9 Apr 2007 22:49:32 +0000 (22:49 +0000)]
Remove unused instances of unnamed enums.

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

13 years agoMerged revisions 61072 via svnmerge from
Olle Johansson [Mon, 9 Apr 2007 20:01:28 +0000 (20:01 +0000)]
Merged revisions 61072 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61072 | oej | 2007-04-09 21:58:17 +0200 (Mon, 09 Apr 2007) | 11 lines

Merged revisions 61038 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61038 | oej | 2007-04-09 21:38:59 +0200 (Mon, 09 Apr 2007) | 3 lines

- Don't send ActionID before Response: header.
- Don't use a blank in an AMI header

........

................

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

13 years agoMerged revisions 61070 via svnmerge from
Kevin P. Fleming [Mon, 9 Apr 2007 19:57:21 +0000 (19:57 +0000)]
Merged revisions 61070 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61070 | kpfleming | 2007-04-09 14:55:14 -0500 (Mon, 09 Apr 2007) | 2 lines

fix up some warnings found using --enable-dev-mode

........

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

13 years agoMerged revisions 61062 via svnmerge from
Kevin P. Fleming [Mon, 9 Apr 2007 19:50:20 +0000 (19:50 +0000)]
Merged revisions 61062 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61062 | kpfleming | 2007-04-09 14:49:09 -0500 (Mon, 09 Apr 2007) | 2 lines

remove some more stuff we don't need

........

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

13 years agoBlocked revisions 61042,61044 via svnmerge
Russell Bryant [Mon, 9 Apr 2007 19:42:43 +0000 (19:42 +0000)]
Blocked revisions 61042,61044 via svnmerge

........
r61042 | russell | 2007-04-09 14:40:29 -0500 (Mon, 09 Apr 2007) | 2 lines

Remove various files that I thought I already removed.

........
r61044 | russell | 2007-04-09 14:41:04 -0500 (Mon, 09 Apr 2007) | 2 lines

Remove another directory that should no longer be there

........

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