dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

621 Commits

Author SHA1 Message Date
file cf00aa5a51 Convert chan_iax2 to use dnsmgr in order to deal with hostnames that can change their resolved IP (aka dynamic dns setups) (issue #6305 reported and fixed by ivanfm)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32304 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-05 15:44:37 +00:00
oej f27ab9b33b Do not use ':' as a separator between arguments (kept around for 1.4 for backwards compatibility)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32185 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-05 06:36:18 +00:00
russell 1264d306ef Add support for using a jitterbuffer for RTP on bridged calls. This includes
a new implementation of a fixed size jitterbuffer, as well as support for the
existing adaptive jitterbuffer implementation. (issue #3854, Slav Klenov)

Thank you very much to Slav Klenov of Securax and all of the people involved
in the testing of this feature for all of your hard work!


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-31 16:56:50 +00:00
kpfleming 3c4ca4abb6 when we receive an IAX2 registration request with both a plaintext secret and an MD5 challenge, prefer the MD5 challenge for authentation (reported on asterisk-dev)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30847 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-30 18:01:52 +00:00
file 4189c29a15 Few more expire_registry changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30607 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-26 20:00:48 +00:00
russell 8e943de284 only display a debug message if option_debug is in use
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30465 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-25 22:39:57 +00:00
file 1812f9ed10 Safely traverse the thread lists and wait until each thread is done before moving on to the next.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30271 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-25 16:14:17 +00:00
file e3b881abfe Only get the low 16 bits if we actually have a message count
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30242 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-25 15:42:11 +00:00
russell d24bbad05e Merged revisions 29849 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29849 | russell | 2006-05-23 17:44:52 -0400 (Tue, 23 May 2006) | 2 lines

fix the sourceaddress option (issue #7213, alphaque)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29850 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-23 21:46:26 +00:00
kpfleming 4d2d177093 Merged revisions 28896 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r28896 | kpfleming | 2006-05-19 19:55:31 -0500 (Fri, 19 May 2006) | 2 lines

don't try to predict where the compiler will place things on the stack... put them in the right place explicitly (issues #7029 and #7100, maybe others)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28903 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 01:01:20 +00:00
tilghman fcce7189b1 As requested by kpfleming, renaming messagecount to inboxcount and messagecount2 to messagecount.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28745 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19 18:21:31 +00:00
file 4a2274b784 Fix receiving message count information from a remote IAX2 peer. (issue #7163 reported by and fixed by akohlsmith)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28017 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-18 00:12:54 +00:00
file fb5c80ddd1 Merged revisions 27973 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r27973 | file | 2006-05-17 19:34:08 -0300 (Wed, 17 May 2006) | 2 lines

Fix codec priority stuff during authentication (issue #6194 reported by jkoopmann)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27974 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-17 22:35:53 +00:00
kpfleming 0ad39b060e and chan_iax2 gets smaller... remove the old jitterbuffer
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26564 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 16:14:26 +00:00
russell d99b677f35 remove almost all of the checks of the result from ast_strdupa() or alloca().
As it turns out, all of these checks were useless, because alloca will never
return NULL.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26451 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 13:22:15 +00:00
kpfleming 91ad35ce54 ensure that control frames with payload can be sent to channel drivers via ->indicate()
update iax2_indicate to pass control frame payload to the connected channel
add an API call for sending an indication with payload, and use it for control frames with payload


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26417 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 12:24:11 +00:00
markster 9e8603c06d Allow media to go directly between IAX endpoints while signalling still
goes through the existing path.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26314 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 09:09:16 +00:00
kpfleming f6339f3726 minor cleanups and removal of duplicate prototypes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26092 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-09 14:25:31 +00:00
file 30cebe45f2 Update chan_iax2 to use linkedlists.h for users and peers. Modify the way get_from_jb and expire_registry works to get rid of certain crash scenarios. Finally - change the way expire_registry works when realtime autoclear is enabled to be a bit more efficient.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24422 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03 16:07:03 +00:00
kpfleming b02e6d9900 Merged revisions 23705 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r23705 | kpfleming | 2006-04-30 10:46:22 -0500 (Sun, 30 Apr 2006) | 2 lines

remove a pointless comparison, since the buffer is smaller than the length being checked for

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23706 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 15:48:56 +00:00
kpfleming 29f496ef12 Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24 17:11:45 +00:00
rizzo 232d4d60ba simplify logic in iax2_bridge()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21126 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-18 14:23:14 +00:00
file dc25a9479c Move a bit more stuff over to the datadir (issue #6967 reported by tzafrir patch by north)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20358 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15 23:37:29 +00:00
rizzo 3664249356 This rather large commit changes the way modules are loaded.
As partly documented in loader.c and include/asterisk/module.h,
modules are now expected to return all of their methods and flags
into a structure 'mod_data', and are normally loaded with RTLD_NOW
| RTLD_LOCAL, so symbols are resolved immediately and conflicts
should be less likely.  Only in a small number of cases (res_*,
typically) modules are loaded RTLD_GLOBAL, so they can export
symbols.
 
The core of the change is only the two files loader.c and
include/asterisk/module.h, all the rest is simply adaptation of the
existing modules to the new API, a rather mechanical (but believe
me, time and finger-consuming!) process whose detail you can figure
out by svn diff'ing any single module.

Expect some minor compilation issue after this change, please
report it on mantis http://bugs.digium.com/view.php?id=6968
so we collect all the feedback in one place.

I am just sorry that this change missed SVN version number 20000!



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 14:08:19 +00:00
file 752fca7450 No need to do this in here any longer since the linkedlists macro is fixed
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19305 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11 20:51:45 +00:00
file 0cb2bbad85 Convert chan_iax2 to use linked lists for multithreading, and add dynamic threads. These are used when all pool threads are in use, and will stick around until load dies down. The theory is that during high load you'll have more threads available, and during low load you'll only have the normal pool threads sticking around.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19254 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11 16:44:10 +00:00
kpfleming e4880150b1 since the module API is changing, it's a good time to const-ify the description() and key() return values
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08 22:01:19 +00:00
tilghman e0ba99b7f5 Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17627 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-05 17:44:44 +00:00
mattf 49df167b76 chan_iax2 cleanups and optimizations (#6858)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17329 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-04 17:05:01 +00:00
mogorman 12d8167b46 adds manager event when an iax2 peer loses registration.
also some minor code clean up. patch from 6868 with minor
changes.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17311 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-04 16:15:40 +00:00
russell 5953815159 move a NULL check to before the first time the pointer is dereferenced (issue #6832)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16772 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-31 19:14:28 +00:00
russell 1a646c2a3f - code formatting tweaks
- use the callno stored in a local variable
- store the result of atoi() so it's only called once
(issue #6833)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16759 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-31 19:02:27 +00:00
russell de7c25764c Merged revisions 16744 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r16744 | russell | 2006-03-31 13:42:09 -0500 (Fri, 31 Mar 2006) | 2 lines

fix the situation where bindport is specified but bindaddr is not (issue #6616)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16745 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-31 18:43:45 +00:00
file 81588fa8fe Do not leave a thread in limbo if an error occurs, or if testing packet loss.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16617 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-31 00:53:32 +00:00
rizzo c977f70f81 as discussed with Mark a few weeks ago, the 'newstack' argument
in pbx_exec is always 1 so it can be removed.

This change also takes away ast_exec_extension(), and lets all
switch functions (exists, canmatch, exec, matchmore) all use the same
prototype, which makes the code a bit cleaner.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16558 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30 21:29:39 +00:00
file c10fca18f2 Fix IAX2 multithreaded scheduling (issue #6840)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16386 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30 03:16:09 +00:00
russell 3e997ca885 oops! :)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16010 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-29 04:19:23 +00:00
russell 0d6061a5c6 conversion from malloc to ast_malloc
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16006 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-29 04:09:31 +00:00
rizzo 9050284fea another batch of cli simplifications
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15857 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28 23:33:02 +00:00
russell e9d045fd5e Merged revisions 15703 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r15703 | russell | 2006-03-28 14:47:03 -0500 (Tue, 28 Mar 2006) | 2 lines

fix Bus Error on sparc (issue #6354)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15704 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28 19:49:30 +00:00
russell 02463d0f1c only display a debug message if iaxdebug is enabled as well (issue #6673)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15702 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28 19:31:41 +00:00
russell d1b8ecbb4e store f->callno in a local var (issue #6818)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15619 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28 18:00:05 +00:00
kpfleming 8397f5760d use proper file name
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15436 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28 03:36:17 +00:00
kpfleming 7c697789d6 improve IP TOS support for SIP and IAX2 (issue #6355, code from jcollie plus modifications)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15435 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28 03:28:52 +00:00
mogorman 7f2b0a39ea Janitor work converting !ast_strlen_zero(a)?a:b
to S_OR functions. from bug note 6805 with minor
modifications.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15283 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-27 19:31:54 +00:00
markster 4f4a24ec6f Add micro-http server and abstract manager interface, make snmp not die
on reload.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14953 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-25 23:50:09 +00:00
kpfleming 88ad15bc6f compute scheduler thread timeout properly
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14573 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-23 23:57:18 +00:00
kpfleming 402c85f9c8 commit file's work to convert iax2 multithreading to use pthread conditions instead of signals (with some modifications)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14570 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-23 23:11:09 +00:00
oej 7449fa65a2 Don't overwrite ANI if it's already sent with IES (imported from 1.2 branch)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@13635 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-20 17:39:14 +00:00
russell f450578cea deprecate the mailboxdetail option and always use its behavior, instead (issue #6665)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12923 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-14 18:05:22 +00:00
russell a4962bb834 fix build without SCHED_MULTITHREADED defined (issue #6719)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12878 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-14 16:00:06 +00:00
markster 7d2a032ec0 Make sure we clear our sched value before we actually schedule the
dereg.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12476 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-09 12:28:07 +00:00
markster e854e44f2b Handle disappearing calls for registers
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11437 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-28 20:58:21 +00:00
russell 093cfbc778 Merged revisions 11410 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r11410 | russell | 2006-02-28 14:46:04 -0500 (Tue, 28 Feb 2006) | 2 lines

fix the output that indicates whether qualify smoothing is on or not (issue #6608)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11411 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-28 19:51:23 +00:00
russell 5767fde7d7 fix some build issues on FreeBSD (issue #6614)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11407 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-28 19:22:25 +00:00
markster f07b4f43df Oops
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11315 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-28 04:55:37 +00:00
markster ca9674cb4b Fix for GCC 3.2.2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11314 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-28 04:32:04 +00:00
markster f51ac9d417 Make sure we clear up schedule numbers before we process schedule
entries.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11313 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-28 04:27:56 +00:00
markster 83606f9b2a Keep track of the function we're in the middle of doing
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11312 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-28 04:20:14 +00:00
markster 181407f073 Make IAX2 multithreaded
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11192 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-26 20:27:14 +00:00
kpfleming 9c4950dff3 add 'consumed' argument to ast_get_time_t, so callers can know how many characters were used in the parser
update pbx_dundi to use ast_get_time_t
eliminate some compiler warnings


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10871 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23 17:13:57 +00:00
markster fe4a2a6c47 Remove several uses of freed memory
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10512 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-20 05:58:50 +00:00
mogorman b1e9d68389 add 'blindtransfer' variable to chan iax2 like chan_sip and res_features bug note 6407
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10354 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-16 23:44:09 +00:00
kpfleming 15db46a445 add API function for parsing strings to time_t (issue #6320, with mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10105 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15 00:24:24 +00:00
kpfleming 5d9ed5739a major dialplan functions update
deprecate LANGUAGE() and MUSICCLASS(), in favor of CHANNEL()


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9674 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-12 04:28:58 +00:00
russell 29c48e23e2 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: http://svn.digium.com/svn/asterisk/trunk@9610 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 19:31:11 +00:00
markster 1433cfdf02 Make IAX2 not try to authenticate when registration info is not changing
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9507 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 07:06:23 +00:00
russell e1a8463ef0 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: http://svn.digium.com/svn/asterisk/trunk@9247 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-09 01:33:50 +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 bd5352e51f remove some more local declarations of null frames
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9004 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-31 17:57:12 +00:00
mattf 908afb3403 Add rdnis rx/tx support to chan_iax2 (#6348)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8799 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-27 23:55:37 +00:00
kpfleming cb5cb187ca don't queue a congestion frame on a channel that will be immediately hung up anyway
clean up/organize code block


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8654 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-25 14:52:43 +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 b14bdc5a12 revert my pass through the tree to remove checks of the result of ast_strdupa
(revisions 8378 through 8381)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8387 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 17:50:04 +00:00
russell 7d76672828 remove some useless checks of the result of ast_strdupa
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8378 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 08:01:24 +00:00
mogorman 9c55f6ab59 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: http://svn.digium.com/svn/asterisk/trunk@8323 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-20 01:07:46 +00:00
oej 8e25c23bd7 Doxygen updates
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8313 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-20 00:08:36 +00:00
russell c6643537f1 constify arguments in more places where strings should not be modified (issue #6286)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8203 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-18 22:17:31 +00:00
russell 305867a9e0 convert some channels to use the memory allocation wrappers.
(This is being added to the janitor projects list.)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7954 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11 01:20:29 +00:00
kpfleming aab6e11d64 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: http://svn.digium.com/svn/asterisk/trunk@7918 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-09 23:06:28 +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
bweschke 43155d648d Fix compiler warnings.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7705 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-02 01:53:26 +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
russell 07d8efab6e avoid unneeded calls to strlen in iax2 completion functions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7659 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-27 19:48:44 +00:00
russell ac9d70ac12 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: http://svn.digium.com/svn/asterisk/trunk@7635 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-26 18:35:28 +00:00
markster fe070f491c Fix reload of peer contexts (bug #6007)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7540 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-20 09:39:31 +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 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 858df9dd87 fix port number handling in peer building functions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7182 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-21 19:27:26 +00:00
kpfleming 375364ec0b fix a bug found during a recent upgrade
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7180 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-21 19:20:26 +00:00
russell a262b33801 issue #5815
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7166 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-21 13:04:36 +00:00
russell 0e84c0c113 issue #5794
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7156 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-21 00:57:35 +00:00
twisted 5e9ae96ecf issue #5792
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7138 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-20 05:19:04 +00:00
markster d51b9146e1 Fix build on FreeBSD 4.11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7089 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-12 20:04:57 +00:00
kpfleming 73783422a2 fix typo
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7082 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-12 00:53:47 +00:00
kpfleming 963e0f4f8b issue #5713
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7074 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-11 16:02:56 +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 5046c7bc81 issue #5685
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7057 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-10 23:34:30 +00:00
kpfleming d1733b5867 eliminate useless warnings generated by IAXy registrations
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7044 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-09 19:05:52 +00:00
kpfleming 207f53f3c6 issue #3360 plus related fix
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7037 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-09 00:48:38 +00:00
russell d3ddc001a2 issue #5605
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6979 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06 15:09:47 +00:00
russell 5e884c9971 use enum's for iax user/peer flags, and for pvt state
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6976 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06 05:52:26 +00:00
russell 97ea76956b allow the IAXPEER function to check a peer's status
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6961 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-04 18:40:35 +00:00
kpfleming 4864d10b1d allow netsock objects to be unref'd so they can disappear when needed (issue #5454)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6913 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-31 23:16:27 +00:00
kpfleming 50b6a047fa add some additional log output and comment cleanup in the registration process (issue #5534)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6906 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-31 22:01:13 +00:00
markster 9e10df8aea Remove ancient copy/paste error (bug #5541)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6890 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-29 17:45:07 +00:00
markster 997ec02e5f Fix minor iax2 device state issue (bug #5540)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6889 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-29 16:23:32 +00:00
russell ee234bbb3e 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: http://svn.digium.com/svn/asterisk/trunk@6866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-27 02:19:37 +00:00
russell 0ef8ef3626 doxygenify the comments for data structures and defines in chan_iax2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6858 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26 17:07:51 +00:00
russell e12982168f use an enum instead of #define'd integers in a couple of places
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6857 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26 16:18:25 +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 009102fa0d Fix segfault when building peer based on IP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6846 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-23 18:11:54 +00:00
jim 235be5c785 Allow for obtaining IAX2 call peer (endpoint) IP address with IAXPEER(CURRENTCHAN) function
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6833 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-19 18:19:22 +00:00
markster 97027d88cc Fix queue, iax and sip formatting issues (bug #5449)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6811 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-17 22:26:33 +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 9521172e85 fix compile error (%d changed to %n)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6790 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-14 05:29:41 +00:00
jeremy ada2fafe73 add missing new line
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6789 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-14 05:19:34 +00:00
markster dc4b4ec91c Fix naming on realtime peers (bug #5421)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6770 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-13 22:48:11 +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
markster 01cfe9765a Don't override calling presentation if *name* is present (bug #5405)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6748 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-12 05:12:43 +00:00
markster 83fdaa72f7 Remove possibility of manager deadlocks from manager actions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6687 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-28 23:10:14 +00:00
markster e401b86474 Handle authenticating *to* realtime peers (bug #5269)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6648 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-25 19:13:54 +00:00
kpfleming 7d642736fc allow minimum/maximum registration intervals to be set on server side (issue #51111)
respect server-provided registration interval on client side


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6612 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15 02:25:06 +00:00
kpfleming c9215d006c don't leave a buffer not filled in when getting a REGACK (issue #5226)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6605 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 22:51:19 +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 e9d6e39066 ensure that Manager hold/unhold events are generated even for non-bridged channels (issue #4594)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6585 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 02:18:45 +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 9bba5d8b7a don't reject REGREL requests (issue #5152)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6544 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-07 23:18:39 +00:00
kpfleming e72564ce33 remove useless buffer initializations (issue #5134)
convert pbx_dundi to use ast_copy_string) (issue #5134)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6540 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-07 21:01:31 +00:00
kpfleming 8899829928 handle no-peer-specified-in-dial-string gracefully (issue #5132)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6537 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-07 20:52:03 +00:00
kpfleming 38ba89121e 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: http://svn.digium.com/svn/asterisk/trunk@6519 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-07 01:30:01 +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 d1edefbcf4 make chan_iax2 rtupdate behave the same as chan_sip
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6501 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-02 14:19:36 +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 77b3a75a49 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: http://svn.digium.com/svn/asterisk/trunk@6477 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-31 22:13:40 +00:00
kpfleming a36cb83ef7 make chan_sip and chan_iax2 less chatty when not in debug mode (issue #5067)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6457 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-30 21:20:59 +00:00
russell 1b9c46bbcd fix build when NEWJB is not defined (issue #5046)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6434 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-29 16:19:07 +00:00
kpfleming 202c98cf08 allow more adjustability in peer qualification system (issue #4192 with mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6385 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-23 17:11:44 +00:00
markster b08887c77f Fix IAX2 Provisioning
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6344 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-19 20:04:58 +00:00
russell c7f7b43252 fix a little oopsie
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6316 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-09 19:31:54 +00:00
markster a818fdccc1 Centralize and fix tos for IAX (bug #4850 inspired)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6315 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-09 16:41:28 +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
russell 8ca4c8ee82 remove some sillyness
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6295 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-06 17:09:18 +00:00
markster 9a919db5e8 Fix timestamp + trunking (bug #4891)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6293 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-06 14:53:14 +00:00
russell fe234563ce formatting fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6292 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-06 06:40:05 +00:00
russell 6d6c5ba6df fix seg fault
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6288 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-05 07:03:35 +00:00
russell 0bcbe96826 'outgress' should be 'egress'
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6278 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-04 17:33:21 +00:00
russell 3fd4ed322f make sure that iaxs gets initialized (bug #4856)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6251 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-01 14:46:14 +00:00
kpfleming 1362d85bb8 add explanatory comment about timestamp compensation (bug #4763)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6217 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-25 23:13:20 +00:00
kpfleming 51853788bd _really_ fix IAX2 crazy timestamp problem (bug #4747)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6180 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-20 22:46:58 +00:00
kpfleming c37a8a42b2 split acl and netsock code into separate files, in preparation for new netsock implementation
various minor cleanups


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6165 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-19 23:17:02 +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
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
kpfleming 9e15379a06 allow explicit source address/port selection for peers (bug #4257, with minor mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6096 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-12 02:19:41 +00:00
russell 72af60b3e6 define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6076 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-10 23:49:57 +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 09ab7d67e4 make CLI output use singular/plural when appropriate (bug #4654)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6047 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-07 22:32:20 +00:00
russell 08b4defddd no need to call srand() when it is already called in asterisk.c
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6000 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-24 04:38:59 +00:00
kpfleming 6589a68fcb don't use locks when reading usecounts (reading only, not writing)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5994 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-24 02:15:04 +00:00
kpfleming 7dca0da7a5 fix outgoing format selection breakage
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5993 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-24 01:37:15 +00:00
kpfleming 65ffc192aa fix debug output (bug #4562)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5956 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-21 15:33:25 +00:00
kpfleming b2bd8eb06e control maximum number of interpolation frames generated during silence by jitterbuffer (bug #4295)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5951 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-21 01:20:14 +00:00
kpfleming 39fb80159c separate IAX2 protocol debugging and jitterbuffer debugging (bug #4523)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5947 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-21 01:02:07 +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 6f23c71d75 add 'rtignoreexpire' option to allow Realtime addresses to be used regardless of expiration time (bug #4362)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5889 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-09 21:11:30 +00:00
kpfleming 141cade222 don't call alloca() or alloca()-using functions in parameter lists (bug #4487)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5887 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-09 20:55:07 +00:00
kpfleming dd630cc450 ensure CLI commands produce proper terminating output when used with manager interface (bug #4497)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5884 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-09 19:34:12 +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
kpfleming e500673791 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: http://svn.digium.com/svn/asterisk/trunk@5855 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 03:04:58 +00:00
kpfleming dcd6e95d0a don't call reg_source_db() until after the peer has been added to the peer list
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5850 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-05 20:05:55 +00:00
kpfleming 77268d2728 use ast_cli_register_multiple() for CLI commands
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5838 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-03 22:04:54 +00:00
kpfleming 9219fe2898 use ast_strip_quoted to strip brackets from key secrets
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5835 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-03 21:02:51 +00:00
kpfleming 0add38f4f1 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: http://svn.digium.com/svn/asterisk/trunk@5833 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-03 18:46:58 +00:00
markster 02043e1894 Blindly merge jitter buffer patch of bug #4342)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5814 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-02 17:45:38 +00:00
markster 8a1c9ce20c Fix small sizeof bug (#4407)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5788 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-30 13:57:51 +00:00
markster ea6f06e9fb Use defined AST_MAX_ACCOUNT_CODE (bug #4350)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5765 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-25 17:18:05 +00:00
kpfleming 10d27ab9b4 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: http://svn.digium.com/svn/asterisk/trunk@5733 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-19 04:31:02 +00:00
markster 160bd00f28 Yet another set of jitter buffer changes (this time some scheduling improvements) (bug #4319)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5722 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-19 01:24:09 +00:00
markster a84d39781c More jitter buffer fixes for large resync (bug #4311)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5719 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-19 00:34:28 +00:00
markster f345cc2a2f Merge skew reduction (bug #4222)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5717 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-19 00:01:11 +00:00
markster a677d5f6ba Add IAX2 testing code (bug #4242)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5716 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-18 23:43:13 +00:00
markster 0c41b8af7d Actually apply timestamp bug (bug #3961)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5714 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-18 23:33:06 +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 5e4013d613 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: http://svn.digium.com/svn/asterisk/trunk@5686 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15 23:26:45 +00:00
kpfleming d2478e8f4f combine two lines of code to make the logic clearer (bug #4273)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5683 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15 22:05:16 +00:00
kpfleming 5624f22ad5 fix segfaults in realtime_peer/realtime_user when wrong-type realtime entry is loaded (bug #4266)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5680 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15 20:00:08 +00:00
kpfleming c8c9acf505 fix up help text and output for 'iax2 trunk debug' CLI command (bug #4191)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5670 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15 04:51:13 +00:00
kpfleming 92f76b2bc8 correct some signed/unsigned issues found by GCC 4 (bug #4237)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5664 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15 03:21:51 +00:00
markster 2cc3b3d634 Add netstats option (bug #4175)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5657 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15 00:15:14 +00:00
markster df5d834a6e Fix one way audio problem with iax trunking (bug #4221)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5656 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15 00:07:42 +00:00
markster 86aa2b26f8 Add remainder of rtp fixes, iax2 patch (bug #3961)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5654 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-14 23:57:44 +00:00
russell 0a934da882 fixes for the new jitter buffer (bug #4249)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5639 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-12 19:01:03 +00:00
kpfleming d2a07888d1 move some debugging output to a higher debug level (bug #4119)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5571 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-04 04:49:32 +00:00
kpfleming 902fd0f80f change (iax2,sip) show (peers,users) to use 'like <pattern>' for pattern-matching to be consistent with other CLI commands
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5549 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-02 01:34:21 +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
kpfleming bd9025158e unregister reload command (bug #4102)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5525 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-28 16:21:00 +00:00
kpfleming 55ca866474 report IP of peer who sent failing registration (bug #4089)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5511 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-27 02:52:14 +00:00
kpfleming 4eea4687ba ensure cause code supplied by IAX2 peer is passed up to caller properly (bug #4064)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5494 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-22 02:30:36 +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