Commit Graph

10582 Commits

Author SHA1 Message Date
Russell Bryant
bb3aa2ee41 Simplify the last change to app_meetme, and move the call to dispose_conf()
up into the block where we know a conf exists.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55951 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-21 20:22:33 +00:00
Joshua Colp
54f59f4dad Only dispose of the conference if one was created.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-21 20:16:34 +00:00
Joshua Colp
10864c42ea Only start playing the next file if we have not been quieted.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-21 20:03:38 +00:00
Joshua Colp
3d95841eb3 Add a flag that indicates whether a SIP dialog is an outgoing call or not. SIP_OUTGOING originally did it but it was repurposed to the direction of the last transaction, which can cause update_call_counter to falsely decrease the wrong counters. (please don't hurt me oej) (issue #8943 reported by mdu113)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55914 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-21 17:18:19 +00:00
Kevin P. Fleming
aee9196ece Merged revisions 55868 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r55868 | kpfleming | 2007-02-21 08:03:11 -0600 (Wed, 21 Feb 2007) | 2 lines

use new tag version script

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-21 14:06:47 +00:00
Olle Johansson
c0f5102378 Issue #8848 - Turn off lamp more quickly after transfer (decrement inuse early on transferer's call leg)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55834 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-21 08:32:34 +00:00
Jason Parker
67421802de Fix segfault when buddy couldn't be found.
Issue 7764, patch by sailer


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55799 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-21 02:01:36 +00:00
Russell Bryant
39026c9f96 Improve the reference counting to fix bugs where people report seeing
conferences listed that have no members.
(issue #9073)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55758 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-21 01:03:25 +00:00
Russell Bryant
98cb7fa757 Blocked revisions 55750 via svnmerge
........
r55750 | russell | 2007-02-20 18:19:14 -0600 (Tue, 20 Feb 2007) | 9 lines

Fix random crashes when using the MeetMe application.  This patch converts list
handling to use the linked list macros and most importantly, implements
reference counting on the ast_conference objects.  The reference counting was
first backported from 1.4.  However, that code has some problems that caused
the reference count to never hit zero.  Those problems are fixed in this patch
and will be resolved in 1.4 and trunk next, with a different patch.

(issues #7647, #9073, #9106, BE-115). 

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-21 00:22:29 +00:00
Joshua Colp
51f20d54e7 Better handle dropped IMAP connections. (issue #9054 reported by bsmithurst)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-21 00:11:20 +00:00
Joshua Colp
30d30fef76 Return behavior I removed. I did not remember that you could just add a localnet entry to make it work.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-20 23:57:03 +00:00
Joshua Colp
49749e44a2 Don't test our own address against the localnet settings. At least one person has had issues as a result of this from #7051 so I'm reversing it. (issue #8821 reported by kokoskarokoska)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-20 23:08:45 +00:00
Joshua Colp
4f5689f95f Merged revisions 55669 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r55669 | file | 2007-02-20 17:39:14 -0500 (Tue, 20 Feb 2007) | 2 lines

Defer clearing callback information if channels are up until they are hung up. This ensures the hangup process goes smoothly and no channels get hung in limbo. (issue #8088 reported by kebl0155)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55670 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-20 22:47:00 +00:00
Russell Bryant
cb03702de9 Add the Asterisk version information to the Server header in HTTP
responses.  (requested by Pari)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55634 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-20 20:26:06 +00:00
Russell Bryant
71275050ab Increase the maximum number of manager headers to 128, at the request of Pari.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55590 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-20 19:57:07 +00:00
Russell Bryant
fc44ae4c31 Blocked revisions 55588 via svnmerge
........
r55588 | russell | 2007-02-20 13:49:50 -0600 (Tue, 20 Feb 2007) | 3 lines

Convert a tab to spaces so that the documentation is printed out properly
aligned.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-20 19:53:15 +00:00
Jason Parker
e0b88aba12 No need to cast nor free with strdupa (thanks file)
55555!


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-20 16:53:45 +00:00
Russell Bryant
6bdc40358a Change the formatting of sla.conf.sample to make it more readable.
(issue #9112, blitzrage)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-20 16:41:57 +00:00
Olle Johansson
920f332399 - Not sending arguments to an application is not "out of memory"
- Making error messages a bit more clear


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-19 21:12:55 +00:00
Tilghman Lesher
f0bf09466a Merged revisions 55434 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r55434 | tilghman | 2007-02-19 12:09:09 -0600 (Mon, 19 Feb 2007) | 2 lines

forcename and forcegreetings options should check to see if the recording already exists

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55435 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-19 18:11:48 +00:00
Doug Bailey
c967342095 Changed iax2 process thread to detached to correct memory leak due to left over thread context on thread exit.
Modified module unload process to avoid deadlocks on pthread cancels


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55397 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-19 14:52:59 +00:00
Olle Johansson
476d1c932e Merged revisions 55277 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r55277 | oej | 2007-02-18 13:32:13 +0100 (Sun, 18 Feb 2007) | 2 lines

Documentation update (#9053, jsmith)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-18 12:35:54 +00:00
Olle Johansson
e07ad5f742 Block patch that was made only for 1.2 (already implemented in 1.4 and trunk)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-18 10:51:22 +00:00
Joshua Colp
7cec18d933 Add missing membername option to AddQueueMember documentation. (issue #9088 reported by seanbright)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55219 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-17 17:39:32 +00:00
Jason Parker
0ade592435 Fix an issue where callerid would not be displayed on some phones.
Issue 8995, initial patch and research done by wedhorn


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55217 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-17 17:10:09 +00:00
Joshua Colp
ec6e4f6887 Merged revisions 55153 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r55153 | file | 2007-02-16 22:53:45 -0500 (Fri, 16 Feb 2007) | 2 lines

Answer the channel before recording privacy information. (issue #8926 reported by lmamane)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55154 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-17 03:55:30 +00:00
Joshua Colp
fccaadad94 Make the 'i' option of Queue actually work. (issue #8986 reported by utis)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-17 02:59:50 +00:00
Joshua Colp
7a4bed883e Merged revisions 55073 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r55073 | file | 2007-02-16 20:09:50 -0500 (Fri, 16 Feb 2007) | 2 lines

Allow chan_sip to handle attended transfers from a SIP phone that is sitting behind chan_agent. Yes folks, all it took was one line of code. (issue #8784 reported by pzieba)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-17 01:16:59 +00:00
Russell Bryant
137835c878 If the pg_config application is found, but there is probably executing it,
then consider postgres unavailable.  (issue #8637)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-17 00:40:34 +00:00
Russell Bryant
4b6558fb6b Filter out yet another architecture that does not work with the optimizations
in the built-in libgsm. (issue 8637, ovi)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-17 00:31:42 +00:00
Russell Bryant
960b4de2de Merged revisions 55005 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r55005 | russell | 2007-02-16 16:48:22 -0600 (Fri, 16 Feb 2007) | 9 lines

Revert the change I did in revisions 54955, 54969, and 54970, in 1.2, 1.4, 
and trunk.  I decided that once a conference is created from meetme.conf,
it is acceptable behavior that the pin can not be changed until the
conference goes away.  I also added a note in meetme.conf to describe this
behavior.

We still have another issue in 1.4 and trunk where some conferences with no
users don't go away.  That is the real bug that needs to be addressed here.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 22:49:42 +00:00
Joshua Colp
b0df14b32c Merged revisions 54999 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r54999 | file | 2007-02-16 17:13:45 -0500 (Fri, 16 Feb 2007) | 2 lines

Do not send indications through ast_indicate in chan_agent but instead go directly to the technology. This way when indications are emulated they happen on the Agent channel and do not screw up formats on the channels. (issue #8439 reported by punkgode)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55002 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 22:18:46 +00:00
Russell Bryant
cad10249de Merged revisions 54955 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r54955 | russell | 2007-02-16 14:56:58 -0600 (Fri, 16 Feb 2007) | 5 lines

For conferences that are configured in meetme.conf, check the configuration
file every time someone joins the conference instead of only when the
conference is first created.  This is to ensure that changes to the pin
numbers in the config file are always honored.  (issue #9073)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54969 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 21:12:18 +00:00
Joshua Colp
3a1ceb4ff8 Need to check macro extension as well as macro context for directed pickup.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 18:51:15 +00:00
Russell Bryant
0c00d00d1e Fix setting "autofallthrough" to yes by default. It was set to enabled in
pbx.c.  However, if the option was not present in extensions.conf, then
pbx_config.c would set it back to disabled.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 18:03:41 +00:00
Russell Bryant
2986791f67 Clean up a few coding guidelines issues - spaces to tabs, use sizeof() to pass
the size of a static buffer, add spaces ...


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54888 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 17:40:38 +00:00
Jason Parker
84d057c5a5 Clarify a restart message. It's silly, but the reporter had a very valid point.
Issue 9079


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54886 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 17:25:21 +00:00
Joshua Colp
7722d96bea Allow directed pickup to pick up the real context instead of the macro context if a Macro is used. (issue #8984 reported by jamesb63)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 17:02:35 +00:00
Olle Johansson
3ca445e34c Issue #7541 - Handle multipart attachments to SIP messages - even if boundary is quoted.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54787 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 12:06:23 +00:00
Olle Johansson
a945ccf652 Merged revisions 54771 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r54771 | oej | 2007-02-16 12:38:03 +0100 (Fri, 16 Feb 2007) | 2 lines

Issue #9069 - If we open with TH we should not close with /TD. (seanbright)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54772 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 11:39:55 +00:00
Joshua Colp
ae5eec37dd Don't let dtmf leak over into the engine and let it skew the results... also give DTMF results priority. (issue #9014 reported by surftek)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 00:48:48 +00:00
Joshua Colp
bddfe6fea7 Merged revisions 54622 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r54622 | file | 2007-02-15 11:14:40 -0500 (Thu, 15 Feb 2007) | 2 lines

Use a separate variable to indicate execution should continue instead of the return value. (issue #8842 reported by pluto70)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54623 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-15 16:19:39 +00:00
Joshua Colp
dadf652e26 Forward begin DTMF frames as well as end. (issue #9068 reported by mhardeman)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 21:07:23 +00:00
Olle Johansson
ab60981de3 Block patch only needed in 1.2
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54439 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 18:44:58 +00:00
Matthew Fredrickson
91e22d1df2 Merged revisions 54373 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r54373 | mattf | 2007-02-14 10:25:49 -0600 (Wed, 14 Feb 2007) | 2 lines

When handling glare on a PRI, move the requested channel rather than hang up the old one. Fix for 8957 and 9011.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 16:56:40 +00:00
Joshua Colp
7d029cabf6 Add G722 to ast_best_codec. If anyone disagrees with it's placement, feel free to change it. (issue #9045 reported by gork)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54290 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 01:09:40 +00:00
Russell Bryant
7bcf1d913a Remove a couple of leftover debug messages
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 21:31:22 +00:00
Russell Bryant
3ed86f887e Fix the documentation on the return values from device state provider
registration and deletion.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54218 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 20:56:50 +00:00
Russell Bryant
b100b69703 If we fail to create the SIP socket, then return -1 from reload_config() so
that load_module() will return AST_MODULE_LOAD_DECLINE.  Otherwise, the console
will just get spammed with error messages every time chan_sip tries to send a
message.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 19:42:00 +00:00
Olle Johansson
8584300aac Blocking patch for 1.2 only
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54180 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 18:41:15 +00:00