asterisk/asterisk.git
12 years agoAdded a small bit of code to support the SNOM 360's Record button. Made the find_feat...
Steve Murphy [Fri, 4 May 2007 16:37:23 +0000 (16:37 +0000)]
Added a small bit of code to support the SNOM 360's Record button. Made the find_feature func in res_features.c public, so I could use it to find the automon dial sequence as configured by the user. When the INFO packet has a Record: header with on/off, the sequence is sent as consecutive DTMF frames on the phone's channel, triggering the automon functionality. The user has to configure the automon in features.conf, and set up his dialplan accordingly.

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

12 years agoAdd the new ChannelUpdate event to inform manager clients about the PVT ID and some...
Olle Johansson [Fri, 4 May 2007 13:56:25 +0000 (13:56 +0000)]
Add the new ChannelUpdate event to inform manager clients about the PVT ID and some other channel driver data that
is needed to follow the call through the PBX.

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

12 years agoAdd "CoreStatus" - from the moremanager branch.
Olle Johansson [Fri, 4 May 2007 13:47:11 +0000 (13:47 +0000)]
Add "CoreStatus" - from the moremanager branch.
This can be extended with more information, ideas and patches are welcome, as usual :-)

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

12 years ago- Add manager command CoreSettings
Olle Johansson [Fri, 4 May 2007 13:44:50 +0000 (13:44 +0000)]
- Add manager command CoreSettings
- Add missing option to options.h
- Add missing variables to asterisk.h
- Move manager version to manager.h include file

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

12 years agoMerged revisions 62989 via svnmerge from
Joshua Colp [Thu, 3 May 2007 16:45:39 +0000 (16:45 +0000)]
Merged revisions 62989 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r62989 | file | 2007-05-03 13:44:00 -0300 (Thu, 03 May 2007) | 10 lines

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

........
r62987 | file | 2007-05-03 13:42:19 -0300 (Thu, 03 May 2007) | 2 lines

When a peer is seeded or built tell the devicestate core to update it's status. This is easier then having chan_sip load before pbx_config. (issue #9658 reported by dlynes)

........

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

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

12 years agoMerged revisions 62986 via svnmerge from
Kevin P. Fleming [Thu, 3 May 2007 16:43:49 +0000 (16:43 +0000)]
Merged revisions 62986 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62986 | kpfleming | 2007-05-03 11:38:56 -0500 (Thu, 03 May 2007) | 2 lines

improve loader a bit, by avoiding trying to initialize embedded modules twice and avoiding trying to load modules from disk when they have been loaded already during the 'preload' pass (reported by blitzrage on IRC, patch by me)

........

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

12 years agoMerged revisions 62942 via svnmerge from
Russell Bryant [Thu, 3 May 2007 15:23:44 +0000 (15:23 +0000)]
Merged revisions 62942 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62942 | russell | 2007-05-03 10:23:13 -0500 (Thu, 03 May 2007) | 17 lines

Fix YADB (Yet Another DTMF Bug) ((C) Russell Bryant, 2007, TM, Patent Pending).

This set of changes came from a debugging session I had with Dwayne Hubbard.
When he called into his home FXO, ran the Echo application, and pressed a
digit, the digit would be echoed back and would never end.  This is fixed,
along with a couple other little improvements.

* When chan_zap is in the middle of playing a digit to a channel, it feeds
  back null frames, not voice frames.  So, I have modified ast_read to check
  the timing on emulated DTMF when it receives null frames, in addition to
  where it was doing this on voice frames.
* Make a tweak to setting the duration on emulated DTMF digits.  If there was
  no duration specified, it set it to be the minimum, instead of the default.
* Instead of timing the emulated digits off of the number of samples in audio
  frames that pass through, just use time values.  Now there is no code in this
  section that assumes 8kHz audio.

........

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

12 years agoblocking 62913 (1.4) from trunk, as it's already done here
Steve Murphy [Thu, 3 May 2007 14:44:42 +0000 (14:44 +0000)]
blocking 62913 (1.4) from trunk, as it's already done here

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

12 years agoMerged revisions 62883 via svnmerge from
Steve Murphy [Thu, 3 May 2007 14:24:00 +0000 (14:24 +0000)]
Merged revisions 62883 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62883 | murf | 2007-05-03 07:54:56 -0600 (Thu, 03 May 2007) | 1 line

These mods fix bug 9623, where an '@' in the eswitch contents causes a syntax error. I also updated the regressions.
........

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

