[asterisk-commits] murf: branch murf/fast-ast r47692 - in /team/murf/fast-ast: ./ apps/ build_to...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Nov 15 13:22:54 MST 2006


Author: murf
Date: Wed Nov 15 14:22:53 2006
New Revision: 47692

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47692
Log:
Merged revisions 47367,47371,47374,47376,47378,47382,47392,47399,47404,47406,47408,47410,47415-47416,47419,47434-47435,47438-47439,47445-47446,47455-47456,47459,47461,47464-47465,47467-47468,47475,47477-47478,47491,47493,47495,47498,47508,47510,47512,47514,47520-47521,47524,47528-47530,47536-47539,47541,47543-47544,47552,47554-47556,47559-47560,47566-47568,47574-47575,47577-47579,47582,47585-47587,47595,47598-47600,47606-47611,47614,47616,47618-47620,47622-47623,47626,47629-47630,47633,47636,47640,47642,47646,47652,47654,47657,47660-47665,47667,47669,47685 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r47367 | russell | 2006-11-09 08:51:15 -0700 (Thu, 09 Nov 2006) | 11 lines

Merged revisions 47366 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47366 | russell | 2006-11-09 10:49:39 -0500 (Thu, 09 Nov 2006) | 3 lines

Fix another CLI command, "core show uptime" ...
(issue #8323, reported by johnlange, fixed by myself)

........

................
r47371 | russell | 2006-11-09 09:15:49 -0700 (Thu, 09 Nov 2006) | 10 lines

Blocked revisions 47369 via svnmerge

........
r47369 | russell | 2006-11-09 11:04:38 -0500 (Thu, 09 Nov 2006) | 3 lines

Fix argument parsing for the "core show profile" CLI command
(fixed by rizzo in his branch, team/rizzo/astobj2)

........

................
r47374 | russell | 2006-11-09 09:20:43 -0700 (Thu, 09 Nov 2006) | 11 lines

Merged revisions 47372 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47372 | russell | 2006-11-09 11:18:33 -0500 (Thu, 09 Nov 2006) | 3 lines

Fix "core debug channel <whatever>".  I guess someone needs to go through and
audit every CLI command that changed number of arguments ...

........

................
r47376 | russell | 2006-11-09 09:26:47 -0700 (Thu, 09 Nov 2006) | 11 lines

Merged revisions 47375 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47375 | russell | 2006-11-09 11:24:02 -0500 (Thu, 09 Nov 2006) | 3 lines

Fix "core show channel".  Also, fix tab completion for both "core show channel"
and "core show channels".

........

................
r47378 | russell | 2006-11-09 09:30:06 -0700 (Thu, 09 Nov 2006) | 10 lines

Merged revisions 47377 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47377 | russell | 2006-11-09 11:28:15 -0500 (Thu, 09 Nov 2006) | 2 lines

fix tab completion for "core debug channel" and "core no debug channel"

........

................
r47382 | file | 2006-11-09 10:08:29 -0700 (Thu, 09 Nov 2006) | 18 lines

Merged revisions 47380 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r47380 | file | 2006-11-09 11:53:25 -0500 (Thu, 09 Nov 2006) | 10 lines

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

........
r47379 | file | 2006-11-09 11:48:05 -0500 (Thu, 09 Nov 2006) | 2 lines

Don't include compiler.h on kernels 2.6.18 and higher as, well, it's apparently going to be removed. This should make all you FC6 fans happy as your Asterisk will now build without any mods.

........

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

................
r47392 | russell | 2006-11-09 14:32:27 -0700 (Thu, 09 Nov 2006) | 15 lines

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)

........

................
r47399 | file | 2006-11-09 15:34:00 -0700 (Thu, 09 Nov 2006) | 10 lines

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)

........

................
r47404 | file | 2006-11-09 20:34:13 -0700 (Thu, 09 Nov 2006) | 2 lines

This should already be called while locked.

................
r47406 | file | 2006-11-09 20:45:59 -0700 (Thu, 09 Nov 2006) | 10 lines

Merged revisions 47405 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47405 | file | 2006-11-09 22:44:36 -0500 (Thu, 09 Nov 2006) | 2 lines

