Joshua Colp
7722d96bea
Allow directed pickup to pick up the real context instead of the macro context if a Macro is used. (issue #8984 reported by jamesb63)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 17:02:35 +00:00
Olle Johansson
3ca445e34c
Issue #7541 - Handle multipart attachments to SIP messages - even if boundary is quoted.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54787 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 12:06:23 +00:00
Olle Johansson
a945ccf652
Merged revisions 54771 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r54771 | oej | 2007-02-16 12:38:03 +0100 (Fri, 16 Feb 2007) | 2 lines
Issue #9069 - If we open with TH we should not close with /TD. (seanbright)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54772 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 11:39:55 +00:00
Joshua Colp
ae5eec37dd
Don't let dtmf leak over into the engine and let it skew the results... also give DTMF results priority. (issue #9014 reported by surftek)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 00:48:48 +00:00
Joshua Colp
bddfe6fea7
Merged revisions 54622 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r54622 | file | 2007-02-15 11:14:40 -0500 (Thu, 15 Feb 2007) | 2 lines
Use a separate variable to indicate execution should continue instead of the return value. (issue #8842 reported by pluto70)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54623 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-15 16:19:39 +00:00
Joshua Colp
dadf652e26
Forward begin DTMF frames as well as end. (issue #9068 reported by mhardeman)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 21:07:23 +00:00
Olle Johansson
ab60981de3
Block patch only needed in 1.2
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54439 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 18:44:58 +00:00
Matthew Fredrickson
91e22d1df2
Merged revisions 54373 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r54373 | mattf | 2007-02-14 10:25:49 -0600 (Wed, 14 Feb 2007) | 2 lines
When handling glare on a PRI, move the requested channel rather than hang up the old one. Fix for 8957 and 9011.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 16:56:40 +00:00
Joshua Colp
7d029cabf6
Add G722 to ast_best_codec. If anyone disagrees with it's placement, feel free to change it. (issue #9045 reported by gork)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54290 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 01:09:40 +00:00
Russell Bryant
7bcf1d913a
Remove a couple of leftover debug messages
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 21:31:22 +00:00
Russell Bryant
3ed86f887e
Fix the documentation on the return values from device state provider
...
registration and deletion.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54218 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 20:56:50 +00:00
Russell Bryant
b100b69703
If we fail to create the SIP socket, then return -1 from reload_config() so
...
that load_module() will return AST_MODULE_LOAD_DECLINE. Otherwise, the console
will just get spammed with error messages every time chan_sip tries to send a
message.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 19:42:00 +00:00
Olle Johansson
8584300aac
Blocking patch for 1.2 only
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54180 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 18:41:15 +00:00
Russell Bryant
913948066e
Change ast_set_state_callback() to ast_dial_set_state_callback()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54103 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-12 19:17:08 +00:00
Russell Bryant
5bc6ee1714
- Add the ability to register a callback to monitor state changes in an
...
asynchronous dial operation.
- Rename the various references to "status" to "state" in the dial API
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-12 17:58:43 +00:00
Joshua Colp
329df6f95e
Make the --without-oss argument work. (issue #9026 reported by puzzled)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-12 16:34:45 +00:00
Russell Bryant
2123a1bf02
Fix a typo where "vmpassword" should be "vmsecret"
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54002 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-12 15:38:39 +00:00
Paul Cadach
f5590445cc
Fix VLDTMF reception
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53881 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 09:09:49 +00:00
Paul Cadach
f02a11732b
Much simpler than previous one ;-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 09:08:55 +00:00
Paul Cadach
3a68e31940
Provide correct DTMF duration
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53879 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 09:07:11 +00:00
Paul Cadach
39d6429a35
Bring deprecated 'debug channel <x|all>' command back
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53878 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 09:04:47 +00:00
Kevin P. Fleming
4eccecc891
don't display the --with-imap message unless --with-imap was specified without a path
...
use '-n' instead of '! -z' for tests
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 06:06:08 +00:00
Russell Bryant
c16059235e
Add some output for "show application SLAStation/SLATrunk"
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 01:02:00 +00:00
Russell Bryant
93fcd4a354
Change some text to properly state "On Hold", which was already done in trunk.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 00:41:57 +00:00
Russell Bryant
7ee02f585d
Merge team/russell/sla_rewrite
...
This is a completely new implementation of the SLA functionality introduced in
Asterisk 1.4. It is now functional and ready for testing. However, I will be
adding some additional features over the next week, as well.
For information on how to set this up, see configs/sla.conf.sample
and doc/sla.txt.
In addition to the changes in app_meetme.c for the SLA implementation itself,
this merge brings in various other changes:
chan_sip:
- Add the ability to indicate HOLD state in NOTIFY messages.
- Queue HOLD and UNHOLD control frames even if the channel is not bridged to
another channel.
linkedlists.h:
- Add support for rwlock based linked lists.
dial.c:
- Add the ability to run ast_dial_start() without a reference channel to
inherit information from.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53810 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 00:35:09 +00:00
Russell Bryant
2f5eabb51e
When the Echo() application receives the digit '#', echo that back as well.
...
Since we already sent the BEGIN frame for that digit, it makes sense to send
the END as well.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 00:15:50 +00:00
Kevin P. Fleming
ff17d402de
another dependency
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-09 23:52:44 +00:00
Kevin P. Fleming
07462b8d1b
add some inter-module dependencies
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53780 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-09 23:51:41 +00:00
Kevin P. Fleming
fccb4abbb9
fix awk scripts to work when both MODULEINFO and MAKEOPTS are present in a source file
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-09 23:51:29 +00:00
Joshua Colp
1ba2aa702d
Temporarily change musicclass on channel to one specified in Dial so that the 'm' option functions properly. (issue #8969 reported by christianbee)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-09 19:33:31 +00:00
Kevin P. Fleming
23fc99bc5f
clarify the fact that voicemail IMAP storage cannot be built against a distro's binary c-client library package (at least not at this time)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-09 16:42:22 +00:00
Olle Johansson
89a3a01d0b
Don't output debug unless we asked for it
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53672 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-08 23:18:59 +00:00
Joshua Colp
dce4b744a1
Fix timeout issue when utterance is longer then timeout itself.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53601 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-08 17:54:32 +00:00
Tilghman Lesher
ce2414804c
Issue 9007 - Mutex not released on early return
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53532 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-08 13:47:54 +00:00
Tilghman Lesher
1612f65f9c
Merged revisions 53529 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53529 | tilghman | 2007-02-08 07:36:10 -0600 (Thu, 08 Feb 2007) | 2 lines
Issue 9003 - If fullname is empty, quote() passes back "\""
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53530 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-08 13:40:02 +00:00
Russell Bryant
2620b515a7
When building libdb1.a, put the additional flags needed at the beginning of
...
ASTCFLAGS, instead of at the end. This way, we ensure that we find the local
headers first before accidentally trying to use headers that exist in
locations specified in the ASTCFLAGS passed from the main Makefile.
(issue #8637 , ovi)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-07 23:52:45 +00:00
Russell Bryant
2b39ea96f0
The clean target actually needs to run "distclean" on editline. This is
...
because we need to make sure that its configure script gets executed again,
because the CFLAGS we want to pass to editline may have changed.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-07 20:07:39 +00:00
Joshua Colp
204b58a23c
We can not reliably do P2P bridging with DTMF passing back with compensation if we need to listen for DTMF frames. (issue #8962 reported by caio1982)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-07 17:53:03 +00:00
Russell Bryant
2b5990387c
When parsing the NTP timestamp in a sender report message, you are supposed to
...
take the low 16 bits of the integer part, and the high 16 bits of the
fractional part. However, the code here was erroneously taking the low 16 bits
of the fractional part. It then shifted the result 16 bits down, so the result
was always zero. This fix makes it grab the appropriate high 16 bits, instead.
(issue #8991 , pointed out by andre_abrantes)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53429 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-07 17:39:31 +00:00
Joshua Colp
670a0ff144
Directly load say.conf in load_module instead of calling the reload function. (issue #8946 reported by junky)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53399 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-07 17:04:44 +00:00
Joshua Colp
2f6312a37e
Merged revisions 53357 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53357 | file | 2007-02-07 10:38:48 -0500 (Wed, 07 Feb 2007) | 2 lines
Fix a few potential memory leaks with realtime users and peers. (issue #8999 reported by bsmithurst)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-07 15:43:39 +00:00
Tilghman Lesher
7f0c317655
Merged revisions 53354 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53354 | tilghman | 2007-02-07 09:30:02 -0600 (Wed, 07 Feb 2007) | 2 lines
Issue 7440 - Macro called from Macro from the h extension exits prematurely
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53355 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-07 15:33:51 +00:00
Christian Richter
1c90803367
Merged revisions 52843 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r52843 | crichter | 2007-01-30 15:38:08 +0100 (Di, 30 Jan 2007) | 1 line
fixed some possible segfaults. also fixed an very important bug which occurs on high load (when calls are very fast generated)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53324 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-07 09:22:44 +00:00
Tilghman Lesher
27475a306d
Text fix for jabber reload command (reported by bkruse via IRC)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-07 05:24:31 +00:00
Tilghman Lesher
f2decd2446
Merged revisions 53245 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53245 | tilghman | 2007-02-06 00:58:28 -0600 (Tue, 06 Feb 2007) | 2 lines
Issue 8987 - Status could return two responses (mnicholson)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53246 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-06 07:00:52 +00:00
Olle Johansson
e7a0e86756
Formatting
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-05 23:43:59 +00:00
Joshua Colp
687b672a09
Ensure say_cfg is NULL when the module is loaded. (issue #8946 reported by junky)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-05 17:06:18 +00:00
Joshua Colp
e647794710
Unregister Playback CLI commands as well as dialplan application. (issue #8946 reported by junky)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53150 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-05 16:02:00 +00:00
Olle Johansson
8e07358edf
Add some comments on queue system behaviour and how it affects the
...
SIP channel
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-05 00:18:34 +00:00
Joshua Colp
910898b7be
Make SIPDtmfMode application work with recent capability changes, and also fix an RTP stack issue when the auto option was used. (issue #8972 reported by mdu113)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-03 21:05:02 +00:00