russell
143bcbff32
Fix the memory summary so that it doesn't print the first file in the list over
...
and over again.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43375 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 21:42:57 +00:00
russell
4f97eb1b1a
fix some breakage from the CLI command changes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43372 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 21:14:02 +00:00
tilghman
e8ef9fd3ba
Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43364 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 20:40:39 +00:00
kpfleming
cd937b3b07
don't let symbols from included static libraries (like codec/ilbc) pollute the global namespace when those modules are embedded
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43360 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 20:13:42 +00:00
file
3c35e5e958
Totally break a P2P bridge upon going on hold, and re-establish it upon going off hold.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43343 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 17:08:44 +00:00
file
543b3e9099
Expand codec check so that raw formats must be equal for a Packet2Packet bridge to occur
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43340 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 16:55:09 +00:00
qwell
3a260bee7e
Commit the changes from issue #5240 .
...
Original patch by junky, modified by anthonyl, modified again by jcolp (with minor modifications by me)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43300 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19 22:01:23 +00:00
kpfleming
44db0fbbd1
move this header to include where it belongs
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43298 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19 21:48:57 +00:00
qwell
46e384f88c
After discussing this with other people, we decided we'd like to try to do this a little differently.
...
Stay tuned.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43290 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19 19:58:09 +00:00
anthonyl
ff5e99c7e0
5240 update
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43289 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19 19:28:57 +00:00
mattf
42a59d0531
Mergeing in Paul Cadach's chan_h323 changes *holds breath*
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43281 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19 17:07:22 +00:00
mogorman
d5df46a93e
similar patch for verbose vs debug with minor changes
...
bug 2617
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43272 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19 16:23:45 +00:00
file
defea1a6a4
Warning be gone!
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43264 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19 15:36:25 +00:00
mogorman
c37364c1a8
allow for packetization on rtp channel drivers, need to add
...
option for setting our own packetization as apposed to just doing
what is asked.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43243 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18 23:32:57 +00:00
qwell
d8e2b10504
Only use alloca.h on OSes that have it.
...
Reported by jontow on IRC in #asterisk-dev
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43230 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18 21:24:50 +00:00
kpfleming
c72149025b
always use fork() when available
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43216 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18 19:58:27 +00:00
kpfleming
5aacb6a82d
merge qwell's CLI verbification work
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43212 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18 19:54:18 +00:00
kpfleming
2f8e7d0e35
it appears that current Mac OS/X does not need the poll compatibility module at all, and platforms that do need it also need -DPOLLCOMPAT (or they wouldn't have compiled at all)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43207 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18 19:20:24 +00:00
kpfleming
5c0e56df21
merge markster's usersconf branch with some slight changes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-16 23:53:58 +00:00
qwell
fe9ed45b05
Many Solaris fixes - this moves some of the stuff from utils.c to strcompat.c
...
Every OS uses strcompat now - this was done on purpose.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42982 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-15 17:16:00 +00:00
anthonyl
8d0211a11e
reveting modifaction to __ast_module_user_remove
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42965 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-15 05:00:27 +00:00
file
72f5cefffd
Tweak changes that went in on revision 42891
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42910 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-13 22:45:44 +00:00
anthonyl
21aead3d65
small fix for 7944
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42891 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-13 19:27:27 +00:00
file
a3f259c971
Merged revisions 42600 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42600 | file | 2006-09-09 16:24:19 -0400 (Sat, 09 Sep 2006) | 2 lines
Only truly consider the channel in the same format if the format matches the raw format OR if a translation path already exists to translate between them. (issue #7887 reported by softins & issue #7803 reported by alvaro_palma_aste). Thanks goes to stubert for giving me access to a box and showing me a scenario where this occured.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42601 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-09 20:25:45 +00:00
file
858ae616c9
Optimize a bit
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42583 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-09 19:12:52 +00:00
file
e383986a90
It's another round of RTP updates!
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42569 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-09 18:07:59 +00:00
file
809b2f32c0
Merged revisions 42452 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42452 | file | 2006-09-08 14:50:43 -0400 (Fri, 08 Sep 2006) | 2 lines
Swap spies during masquerading
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42453 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-08 18:53:41 +00:00
file
406b26d6b6
whentohangup is already in seconds, just need to convert to milliseconds
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42374 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-08 02:54:45 +00:00
file
f944addb40
Merged revisions 42260 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42260 | file | 2006-09-07 12:30:44 -0400 (Thu, 07 Sep 2006) | 2 lines
Let's use the same thing we use in other places to calculate our time for ast_cond_timedwait (issue #7697 reported by bn999)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42261 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07 16:33:02 +00:00
murf
6a369f9e53
Made changes corresponding to those in 1.2 here in main/logger.c for bug 7544.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42208 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07 03:35:42 +00:00
kpfleming
b3c4a6a9e7
don't try to get the length of the string in the ast_dynamic_str object unless we know there is actually one there
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42185 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07 00:41:27 +00:00
file
ec85d0702c
Remove old unused functions
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41974 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-04 03:18:12 +00:00
file
c345657f48
Make the difference clear about what the responsibilities of the core and a spy are when it comes to spying on a channel. The core is responsible for adding a spy to a channel, feeding frames into the spy, removing the spy from the channel, and notifying the spy that is has been detached. The spy is responsible for reading frames in, and cleaning itself up. Each side will not try to do the other's job.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41959 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03 23:30:37 +00:00
russell
96aba6e67c
Add the ability to specify that a frame should not be considered for caching
...
for uses in cases where you *know* that it will do no good. This patch was
inspired by file for use in some work of his on mixmonitor/chanspy.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41958 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03 23:14:54 +00:00
russell
340c6f047b
when calling this function to append to a dynamic string and the buffer was not
...
large enough and had to be reallocated, cut off the partially appended data.
Otherwise, the function will get called over and over again appending to the
end every time and never thinking it has enough room.
Thanks to jmls for access to his machine for debugging!
(issue #7691 )
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41944 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03 22:56:01 +00:00
bweschke
2dfdcd3b53
Provide a little more protection to make sure that a MOH class is specified when using the 'm' option with WaitExten, and prevent a segfault in the process.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41930 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03 21:26:04 +00:00
bweschke
fde2dce41e
Fix enum indexing problem with m() in WaitExten. Reported by Pavel J, in asterisk-dev.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41916 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03 20:44:14 +00:00
file
e6175430aa
Tweak the if statement a bit
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41865 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03 16:44:49 +00:00
russell
8ff967956b
Don't use ast_frdup() in the AST_LIST_INSERT_TAIL macro directly. That was a
...
very stupid thing to do. It ends up duplicating the frame twice, linking in
one of them and setting the tail pointer to the other one. Sorry ...
Thanks to file for pointing out the breakage!!! file rocks.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41864 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03 16:41:02 +00:00
file
3facfd8cd2
Unbridge the RTP streams at the correct place
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41735 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-01 18:57:10 +00:00
file
99355c0ba4
If we are doing video and we can't reinvite, then resort to generic bridging instead of Packet2Packet since video isn't supported there yet. (reported by PCadach in #asterisk-bugs)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41718 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-01 17:54:22 +00:00
file
a99e74477a
You see nothing...
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41696 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-01 16:50:02 +00:00
murf
709b82f1b4
Another formatting update for PCadach.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41695 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-01 16:48:06 +00:00
file
56c64cbe57
0 is indeed considered a valid file descriptor (issue #7861 reported by PCadach)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41694 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-01 16:40:18 +00:00
file
e46eb0e63e
Merged revisions 41690 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r41690 | file | 2006-09-01 12:28:08 -0400 (Fri, 01 Sep 2006) | 2 lines
Don't treat an unexpected control subclass as voice (issue #7858 reported by PCadach)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41693 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-01 16:34:57 +00:00
murf
82dc9e6325
PCadach wanted better formatting of those 'if' conditions for 7859.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41692 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-01 16:33:22 +00:00
murf
04df54629e
This small tweek will hopefully fix 7859, and silence all possible others
...
along that line.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41674 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-01 15:57:05 +00:00
file
43c75db33e
Tweak the DTMF muting stuff a bit to take into account VLDTMF and compensation.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41632 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 21:00:16 +00:00
file
b62bb5fe75
Ignore DTMF begin frames in the waitstream core so that we don't get duplicate digits in our extension match
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41611 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 19:03:13 +00:00
file
e4b13479c6
Don't fail the write if they try to write a NULL or IAX frame as we just ignore these.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41596 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 18:47:51 +00:00