Fix building of chan_h323 by completeing some structure definitions. (issue #8327 reported by Mithraen)

........

................
r47408 | russell | 2006-11-09 20:59:48 -0700 (Thu, 09 Nov 2006) | 4 lines

Add the ability to specify multiple prompts to the Read() dialplan application,
similar to Background() and Playback().
(issue #7897, jsmith, with some modifications)

................
r47410 | russell | 2006-11-09 21:30:23 -0700 (Thu, 09 Nov 2006) | 3 lines

Various little bits of code cleanup to reduce nesting, remove useless casts,
and to remove a duplicated error message after a memory allocation error

................
r47415 | oej | 2006-11-10 05:11:06 -0700 (Fri, 10 Nov 2006) | 2 lines

Small simplification and documentation correction.

................
r47416 | oej | 2006-11-10 05:22:44 -0700 (Fri, 10 Nov 2006) | 2 lines

Fix badly defined flag. Thanks fenlander!

................
r47419 | oej | 2006-11-10 06:14:44 -0700 (Fri, 10 Nov 2006) | 2 lines

Ripping out bad support for 491 replies to INVITE's. Let's try again properly later.

................
r47434 | kpfleming | 2006-11-10 09:37:42 -0700 (Fri, 10 Nov 2006) | 10 lines

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)

........

................
r47435 | kpfleming | 2006-11-10 09:38:33 -0700 (Fri, 10 Nov 2006) | 10 lines

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

........

................
r47438 | file | 2006-11-10 09:55:13 -0700 (Fri, 10 Nov 2006) | 10 lines

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)

........

................
r47439 | tilghman | 2006-11-10 10:01:06 -0700 (Fri, 10 Nov 2006) | 10 lines

Merged revisions 47436 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47436 | tilghman | 2006-11-10 10:51:55 -0600 (Fri, 10 Nov 2006) | 2 lines

Discussion of these CLI changes resulted in more consistency (Bug 8236)

........

................
r47445 | rizzo | 2006-11-10 10:22:51 -0700 (Fri, 10 Nov 2006) | 4 lines

manual merge from 1.4:
grep -m not available on bsd, use head -1 which works for all


................
r47446 | russell | 2006-11-10 10:53:46 -0700 (Fri, 10 Nov 2006) | 10 lines

Blocked revisions 47444 via svnmerge

........
r47444 | rizzo | 2006-11-10 12:13:34 -0500 (Fri, 10 Nov 2006) | 3 lines

grep -m is not available on BSD, so use head -1 instead


........

................
r47455 | oej | 2006-11-10 12:01:12 -0700 (Fri, 10 Nov 2006) | 2 lines

Issue 8336- fix support for multipart SDP (imported from 1.2/1.4). (Alphaque)

................
r47456 | mattf | 2006-11-10 12:35:41 -0700 (Fri, 10 Nov 2006) | 2 lines

Add fix for 7321.  Ability to hide calleridname from zapata.conf

................
r47459 | file | 2006-11-10 12:40:01 -0700 (Fri, 10 Nov 2006) | 10 lines

Merged revisions 47457 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47457 | file | 2006-11-10 14:36:25 -0500 (Fri, 10 Nov 2006) | 2 lines

Let's give this a go...

........

................
r47461 | file | 2006-11-10 12:42:15 -0700 (Fri, 10 Nov 2006) | 2 lines

Hello compiler working, goodbye compiler warning. (fix compiler warning introduced from pbx_dundi optimizations)

................
r47464 | file | 2006-11-10 12:51:15 -0700 (Fri, 10 Nov 2006) | 2 lines

A trunk that builds is a productive trunk.

................
r47465 | file | 2006-11-10 13:05:31 -0700 (Fri, 10 Nov 2006) | 2 lines

Fine, take this.

................
r47467 | oej | 2006-11-10 13:25:32 -0700 (Fri, 10 Nov 2006) | 2 lines

Cleanup imported from 1.4

................
r47468 | oej | 2006-11-10 13:31:57 -0700 (Fri, 10 Nov 2006) | 2 lines

Make sure we destroy dialog in case of loop

................
r47475 | oej | 2006-11-10 14:39:58 -0700 (Fri, 10 Nov 2006) | 2 lines

Proper fix for adding debug...

................
r47477 | oej | 2006-11-10 14:55:31 -0700 (Fri, 10 Nov 2006) | 2 lines

Add some history and fix some debug output for autodestruct.

................
r47478 | mattf | 2006-11-10 15:06:11 -0700 (Fri, 10 Nov 2006) | 2 lines

Make sure we don't use 32bits for a value that only requires 1 bit.  Also, fix a compiler warning for one of the SS7 functions.

................
r47491 | mogorman | 2006-11-10 19:12:27 -0700 (Fri, 10 Nov 2006) | 2 lines

safe terminal output is sweet.

................
r47493 | russell | 2006-11-11 08:22:08 -0700 (Sat, 11 Nov 2006) | 10 lines

Merged revisions 47492 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47492 | russell | 2006-11-11 10:18:02 -0500 (Sat, 11 Nov 2006) | 2 lines

Tweak the formatting of this new function to better conform to coding guidelines.

........

................
r47495 | russell | 2006-11-11 08:33:06 -0700 (Sat, 11 Nov 2006) | 14 lines

Merged revisions 47494 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47494 | russell | 2006-11-11 10:31:08 -0500 (Sat, 11 Nov 2006) | 6 lines

