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
anthonyl
1d4845cffd
fix for bugid: 0007830
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41630 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 20:49:26 +00:00
russell
405acc2368
there is no need to use iax_frame_free here, as it will actually just end up
...
having a bunch of erroneous messages about attempting to double free frames
spammed to the console. Problem reported to me by file ...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41629 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 20:39:12 +00:00
file
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
file
73641d61f2
Add new frame types for DTMF
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41595 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 18:21:00 +00:00
file
2495e281f8
Only write a received packet out if we are actually bridged to something
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41574 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 14:46:46 +00:00
oej
ef15019f66
Use GLOBAL() in dialplan examples
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41560 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 10:40:24 +00:00
russell
71708ac949
oops.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41545 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 04:19:54 +00:00
russell
7ab2e8a729
The behavior of REGEX when it did not match was not defined by the docs, so
...
define it to provide a result of "0" and change the code appropriately.
(issue #7805 )
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41544 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 04:07:35 +00:00
murf
6a1a080f67
This commit is a basic AEL enhancement: c-style comments
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41527 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 02:53:15 +00:00
file
8773d3792f
Force a rebuild since we mucked with enough stuff to justify it
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41523 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 02:03:01 +00:00
file
3f22aa53af
Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it!
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41507 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 01:59:02 +00:00
file
0fcb352fba
Update configure script to check for Zaptel VLDTMF support since this will now be required. If you build and don't have Zap stuff, upgrade your zaptel copy. As well - change some minor things so that we get "checking for" and not "checking checking for".
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41505 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 01:48:04 +00:00
kpfleming
fbe5134cb5
change default setting for autofallthrough
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41475 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30 21:44:05 +00:00
oej
baf54bea3c
Why check bridgepeer twice?
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41457 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30 20:24:32 +00:00
oej
cc62df3130
update docs
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41456 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30 20:20:52 +00:00
oej
efa836e80f
Don't add headers to an uninitialized eq (from issue 7694 garyhai, but not
...
a resolution to that bug report)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41437 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30 19:51:31 +00:00
oej
0fa9dde961
Note to myself: Remember Russell's note: Always compile first...
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41436 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30 19:20:29 +00:00
oej
87365bd6cf
Mark ALERT_INFO as deprecated. This can now be done with the sipaddheader() application and
...
does not need special code in chan_sip any more.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41435 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30 19:16:53 +00:00
russell
c33575e3c0
add a note about behavior of the "clid" field in the CDR
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41434 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30 19:07:59 +00:00
oej
ba6627ebbc
Issue #7572 (Boesl) - hangup channel that get buggy 487 response (imported from 1.2)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41433 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30 19:07:21 +00:00
russell
74309e293e
Blocked revisions 41411 via svnmerge
...
........
r41411 | russell | 2006-08-30 14:59:44 -0400 (Wed, 30 Aug 2006) | 6 lines
Restore original functionality of 1.2 in places where ANI was not set, but was
changed to be set. The original change was done to ensure that the behavior of
the "callerid" option in each channel driver was consistent, but it caused an
unexpected behavior change of CDR records for users, so this change is being
reverted in 1.2. (issue #7695 )
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41429 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30 19:02:34 +00:00
file
ee51965cbf
Merged revisions 41390 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r41390 | file | 2006-08-30 13:58:31 -0400 (Wed, 30 Aug 2006) | 2 lines
Properly handle an ETIMEDOUT result from pthread_cond_timedwait (issue #7318 reported by arkadia)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41409 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30 18:02:53 +00:00
russell
c89b5d734e
fix a bug introduced when I merged my frame caching branch. Queue the
...
translated frame to the spies, *not* the original frame. Thanks PCadach!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41389 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30 17:07:07 +00:00
file
ea048584fa
Clarify what show translations is displaying a bit more (issue #7772 reported by Mithraen)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41373 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30 16:04:24 +00:00
file
86ce29fef8
Print what read-only variable is being set so that the user doesn't have to guess and figure it out or look at the list in cdr.c and match it up (issue #7831 reported by sedwards)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41357 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30 15:15:06 +00:00
file
48e444da01
Only feed a DTMF frame into the core if we need to
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41338 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30 14:57:06 +00:00
oej
458e89f647
Issue #7822 - don't issue SRV lookups if it's disabled. (barthek)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41335 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30 14:36:46 +00:00
markster
d4002c74a5
Fix transcoding performance issue
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41318 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30 03:20:54 +00:00
file
e295dc6f8b
Only switch the second alert fd (which is RTCP) to callback mode if it is in use
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41317 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30 03:18:04 +00:00
file
888a9a8bb1
Use an API call (ast_rtp_get_bridged) to return the RTP stream we are bridged to, and also use it in chan_sip so we know to ignore the no RTP activity checking
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41316 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30 03:16:03 +00:00
file
52d9462a76
If the RTP stack is already being operated in callback mode, then suspend it upon switching to P2P callback bridging. Once P2P callback bridging has ended, then restore callback mode.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41303 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30 01:29:59 +00:00
file
e48e648964
This is the last round of RTP bridge optimizations. Basically it introduces a way that under a straight bridge (ie: no transcoding and no DTMF detection) the core is not touched at all and no frames pass through (not even null frames). This is accomplished by stealing the file descriptors from the channel and using the provided IO context with a custom callback. When a channel is placed on hold this bridge is broken so audio can flow from the core to the other side. When a channel is off hold this bridge is re-established.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41302 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30 01:22:46 +00:00
file
1c3d04e2a8
Move the direct bridge write to after the NAT handling code
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41285 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29 23:41:16 +00:00
kpfleming
1f3e9bf746
make menuselect configure process be silent when possible
...
don't use #ifdef inside a macro call... it appears various versions of gcc have bugs related to this
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41284 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29 23:33:59 +00:00
murf
bd80958009
This change fixes bug 7820. Way back in April this bug was reintroduced, it appears, when a bunch of restructuring was done. This code was basically left out during the restructuring. In the case of the failure in 7820, it is trying to match the extension _x. with _x., and failing, because the 'x' should only match 0 thru 9. I **could** upgrade the code so that that N,Z, and X match not only their intended number ranges, but also N,Z,and X respectively. And, moreover, X could also match N and Z, and Z could also match N. I have no idea why this bug took so long to turn up. I have no idea what a more thorough treatment of the code would do to working code, either. So I left it as it ***was***.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41283 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29 23:08:42 +00:00
qwell
9f2ad2c670
Kevins last commit made me spot a typo.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41282 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29 21:52:40 +00:00
kpfleming
b4399f3264
add one remaining bit of functionality to the features.conf applicationmap (from Matt Nicholson in Digium Express Services)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41281 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29 21:20:43 +00:00
file
d5de83cadf
Limit challenges to 9 digits in length
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41280 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29 20:53:27 +00:00
russell
53f8d43e29
Merge team/russell/frame_caching
...
There are some situations in Asterisk where ast_frame and/or iax_frame
structures are rapidly allocatted and freed (at least 50 times per second
for one call).
This code significantly improves the performance of ast_frame_header_new(),
ast_frdup(), ast_frfree(), iax_frame_new(), and iax_frame_free() by keeping
a thread-local cache of these structures and using frames from the cache
whenever possible instead of calling malloc/free every time.
This commit also converts the ast_frame and iax_frame structures to use the
linked list macros.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41278 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29 20:50:36 +00:00
qwell
562decf81a
suppress compiler warning
...
Code shamelessly borrowed from r41271 (it was the same warning/fix)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41274 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29 17:31:15 +00:00
russell
fb567961c7
update to reflect recent rtp changes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41272 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29 13:55:54 +00:00
russell
1a0e185890
suppress compiler warning
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41271 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29 13:48:15 +00:00
russell
e2d60aab8c
Merged revisions 41269 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r41269 | russell | 2006-08-29 09:33:34 -0400 (Tue, 29 Aug 2006) | 3 lines
clean up last commit ... most notably, there is no reason to do heap
allocations here, and it also included a potential memory leak
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41270 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29 13:40:04 +00:00
murf
c38db54e51
Committed a fix for 7731, suggested by mnehauser.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41268 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29 13:21:47 +00:00
murf
aaf61b07bc
Bugfix for 7813 applied to trunk as per patch supplied by stevens
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29 12:24:01 +00:00
murf
899628dd43
blocking version 41240 from erasing stuff about complement and matching ops from the trunk version
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41241 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-28 20:56:52 +00:00
file
77be2d9b78
Merge in RTP-level packet bridging. Packet comes in, packet goes out - that's what RTP-level packet bridging is all about!
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41235 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-28 17:37:56 +00:00
murf
320436acc4
My apologies, I missed the compiler warning in a previous commit for the ael_main.c;
...
I've fixed this.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41230 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-28 15:31:14 +00:00