russell
e713821850
there is no need for __iax_frame_free ...
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41650 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 21:50:07 +00:00
russell
405acc2368
there is no need to use iax_frame_free here, as it will actually just end up
...
having a bunch of erroneous messages about attempting to double free frames
spammed to the console. Problem reported to me by file ...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41629 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 20:39:12 +00:00
file
3f22aa53af
Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it!
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41507 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 01:59:02 +00:00
russell
53f8d43e29
Merge team/russell/frame_caching
...
There are some situations in Asterisk where ast_frame and/or iax_frame
structures are rapidly allocatted and freed (at least 50 times per second
for one call).
This code significantly improves the performance of ast_frame_header_new(),
ast_frdup(), ast_frfree(), iax_frame_new(), and iax_frame_free() by keeping
a thread-local cache of these structures and using frames from the cache
whenever possible instead of calling malloc/free every time.
This commit also converts the ast_frame and iax_frame structures to use the
linked list macros.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41278 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29 20:50:36 +00:00
russell
9101f1b8e7
make the counting of ingress, outgress, and total frames thread-safe
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38587 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-31 17:27:42 +00:00
russell
f395a52a02
Merge a new implementation of ast_inet_ntoa, our thread safe replacement for
...
inet_ntoa, which uses thread specific data (aka thread local storage) instead
of stack allocatted buffers to store the result.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38042 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-21 17:31:28 +00:00
markster
a82143962a
Support hold/unhold in Zap, update IAX2 parser to know about modern commands, forward hold/unhold in dial, add hold device state
...
and implement holding in the SLA.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37318 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-08 02:24:07 +00:00
kpfleming
73c525e6e2
simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 18:54:56 +00:00
kpfleming
21d21f89c0
use string fields for some stuff in ast_channel
...
const-ify some more APIs
remove 'type' field from ast_channel, in favor of the one in the channel's tech structure
allow string field module users to specify the 'chunk size' for pool allocations
update chan_alsa to be compatible with recent const-ification patches
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9060 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01 23:05:28 +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
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
615fc64a77
issue #5693
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7058 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-10 23:42:45 +00:00
kpfleming
104f491fc7
revert strncpy->ast_copy_string changes where the semantics are subtly different
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6914 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-31 23:28:30 +00:00
russell
b20f2640e3
strncpy to ast_copy_string
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6867 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-27 02:42:05 +00:00
russell
bb65d2e30a
more doxygenification (issue #5513 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6852 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26 13:03:17 +00:00
markster
64291f076e
iax2 parser cleanups
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6627 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-21 12:47:03 +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
russell
7258be9c1e
don't use a signed buffer for data that the protocol specifies as unsigned.
...
This fixes an issues with RSA authentication (issue #5148 )
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6554 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-09 01:07:25 +00:00
kpfleming
abf34c0a59
use unsigned char for data elements and native-signed char for strings (issue #5104 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6508 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-02 19:17:19 +00:00
kpfleming
9a19b48fb9
ensure buffer is adequately sized for frames with lots of elements (issue #4974 )
...
various minor formatting/cleanup changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6386 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-23 17:38:58 +00:00
markster
4bc2bc78bf
Fix IAX2 encryption (really, bug #4500 for reference)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6103 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-12 14:46:20 +00:00
markster
7a0178bc4d
Various IAX2 fixes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5901 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-13 08:48:17 +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
09f3094700
another round of version tag updates, along with 'show version files' pattern filtering
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5865 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 21:09:59 +00:00
russell
3c746d45b9
various code cleanups (bug #4353 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5764 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-25 10:57:15 +00:00
russell
6c8c36cb12
print out the IAX DATETIME IE in 'iax2 debug' in human readable form
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5711 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-17 19:41:09 +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
fc3600f9e4
fix breakage from slin endianness commit earlier today (sorry :-()
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5375 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-04 02:13:40 +00:00
kpfleming
4ce1edc05c
handle AST_FORMAT_SLINEAR endianness properly on big-endian systems (bug #3865 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5373 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-03 22:57:18 +00:00
markster
de060dd25b
Simplify endianness and fix for unaligned reads (bug #3867 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5295 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-29 04:49:24 +00:00
markster
57710533e7
Add support for Solaris/x86 (bug #3064 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5199 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-17 23:12:15 +00:00
markster
44ee08e9d9
Fix queue URL passing (bug #3543 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5104 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-28 06:06:42 +00:00
markster
08db13f776
Add support for receiver reports (bug #3236 , with mods)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5012 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-12 18:52:14 +00:00
russell
7288b1ced0
update copyright headers for 2005
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4868 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-21 07:06:25 +00:00
markster
4c5d430977
Merge experimental codec preferences for IAX2 (bug #2971 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4727 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-09 10:32:53 +00:00
markster
8b4c7c6f2e
Minor IAX2 fixes, add incomplete-but-very-basically-functional IAX2 encryption
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4595 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-29 23:02:21 +00:00
markster
7d6a256893
Merge Tilghman's cause codes patch (bug #3032 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4558 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-26 22:33:25 +00:00
markster
70cedacdde
Merge slimey's Solaris compatibility (with small mods) (bug #2740 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4446 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-14 23:36:30 +00:00
markster
fc16142d07
Add sampling rate handling
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4299 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-19 21:52:25 +00:00
citats
0ddc4d30dd
Pass format string
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4079 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-24 06:44:37 +00:00
markster
f01f076e6d
Add iax2 parsing for TNS/TON/PRES
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3877 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-02 01:56:08 +00:00
markster
59d241ba13
Minor formatting fixup (bug #2397 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3748 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-09 01:36:01 +00:00
markster
426c0ee1bb
Fix information elements
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3549 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-31 02:51:40 +00:00
markster
41300db58d
Add IAX provisioning support to Asterisk
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3382 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-07 09:34:01 +00:00
markster
34117659e3
Use INET_ADDRLEN (bug #1956 ) (from airport!)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3364 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-30 16:56:51 +00:00
markster
ed56b47de7
Create reentrant ast_inet_ntoa and replace all inet_ntoa's with ast_inet_ntoa's (but #1944 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3345 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-29 12:56:46 +00:00
markster
1e1095862d
x86-64 compile fixes and cleanups
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3202 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-13 21:25:10 +00:00
markster
fc25b90e0b
Handle debugging of unknown IE's properly
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3070 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-25 15:16:45 +00:00
markster
c57919ab72
Enable understanding of service identifier and provisioning version
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3065 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-25 04:34:43 +00:00
markster
ff49af076a
Oops that wasn't quite right. Partially revert changes until real data is collected.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2749 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-22 19:16:52 +00:00