Joshua Colp
123c1b5b19
Rely on ast_gethostbyname to handle IP addresses, not inet_aton. (issue #9056 reported by pj)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 01:36:18 +00:00
Joshua Colp
8fdd98b568
Add 'o' option to Chanspy which causes it to only listen to audio coming from the channel, and the 'X' option which allows the user to exit to a valid single digit extension. (issue #8137 reported by mnicholson)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 01:17:25 +00:00
Joshua Colp
56095555da
Merged revisions 54714 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r54714 | file | 2007-02-15 19:48:48 -0500 (Thu, 15 Feb 2007) | 2 lines
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/trunk@54715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 00:54:10 +00:00
Joshua Colp
cd56d84085
Properly handle an error result from a manager action. This could have left the action list permanently locked for reading.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 00:10:17 +00:00
Olle Johansson
0f51f6577d
- add some notes, asking for help
...
- insert a few ast_strlen_zero
- Doxygen additions
- A few more spaces
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54686 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-15 20:29:37 +00:00
Olle Johansson
11a9db38ed
Make file's new comment doxygenified
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-15 17:13:29 +00:00
Joshua Colp
a11b56a8e5
Merged revisions 54623 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r54623 | file | 2007-02-15 11:19:39 -0500 (Thu, 15 Feb 2007) | 10 lines
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/trunk@54624 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-15 16:24:13 +00:00
Olle Johansson
bd4858f6b7
...and don't forget to update CHANGES
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54599 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-15 15:53:26 +00:00
Olle Johansson
fef74f1574
Add callgroup and pickupgroup to SIPPEER function. (thanks ramon)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54598 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-15 15:52:35 +00:00
Olle Johansson
6fcc8ed36b
Update CHANGES
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54575 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-15 12:12:51 +00:00
Olle Johansson
1f52d1cc81
Issue #7443 - amdtech - Optionally SIP registrations in another
...
realtime family.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-15 12:10:55 +00:00
Joshua Colp
67b499bbf8
Clean up the I/O context handler.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-15 02:11:34 +00:00
Joshua Colp
db868d0807
Few more code clean ups.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54534 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-15 02:02:30 +00:00
Joshua Colp
fd3630715b
Clean up app_milliwatt code.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54528 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-15 01:52:10 +00:00
Joshua Colp
68a66656e6
Merged revisions 54481 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r54481 | file | 2007-02-14 16:07:23 -0500 (Wed, 14 Feb 2007) | 2 lines
Forward begin DTMF frames as well as end. (issue #9068 reported by mhardeman)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54489 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 21:10:53 +00:00
Olle Johansson
9f02e13857
Show version in "core show settings"
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 20:45:23 +00:00
Olle Johansson
93dbf3306f
Updates and re-organization to make it easier to digest this information
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 20:31:10 +00:00
Olle Johansson
8ac0fb2bc3
New CLI command "Core show settings" to list some core settings
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 20:22:20 +00:00
Matthew Fredrickson
daa5f504ec
Merged revisions 54375 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r54375 | mattf | 2007-02-14 10:56:40 -0600 (Wed, 14 Feb 2007) | 10 lines
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/trunk@54404 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 17:14:42 +00:00
Olle Johansson
88928f67ed
Make documentation match the source code.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 17:02:16 +00:00
Olle Johansson
276b570c3e
Issue #9060 - host= parameter in sip.conf stopped working
...
caused by outbound proxy patch.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 16:20:48 +00:00
Olle Johansson
0653be0c33
Add port number to SIPPEER dialplan function
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 15:27:49 +00:00
Paul Cadach
bc7e4c2ef2
I don't know how it worked earlier, but valgrind
...
produces core every time you try to load codec_g722.
Fixed. ;-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54325 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 08:34:10 +00:00
Joshua Colp
8470ee5cd0
Merged revisions 54290 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r54290 | file | 2007-02-13 20:09:40 -0500 (Tue, 13 Feb 2007) | 2 lines
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/trunk@54291 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 01:12:21 +00:00
Russell Bryant
f60efe347a
This introduces a new dialplan function, DEVSTATE, which allows you to do some
...
pretty cool things.
First, you can get the device state of anything in the dialplan:
NoOp(SIP/mypeer has state ${DEVSTATE(SIP/mypeer)})
NoOp(The conference room 1234 has state ${DEVSTATE(MeetMe:1234)})
Most importantly, this allows you to create custom device states so you can
control phone lamps directly from the dialplan.
Set(DEVSTATE(Custom:mycustomlamp)=BUSY)
...
exten => mycustomlamp,hint,Custom:mycustomlamp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54261 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 22:02:20 +00:00
Russell Bryant
83856d4683
Merged revisions 54204 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r54204 | russell | 2007-02-13 13:42:00 -0600 (Tue, 13 Feb 2007) | 5 lines
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/trunk@54260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 21:57:31 +00:00
Russell Bryant
9e99a51802
Merged revisions 54235 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r54235 | russell | 2007-02-13 15:31:22 -0600 (Tue, 13 Feb 2007) | 2 lines
Remove a couple of leftover debug messages
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 21:33:03 +00:00
Russell Bryant
3b7cfbb80d
Merged revisions 54218 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r54218 | russell | 2007-02-13 14:56:50 -0600 (Tue, 13 Feb 2007) | 3 lines
Fix the documentation on the return values from device state provider
registration and deletion.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54219 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 20:57:41 +00:00
Russell Bryant
0e2c86820b
Use spaces instead of tabs in the help text for a CLI command
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54149 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 06:10:11 +00:00
Russell Bryant
df48a3b1be
Simplify WELCOME_MESSAGE to be a single function call instead of one for each
...
line.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 06:02:57 +00:00
Russell Bryant
4300a7a6cd
- Constify the format string passed to ast_cli()
...
- Simplify printing out the warranty and license
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 05:57:52 +00:00
Russell Bryant
8f8df3e5a9
Merged revisions 54103 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r54103 | russell | 2007-02-12 13:17:08 -0600 (Mon, 12 Feb 2007) | 2 lines
Change ast_set_state_callback() to ast_dial_set_state_callback()
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-12 19:18:33 +00:00
Russell Bryant
2a5477b35e
Merged revisions 54066 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r54066 | russell | 2007-02-12 11:58:43 -0600 (Mon, 12 Feb 2007) | 4 lines
- 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/trunk@54067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-12 18:01:15 +00:00
Joshua Colp
e413063fc3
Blocked revisions 54026 via svnmerge
...
........
r54026 | file | 2007-02-12 11:34:45 -0500 (Mon, 12 Feb 2007) | 2 lines
Make the --without-oss argument work. (issue #9026 reported by puzzled)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54035 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-12 16:40:54 +00:00
Russell Bryant
1bf40c4da3
Merged revisions 54002 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r54002 | russell | 2007-02-12 10:38:39 -0500 (Mon, 12 Feb 2007) | 2 lines
Fix a typo where "vmpassword" should be "vmsecret"
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54004 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-12 15:48:28 +00:00
Russell Bryant
10c4a5fef7
Simplify a small bit of logic.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-12 15:40:23 +00:00
Tilghman Lesher
63cc6e10b4
Formatting fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53980 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-12 02:44:33 +00:00
Olle Johansson
1295d40d77
Be careful with debug messages in trunk, they tend to stay around for release....
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-11 20:49:38 +00:00
Olle Johansson
6e139adc56
Small fix in outbound proxy support.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-11 20:04:49 +00:00
Olle Johansson
32495f91f0
Add support for outbound proxy for peers and [general]
...
This replaces the older, broken, implementation where a setting in
[general] did not do anything and the [peer] part was broken.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-11 19:42:55 +00:00
Olle Johansson
4ca354f3f8
Fix debug handling in acl.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53914 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-11 19:15:55 +00:00
Paul Cadach
012e99016c
Merged revisions 53881 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r53881 | pcadach | 2007-02-10 01:09:49 -0800 (Сбт, 10 Фев 2007) | 1 line
Fix VLDTMF reception
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53885 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 09:23:09 +00:00
Paul Cadach
6b88680e51
Merged revisions 53880 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r53880 | pcadach | 2007-02-10 01:08:55 -0800 (Сбт, 10 Фев 2007) | 1 line
Much simpler than previous one ;-)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 09:22:15 +00:00
Paul Cadach
85ad583544
Merged revisions 53879 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r53879 | pcadach | 2007-02-10 01:07:11 -0800 (Сбт, 10 Фев 2007) | 1 line
Provide correct DTMF duration
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53883 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 09:21:22 +00:00
Paul Cadach
34ba0babd3
Blocked revisions 53878 via svnmerge
...
........
r53878 | pcadach | 2007-02-10 01:04:47 -0800 (Сбт, 10 Фев 2007) | 1 line
Bring deprecated 'debug channel <x|all>' command back
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53882 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 09:19:58 +00:00
Kevin P. Fleming
ee770b99dd
Merged revisions 53850 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r53850 | kpfleming | 2007-02-10 00:06:08 -0600 (Sat, 10 Feb 2007) | 3 lines
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/trunk@53851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 06:14:55 +00:00
Russell Bryant
36d445d6df
Blocked revisions 53818 via svnmerge
...
........
r53818 | russell | 2007-02-09 18:41:57 -0600 (Fri, 09 Feb 2007) | 2 lines
Change some text to properly state "On Hold", which was already done in trunk.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 00:42:19 +00:00
Russell Bryant
5715b49c30
Merged revisions 53810 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r53810 | russell | 2007-02-09 18:35:09 -0600 (Fri, 09 Feb 2007) | 24 lines
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/trunk@53817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 00:40:57 +00:00
Russell Bryant
ac4090fce0
add another dependency
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 00:20:57 +00:00
Russell Bryant
66641e8a63
Merged revisions 53783 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r53783 | russell | 2007-02-09 18:15:50 -0600 (Fri, 09 Feb 2007) | 4 lines
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/trunk@53784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 00:16:22 +00:00