12 years agoMerged revisions 62842 via svnmerge from
Kevin P. Fleming [Thu, 3 May 2007 00:25:50 +0000 (00:25 +0000)]
Merged revisions 62842 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r62842 | kpfleming | 2007-05-02 20:23:37 -0400 (Wed, 02 May 2007) | 10 lines

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

........
r62841 | kpfleming | 2007-05-02 20:23:00 -0400 (Wed, 02 May 2007) | 2 lines

doh... initializing the pointer variable will work just a bit better

........

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

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

12 years agoignore the archive we build in this directory
Kevin P. Fleming [Thu, 3 May 2007 00:11:17 +0000 (00:11 +0000)]
ignore the archive we build in this directory

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

12 years agoMerged revisions 62797,62807 via svnmerge from
Kevin P. Fleming [Thu, 3 May 2007 00:10:38 +0000 (00:10 +0000)]
Merged revisions 62797,62807 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r62797 | kpfleming | 2007-05-02 19:57:23 -0400 (Wed, 02 May 2007) | 7 lines

improve static Realtime config loading from PostgreSQL:
don't request sorting on fields that are pointless to sort on
use ast_build_string() instead of snprintf()
don't request the list of fieldnames that resulted from the query when we both knew what they were before we ran the query _AND_ we aren't going to do anything with them anyway

(patch by me, inspired by blitzrage's bug report about res_config_odbc)

................
r62807 | kpfleming | 2007-05-02 20:02:57 -0400 (Wed, 02 May 2007) | 15 lines

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

........
r62796 | kpfleming | 2007-05-02 19:53:46 -0400 (Wed, 02 May 2007) | 7 lines

increase reliability and efficiency of static Realtime config loading via ODBC:
don't request fields we aren't going to use
don't request sorting on fields that are pointless to sort on
explicitly request the fields we want, because we can't expect the database to always return them in the order they were created

(reported by blitzrage in person (!), patch by me)

........

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

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

12 years agoFix some bad grammar.
Russell Bryant [Wed, 2 May 2007 23:50:29 +0000 (23:50 +0000)]
Fix some bad grammar.

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

12 years agoWhen a conference is created, the UNIQUEID of the channel that caused it to be
Russell Bryant [Wed, 2 May 2007 23:50:07 +0000 (23:50 +0000)]
When a conference is created, the UNIQUEID of the channel that caused it to be
created will now be stored. Then, every channel that joins the conference will
have the MEETMEUNIQUEID channel variable set with this ID.  This can be used to
relate callers that come and go from long standing conferences.
(issue #7295, patch by softins)

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

12 years agoNote Hungarian language support in CHANGES
Russell Bryant [Wed, 2 May 2007 23:31:22 +0000 (23:31 +0000)]
Note Hungarian language support in CHANGES

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

12 years agoAdd Hungarian language support to say.c and say.conf.
Russell Bryant [Wed, 2 May 2007 23:30:07 +0000 (23:30 +0000)]
Add Hungarian language support to say.c and say.conf.
(issue #7077, patch by adomjan)

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

12 years agoMerged revisions 62789 via svnmerge from
Russell Bryant [Wed, 2 May 2007 23:00:07 +0000 (23:00 +0000)]
Merged revisions 62789 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62789 | russell | 2007-05-02 17:59:09 -0500 (Wed, 02 May 2007) | 20 lines

Merge changes from team/russell/inband_dtmf ...

Fix some issues related to generating inband DTMF.  There are two changes here:

1)   The list of DTMF tones in the senddigit_begin() function explicitly
   specified 100ms of the tone followed by 100ms of silence.  This really
   broke things with the way that Asterisk now wants complete control
   over when the digit begins and ends.  So, regardless of what Asterisk
   really wanted to do, this was going to play out the tone at the length it
   wanted to.  This caused various problems like DTMF translation to inband to
   be extremely unreliable.
     The list of tones has been changed so that the correct DTMF tone is played
   indefinitely until Asterisk tells it to stop.

2) ast_write() had to be modified to let a DTMF_END frame get processed even
   when a generator is present.  This is how the tone will finally get stopped.

(issues #8944, #9250, #9348, maybe others.  Thanks to mdu113 from #8944 for
 the testing and feedback!)

........

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

12 years agoMerged revisions 62738 via svnmerge from
Steve Murphy [Wed, 2 May 2007 20:57:55 +0000 (20:57 +0000)]
Merged revisions 62738 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r62738 | murf | 2007-05-02 14:46:07 -0600 (Wed, 02 May 2007) | 9 lines

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

........
r62737 | murf | 2007-05-02 14:10:32 -0600 (Wed, 02 May 2007) | 1 line

Some tweaks to satisfy CDR bug 8796, where being in 'h' extension louses up the dst field
........

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

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

12 years agoBlocked revisions 62739 via svnmerge
Russell Bryant [Wed, 2 May 2007 20:55:32 +0000 (20:55 +0000)]
Blocked revisions 62739 via svnmerge

........
r62739 | russell | 2007-05-02 15:55:00 -0500 (Wed, 02 May 2007) | 3 lines

Backport the change that only went in to trunk that fixes the command manager
action over http.  (reported internally by pari and bkruse)

........

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

12 years agoMerged revisions 62692 via svnmerge from
Tilghman Lesher [Wed, 2 May 2007 17:49:36 +0000 (17:49 +0000)]
Merged revisions 62692 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r62692 | tilghman | 2007-05-02 12:43:48 -0500 (Wed, 02 May 2007) | 12 lines

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

........
r62691 | tilghman | 2007-05-02 12:38:16 -0500 (Wed, 02 May 2007) | 4 lines

Issue 9638 - if a text frame is sent with no terminating NULL through a bridged
IAX connection, the remote end will receive garbage characters tacked onto the
end.

........

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

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

12 years agoMerged revisions 62689 via svnmerge from
Steve Murphy [Wed, 2 May 2007 17:24:03 +0000 (17:24 +0000)]
Merged revisions 62689 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62689 | murf | 2007-05-02 11:10:50 -0600 (Wed, 02 May 2007) | 1 line

a)In chan_zap, set the clid, src fields in channel_alloc call. b)in the channel_alloc func, set the cid_num and name fields from the arglist[blush]. c) don't update the channel app & app data fields if you are in the 'h' extension. d)the load_module func in cdr_radius needs to return DECLINE, SUCCESS.
........

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