Add the target "menuconfig" as an alias for the "menuselect" target.  This is
just a favor to users so that if you accidentally type "make menuconfig"
instead of "make menuselect", it still works.
(inspired by a comment on IRC from wangster calling me an "especially devious
asterisk developer" for having it be menuselect instead of menuconfig. :) )

........

................
r47498 | russell | 2006-11-11 23:31:39 -0700 (Sat, 11 Nov 2006) | 20 lines

Merged revisions 47497 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r47497 | russell | 2006-11-12 01:23:23 -0500 (Sun, 12 Nov 2006) | 12 lines

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

........
r47496 | russell | 2006-11-12 01:09:03 -0500 (Sun, 12 Nov 2006) | 4 lines

Only do the check to determine whether the channel calling this function is an
IAX2 channel when getting the IP address using the special argument, 
CURRENTCHANNEL.  (issue #8341, jcovert)

........

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

................
r47508 | oej | 2006-11-12 08:14:35 -0700 (Sun, 12 Nov 2006) | 3 lines

- Add some comments to t.38 code
- Remove improper blocking of ptime: in SDP

................
r47510 | oej | 2006-11-12 08:30:48 -0700 (Sun, 12 Nov 2006) | 5 lines

- Don't hangup because of failed re-invite. Go back to previous state.
- Keep RTP running during T.38 session
  We might improve the code to issue ast_rtp_stop if T.38 re-invite not fails
  later on in the code, but I don't see many reasons to.

................
r47512 | oej | 2006-11-12 08:40:03 -0700 (Sun, 12 Nov 2006) | 2 lines

- Support UDPTL as well as udptl in T38 sdp.

................
r47514 | oej | 2006-11-12 09:15:49 -0700 (Sun, 12 Nov 2006) | 2 lines

Restore auto-framing (DEA). Imported from 1.4

................
r47520 | russell | 2006-11-12 12:22:19 -0700 (Sun, 12 Nov 2006) | 7 lines

The use of an ifdef to check for FreeBSD is useless here because the two
versions of the format string are identical.  Also, since each format is only
used once, get rid of the use of defines all together.  (issue #8344, julieng)

In passing, also clean up the formatting a but to get rid of the nesting
without the use of braces, as defined in the coding guidelines.

................
r47521 | oej | 2006-11-12 13:47:25 -0700 (Sun, 12 Nov 2006) | 2 lines

Part of patch in #7403 to improve tag checking in pedantic mode (stephen_dredge)

................
r47524 | tilghman | 2006-11-12 18:16:30 -0700 (Sun, 12 Nov 2006) | 18 lines

Merged revisions 47523 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r47523 | tilghman | 2006-11-12 19:12:01 -0600 (Sun, 12 Nov 2006) | 10 lines

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

........
r47522 | tilghman | 2006-11-12 18:34:44 -0600 (Sun, 12 Nov 2006) | 2 lines

Don't play dialtone if the seizing the channel fails (Bug 7754)

........

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

................
r47528 | tilghman | 2006-11-12 22:48:27 -0700 (Sun, 12 Nov 2006) | 18 lines

Merged revisions 47526 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r47526 | tilghman | 2006-11-12 23:46:18 -0600 (Sun, 12 Nov 2006) | 10 lines

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

........
r47525 | tilghman | 2006-11-12 23:45:11 -0600 (Sun, 12 Nov 2006) | 2 lines

If the execute fails a second time, make sure that we don't pass back a stale handle

........

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

................
r47529 | russell | 2006-11-12 22:51:30 -0700 (Sun, 12 Nov 2006) | 13 lines

Merged revisions 47527 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47527 | russell | 2006-11-13 00:48:18 -0500 (Mon, 13 Nov 2006) | 5 lines

AC_PROG_SED is included in autoconf 2.60, but apparently it is not included
in 2.59.  So, to maintain compatability with 2.59 since it is a small change,
copy this macro into acinclude.m4 and rename it to AST_PROG_SED.
(issue #8345)

........

................
r47530 | tilghman | 2006-11-12 22:58:14 -0700 (Sun, 12 Nov 2006) | 2 lines

Feature:  allow the sanity SQL to be customized per connection class (Issue 6453)

................
r47536 | rizzo | 2006-11-13 05:01:25 -0700 (Mon, 13 Nov 2006) | 5 lines

free memory when unregistering an entry.

needs to be merged to 1.4


................
r47537 | rizzo | 2006-11-13 05:04:05 -0700 (Mon, 13 Nov 2006) | 6 lines

stop looking for new entries when we know we are done.

there is no functional change, so it is not necessary to
bother merging this to 1.4 now.


................
r47538 | rizzo | 2006-11-13 07:14:54 -0700 (Mon, 13 Nov 2006) | 9 lines

merge from codename-pineapple and astobj2 47499:
simplify __sip_ack() removing a strcmp for looking up packets.

no functional change, only performance, so don't need to merging
to earlier branches now.

Approved By: oej


................
r47539 | rizzo | 2006-11-13 07:29:31 -0700 (Mon, 13 Nov 2006) | 13 lines

merge from astobj2-r47450: use UNLINK to remove a packet from its queue,
and related code rearrangement.

Approved by: oej

This could be made better if we declared

	struct sip_pvt *dialpg = pkt->owner;

at the beginning of the function, and use it throughout the function.
I'll let the boss decide :)


................
r47541 | oej | 2006-11-13 09:08:12 -0700 (Mon, 13 Nov 2006) | 3 lines

Only produce error message once, don't fill the screen with them...
(Testing SIPP thanks to JerJer and Greg)

................
r47543 | file | 2006-11-13 09:33:46 -0700 (Mon, 13 Nov 2006) | 9 lines

Blocked revisions 47542 via svnmerge

........
r47542 | file | 2006-11-13 11:30:38 -0500 (Mon, 13 Nov 2006) | 2 lines

Free full command string upon unregistering of CLI command. Backported from revision 47536 from rizzo.

........

................
r47544 | file | 2006-11-13 09:41:45 -0700 (Mon, 13 Nov 2006) | 2 lines

Return module show to a working state. (issue #8353 reported by jserve)

................
r47552 | file | 2006-11-13 10:10:21 -0700 (Mon, 13 Nov 2006) | 18 lines

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)

........

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

................
r47554 | murf | 2006-11-13 10:32:16 -0700 (Mon, 13 Nov 2006) | 1 line

AEL need not complain about parkedcalls not being found... just confuses users
................
r47555 | murf | 2006-11-13 10:36:01 -0700 (Mon, 13 Nov 2006) | 1 line

Blocking 47553 from 1.4 to trunk... 47554 is done for it.
................
r47556 | file | 2006-11-13 10:36:28 -0700 (Mon, 13 Nov 2006) | 2 lines

Clean up last commit to better conform to standards.

................
r47559 | file | 2006-11-13 10:41:22 -0700 (Mon, 13 Nov 2006) | 9 lines

Blocked revisions 47558 via svnmerge

........
r47558 | file | 2006-11-13 12:38:44 -0500 (Mon, 13 Nov 2006) | 2 lines

Clean up last commit to better conform to standards.

........

................
r47560 | file | 2006-11-13 10:55:24 -0700 (Mon, 13 Nov 2006) | 2 lines

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)

................
r47566 | murf | 2006-11-13 11:20:56 -0700 (Mon, 13 Nov 2006) | 1 line

Eager people beat me to fixing the messed if, but we all forgot to update the regressions. Until now.
................
r47567 | file | 2006-11-13 11:23:55 -0700 (Mon, 13 Nov 2006) | 2 lines

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)

................
r47568 | murf | 2006-11-13 11:24:20 -0700 (Mon, 13 Nov 2006) | 1 line

blocked 47564 from 1.4 to be merged onto trunk; 47566 already did it
................
r47574 | tilghman | 2006-11-13 12:12:23 -0700 (Mon, 13 Nov 2006) | 9 lines

Blocked revisions 47573 via svnmerge

........
r47573 | tilghman | 2006-11-13 13:11:15 -0600 (Mon, 13 Nov 2006) | 2 lines

Re-enable old deprecated commands

........

................
r47575 | file | 2006-11-13 12:14:39 -0700 (Mon, 13 Nov 2006) | 2 lines

Make chan_h323 build again and make the CLI commands work. (reported on asterisk-dev mailing list by Di-Shi Sun)

................
r47577 | murf | 2006-11-13 12:15:45 -0700 (Mon, 13 Nov 2006) | 1 line

This solves bug 8342, whereby a crash occurs under certain circumstances while reading a config file with comments-- a call to CB_ADD shouldn't happen if withcomments is zero
................
r47578 | murf | 2006-11-13 12:19:16 -0700 (Mon, 13 Nov 2006) | 1 line

Blocking 47576 from merging into trunk. Already done in 47577
................
r47579 | oej | 2006-11-13 12:20:54 -0700 (Mon, 13 Nov 2006) | 2 lines

Small fix for uncommon scenario.

................
r47582 | tilghman | 2006-11-13 13:21:33 -0700 (Mon, 13 Nov 2006) | 18 lines

Merged revisions 47581 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r47581 | tilghman | 2006-11-13 14:20:01 -0600 (Mon, 13 Nov 2006) | 10 lines

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

........
r47580 | tilghman | 2006-11-13 14:18:30 -0600 (Mon, 13 Nov 2006) | 2 lines

Having more than 255 old messages caused corruption in the new/old count

........

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

................
r47585 | file | 2006-11-13 14:32:13 -0700 (Mon, 13 Nov 2006) | 18 lines

Merged revisions 47584 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r47584 | file | 2006-11-13 16:28:57 -0500 (Mon, 13 Nov 2006) | 10 lines

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

........
r47583 | file | 2006-11-13 16:26:36 -0500 (Mon, 13 Nov 2006) | 2 lines

Initialize global pointers for connection and result to NULL. (issue #8356 reported by james)

........

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

................
r47586 | mogorman | 2006-11-13 15:01:43 -0700 (Mon, 13 Nov 2006) | 2 lines

fix bytesize to  5.3kb for g723 codec and add support for multimode of tc400p

................
r47587 | mogorman | 2006-11-13 15:40:01 -0700 (Mon, 13 Nov 2006) | 2 lines

oops no parens

................
r47595 | oej | 2006-11-14 04:00:33 -0700 (Tue, 14 Nov 2006) | 2 lines

Remove flags not used any more (thanks Luigi)

................
r47598 | oej | 2006-11-14 04:26:06 -0700 (Tue, 14 Nov 2006) | 2 lines

Issue #8272 imported from 1.2/1.4 - Let the peerpoke system destroy it's own packets, please.

................
r47599 | oej | 2006-11-14 05:32:46 -0700 (Tue, 14 Nov 2006) | 2 lines

Adding a new debug line for issue #7351 - trying to find where an ACK can overwrite the initreq...

................
r47600 | oej | 2006-11-14 06:17:38 -0700 (Tue, 14 Nov 2006) | 2 lines

Adding some debug output to trace bug in realtime

................
r47606 | rizzo | 2006-11-14 08:23:35 -0700 (Tue, 14 Nov 2006) | 30 lines

Bring in the improved internal API for the CLI.
WATCH OUT: this changes the binary interface (ABI) for modules,
so e.g. users of g729 codecs need a rebuilt module (but read below).

The new way to write CLI handlers is described in detail in cli.h,
and there are a few converted handlers in cli.c, look for NEW_CLI.

After converting a couple of commands i am convinced that
it is reasonably convenient to use, and it makes it easier to fix the
pending CLI issues.

On passing, note a bug with the current 'complete' architecture:
if a command is a prefix of multiple CLI entries, we miss some
of the possible options. As an example, "core set debug" can
continue with "channel" from one CLI entry, and "off" or "atleast"
from another one.

We address this problem in a separate commit
(when i have figured out a fix, that is).

ABI issues:
I asked Kevin if it was ok to make this change and he said yes.
While it would have been possible to make the change without breaking
the module ABI, the code would have been more convoluted.

I am happy to restore the old ABI (while still being able
to use the "new style" handlers) if there is demand.



................
r47607 | rizzo | 2006-11-14 08:39:03 -0700 (Tue, 14 Nov 2006) | 14 lines

fix "core set debug atleast ",
and fix the simple case where a command can have multiple completions,
the first ones coming from keywords in previous CLI entries.

There is no solution yet for the complex case of N1 completions
from a CLI entry, followed by N2 from the next one, and so on,
because the _complete() handlers do not tell us how many matches
it generates, so we don't know how many to skip when interrogating
the other handlers.

The only solution is to avoid, as much as possible, multiple
CLI entries with the same prefix.


................
r47608 | rizzo | 2006-11-14 08:55:18 -0700 (Tue, 14 Nov 2006) | 3 lines

apply previous fix to old-style cli entries as well.


................
r47609 | rizzo | 2006-11-14 09:09:08 -0700 (Tue, 14 Nov 2006) | 3 lines

new-style for 'core show uptime', include 'complete' support and better error checking


................
r47610 | oej | 2006-11-14 09:10:32 -0700 (Tue, 14 Nov 2006) | 2 lines

Some improvements to doxygen docs

................
r47611 | oej | 2006-11-14 09:15:34 -0700 (Tue, 14 Nov 2006) | 2 lines

need to check quoting in the doxygen docs...

................
r47614 | rizzo | 2006-11-14 09:31:57 -0700 (Tue, 14 Nov 2006) | 6 lines

remove duplicated implementation for a deprecated function, use the
original one instead with appropriate changes in argc/argv.

This is not always applicable, but in some simple cases it is.


................
r47616 | rizzo | 2006-11-14 09:38:35 -0700 (Tue, 14 Nov 2006) | 4 lines

replace two deprecated functions with calls to the standard ones,
with fixes to argc/argv


................
r47618 | file | 2006-11-14 09:48:03 -0700 (Tue, 14 Nov 2006) | 10 lines

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)

........

................
r47619 | rizzo | 2006-11-14 09:55:27 -0700 (Tue, 14 Nov 2006) | 3 lines

partly convert to new style set-verbose, with completion fixes


................
r47620 | rizzo | 2006-11-14 10:00:39 -0700 (Tue, 14 Nov 2006) | 4 lines

fix completion for "module reload mod_1 mod_2 ... "
(should do the same for the other similar commands, "reload", "module unload" and so on.


................
r47622 | tilghman | 2006-11-14 11:58:15 -0700 (Tue, 14 Nov 2006) | 11 lines

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)

........

................
r47623 | file | 2006-11-14 13:09:10 -0700 (Tue, 14 Nov 2006) | 2 lines

Make local copy of arguments to parse. (issue #8362 reported by homesick)

................
r47626 | file | 2006-11-14 14:33:59 -0700 (Tue, 14 Nov 2006) | 10 lines

Merged revisions 47625 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47625 | file | 2006-11-14 16:30:44 -0500 (Tue, 14 Nov 2006) | 2 lines

Small documentation clarification for URIENCODE. (issue #8294 reported by salaud)

........

................
r47629 | file | 2006-11-14 15:07:20 -0700 (Tue, 14 Nov 2006) | 10 lines

Merged revisions 47628 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47628 | file | 2006-11-14 17:05:03 -0500 (Tue, 14 Nov 2006) | 2 lines

Only keep the video RTP structure around if 1. Video support is enabled and 2. A video codec is enabled on the dialog

........

................
r47630 | rizzo | 2006-11-14 15:08:20 -0700 (Tue, 14 Nov 2006) | 3 lines

add missing casts and remove an unused function.


................
r47633 | file | 2006-11-14 15:19:18 -0700 (Tue, 14 Nov 2006) | 18 lines

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.

........

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

................
r47636 | kpfleming | 2006-11-14 17:06:37 -0700 (Tue, 14 Nov 2006) | 10 lines

Merged revisions 47635 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47635 | kpfleming | 2006-11-14 18:05:44 -0600 (Tue, 14 Nov 2006) | 2 lines

silence compiler warning on 64-bit platforms (this variable is an 'int' anyway, comparing it to 'signed long' is not useful)

........

................
r47640 | file | 2006-11-14 17:15:38 -0700 (Tue, 14 Nov 2006) | 10 lines

Merged revisions 47639 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47639 | file | 2006-11-14 19:14:07 -0500 (Tue, 14 Nov 2006) | 2 lines

Turn notice about unknown RTCP packet type into a debug message instead.

........

................
r47642 | kpfleming | 2006-11-14 17:19:35 -0700 (Tue, 14 Nov 2006) | 10 lines

Merged revisions 47641 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47641 | kpfleming | 2006-11-14 18:19:05 -0600 (Tue, 14 Nov 2006) | 2 lines

more formatting cleanup, and avoid running off the end of the string

........

................
r47646 | file | 2006-11-14 21:47:52 -0700 (Tue, 14 Nov 2006) | 10 lines

Merged revisions 47645 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47645 | file | 2006-11-14 23:45:24 -0500 (Tue, 14 Nov 2006) | 2 lines

If NAT detection is turned on or already detected then say NAT is active when setting the remote RTP peer when doing early bridging. (issue #8365 reported by marcelbarbulescu)

........

................
r47652 | rizzo | 2006-11-15 07:11:28 -0700 (Wed, 15 Nov 2006) | 7 lines

update the internal cli api following comments from kevin.
This change basically simplifies the interface of the
new-style handler removing almost all the tricks used in
the previous implementation to achieve backward compatibility
(which is still present and guaranteed.)


................
r47654 | rizzo | 2006-11-15 08:02:56 -0700 (Wed, 15 Nov 2006) | 8 lines

one more step cleaning the internal CLI interface:
the NEW_CLI macro now supports extra arguments (to deprecate other commands).
use this to implement unload and reload, and remove some unused functions.
usual completion fixes (as these function accept multiple arguments).

The summary is still a bit inconsistent.


................
r47657 | oej | 2006-11-15 08:27:46 -0700 (Wed, 15 Nov 2006) | 2 lines

Update doxygen docs to reflect the code...

................
r47660 | oej | 2006-11-15 09:04:24 -0700 (Wed, 15 Nov 2006) | 2 lines

Send proper SIP error message improperly when we can't allocate dialog (out of file handles is one cause)

................
r47661 | oej | 2006-11-15 09:09:48 -0700 (Wed, 15 Nov 2006) | 2 lines

Messed up earlier, cleaning up...

................
r47662 | rizzo | 2006-11-15 09:13:30 -0700 (Wed, 15 Nov 2006) | 9 lines

move "core set debug" to the new style, and remove duplicated
code for the deprecated handler.

On passing fix a long standing bug in find_cli() which would not
find the longest match - this part (trivial, basically
just update matchlen on a match) must go in 1.4 and possibly 1.2 as well.



................
r47663 | rizzo | 2006-11-15 09:20:23 -0700 (Wed, 15 Nov 2006) | 3 lines

move another deprecated command to the new style


................
r47664 | rizzo | 2006-11-15 09:39:38 -0700 (Wed, 15 Nov 2006) | 8 lines

more changes to new style of "module load" and "load".

Under FreeBSD, the filename_completion used in the above commands does
not work. Not sure why, but on passing i note that the function is
part of readline and is not reentrant, so it needs to be fixed one way
or another.


................
r47665 | rizzo | 2006-11-15 10:05:55 -0700 (Wed, 15 Nov 2006) | 3 lines

new-style "core show channels"


................
r47667 | rizzo | 2006-11-15 10:17:07 -0700 (Wed, 15 Nov 2006) | 3 lines

small simplifications and localization of variables.


................
r47669 | rizzo | 2006-11-15 10:40:09 -0700 (Wed, 15 Nov 2006) | 3 lines

fix indentation


................
r47685 | kpfleming | 2006-11-15 11:44:29 -0700 (Wed, 15 Nov 2006) | 18 lines

Merged revisions 47684 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r47684 | kpfleming | 2006-11-15 12:43:30 -0600 (Wed, 15 Nov 2006) | 10 lines

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

........
r47682 | kpfleming | 2006-11-15 12:39:47 -0600 (Wed, 15 Nov 2006) | 2 lines

ouch... don't use printf, use ast_log/ast_verbose

........

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

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

Modified:
    team/murf/fast-ast/   (props changed)
    team/murf/fast-ast/CHANGES
    team/murf/fast-ast/Makefile
    team/murf/fast-ast/acinclude.m4
    team/murf/fast-ast/apps/app_amd.c
    team/murf/fast-ast/apps/app_chanspy.c
    team/murf/fast-ast/apps/app_dial.c
    team/murf/fast-ast/apps/app_meetme.c
    team/murf/fast-ast/apps/app_queue.c
    team/murf/fast-ast/apps/app_read.c
    team/murf/fast-ast/apps/app_sms.c
    team/murf/fast-ast/apps/app_voicemail.c
    team/murf/fast-ast/build_tools/prep_moduledeps
    team/murf/fast-ast/cdr/cdr_pgsql.c
    team/murf/fast-ast/channels/chan_h323.c
    team/murf/fast-ast/channels/chan_iax2.c
    team/murf/fast-ast/channels/chan_mgcp.c
    team/murf/fast-ast/channels/chan_oss.c
    team/murf/fast-ast/channels/chan_phone.c
    team/murf/fast-ast/channels/chan_sip.c
    team/murf/fast-ast/channels/chan_skinny.c
    team/murf/fast-ast/channels/chan_zap.c
    team/murf/fast-ast/channels/misdn/isdn_lib.c
    team/murf/fast-ast/codecs/codec_zap.c
    team/murf/fast-ast/configs/queues.conf.sample
    team/murf/fast-ast/configs/res_odbc.conf.sample
    team/murf/fast-ast/configure
    team/murf/fast-ast/funcs/func_uri.c
    team/murf/fast-ast/include/asterisk/app.h
    team/murf/fast-ast/include/asterisk/channel.h
    team/murf/fast-ast/include/asterisk/cli.h
    team/murf/fast-ast/include/asterisk/term.h
    team/murf/fast-ast/main/app.c
    team/murf/fast-ast/main/cli.c
    team/murf/fast-ast/main/config.c
    team/murf/fast-ast/main/frame.c
    team/murf/fast-ast/main/logger.c
    team/murf/fast-ast/main/pbx.c
    team/murf/fast-ast/main/rtp.c
    team/murf/fast-ast/main/term.c
    team/murf/fast-ast/pbx/ael/ael-test/ref.ael-test3
    team/murf/fast-ast/pbx/pbx_ael.c
    team/murf/fast-ast/pbx/pbx_dundi.c
    team/murf/fast-ast/res/res_odbc.c

Propchange: team/murf/fast-ast/
------------------------------------------------------------------------------
Binary property 'branch-1.4-blocked' - no diff available.

Propchange: team/murf/fast-ast/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Propchange: team/murf/fast-ast/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Wed Nov 15 14:22:53 2006
@@ -22,3 +22,4 @@
 menuselect-tree
 autom4te.cache
 makeopts.embed_rules
+aclocal.m4

Propchange: team/murf/fast-ast/
------------------------------------------------------------------------------
    svnmerge-blocked = /branches/1.2:47648

Propchange: team/murf/fast-ast/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Wed Nov 15 14:22:53 2006
@@ -1,1 +1,1 @@
-/trunk:1-47361
+/branches/1.4:1-47483

Modified: team/murf/fast-ast/CHANGES
URL: http://svn.digium.com/view/asterisk/team/murf/fast-ast/CHANGES?view=diff&rev=47692&r1=47691&r2=47692
==============================================================================
--- team/murf/fast-ast/CHANGES (original)
+++ team/murf/fast-ast/CHANGES Wed Nov 15 14:22:53 2006
@@ -59,3 +59,5 @@
     setqueueentryvar options for each queue, see queues.conf.sample for details.
   * Brazilian Portuguese (pt-BR) in VM, and say.c was added via patch from cfassoni.
   * CID matching information is now shown when doing 'dialplan show'.
+  * app_queue now has a 'loose' option which is almost exactly like 'strict' except it
+     does not count paused queue members as unavailable.

Modified: team/murf/fast-ast/Makefile
URL: http://svn.digium.com/view/asterisk/team/murf/fast-ast/Makefile?view=diff&rev=47692&r1=47691&r2=47692
==============================================================================
--- team/murf/fast-ast/Makefile (original)
+++ team/murf/fast-ast/Makefile Wed Nov 15 14:22:53 2006
@@ -683,6 +683,8 @@
 	rm -rf $(DESTDIR)$(ASTETCDIR)
 	rm -rf $(DESTDIR)$(ASTLOGDIR)
 
+menuconfig: menuselect
+
 menuselect: menuselect/menuselect menuselect-tree
 	- at menuselect/menuselect $(GLOBAL_MAKEOPTS) $(USER_MAKEOPTS) menuselect.makeopts && (echo "menuselect changes saved!"; rm -f channels/h323/Makefile.ast main/asterisk) || echo "menuselect changes NOT saved!"
 

Modified: team/murf/fast-ast/acinclude.m4
URL: http://svn.digium.com/view/asterisk/team/murf/fast-ast/acinclude.m4?view=diff&rev=47692&r1=47691&r2=47692
==============================================================================
--- team/murf/fast-ast/acinclude.m4 (original)
+++ team/murf/fast-ast/acinclude.m4 Wed Nov 15 14:22:53 2006
@@ -577,7 +577,7 @@
 	[assume the C compiler uses GNU ld @<:@default=no@:>@])],
     [test "$withval" = no || with_gnu_ld=yes],
     [with_gnu_ld=no])
-AC_REQUIRE([AC_PROG_SED])dnl
+AC_REQUIRE([AST_PROG_SED])dnl
 AC_REQUIRE([AC_PROG_CC])dnl
 AC_REQUIRE([AC_CANONICAL_HOST])dnl
 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
@@ -682,4 +682,25 @@
  AC_SUBST([EGREP])
 ])]) # AST_PROG_EGREP
 
