Archived
14
0
Fork 0
Commit graph

350 commits

Author SHA1 Message Date
russell
b55d2bd3ea define a global null_frame object so when queueing a null frame, you don't
have to allocate one on the stack


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9001 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-31 17:18:58 +00:00
markster
df81c56d13 Merge Rizzo's waitfor update (bug #4584)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8877 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-30 03:13:33 +00:00
kpfleming
666c469664 don't use tone generation for DTMF if the channel driver only supports begin/end (will need more work to translate non-variable events into begin/end events)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8852 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-29 05:29:29 +00:00
kpfleming
9c36c7330f add channel-driver callbacks for variable length DTMF
teach ast_write() to call those new callbacks


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8851 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-29 05:15:24 +00:00
kpfleming
d6dcf07573 make ast_read() able to handle channel read()/exception() methods that return a chain of frames
cleanup code in ast_read()
add AST_FRAME_DTMF_BEGIN and AST_FRAME_DTMF_END so that variable-length DTMF events can be supported
teach chan_zap to send DTMF_BEGIN and DTMF_END when appropriate


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8850 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-29 05:07:04 +00:00
oej
54aaae07e5 Issue #6349 - patch by markster, imported from 1.2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8633 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-25 09:50:28 +00:00
kpfleming
fc8902082c Merged revisions 8588 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8588 | kpfleming | 2006-01-24 16:32:09 -0600 (Tue, 24 Jan 2006) | 2 lines

