Kevin P. Fleming
4662d58b01
add API function for parsing strings to time_t (issue #6320 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-15 00:24:24 +00:00
Kevin P. Fleming
96bf384e7d
major dialplan functions update
...
deprecate LANGUAGE() and MUSICCLASS(), in favor of CHANNEL()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-12 04:28:58 +00:00
Russell Bryant
452f87a465
Merged revisions 9609 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r9609 | russell | 2006-02-11 14:23:20 -0500 (Sat, 11 Feb 2006) | 2 lines
fix memory leak from not destroying the scheduler context on module unload
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9610 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 19:31:11 +00:00
Mark Spencer
c74856b173
Make IAX2 not try to authenticate when registration info is not changing
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 07:06:23 +00:00
Russell Bryant
14906b3cfc
Merged revisions 9246 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r9246 | russell | 2006-02-08 20:24:55 -0500 (Wed, 08 Feb 2006) | 2 lines
reload peercontext on iax2 reload (issue #6442 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9247 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-09 01:33:50 +00:00
Kevin P. Fleming
a16ae226b6
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: https://origsvn.digium.com/svn/asterisk/trunk@9060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-01 23:05:28 +00:00
Russell Bryant
a228af1dd9
remove some more local declarations of null frames
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9004 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-31 17:57:12 +00:00
Matthew Fredrickson
0296f45bff
Add rdnis rx/tx support to chan_iax2 ( #6348 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8799 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-27 23:55:37 +00:00
Kevin P. Fleming
c767a66da5
don't queue a congestion frame on a channel that will be immediately hung up anyway
...
clean up/organize code block
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-25 14:52:43 +00:00
Russell Bryant
4414f45393
on this pass, only remove duplicate log messages
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 20:57:06 +00:00
Russell Bryant
9fa6eb5e07
revert my pass through the tree to remove checks of the result of ast_strdupa
...
(revisions 8378 through 8381)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8387 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 17:50:04 +00:00
Russell Bryant
847260bb77
remove some useless checks of the result of ast_strdupa
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 08:01:24 +00:00
Matt O'Gorman
bc133ed475
Merged revisions 8320 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r8320 | mogorman | 2006-01-19 19:00:46 -0600 (Thu, 19 Jan 2006) | 3 lines
solved problem with delayreject and iax trunking
bug 4291
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8323 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-20 01:07:46 +00:00
Olle Johansson
0fd8b4cb3b
Doxygen updates
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-20 00:08:36 +00:00
Russell Bryant
6f71e1178e
constify arguments in more places where strings should not be modified (issue #6286 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-18 22:17:31 +00:00
Russell Bryant
466a062b09
convert some channels to use the memory allocation wrappers.
...
(This is being added to the janitor projects list.)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11 01:20:29 +00:00
Kevin P. Fleming
8d17df65ce
Merged revisions 7917 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r7917 | kpfleming | 2006-01-09 16:48:48 -0600 (Mon, 09 Jan 2006) | 2 lines
re-initialize _all_ sequence numbers when transfer completes
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7918 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-09 23:06:28 +00:00
Kevin P. Fleming
a4f8d466e8
update copyright headers for files changed this year
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03 22:16:23 +00:00
BJ Weschke
7aad650606
Fix compiler warnings.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7705 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-02 01:53:26 +00:00
Russell Bryant
a725468381
update doxygen docs to specify authors
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-30 21:18:06 +00:00
Russell Bryant
37e21fc61c
avoid unneeded calls to strlen in iax2 completion functions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7659 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-27 19:48:44 +00:00
Russell Bryant
ef1ce7aec9
Merged revisions 7634 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r7634 | russell | 2005-12-26 13:19:12 -0500 (Mon, 26 Dec 2005) | 2 lines
cast time_t to an int in printf/scanf (issue #5635 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-26 18:35:28 +00:00
Mark Spencer
6322aaad68
Fix reload of peer contexts (bug #6007 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-20 09:39:31 +00:00
Tilghman Lesher
870f98f02d
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: https://origsvn.digium.com/svn/asterisk/trunk@7304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-03 19:25:33 +00:00
Kevin P. Fleming
2c65582b66
remove extraneous svn:executable properties
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Kevin P. Fleming
e9cde1fbdb
fix port number handling in peer building functions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7182 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-21 19:27:26 +00:00
Kevin P. Fleming
354b7f1a81
fix a bug found during a recent upgrade
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7180 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-21 19:20:26 +00:00
Russell Bryant
f367620dd9
issue #5815
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-21 13:04:36 +00:00
Russell Bryant
913232e82e
issue #5794
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7156 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-21 00:57:35 +00:00
Josh Roberson
85d60cf7ab
issue #5792
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-20 05:19:04 +00:00
Mark Spencer
2b547e1f9e
Fix build on FreeBSD 4.11
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-12 20:04:57 +00:00
Kevin P. Fleming
38c665bd67
fix typo
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-12 00:53:47 +00:00
Kevin P. Fleming
36315b865b
issue #5713
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7074 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-11 16:02:56 +00:00
Kevin P. Fleming
1740d40182
issue #5693
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-10 23:42:45 +00:00
Kevin P. Fleming
8c9a32bd4b
issue #5685
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7057 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-10 23:34:30 +00:00
Kevin P. Fleming
6dabdbc7cd
eliminate useless warnings generated by IAXy registrations
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7044 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-09 19:05:52 +00:00
Kevin P. Fleming
cdf4031963
issue #3360 plus related fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-09 00:48:38 +00:00
Russell Bryant
31a804b97c
issue #5605
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-06 15:09:47 +00:00
Russell Bryant
1781e73435
use enum's for iax user/peer flags, and for pvt state
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6976 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-06 05:52:26 +00:00
Russell Bryant
5039ee0965
allow the IAXPEER function to check a peer's status
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6961 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-04 18:40:35 +00:00
Kevin P. Fleming
e86e9a9fe3
allow netsock objects to be unref'd so they can disappear when needed (issue #5454 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6913 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 23:16:27 +00:00
Kevin P. Fleming
0a314b2454
add some additional log output and comment cleanup in the registration process (issue #5534 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6906 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 22:01:13 +00:00
Mark Spencer
6b26826bab
Remove ancient copy/paste error (bug #5541 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6890 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-29 17:45:07 +00:00
Mark Spencer
6be92affa2
Fix minor iax2 device state issue (bug #5540 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-29 16:23:32 +00:00
Russell Bryant
9ddf0e4dce
Remove unnecessary checks before calls to ast_strlen_zero. Also, change
...
some places where strlen is used instead of ast_strlen_zero
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-27 02:19:37 +00:00
Russell Bryant
d57fb0b655
doxygenify the comments for data structures and defines in chan_iax2
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6858 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 17:07:51 +00:00
Russell Bryant
f1b14773dd
use an enum instead of #define'd integers in a couple of places
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6857 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 16:18:25 +00:00
Russell Bryant
3453e3efa5
Doxygen documentation update from oej (issue #5505 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24 20:12:06 +00:00
Mark Spencer
c3226a226a
Fix segfault when building peer based on IP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-23 18:11:54 +00:00
Jim Dixon
e726a13036
Allow for obtaining IAX2 call peer (endpoint) IP address with IAXPEER(CURRENTCHAN) function
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6833 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-19 18:19:22 +00:00
Mark Spencer
4e919f337c
Fix queue, iax and sip formatting issues (bug #5449 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6811 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-17 22:26:33 +00:00
Mark Spencer
141d9f7156
Make sure when the timeout occurs that we actually break the bridge (bug #5252 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-14 17:02:20 +00:00
Kevin P. Fleming
9b69c79a36
fix compile error (%d changed to %n)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6790 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-14 05:29:41 +00:00
Jeremy McNamara
69bc7e0900
add missing new line
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6789 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-14 05:19:34 +00:00
Mark Spencer
03eb870f3e
Fix naming on realtime peers (bug #5421 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6770 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13 22:48:11 +00:00
Mark Spencer
dd11afca42
Fix call timeouts with rtp bridge etc (bug #5252 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13 18:27:54 +00:00
Mark Spencer
4d9210f705
Don't override calling presentation if *name* is present (bug #5405 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-12 05:12:43 +00:00
Mark Spencer
ea215f5b7d
Remove possibility of manager deadlocks from manager actions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6687 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-28 23:10:14 +00:00
Mark Spencer
da7c542e29
Handle authenticating *to* realtime peers (bug #5269 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-25 19:13:54 +00:00
Kevin P. Fleming
4fb8ce1fd9
allow minimum/maximum registration intervals to be set on server side (issue #51111 )
...
respect server-provided registration interval on client side
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6612 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-15 02:25:06 +00:00
Kevin P. Fleming
fadae17355
don't leave a buffer not filled in when getting a REGACK (issue #5226 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 22:51:19 +00:00
Kevin P. Fleming
5da915dcfd
update MANY more files with proper copyright/license info (thanks Ian!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 20:46:50 +00:00
Kevin P. Fleming
16cd2019b1
ensure that Manager hold/unhold events are generated even for non-bridged channels (issue #4594 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6585 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 02:18:45 +00:00
Russell Bryant
943e527d0a
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: https://origsvn.digium.com/svn/asterisk/trunk@6554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-09 01:07:25 +00:00
Kevin P. Fleming
a51556ff3e
don't reject REGREL requests (issue #5152 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6544 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 23:18:39 +00:00
Kevin P. Fleming
1e854ea773
remove useless buffer initializations (issue #5134 )
...
convert pbx_dundi to use ast_copy_string) (issue #5134 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 21:01:31 +00:00
Kevin P. Fleming
c70e1d1674
handle no-peer-specified-in-dial-string gracefully (issue #5132 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6537 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 20:52:03 +00:00
Kevin P. Fleming
5fdc070109
add new channel option (via ast_channel_setoption()) to let channel drivers adjust txgain/rxgain if they are able (only Zap channels at this time)
...
modify app_chanspy to use new gain option
reformat app_chanspy to match coding guidelines
add user-controlled volume adjustment to app_meetme (issue #4170 , heavily modified to actually work on Zap channels)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6519 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 01:30:01 +00:00
Kevin P. Fleming
6a260b78fe
use unsigned char for data elements and native-signed char for strings (issue #5104 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-02 19:17:19 +00:00
Kevin P. Fleming
a2be145193
make chan_iax2 rtupdate behave the same as chan_sip
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-02 14:19:36 +00:00
Kevin P. Fleming
d3a76999d0
various devicestate fixes (issue #5081 , take two)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6496 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-01 22:28:33 +00:00
Kevin P. Fleming
e86bb70642
stop adding 'username@' to incoming IAX2 channel names, so that they can be properly matched in the device-state system (issue #5081 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-31 22:13:40 +00:00
Kevin P. Fleming
6d19c704b7
make chan_sip and chan_iax2 less chatty when not in debug mode (issue #5067 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 21:20:59 +00:00
Russell Bryant
14fa6770e4
fix build when NEWJB is not defined (issue #5046 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-29 16:19:07 +00:00
Kevin P. Fleming
d86ce557ef
allow more adjustability in peer qualification system (issue #4192 with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6385 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-23 17:11:44 +00:00
Mark Spencer
f76171a643
Fix IAX2 Provisioning
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-19 20:04:58 +00:00
Russell Bryant
f3c9715947
fix a little oopsie
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-09 19:31:54 +00:00
Mark Spencer
97e1ede292
Centralize and fix tos for IAX (bug #4850 inspired)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6315 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-09 16:41:28 +00:00
Kevin P. Fleming
ce7a1e4768
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: https://origsvn.digium.com/svn/asterisk/trunk@6312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-09 01:59:59 +00:00
Russell Bryant
149168f4a5
remove some sillyness
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6295 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-06 17:09:18 +00:00
Mark Spencer
51c390db61
Fix timestamp + trunking (bug #4891 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-06 14:53:14 +00:00
Russell Bryant
7564500552
formatting fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6292 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-06 06:40:05 +00:00
Russell Bryant
d0cec3dd99
fix seg fault
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6288 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-05 07:03:35 +00:00
Russell Bryant
c3c496512f
'outgress' should be 'egress'
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-04 17:33:21 +00:00
Russell Bryant
6f312133ac
make sure that iaxs gets initialized (bug #4856 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6251 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-01 14:46:14 +00:00
Kevin P. Fleming
8703628608
add explanatory comment about timestamp compensation (bug #4763 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6217 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 23:13:20 +00:00
Kevin P. Fleming
3f5035dce4
_really_ fix IAX2 crazy timestamp problem (bug #4747 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6180 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-20 22:46:58 +00:00
Kevin P. Fleming
4dd4428204
split acl and netsock code into separate files, in preparation for new netsock implementation
...
various minor cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-19 23:17:02 +00:00
Kevin P. Fleming
22b0f5d306
add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 23:00:47 +00:00
Mark Spencer
3916b7e41b
Fix IAX2 encryption (really, bug #4500 for reference)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6103 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12 14:46:20 +00:00
Kevin P. Fleming
d7e09f233f
allow explicit source address/port selection for peers (bug #4257 , with minor mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12 02:19:41 +00:00
Russell Bryant
4c531ca8c0
define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-10 23:49:57 +00:00
Kevin P. Fleming
c13d601fb4
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: https://origsvn.digium.com/svn/asterisk/trunk@6062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-08 21:14:34 +00:00
Kevin P. Fleming
f268ea2b3c
make CLI output use singular/plural when appropriate (bug #4654 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-07 22:32:20 +00:00
Russell Bryant
f3e538205b
no need to call srand() when it is already called in asterisk.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6000 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-24 04:38:59 +00:00
Kevin P. Fleming
4803ab0bb2
don't use locks when reading usecounts (reading only, not writing)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-24 02:15:04 +00:00
Kevin P. Fleming
8db7830293
fix outgoing format selection breakage
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-24 01:37:15 +00:00
Kevin P. Fleming
b68ffcd38d
fix debug output (bug #4562 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5956 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-21 15:33:25 +00:00
Kevin P. Fleming
54e74ff81b
control maximum number of interpolation frames generated during silence by jitterbuffer (bug #4295 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5951 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-21 01:20:14 +00:00
Kevin P. Fleming
5285af5631
separate IAX2 protocol debugging and jitterbuffer debugging (bug #4523 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-21 01:02:07 +00:00
Mark Spencer
fb12b92a43
Various IAX2 fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-13 08:48:17 +00:00
Kevin P. Fleming
5736270107
add 'rtignoreexpire' option to allow Realtime addresses to be used regardless of expiration time (bug #4362 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-09 21:11:30 +00:00
Kevin P. Fleming
ddaa0cc0dd
don't call alloca() or alloca()-using functions in parameter lists (bug #4487 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5887 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-09 20:55:07 +00:00
Kevin P. Fleming
706bf6d427
ensure CLI commands produce proper terminating output when used with manager interface (bug #4497 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-09 19:34:12 +00:00
Kevin P. Fleming
2b8338cb52
more file version tags
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:12:19 +00:00
Kevin P. Fleming
005e436b57
another round of version tag updates, along with 'show version files' pattern filtering
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 21:09:59 +00:00
Kevin P. Fleming
4f299de252
major Makefile and build process improvements, including removal of all hardcoded paths (modules must now use run-time paths as they should) (bug #4116 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 03:04:58 +00:00
Kevin P. Fleming
8a0ade1fd8
don't call reg_source_db() until after the peer has been added to the peer list
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-05 20:05:55 +00:00
Kevin P. Fleming
68668b602d
use ast_cli_register_multiple() for CLI commands
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5838 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-03 22:04:54 +00:00
Kevin P. Fleming
a198e5af5a
use ast_strip_quoted to strip brackets from key secrets
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5835 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-03 21:02:51 +00:00
Kevin P. Fleming
860d7948ba
clean up create_addr, and use a structure instead of a large parameter list
...
make create_addr return the peer's outkey, so dynamic realtime peers can use keys for calls (bug #4431 )
add key support for switch connection strings
use a common dial/switch string parser instead of three copies (none of them identical)
make doxygen docs cover the entire source base
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5833 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-03 18:46:58 +00:00
Mark Spencer
c01873574a
Blindly merge jitter buffer patch of bug #4342 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5814 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-02 17:45:38 +00:00
Mark Spencer
04be319867
Fix small sizeof bug ( #4407 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5788 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-30 13:57:51 +00:00
Mark Spencer
41e7cc8154
Use defined AST_MAX_ACCOUNT_CODE (bug #4350 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5765 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-25 17:18:05 +00:00
Kevin P. Fleming
c8889e6563
add IAXPEER function (bug #4310 , with minor formatting and doc changes)
...
add note to CODING-GUIDELINES about minimizing indentation in function bodies
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5733 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 04:31:02 +00:00
Mark Spencer
53d655cf0a
Yet another set of jitter buffer changes (this time some scheduling improvements) (bug #4319 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 01:24:09 +00:00
Mark Spencer
9272e1f68a
More jitter buffer fixes for large resync (bug #4311 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5719 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 00:34:28 +00:00
Mark Spencer
503be4c93a
Merge skew reduction (bug #4222 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 00:01:11 +00:00
Mark Spencer
ee8cbfa872
Add IAX2 testing code (bug #4242 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-18 23:43:13 +00:00
Mark Spencer
28e5165284
Actually apply timestamp bug (bug #3961 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-18 23:33:06 +00:00
Russell Bryant
9f9fcca6c0
print out the IAX DATETIME IE in 'iax2 debug' in human readable form
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-17 19:41:09 +00:00
Kevin P. Fleming
9bf21dbf58
more strncpy -> ast_copy_string conversions, fixing some buglets along the way
...
add recommendation to CODING-GUIDELINES to use ast_copy_string instead of strncpy in new code
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5686 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 23:26:45 +00:00
Kevin P. Fleming
fb59e4a857
combine two lines of code to make the logic clearer (bug #4273 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5683 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 22:05:16 +00:00
Kevin P. Fleming
ea4c054123
fix segfaults in realtime_peer/realtime_user when wrong-type realtime entry is loaded (bug #4266 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5680 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 20:00:08 +00:00
Kevin P. Fleming
3fbdf210ce
fix up help text and output for 'iax2 trunk debug' CLI command (bug #4191 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5670 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 04:51:13 +00:00
Kevin P. Fleming
6cd4f9a8d3
correct some signed/unsigned issues found by GCC 4 (bug #4237 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 03:21:51 +00:00
Mark Spencer
e37adfa243
Add netstats option (bug #4175 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5657 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 00:15:14 +00:00
Mark Spencer
01424f1f05
Fix one way audio problem with iax trunking (bug #4221 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5656 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 00:07:42 +00:00
Mark Spencer
c936fc827c
Add remainder of rtp fixes, iax2 patch (bug #3961 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-14 23:57:44 +00:00
Russell Bryant
65a7d2ac76
fixes for the new jitter buffer (bug #4249 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-12 19:01:03 +00:00
Kevin P. Fleming
7d6ba573e5
move some debugging output to a higher debug level (bug #4119 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5571 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 04:49:32 +00:00
Kevin P. Fleming
fe6517959e
change (iax2,sip) show (peers,users) to use 'like <pattern>' for pattern-matching to be consistent with other CLI commands
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-02 01:34:21 +00:00
Kevin P. Fleming
8634ef9e4a
don't use '%i' at all, since we have no current use cases that need non base-10 parsing (bug #4110 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 17:00:33 +00:00
Kevin P. Fleming
b2c3f0464f
unregister reload command (bug #4102 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-28 16:21:00 +00:00
Kevin P. Fleming
0fe9884e0b
report IP of peer who sent failing registration (bug #4089 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5511 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-27 02:52:14 +00:00
Kevin P. Fleming
5a6d5c1751
ensure cause code supplied by IAX2 peer is passed up to caller properly (bug #4064 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5494 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-22 02:30:36 +00:00
Kevin P. Fleming
1f9ab2380a
use double-quotes instead of angle-brackets for non-system include files (bug #4058 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21 06:02:45 +00:00
Russell Bryant
7bffc0459c
add missing newlines, fix misspelling of nonexistent (bug #4027 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-13 23:33:47 +00:00
Kevin P. Fleming
b052fe894b
ensure that the random number generator(s) are always seeded with a different value during Asterisk startup
...
don't reinitialize random number generators in other modules
(bug #4017 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-13 04:47:39 +00:00
Kevin P. Fleming
d254db31c8
*** empty log message ***
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-06 21:12:32 +00:00
Kevin P. Fleming
8b2b938b7e
correct IAX loading/binding message (bug #3953 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5387 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-04 23:41:34 +00:00
Kevin P. Fleming
f9f59ae89d
move start_network_thread to _before_ testing its result :-) (bug #3952 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5386 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-04 23:32:11 +00:00
Kevin P. Fleming
b96ae79baa
handle AST_FORMAT_SLINEAR endianness properly on big-endian systems (bug #3865 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-03 22:57:18 +00:00
Kevin P. Fleming
7438526620
fix various compiler warnings (bug #3938 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5367 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-03 21:16:01 +00:00
Kevin P. Fleming
661770497b
Allow chan_iax2 to build on systems that don't define SO_NO_CHECK (bug #3908 , round 2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 15:52:26 +00:00
Kevin P. Fleming
2097977b7d
Add 'iax2 reload' CLI command and fix peer counting with regex matches (bug #3876 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5337 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 04:50:21 +00:00
Mark Spencer
6ea8bf36f8
Fix IAX2 out of memory failure (bug #3907 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5323 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-31 19:29:54 +00:00
Mark Spencer
f3b51061e4
Add option to disable checksums on IAX
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5301 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-29 23:20:31 +00:00
Mark Spencer
dc9faa21e4
Fix a bunch of const stuff, merge queue changes, add experimental "hybrid" DTMF mode
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-28 20:48:24 +00:00
Mark Spencer
e7b18536c4
Fix SIP/IAX caching (bug #3671 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-24 05:02:49 +00:00