-
+# AST_PROG_SED
+# -----------
+# Check for a fully functional sed program that truncates
+# as few characters as possible.  Prefer GNU sed if found.
+AC_DEFUN([AST_PROG_SED],
+[AC_CACHE_CHECK([for a sed that does not truncate output], ac_cv_path_SED,
+    [dnl ac_script should not contain more than 99 commands (for HP-UX sed),
+     dnl but more than about 7000 bytes, to catch a limit in Solaris 8 /usr/ucb/sed.
+     ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
+     for ac_i in 1 2 3 4 5 6 7; do
+       ac_script="$ac_script$as_nl$ac_script"
+     done
+     echo "$ac_script" | sed 99q >conftest.sed
+     $as_unset ac_script || ac_script=
+     _AC_PATH_PROG_FEATURE_CHECK(SED, [sed gsed],
+	[_AC_FEATURE_CHECK_LENGTH([ac_path_SED], [ac_cv_path_SED],
+		["$ac_path_SED" -f conftest.sed])])])
+ SED="$ac_cv_path_SED"
+ AC_SUBST([SED])dnl
+ rm -f conftest.sed
+])# AST_PROG_SED
+

Modified: team/murf/fast-ast/apps/app_amd.c
URL: http://svn.digium.com/view/asterisk/team/murf/fast-ast/apps/app_amd.c?view=diff&rev=47692&r1=47691&r2=47692
==============================================================================
--- team/murf/fast-ast/apps/app_amd.c (original)
+++ team/murf/fast-ast/apps/app_amd.c Wed Nov 15 14:22:53 2006
@@ -151,8 +151,8 @@
 			maximumNumberOfWords = atoi(args.argMaximumNumberOfWords);
 		if (!ast_strlen_zero(args.argSilenceThreshold))
 			silenceThreshold = atoi(args.argSilenceThreshold);