ensure that channel cannot become zombie after we check but before we try to start indications

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8591 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24 22:38:17 +00:00
russell
90b3bcb192 convert ast_channel list to use linked list macros (issue #6338)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8571 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24 20:20:05 +00:00
oej
1e6538d0cc - Report SIP reload in manager (issue 5742 with small changes)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8531 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24 12:48:44 +00:00
russell
ed78054d57 Merged revisions 8437 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8437 | russell | 2006-01-22 12:47:13 -0500 (Sun, 22 Jan 2006) | 2 lines

fix MixMonitor crash (issue #6321, probably others)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8438 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-22 17:53:14 +00:00
russell
00c1a3311e add 'show channeltype' CLI command (issue #6149, with small modifications)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8422 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-22 02:23:38 +00:00
russell
252fb982f4 on this pass, only remove duplicate log messages
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8403 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 20:57:06 +00:00
russell
b79bdab5cc finish reverting my pass through the tree to remove checks of the result of
ast_strdupa, this one is revision 8362


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8401 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 20:20:06 +00:00
russell
708a7ca40e remove some useless checks after calls to ast_strdupa
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8362 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 00:42:25 +00:00
oej
6175874be9 Extra comma causing compilation errors...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8137 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-17 18:56:57 +00:00
kpfleming
2684505cef don't generate any message for native bridge attempts unless all the basic checks have passed and we're actually going to try it
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8120 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-17 05:15:33 +00:00
bweschke
4e83a000aa Spelling corrections (mostly in comments and doxygen areas) #6249
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8100 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-16 17:37:44 +00:00
russell
f70016e71e Merged revisions 7963 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7963 | mogorman | 2006-01-10 23:38:07 -0500 (Tue, 10 Jan 2006) | 2 lines

Minor typo refrenced in 6191

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8090 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-16 01:47:02 +00:00
mogorman
61820f0d59 added feature for pausing and unpausing the
monitor app from manager and in the call through
features.conf bug 5395 for the patch


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8070 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-14 00:32:30 +00:00
mattf
18ad8f1708 More changes to make t.38 support work
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8015 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-12 17:14:58 +00:00
russell
a4bf0f21f3 oops. :)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7974 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11 06:35:34 +00:00
russell
1d62e35521 - add AST_LIST_HEAD_NOLOCK_STATIC, similar to AST_LIST_HEAD_STATIC, but without the lock!
- store registered channel backends using linked list macros


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7968 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11 05:05:13 +00:00
markster
d1d90f47fd Add support for H.264 with SIP and recording
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7855 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07 17:54:22 +00:00
kpfleming
c8282b54f4 Merged revisions 7825 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7825 | kpfleming | 2006-01-05 17:49:50 -0600 (Thu, 05 Jan 2006) | 3 lines

eliminate rounding errors that caused call time limits to be inaccurate (issue #5913)
round 'time left' reported during call limit warnings up to sound more accurate

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7826 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-05 23:52:34 +00:00
kpfleming
f903e4b53c Merged revisions 7799-7800 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7799 | kpfleming | 2006-01-04 17:02:38 -0600 (Wed, 04 Jan 2006) | 2 lines

make monitoring more tolerant of peers that deliver frames in bursts

........
r7800 | kpfleming | 2006-01-04 17:27:57 -0600 (Wed, 04 Jan 2006) | 2 lines

ensure that ulaw/alaw sound files are filled with silence when extended (not zeroes)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7801 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-04 23:29:37 +00:00
oej
0ab438ba50 Issue #6127: Count in show channeltypes (junky)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7776 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-04 09:22:45 +00:00
kpfleming
385d29ad6f update copyright headers for files changed this year
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7751 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03 22:16:23 +00:00
kpfleming
66b30d5d48 Merged revisions 7740 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7740 | kpfleming | 2006-01-03 11:24:56 -0600 (Tue, 03 Jan 2006) | 4 lines

revert incorrect fix for bug #6048 from revision 7709
put in correct (simpler) fix
add doxygen docs for channel spy 'state' values

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7741 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03 17:25:39 +00:00
russell
ac92339942 remove some duplicated code (issue #6098)
Also, touch up some formatting


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7691 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-01 08:45:29 +00:00
russell
e030af0394 update comments to doxygen style
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7688 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-31 16:35:48 +00:00
russell
ab6566173e update doxygen docs to specify authors
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30 21:18:06 +00:00
tilghman
22011cf1eb Merged revisions 7677 via svnmerge from
/branches/1.2


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7678 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30 14:57:00 +00:00
russell
eb360ec8d1 minor cleanups ...
- use for loops instead of while loops for basic list traversals
- remove an unused 'res' variable
- formatting tweaks


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7617 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-24 05:18:40 +00:00
markster
be3c78074e Major peformance improvements to meetme
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7547 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-20 13:07:02 +00:00
bweschke
6868685ef0 Bug #6003 - Don't free the channel structure until after having sent the manager event.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7481 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-15 02:49:17 +00:00
russell
cfb1ef4712 convert most of the option_*'s to a single ast_flags structure. Also, fix some
formatting, remove some unnecessary casts, and other little code cleanups.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7331 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-04 20:40:46 +00:00
tilghman
3365b1cc9f Bug 5858 - Make the chanvars.c functions return a 'const char *'
This should prevent us from unintentionally changing variable
values when they're returned from pbx_builtin_getvar_helper.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7304 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-03 19:25:33 +00:00
kpfleming
907b53f827 Merged revisions 7265-7266,7268-7275 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7265 | oej | 2005-12-01 17:18:14 -0600 (Thu, 01 Dec 2005) | 2 lines

Changing bug report address to the Asterisk issue tracker

........
r7266 | kpfleming | 2005-12-01 17:18:29 -0600 (Thu, 01 Dec 2005) | 3 lines

Makefile 'update' target now supports updating from Subversion repositories (issue #5875)
remove support for 'patches' subdirectory, it's no longer useful

........
r7268 | kpfleming | 2005-12-01 17:34:58 -0600 (Thu, 01 Dec 2005) | 2 lines

ensure channel's scheduling context is freed (issue #5788)

........
r7269 | kpfleming | 2005-12-01 17:49:44 -0600 (Thu, 01 Dec 2005) | 2 lines

don't block waiting for the Festival server forever when it goes away (issue #5882)

........
r7270 | kpfleming | 2005-12-01 18:26:12 -0600 (Thu, 01 Dec 2005) | 2 lines

allow variables to exist on both 'halves' of the Local channel (issue #5810)

........
r7271 | kpfleming | 2005-12-01 18:28:48 -0600 (Thu, 01 Dec 2005) | 2 lines

protect agent_bridgedchannel() from segfaulting when there is no bridged channel (issue #5879)

........
r7272 | kpfleming | 2005-12-01 18:39:00 -0600 (Thu, 01 Dec 2005) | 3 lines

properly handle password changes when mailbox is last line of config file and not followed by a newline (issue #5870)
reformat password changing code to conform to coding guidelines (issue #5870)

........
r7273 | kpfleming | 2005-12-01 18:42:40 -0600 (Thu, 01 Dec 2005) | 2 lines

allow previous context-searching behavior to be used if desired (issue #5899)

........
r7274 | kpfleming | 2005-12-01 18:51:15 -0600 (Thu, 01 Dec 2005) | 2 lines

inherit channel variables into channels created by Page() application (issue #5888)

........
r7275 | oej | 2005-12-01 18:52:13 -0600 (Thu, 01 Dec 2005) | 2 lines

Bug #5907. Improve SIP INFO DTMF debugging output. (1.2 & Trunk)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7276 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-02 01:01:11 +00:00
kpfleming
dd5cbe5023 free write frames when spy queues provide frames that don't need to be dup'd
properly lock and trigger spies when detaching them en masse


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7223 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-30 03:16:53 +00:00
kpfleming
24c1e3c222 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
kpfleming
d3df1fc9b2 issue #5770
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7117 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-16 18:11:28 +00:00
kpfleming
87a3621538 issue #5590
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7068 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-11 03:48:28 +00:00
kpfleming
05f53b2eb9 native bridging changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6944 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-02 17:20:35 +00:00
kpfleming
a68250b79b issue #5564
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6935 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01 21:11:57 +00:00
kpfleming
911461e2db use a writeable frame (some channel drivers/transcoders may modify the frame after it has been passed to ast_write())
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6926 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01 18:48:05 +00:00
kpfleming
cd7ee5f7cd optionally send silence during recording (issue #5135)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6925 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01 17:22:25 +00:00
kpfleming
3b5ed22f12 fix various bugs related to list handling of channel variables (issue #5548)
use nolock lists for channel variables, since no locks are needed (these lists are either temporary or protected by the channel's own lock)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6900 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-31 15:34:11 +00:00
kpfleming
a36f58a0aa major redesign of the channel spy infrastructure, increasing efficiency and reducing locking conflicts
(nearly) complete rewrite of app_muxmon, renaming the application to MixMonitor and fixing a large number of bugs and inconsistencies
update app_chanspy to use new spy infrastructure


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6884 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-28 23:01:13 +00:00
russell
2c3b3edc86 Doxygen documentation update from oej (issue #5505)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24 20:12:06 +00:00
markster
1bde2425c6 Fix timeout > 600000 on Linux x86-32
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6836 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-20 22:45:47 +00:00
markster
76bd457fcd Handle device state changes properly when formatting characters are present (bug #5450, new patch)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6806 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-17 15:41:55 +00:00
markster
897d8edb51 Add walk by channel name prefixed
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6800 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-16 16:11:52 +00:00
markster
8dd051949d Make sure when the timeout occurs that we actually break the bridge (bug #5252)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6791 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-14 17:02:20 +00:00
kpfleming
73f73e1e7c support sending text through agent channels (issue #5295)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6787 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-14 00:46:13 +00:00
markster
c2bf316746 Fix crash in chanspy (bug #5332)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6768 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-13 22:10:16 +00:00
markster
9ebd430cd3 Fix call timeouts with rtp bridge etc (bug #5252)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6759 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-13 18:27:54 +00:00
kpfleming
01e127d112 support call duration limits on inbound OSP calls (issue #5346)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6721 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-04 23:28:57 +00:00
kpfleming
0fdee4f59c code cleanups
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6696 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-29 17:40:24 +00:00
kpfleming
e9898b3d7f add API for searching active channels by context/exten
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6619 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15 16:34:39 +00:00
kpfleming
95fe2b8fd4 update MANY more files with proper copyright/license info (thanks Ian!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 20:46:50 +00:00
kpfleming
5e2f0a65d0 various devicestate fixes (issue #5081, take two)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6496 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-01 22:28:33 +00:00
kpfleming
5424402fc1 don't reverse variable order during inheritance (issue #5091)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6489 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-01 21:50:49 +00:00
kpfleming
9fa8008137 eliminate old chan->pvt field, and fix bug in generic bridge to watch chan->tech_pvt instead
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6479 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-01 00:10:49 +00:00
kpfleming
5978fd4ed9 ensure revents fields are initialized before calling poll()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6476 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-31 22:12:23 +00:00
kpfleming
0a27fd71e7 clarify comments (issue #5075)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6474 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-31 21:28:12 +00:00
markster
cd0067f95a Add SIP video fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6448 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-30 02:12:09 +00:00
kpfleming
2b81f7865d ensure CDR pointer is cleared after detaching it from channel (related to issue #4877)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6444 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-29 23:11:29 +00:00
kpfleming
887ebd5ee7 add a LOG_DTMF logging channel and send all bridged DTMF events out that channel (issue #4835)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6358 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-22 21:19:59 +00:00
kpfleming
589f7e7c7b temporarily revert aggressive native bridge attempts
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6339 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-16 20:37:27 +00:00
kpfleming
e915d19e2f bridging code cleanups:
code style, formatting
	use enum/symbolic constants for return codes
	efficiency improvements
	(zaptel) only disable DTMF detection once per bridge, not every frame
	(zaptel) ensure VPM DTMF detector is turned off during native bridge


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6312 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-09 01:59:59 +00:00
markster
53fb7866ab Don't wait longer than our timeout for something to happen (bug #4653)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6309 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-08 06:54:36 +00:00
markster
a12bd1bf67 Fix timestamp issue with features (bug #4760 with mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6268 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-03 04:42:59 +00:00
markster
cc95e732c7 Fix monitoring when channel redirected (bug #3809, patch redone)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6247 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-31 21:27:21 +00:00
russell
e273ab76f0 fix warning
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6236 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-27 22:19:49 +00:00
kpfleming
a3967dd811 formatting cleanups (bug #4782)
fill out some Manager events with additional headers (bug #4782)
re-word some log messages to be clearer (bug #4782)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6208 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-25 22:13:32 +00:00
russell
ea032696e6 get rid of a warning
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6189 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-25 17:27:36 +00:00
russell
cba0f54bb7 put ast_recvchar under its desc, add desc for ast_senddigit, don't use a
length limited copy for a static copy into a buffer that we *know* is big
enough


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6178 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-20 16:39:49 +00:00
russell
fac0763b74 get rid of unused variable
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6151 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-18 05:00:23 +00:00
russell
1952459258 Allow manager originate to specifiy more than one variable to be set.
Allow manager originate and spool files to set writable dialplan functions,
including those that use the pipe symbol to seperate arguments.
Allow CDR dialplan function to be able to set the account code and userfield.
This deprecates the use of the Account header in manager originate and spool
files, as well as the SetAccount and SetCDRUserField applications.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6147 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 23:24:51 +00:00
kpfleming
ff15e0fa53 add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6146 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 23:00:47 +00:00
kpfleming
63a6a077da phase two of string portability stuff:
don't need ast_ prefixes on functions
  use individual #defines for function presence
  add vasprintf to portability library


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6143 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 22:06:15 +00:00
kpfleming
4903f50fe8 first phase of proper fix for portable string function problems (bug #4669)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6133 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 00:39:01 +00:00
kpfleming
7291c2c739 fix logic error in searching for channel by name (bug #4684)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6110 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-12 16:00:23 +00:00
kpfleming
f4fecc342e cast constants into the proper type (bug #4686)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6106 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-12 15:13:39 +00:00
anthm
1b09b7eb36 Typo Fix (per corydon76)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6067 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-09 20:37:59 +00:00
malcolmd
3d0410fcbf D'oh
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6066 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-09 15:36:59 +00:00
malcolmd
5af73195c1 Bug #4652 - Take two
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6065 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-09 12:18:59 +00:00
malcolmd
7b1859927c Bug #4652 - Require libstrfunc for FreeBSD. Thanks Corydon
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6064 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-08 21:54:07 +00:00
kpfleming
1945cc0f81 queue device state changes and handle them serially in a background thread
optimize device state related functions
add ast_get_channel_by_name_prefix to allow searching for matching channels in O(1) operation


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6062 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-08 21:14:34 +00:00
kpfleming
dbe003a6c1 don't write frames out to channel until after sending them to spies and/or monitor, since the channel driver might modify the frame data in the buffer (bug #4623)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6035 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-05 22:21:54 +00:00
kpfleming
d38807784a ensure that text frames are copied correctly even if they are not null-terminated (bug #4615)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6030 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-05 19:52:48 +00:00
russell
0b7a2ea0e7 add function to convert a cause code to a string
create MAX_MUSICCLASS instead of using MAX_LANGUAGE


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6024 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-05 17:16:17 +00:00
kpfleming
c72d7d5797 optimize ast_recvchar/ast_recvtext (bug #4591)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5989 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-23 21:28:09 +00:00
kpfleming
625cf523af add channel CLID info in manager Link event (bug #4548 with minor mod)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5963 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-21 23:10:29 +00:00
kpfleming
2d0f688caf add AGI 'RECEIVE TEXT' command (bug #4525)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5950 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-21 01:16:18 +00:00
markster
7492929a98 Fix timelimit bug (bug #4552)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5936 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-18 17:18:02 +00:00
russell
5028000733 fix deadlock message output (bug #4508)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5907 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-14 18:09:56 +00:00
kpfleming
6f0f46299c more file version tags
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 22:12:19 +00:00
kpfleming
b2cbb6a75d remove experimental module version tags
add per-file revision tags and 'show version files' CLI command


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 20:27:51 +00:00
kpfleming
7b1b9f53ef more efficient (and understandable) ast_channel_walk_locked, and vastly more efficient ast_channel_by_name_locked (bug #4265)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5853 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 02:29:18 +00:00