dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

2094 Commits

Author SHA1 Message Date
kpfleming 53723d66bf Merged revisions 48193 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r48193 | kpfleming | 2006-12-01 17:37:28 -0600 (Fri, 01 Dec 2006) | 10 lines

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

........
r48192 | kpfleming | 2006-12-01 17:30:59 -0600 (Fri, 01 Dec 2006) | 2 lines

if Dial() is going to send music-on-hold to the calling party, it has to send PROGRESS first to ensure that the reverse audio path has been setup first (BE-106)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48194 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-01 23:39:59 +00:00
file 8693f486bf Merged revisions 48115 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48115 | file | 2006-11-29 16:05:17 -0500 (Wed, 29 Nov 2006) | 2 lines

Use MAILTMPLEN instead of sizeof in mm_login. (issue #8420 reported by slimey)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48116 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-29 21:07:14 +00:00
file 92c4c39768 Merged revisions 48101 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48101 | file | 2006-11-28 23:26:53 -0500 (Tue, 28 Nov 2006) | 2 lines

Don't crash if the mailstream was not created.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48102 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-29 04:28:21 +00:00
file d86306cb87 Merged revisions 48054 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r48054 | file | 2006-11-27 13:06:50 -0500 (Mon, 27 Nov 2006) | 10 lines

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

........
r48053 | file | 2006-11-27 13:03:57 -0500 (Mon, 27 Nov 2006) | 2 lines

Use the proper function to get the new message count instead of always using the filesystem. (issue #8421 reported by slimey)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48056 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-27 18:10:59 +00:00
rizzo ff1233d501 better fix for the previous bug.
In general this code needs a deep revision, because the body of
do_forward() deletes/overwrites the output channel without freeing
the resouce in some cases, and without notifying the caller.

Also, on FreeBSD with MALLOC_OPTIONS set i am seeing various panics
(duplicate freee etc.)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47881 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-21 11:53:06 +00:00
rizzo eb492ff812 do not ast_hangup() on a NULL channel.
In the original code this would happen in the case of
	o->forwards >=  AST_MAX_FORWARDS

Likely an 1.2/1.4 isse as well - please someone have a look,
while I am hunting a few more similar panics now.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47880 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-21 11:07:30 +00:00
tilghman 5199407168 Merged revisions 47864-47865 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47864 | tilghman | 2006-11-20 14:01:58 -0600 (Mon, 20 Nov 2006) | 2 lines

Oops, merge missed release of odbc object

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47866 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-20 20:04:11 +00:00
file 373fef766e Merged revisions 47850 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47850 | file | 2006-11-20 10:51:37 -0500 (Mon, 20 Nov 2006) | 2 lines

Use a separate variable in the channel structure to store the context that the channel was dialed from. (issue #8382 reported by jiddings)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47851 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-20 15:55:58 +00:00
murf 9ed9bbabf4 This update fulfils the request of bug 7109, which claimed the language arg to ast_stream_and_wait() was redundant. Almost all calls just used chan->language, and seeing how chan is the first argument, this certainly seems redundant. A change of language could just as easily be done by simply changing the channel language before calling.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47821 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-17 23:18:51 +00:00
qwell 9f5ca42bcf Add ability to notify an external application/script that the voicemail password was,
while also still changing the password "internally".

Issue 7371, initial patch by pdunkel, with rewrite/config comments by me.
Additional modifications (yay bitmask) by pdunkel.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47814 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-17 21:51:42 +00:00
qwell 232e671637 Add ability to add custom queue log via manager interface.
Issue 7806, patch by alexrch, with slight modifications by me.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47806 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-17 20:46:36 +00:00
qwell 9c3b6be654 Merged revisions 47782 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47782 | qwell | 2006-11-16 17:19:46 -0600 (Thu, 16 Nov 2006) | 2 lines

Fix a couple of typos.  Initially pointed out by mrobinson.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47783 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-16 23:20:52 +00:00
file a42547e25e Merged revisions 47748 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47748 | file | 2006-11-16 12:52:48 -0500 (Thu, 16 Nov 2006) | 2 lines

Don't unreference the SLA object if there is no SLA object in the devicestate callback. (issue #8354 reported by loloski)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47749 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-16 17:53:58 +00:00
tilghman d834b150ad Merged revisions 47709 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47709 | tilghman | 2006-11-15 15:56:55 -0600 (Wed, 15 Nov 2006) | 2 lines

Fix ODBC_STORAGE for when context is NULL

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47710 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15 21:57:57 +00:00
transnexus fddec108b1 1. Fix the bug that Asterisk hangs up the calls if the OSP AuthRsp messages without destination protocol infomation.
2. Fix the bug that Asterisk generats wrong dial string (no in IAX2/[username[:password]@]peer[:port][/exten[@context]][/options] format) for IAX.
3. Add support for oh323 channel driver.
4. Re-formate the code.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47704 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15 20:59:37 +00:00
kpfleming 2650e360ab Merged revisions 47693 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r47693 | kpfleming | 2006-11-15 14:27:38 -0600 (Wed, 15 Nov 2006) | 12 lines

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

........
r47677 | kpfleming | 2006-11-15 11:56:42 -0600 (Wed, 15 Nov 2006) | 4 lines

ensure that message duration is included in email notifications for forwarded messages (BE-96, fix by me after corydon used his clue-bat on me)
ensure that duration in the message metadata is updated if prepending is done during forwarding (related to BE-96)
remove prototype for API call that does not exist

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47694 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15 20:28:25 +00:00
file 55cddeadbb Merged revisions 47632 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r47632 | file | 2006-11-14 17:17:16 -0500 (Tue, 14 Nov 2006) | 10 lines

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

........
r47631 | file | 2006-11-14 17:15:10 -0500 (Tue, 14 Nov 2006) | 2 lines

Update copyright information in the ADSI logo blob.

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47633 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-14 22:19:18 +00:00
file dcd1ec87b6 Make local copy of arguments to parse. (issue #8362 reported by homesick)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47623 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-14 20:09:10 +00:00
tilghman d6e691ae01 Merged revisions 47621 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47621 | tilghman | 2006-11-14 12:54:40 -0600 (Tue, 14 Nov 2006) | 3 lines

Conversion of res_odbc API to include ast_ prefix did not completely transition app_voicemail
when ODBC_STORAGE is used (reported on IRC by caio1982, not in bugtracker)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47622 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-14 18:58:15 +00:00
file 717e42ac58 Merged revisions 47617 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47617 | file | 2006-11-14 11:45:57 -0500 (Tue, 14 Nov 2006) | 2 lines

Use LOG_DEBUG to print out the indication that app_amd is using default settings instead of using LOG_NOTICE. This stops needless logging of this information under normal circumstances. (issue #8361 reported by Seb7)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47618 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-14 16:48:03 +00:00
file 46489d816d Add 'loose' option to joinempty and leavewhenempty which is almost exactly like 'strict' except it does not count paused queue members as unavailable. (issue #8263 reported by gnarf)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47567 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13 18:23:55 +00:00
file caa25dd02a Don't play the "entering conference number <insert number here>" prompts if the 'q' option is used. If others believe this should be in 1.2/1.4 then we can put it in, but I'm uncomfortable doing so right now as it is a change of behavior. (issue #8138 reported by tmancill)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47560 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13 17:55:24 +00:00
file 334bc5ed8e Merged revisions 47551 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r47551 | file | 2006-11-13 12:08:07 -0500 (Mon, 13 Nov 2006) | 10 lines

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

........
r47549 | file | 2006-11-13 12:05:32 -0500 (Mon, 13 Nov 2006) | 2 lines

When sending an SMS with a user data header properly set the UDH flag in the first byte. (issue #8347 reported by hoffmeis)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13 17:10:21 +00:00
file fc1882af79 Merged revisions 47437 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47437 | file | 2006-11-10 11:53:16 -0500 (Fri, 10 Nov 2006) | 2 lines

Only split up extension and context if a value exists. (issue #8332 reported by loloski)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47438 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-10 16:55:13 +00:00
kpfleming 7db3f21a5e Merged revisions 47433 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47433 | kpfleming | 2006-11-10 10:36:49 -0600 (Fri, 10 Nov 2006) | 2 lines

if adding a queue member is LOG_NOTICE, then removing them should be LOG_NOTICE, not LOG_DEBUG

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47435 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-10 16:38:33 +00:00
kpfleming 49630eca84 Merged revisions 47432 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47432 | kpfleming | 2006-11-10 10:34:04 -0600 (Fri, 10 Nov 2006) | 2 lines

reflect addition/removal of dynamic queue members in queue_log, so that people using dialplan replacement for AgentCallbackLogin can still track login/logout (issue #7736, reported/patched by whoiswes but this commit was written by me and covers all three paths for AQM/RQM)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47434 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-10 16:37:42 +00:00
russell b5963fa342 Add the ability to specify multiple prompts to the Read() dialplan application,
similar to Background() and Playback().
(issue #7897, jsmith, with some modifications)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47408 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-10 03:59:48 +00:00
file cf7e97a806 Merged revisions 47398 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47398 | file | 2006-11-09 17:32:30 -0500 (Thu, 09 Nov 2006) | 2 lines

Do conversion in a more easier to read and working way for \r, \n, and \t. (issue #8324 reported by johnlange)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47399 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-09 22:34:00 +00:00
russell 9783223be7 Merged revisions 47391 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47391 | russell | 2006-11-09 16:26:27 -0500 (Thu, 09 Nov 2006) | 7 lines

Work around an issue that caused menuselect to display a bogus description for
app_voicemail and chan_zap.  These modules use some preprocessor directives to
determine what it will report to Asterisk as its description.  However, the way
we extract this information from the source files for menuselect is not smart
enough to figure this out.
(issue #8326, #8328)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47392 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-09 21:32:27 +00:00
rizzo 4bb1ce1ef1 %ld and time_t don't match, so cast the argument to long
to ease portability problems



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47295 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-07 22:26:48 +00:00
murf 4d6996c27a A fair number of changes for the sake of bug 7506
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47290 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-07 21:47:49 +00:00
mogorman 83e15f05c5 rge overhaul to voicemail imap support. Allows support for more imap servers,
also a better implementation of several parts of the original work.
patch provided by 8033 with major upgrades. minor differences from 1.4 patch do to
changes in app_voicemail


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47278 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-07 18:50:58 +00:00
rizzo 2aaf83d6db move out another large block to a large function, and document
some possibly missing parts in the privacy screening code.
Now that it is more streamlined it is easier to see differences
in handling the various cases.

Have not tested the code in depth.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47189 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 11:00:49 +00:00
rizzo 0cc11d4b2e fix indentation of a block, and do minor simplifications at the end of
another one.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47182 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 01:16:20 +00:00
rizzo 6336f21b68 complete previous commit.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47181 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 00:56:02 +00:00
rizzo c3b3bfc81b move another block into a function.
On passing, avoid two null-pointer string dereference
while printing messages (which are
sometimes not fatal in some platforms, but still wrong).
These two lines at least should be merged to 1.4 once i am
done with all the changes here.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47180 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 00:50:18 +00:00
rizzo 9e197c8931 move a large block into a separate function.
Mark with XXX a possible bug in previous code which used
the wrong source in case of a forwarded call.

the function do_forward() needs to be split further, as the initial
part is replicated in another places (with some minor differences, most likely
forgotten when updating after the copy).



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47179 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 00:01:40 +00:00
rizzo 859fd8cdf9 another small set of simplifications
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47177 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 23:24:21 +00:00
rizzo 2bdbca420a change HANDLE_CAUSE into a function.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47175 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 22:36:17 +00:00
rizzo c057e77d7a remove redundant checks
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47170 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 22:01:34 +00:00
rizzo 8ee70dbd60 start integrating the simplifications proposed in bug 0005860,
as usual a bit at a time to ease locating new bugs or fixes
worth merging into other branches.

In this commit, introduce a macro, S_REPLACE, that replaces
a string possibly freeing the previous value.
In one of these places (see the comment marked XXX) the previous
code might leak memory - if so, this ought to be merged in 1.4

The macro might be worth putting in one of the global headers
(e.g. include/asterisk/strings.h) as the construct is used
in a million places in the asterisk code.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47160 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 21:51:16 +00:00
file 5e271d60c1 One has to create the path and filename in order to copy a file there. (issue #8278 reported by davebath)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47146 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 19:15:07 +00:00
tilghman 278341b071 Merged revisions 47051 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47051 | tilghman | 2006-11-02 17:00:20 -0600 (Thu, 02 Nov 2006) | 2 lines

Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-02 23:16:09 +00:00
murf 3adc2400e7 This introduces Brazilian Portuguese via 7663
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46773 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-01 18:14:17 +00:00
russell ce24885ff5 add author doxygen tag (issue #8241, kshumard)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46565 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31 06:37:48 +00:00
murf 2fad9467dc These changes submitted by moy via bug 6992, to add a Dial 'End' event to asterisk. I include some changes to astman to cover other events that have been added.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46541 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-30 23:11:55 +00:00
oej 0b22be3874 Issue 8246 Doxygen updates (kshumard)
THANK YOU!



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46434 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-30 16:33:02 +00:00
oej 9b19aa3b31 Spelling fix.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46397 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-29 08:40:57 +00:00
bweschke 3f384ee745 Let's make sure we hold the mutex lock before we go looking at values in the queue structure that could potentially be changing while we're running.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46372 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-27 19:28:34 +00:00
bweschke 918ad53191 * Added option to run macro when a queue member is connected to a caller,
see queues.conf.sample for details.
  * Added QUEUE_VARIABLES function to set queue variables added setqueuevar and
    setqueueentryvar options for each queue, see queues.conf.sample for details.
								(#8216, jmls reported and submitted)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46369 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-27 18:59:16 +00:00