kpfleming
29b4ce09b7
complete the coding style changes for these frame structures
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39832 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15 17:14:20 +00:00
murf
d0a5262b98
Made "style" change requested by Kevin Fleming... used initializer in declaration,
...
brought decl down to block where the variable is used, got rid of memset.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39806 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15 16:35:06 +00:00
murf
028accf651
On behalf of PCadach, " IMHO that was last deadlock in chan_h323..."
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39779 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15 14:55:30 +00:00
russell
a0ab5e9b80
Merged revisions 38903-38904 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r38903 | russell | 2006-08-05 01:07:39 -0400 (Sat, 05 Aug 2006) | 2 lines
suppress a compiler warning about the usage of a potentially uninitialized variable
........
r38904 | russell | 2006-08-05 01:08:50 -0400 (Sat, 05 Aug 2006) | 10 lines
Fix an issue that would cause a NewCallerID manager event to be generated
before the channel's NewChannel event. This was due to a somewhat recent
change that included using ast_set_callerid() where it wasn't before. This
function should not be used in the channel driver "new" functions.
(issue #7654 , fixed by me)
Also, fix a couple minor bugs in usecount handling. chan_iax2 could have
increased the usecount but then returned an error. The place where chan_sip
increased the usecount did not call ast_update_usecount()
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38905 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-05 05:26:29 +00:00
kpfleming
6049bb6539
merge Russell's 'hold_handling' branch, finally implementing music-on-hold handling the way it was decided at AstriDevCon Europe 2006 (and the way people really want it to be)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37988 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-19 20:44:39 +00:00
russell
4c50c16add
Blocked revisions 36725 via svnmerge
...
........
r36725 | russell | 2006-07-03 00:19:09 -0400 (Mon, 03 Jul 2006) | 4 lines
use ast_set_callerid to be more consistent and to make sure that the
"callerid" option in the conf files is always handled the same way and sets ANI
(issue #7285 , gkloepfer)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36726 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-03 04:25:21 +00:00
russell
604972725d
revert my changes that converted the jb on the channel to be dynamically
...
allocated. These changes caused crashes when using a channel type that did
not support the jitterbuffer. Instead of fixing why it's crashing, I'm going
to implement this in a better way next week. The way I did it caused a
jitterbuffer to be allocated on every channel where the channel type supported
jitterbuffers, even if they were disabled.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35746 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-23 16:49:12 +00:00
russell
75865d5802
- dynamically allocate the ast_jb structure that is on the channel structure
...
so that channels not using a jitterbuffer don't waste as much memory
- ensure that the channel drivers that use jitterbuffers can handle a failure
from configuring a jitterbuffer on a new channel because of a memory
allocation error
- On passing through these channel drivers, configure the jitterbuffer before
starting the PBX thread instead of afterwards. If the pbx fails to start for
whatever reason, this would have caused a crash.
- Also on passing, move the increase of the usecount to after all of the
possible failure conditions in the function
- fix a place where ast_update_use_count() was not called
- ensure that the owner channel pointer of the channel pvt strcutures is set to
NULL in failure conditions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35553 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 17:05:17 +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
russell
f796193575
- add the ability to configure forced jitterbuffers on h323, jingle,
...
and mgcp channels
- remove the jitterbuffer configuration from the pvt structures in
the sip, zap, and skinny channel drivers, as copying the same global
configuration into each pvt structure has no benefit.
- update and fix some typos in jitterbuffer related documentation
(issue #7257 , north, with additional updates and modifications)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31413 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-01 16:47:28 +00:00
russell
1266abd232
update the rest of the channel drivers that use RTP so that their channel
...
tech structures indicate that they create jitter
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31077 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-31 17:21:21 +00:00
kpfleming
216ab4669d
update the ->indicate() callback for the new arguments
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26495 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 15:00:33 +00:00
rizzo
5540c8dc86
partial adaptation to the new module loading
...
(not sure if it compiles, partly inspired by #9981 but
with adaptations)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23272 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 04:54:05 +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
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
mogorman
c73aef25da
bug updates chan_h323 to some api changes it
...
also allows for it to compile once more patch
taken from 6446 with minor mods, similar bugs 6521
and 6560
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17104 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-03 18:36:30 +00:00
russell
b55d2bd3ea
define a global null_frame object so when queueing a null frame, you don't
...
have to allocate one on the stack
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9001 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-31 17:18:58 +00:00
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
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
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
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
jeremy
478dd9752f
ok wtf, no compiler error here
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6621 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15 17:08:52 +00:00
jeremy
04483363fb
I swore this compiled. Honest, officer
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6620 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15 16:58:02 +00:00
kpfleming
f89c44df03
more license/copyright header updates (thanks Ian!)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6618 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15 15:44:26 +00:00
jeremy
0f012309c7
Lets try this - an attempt to properly deal with DTMF
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6615 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15 03:26:02 +00:00
jeremy
83c73627b8
clean up debug
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6614 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15 03:16:07 +00:00
jeremy
50e41a7915
castrate the logic in oh323_digit to pass DTMF no matter what. (issue #4989 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6613 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15 03:14:21 +00:00
jeremy
d506e95bae
Fix newsignal/newcontrol compile issue. Bug #4867
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6255 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-02 03:25:28 +00:00
jeremy
161e38b3d3
Stomp on deadlock. Bug #4555
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6234 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-27 04:45:11 +00:00
jeremy
769e29b9a1
one-way-audio problem on multihomed host with bind to secondary address. Bug #4505
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6233 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-27 04:39:53 +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
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
c8c2a68e9e
fix version tag macro calls
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5869 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 23:12:05 +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
jeremy
dd554df9ee
Optimize global/user/peer configuration call options. Bug #4336
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5753 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-21 17:09:30 +00:00
jeremy
23d0303bfa
Make capbilities be connection specific versus for the whole endpoint. Bug #4334
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5742 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-19 19:13:19 +00:00
jeremy
51159cb37e
Fix memory leak, avoid uncessary abuse of memory and formatting tweaks. Bug #4282
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5739 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-19 16:17:08 +00:00
jeremy
f4b5426e74
Formatting fixes and sanity checks Bug #4263
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5646 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-13 20:24:30 +00:00
jeremy
916999283f
Formatting fixes, proper locking and to shut bkw up. Bug #4185
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5628 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-11 13:27:49 +00:00
jeremy
a4e8eab0af
Fix one-way audio issues with CCM and possibly other [broken] endpoints. Bug #4135
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5560 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-03 18:58:50 +00:00
jeremy
89acfbc498
Fix dtmfmode, dtmfcodec capability, Faststart for users and peers. Bug #4112
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5551 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-02 18:46:36 +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
jeremy
eaa1e61e45
Fix codec negiocation on inbound calls. Bugs 3980, 4021, 4045
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5526 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-29 04:22:47 +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
jeremy
1caba7a164
Better dependancy and version checking method, solve call problems when dealing with a gatekeeper, sanity check call cleanup, in hopes to avoid deadlocks (Bugs #3848 #3643 , #3591 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5383 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-04 15:54:34 +00:00
markster
235a6486c3
Add PLC and jitter buffer and iax2 meta trunk with timestamps (bug #2532 , #3400 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5192 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-17 21:30:19 +00:00
twisted
92739d261c
Fix compilation of chan_h323.c since removal of the private channel structures (Bug # 3738)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5153 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-08 23:11:23 +00:00
markster
8ba4898a1e
Rework channel structure to eliminate "pvt" portion of channel (bug #3573 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5137 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-04 06:47:24 +00:00
markster
3594e72d66
Add additional sanity checks (bug #3548 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5016 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-13 07:45:40 +00:00
markster
25566768cf
Fix H.323 locking (bug #3540 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4992 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-09 21:15:44 +00:00
markster
2207b9a515
Merge config updates (bug #3406 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4889 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-25 06:10:20 +00:00
jeremy
9e8b32b39c
Fix G.729 name annoucement to Open H.323 and inform Asterisk's RTP stack specifically which codec we are expecting.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4508 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-21 00:07:56 +00:00
jeremy
fadfa2c992
Create string properly and cast peer correctly
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4495 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-20 00:14:19 +00:00
jeremy
6b3cd2ac22
oopsie
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4474 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-18 07:10:46 +00:00
jeremy
b05939637e
Fix incoming caller*id. Bug #3077
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4473 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-18 04:09:39 +00:00
jeremy
c805315084
Properly deal with Q.931 cause codes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4470 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-16 04:25:49 +00:00
jeremy
c704778e2b
Properly deal with Caller*ID, document the new RTP Payload setting, remove compiler option that may confuse g++ and force chan_h323.so to be relinked on every compile
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4467 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-16 02:03:19 +00:00
jeremy
d405f48268
Major fixes: Fixed deadlock issue, added support for inband call progress and correct Progress Indicator messages, added configurable RTP payload to send RFC2833 DTMF and correct sending of RFC2833 User Input capability, fixed hostname parsing on peers, preliminary support for correct Q.931 cause codes and fixed bindaddr compile warning
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4466 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-15 23:24:13 +00:00
jeremy
12dbdf856d
Another temp fix attempt, until I can do it correctly.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4264 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-16 15:37:56 +00:00
jeremy
96a9236243
A [possibly] better solution to the CalledPartyAddress problem. Test and report please
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4214 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-11 21:30:30 +00:00
jeremy
ced27b9053
Use passed dest value, for the moment. A better fix is being worked on
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4211 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-11 20:34:46 +00:00
jeremy
958fcaf6d4
lets try it this way
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4209 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-11 20:10:45 +00:00
jeremy
6f72d61f2b
Use the right charector, dummy
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4208 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-11 20:04:00 +00:00
jeremy
ed45395936
copy over username to create a proper called addr
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4206 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-11 19:51:55 +00:00
jeremy
72097d2cb7
more code clean-up
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4116 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-28 06:06:58 +00:00
markster
15f87a9076
Fix H.323 doc stuff (bug #2739 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4112 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-27 20:02:35 +00:00
markster
e2c75a92f9
Pass concept of status back, permit "leaveempty" to work with static agents who are not loggedon (bug #2719 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4106 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-26 22:25:43 +00:00
jeremy
78481c3274
re-implement callerid, still might not be right. Remove channel limits, in favor to app_groupcount. A lot more code cleanup. Please test and report as I am sure I broke something
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4049 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-22 19:04:02 +00:00
jeremy
b049eb0833
stop seg on reload if no h323.conf file and hopefully not break the monitor thread
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4013 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-15 07:07:50 +00:00
jeremy
a784d5235b
stop a seggy..it helps if you dont try to print out something we already know is NULL :)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4012 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-14 23:59:22 +00:00
jeremy
c8c5f6fee3
use the right variable to ensure it copied correctly
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4000 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-14 05:29:55 +00:00
jeremy
3aec4c7b1c
sorta fix External IP Address discovery. We really need a better way than bindaddr, but this hack works, for now
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3998 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-14 05:21:12 +00:00
jeremy
25157bbe77
finish implementing type=peer, implement setting of FastStart and H.245 Tunneling per user/peer, update External RTP implemenation, fixed compile process/other buglets to operate with Open H.323 v1.14.4 and PWLib v1.7.5, and massive code clean up. All of the above is untested, please test and report
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3970 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-10 12:20:18 +00:00
jeremy
24fcb1bc6c
a major rework - type=peer, code cleanup, and optimization
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3907 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-04 10:13:01 +00:00
markster
cfe24c16a1
Major PBX revamps (including labels, update examples)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3886 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-03 04:19:59 +00:00
jeremy
220e8b2e52
work on peers some more, still highly broken
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3869 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-01 04:50:34 +00:00
jeremy
22fbb43176
massive changes, very broken, do not use (from airport)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3861 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-30 19:36:46 +00:00
jeremy
b568576fd7
support early media/intercept Bug #562
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3815 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-21 18:42:37 +00:00
jeremy
efbfbe86bf
protect against seg on busy systems. Bug #2249
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3809 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-19 16:53:01 +00:00
markster
28a366ed72
Merge BSD stack size work (bug #2067 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3596 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-08 17:15:02 +00:00
markster
65887c0f57
Fix potential overflow in H.323
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3543 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-30 20:01:58 +00:00
jeremy
7b5dd33c65
clean up warnings, and re-add a return, how did that get removed?
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3491 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-22 04:24:50 +00:00
jeremy
4a2506f136
first attempt to properly copy and then free call detail strings.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3485 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-20 21:04:16 +00:00
jeremy
2e12cb4723
actually implement the setting of noFastStart and noH245Tunneling.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3459 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-17 19:38:30 +00:00
markster
af243f9bca
Last set of strncpy/snprintf updates (bug #2049 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3446 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-16 04:40:54 +00:00
jeremy
a2741a5731
fix seg fault condition
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3409 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-09 08:52:35 +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
4fda47ce01
Remove duplicate declaration (bug #1950 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3353 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-29 18:00:14 +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
7148691394
Merge source cleanups (bug #1911 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3311 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-26 03:50:14 +00:00
citats
00b34f3e0a
Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3276 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22 18:49:00 +00:00
markster
ae5c80e1de
Merge major BSD mutex and symbol conflict patches (bug #1816 ) (link patch still pending)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3273 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22 17:42:14 +00:00
jeremy
6a2cecd06c
check to make sure the extension exists b4 actually accepting the call and lets hope this gives Open H.323 enough time to sync up (bug #1714 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3220 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-15 20:56:06 +00:00
markster
ba1892811d
Separate PROCEEDING and PROGRESS
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3206 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-14 21:18:52 +00:00
jeremy
955693cedb
fix list initialization
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3192 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-12 03:44:51 +00:00
markster
7d00f23ad4
Merge FreeBSD locking fixes (bug #1411 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3176 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-09 01:45:08 +00:00
markster
d3390e3f5a
Make RTP handle codecs (first pass)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3089 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-27 04:18:46 +00:00
jeremy
8fda188d26
backout code optimization, add more explict error reporting
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3030 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-20 21:56:12 +00:00
jeremy
b4c39b43b9
properly send call progress and alerting PDUs, re-fix one-way audio on call manager, and hopefully add call progress (N+101) support (not tested)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3023 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-20 07:07:18 +00:00
jeremy
75c4fb376e
fix documenation bug
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3005 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-18 16:06:30 +00:00
jeremy
fe53b7e497
clean up code and attempt to stablize inbound h.323 calls
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3003 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-18 10:33:46 +00:00
jeremy
18f699672e
try to enable ringback on H.323->SIP calls (bug #1645 ) and clean up code a lil bit
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2976 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-16 07:04:48 +00:00
jeremy
6a109e9135
use ast_stren_zero
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2880 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-03 22:19:03 +00:00
jeremy
a838470dbe
Increase DTMF duration in f.sample, just in case. Bug#1414
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2833 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-30 05:21:36 +00:00
markster
9116ef0db4
OpenBSD portability to H323
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2806 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-28 21:06:29 +00:00
markster
e1cca32757
Run setstate after setting all appropriate variables including callerid
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2797 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-28 14:35:20 +00:00
markster
8f30aa2984
gethostbyname isn't reentrant, who knew...
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2734 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-22 00:20:34 +00:00
citats
b149107c9a
OpenBSD portability enhancements (bug 1002)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2708 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-19 08:11:51 +00:00
citats
8619665367
Hopefully the last round of removing needlock stuff
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2663 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-08 19:28:05 +00:00
citats
be5bc57ec1
Remove more needlock stuff
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2662 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-08 19:19:24 +00:00
citats
ffc19c36e8
Remove extra argument from ast_set_*_format calls
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2656 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-07 20:12:42 +00:00
markster
b837107b6b
Get rid of all that old needlock garbage now that we're using recursive mutexes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2644 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-06 22:17:32 +00:00
jeremy
d6acf9d563
on outbound calls make sure we use requested codec
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2630 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-05 20:45:14 +00:00
citats
e8980010c2
More read/write lock fixes in various modules
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2574 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-27 07:41:33 +00:00
jeremy
ed4fdcadf5
rollback e.164 and prefix routing attempted fix
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2499 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-20 14:25:39 +00:00
jeremy
e9624dc611
Properly deal with E.164 and Prefix routing
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2458 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-18 20:39:15 +00:00
citats
66a2c925b5
Fixup some pthread_t checking in channels
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2438 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-15 09:14:16 +00:00
citats
1c4a4007af
Fix bug 1217. Change pthread_t initializers to AST_PTHREADT_NULL and
...
AST_PTHREADT_STOP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2434 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-15 07:51:22 +00:00
jeremy
0f9c6b4540
deal with bindaddr properly
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2320 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-04 02:07:32 +00:00
markster
ae986bb6bc
Add support for parking with IAX2
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2318 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-04 01:11:25 +00:00
jeremy
21a40812cd
last try
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2020 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-13 09:24:26 +00:00
jeremy
ee45dabeca
bed time
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2019 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-13 09:17:14 +00:00
jeremy
16e0fa65d2
h.323 gk cycle is still broken on -r
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2018 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-13 09:11:36 +00:00
jeremy
2c2e8015bb
renable h.323 gk cycle, fixed
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2017 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-13 08:56:02 +00:00
jeremy
8270caac97
Fix it so we can be unloaded/loaded at will
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2003 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-13 03:07:15 +00:00
jeremy
52f5e66e3f
don't try to print out username before its copied
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1947 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-11 17:51:35 +00:00
jeremy
92eff3e161
clean up code and remove unnecessary debug
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1923 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-11 02:20:01 +00:00
jeremy
39dbb6b61c
remove broken cli command, for now
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1915 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-10 17:16:59 +00:00
jeremy
04686d0c24
don't try to unreg with gk, on reload, now
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1912 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-09 19:35:56 +00:00
jeremy
9e0406854d
re-do the monitor fix (check for io before killing ourself)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1892 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-06 17:31:04 +00:00
jeremy
bb322ade2a
add a couple cli commands (h.323 hangup <token> and H.323 show tokens) and clean up code
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1891 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-06 16:51:34 +00:00
jeremy
84ed7d5a8d
clean up file descriptor leak and check for io before thread cancellation
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1888 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-03 03:02:27 +00:00
jeremy
73f7a57e99
totally revert that highly broken patch. Please test your code before submitting diffs.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1881 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-24 22:38:24 +00:00
jeremy
6fff8150e0
comment out two lines from PCadach's patch, they blow things up.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1879 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-24 03:02:17 +00:00
jeremy
6d2031189f
Apply massive patch from PCadach. If things are broken blame him. Bug#469
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1877 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-23 23:01:24 +00:00
jeremy
fc290b7c74
clean up output on debug
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1873 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-19 18:49:17 +00:00
jeremy
edb2c8788f
don't create another endpoint on a reload
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1866 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-18 19:48:42 +00:00
jeremy
eafdd33957
remove debug and switch printf's out
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1865 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-18 18:48:47 +00:00
jeremy
a947750115
don't complain on type=h323 itself :)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1864 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-18 18:24:36 +00:00
jeremy
bbbba49a51
stomp on seg if no config file
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1852 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-10 23:34:47 +00:00
jeremy
d567a0827c
implement userbyalias. This will look to IP instead of H.323ID, if enabled Bug #251
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1842 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-09 05:14:23 +00:00
jeremy
c8f1bc035f
add warning for keywords in type=h323 that make no sense
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1822 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-03 20:08:58 +00:00
tholo
6528d5f1c7
make chan_h323 not load if no config file is found
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1641 f38db490-d61c-443f-a65b-d21fe96a405b
2003-10-21 13:12:30 +00:00
jeremy
3cd8bbd224
remove old debug
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1577 f38db490-d61c-443f-a65b-d21fe96a405b
2003-09-29 09:18:56 +00:00
jeremy
0ff1664ea3
try to enable indications
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1576 f38db490-d61c-443f-a65b-d21fe96a405b
2003-09-29 09:01:51 +00:00
jeremy
2ebdcb0068
anonyance fix, per tholo
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1571 f38db490-d61c-443f-a65b-d21fe96a405b
2003-09-27 02:52:05 +00:00
jeremy
2e9e09ed74
don't deal with gatekeeper on reload, known issue..someone fix
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1540 f38db490-d61c-443f-a65b-d21fe96a405b
2003-09-24 10:59:24 +00:00
jeremy
cb741d4947
rollback transfer support...not properly implemented
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1537 f38db490-d61c-443f-a65b-d21fe96a405b
2003-09-22 06:21:03 +00:00
jeremy
d2978bbfa7
implement transfer and call forwarding. Bug #221
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1482 f38db490-d61c-443f-a65b-d21fe96a405b
2003-09-06 20:29:25 +00:00