12 years agoUpdate the device state functionality of chan_local such that it will return
Russell Bryant [Wed, 2 May 2007 15:46:49 +0000 (15:46 +0000)]
Update the device state functionality of chan_local such that it will return
NOT_INUSE or INUSE when Local channels are in use as opposed to just UNKNOWN.
It will still return INVALID if the extension doesn't exist at all.
(issue #8048, patch from tim_ringenbach)

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

12 years agoAdd the new options for attended transfer to the CHANGES file.
Russell Bryant [Wed, 2 May 2007 15:20:41 +0000 (15:20 +0000)]
Add the new options for attended transfer to the CHANGES file.

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

12 years agoFor some reason when I merged 802.1p support, the new documentation file was
Russell Bryant [Wed, 2 May 2007 15:17:26 +0000 (15:17 +0000)]
For some reason when I merged 802.1p support, the new documentation file was
not properly added.  Thanks to IgorG for pointing it out!  :)

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

12 years agoAdd a small message that we're doing something. On my systems, there's a long
Olle Johansson [Wed, 2 May 2007 12:12:02 +0000 (12:12 +0000)]
Add a small message that we're doing something. On my systems, there's a long
dead period with a non-responsive CLI after I issue "load chan_sip.so"

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

12 years agoMore username body parts to fix... If working, this needs to be backported to 1.2...
Olle Johansson [Wed, 2 May 2007 12:00:03 +0000 (12:00 +0000)]
More username body parts to fix... If working, this needs to be backported to 1.2, 1.4.
But first, some serious SIP testing :-)

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

12 years agoHandle sip:username;parameter=12345@example.com;parameter=1234 URI's properly
Olle Johansson [Wed, 2 May 2007 09:41:03 +0000 (09:41 +0000)]
Handle sip:username;parameter=12345@example.com;parameter=1234 URI's properly

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

12 years agoMerged revisions 62624 via svnmerge from
Olle Johansson [Wed, 2 May 2007 09:35:14 +0000 (09:35 +0000)]
Merged revisions 62624 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62624 | oej | 2007-05-02 08:15:43 +0200 (Wed, 02 May 2007) | 2 lines

Don't unlock a channel that we already know does not exist (propably isue 8228)

........

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

12 years agoUpdating CREDITS
Olle Johansson [Wed, 2 May 2007 05:57:53 +0000 (05:57 +0000)]
Updating CREDITS

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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