dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

225 Commits

Author SHA1 Message Date
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
kpfleming 2dd14b8c0e more ast_copy_string() conversion
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5849 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-05 16:32:16 +00:00
kpfleming 62d73d678b make ast_waitstream_* return value compatible with platforms that use unsigned char by default (bug #4455)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5846 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-05 15:04:43 +00:00
kpfleming 7a570fc489 make 'show channeltypes' list whether device state is supported (bug #4464)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5840 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-05 14:32:32 +00:00
kpfleming 46d0533b99 support configurable batch posting of CDRs (off by default) (bug #3883)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5823 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-03 01:42:31 +00:00
kpfleming 6fc75b43ce make 'show channeltypes' output format work properly (bug #4413)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5820 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-02 21:37:09 +00:00
kpfleming 82770f927f code formatting and comments, plus minor device state fix (bug #4171)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5669 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15 04:48:30 +00:00
markster 65a88a4140 Remove double fout++ and comment on flag (bug #4267)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5649 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-14 23:26:37 +00:00
kpfleming b7e6d89aa2 don't use '%i' at all, since we have no current use cases that need non base-10 parsing (bug #4110)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5533 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-29 17:00:33 +00:00
markster ca2e40b540 If poll returns 0, force *ms to 0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5502 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-24 22:54:50 +00:00
kpfleming d6e1341f9b phase 1 of header include cleanup (bug #4067)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5498 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-22 13:11:34 +00:00
kpfleming 680a9198c7 initialize errno and don't report an error when poll() returns without indicating one (bug #4059)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5492 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-22 01:40:23 +00:00
kpfleming 31e8dcf4fe use double-quotes instead of angle-brackets for non-system include files (bug #4058)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21 06:02:45 +00:00
kpfleming b628a58e58 don't force transcoding through SLINEAR when transcoding is not needed at all
clean up formatting and variable names in ast_channel_make_compatible


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5483 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-18 16:26:41 +00:00
kpfleming 71fb6b3ec3 optimize codec selection and format changing code
force all transcode paths to use AST_FORMAT_SLINEAR as the frames pass through the bridge (can be disabled using the 'transcode_via_sln' setting in th 'options' setting in asteris.conf)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5376 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-04 03:28:38 +00:00
kpfleming d40a3ddc77 don't take the channel list lock until we're actually ready to put the new channel into the list in ast_channel_alloc (bug #3928)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5352 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-01 21:38:17 +00:00
mattf 474f5219a9 Merging in xylome's beaerer capabilty patch (bug 3547)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5342 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-01 17:00:50 +00:00
markster 6dd95a6ab9 Fix build without zaptel (bug #3901)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5320 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-31 19:07:27 +00:00
markster 2192c24d24 Make bridging more efficient
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5311 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-31 03:00:37 +00:00
anthm 7caf344d57 increase queue length of chanspy queue
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5310 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-30 22:09:01 +00:00
anthm c8197a8a9a add missing newlines
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5307 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-30 16:20:53 +00:00
markster d55d17a494 Fix a bunch of const stuff, merge queue changes, add experimental "hybrid" DTMF mode
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5293 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-28 20:48:24 +00:00
markster 8b9ed53f93 GCC 4 fix (bug #3875)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5274 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-27 21:58:10 +00:00
anthm d0a96e1719 Fix the mysterious missing if
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5245 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-24 03:04:45 +00:00
markster 2658029648 Merge API changes for chanspy
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5238 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-23 21:52:31 +00:00
markster 047f2b08f2 Make sure that waitfordigit_full doesn't hangup on -EINTR (bug #3831)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5232 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-22 22:44:55 +00:00