-	} else
-		ast_log(LOG_NOTICE, "AMD using the default parameters.\n");
+	} else if (option_debug)
+		ast_log(LOG_DEBUG, "AMD using the default parameters.\n");
 
 	/* Now we're ready to roll! */
 	if (option_verbose > 2)

Modified: team/murf/fast-ast/apps/app_chanspy.c
URL: http://svn.digium.com/view/asterisk/team/murf/fast-ast/apps/app_chanspy.c?view=diff&rev=47692&r1=47691&r2=47692
==============================================================================
--- team/murf/fast-ast/apps/app_chanspy.c (original)
+++ team/murf/fast-ast/apps/app_chanspy.c Wed Nov 15 14:22:53 2006
@@ -658,7 +658,8 @@
 
 	if ((argc = ast_app_separate_args(data, '|', argv, sizeof(argv) / sizeof(argv[0])))) {
 		context = argv[0];
-		exten = strsep(&context, "@");
+		if (!ast_strlen_zero(argv[0]))
+			exten = strsep(&context, "@");
 		if (ast_strlen_zero(context))
 			context = ast_strdupa(chan->context);
 		if (argc > 1)

Modified: team/murf/fast-ast/apps/app_dial.c
URL: http://svn.digium.com/view/asterisk/team/murf/fast-ast/apps/app_dial.c?view=diff&rev=47692&r1=47691&r2=47692

[... 4483 lines stripped ...]


More information about the asterisk-commits mailing list