James Golovich
5f4b027f19
Don't wipe out transport and fd in chan_sip on reload (issue #11930 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-11 06:05:59 +00:00
Mark Michelson
84ecef76b8
Fix improper indentation. Thanks again to snuffy for pointing it out.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-11 03:03:58 +00:00
Mark Michelson
cd02fd2763
Add a couple of comments to clarify the unreffing of queues.
...
Thanks to snuffy for the idea.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-11 02:59:14 +00:00
Mark Michelson
9d683be81a
Fix a problem regarding network vs. host byte order
...
in the event API.
ast_event_iterator_get_ie_type should return the ie type in
host byte order. Furthermore, ast_event_get_ie_raw should already
have its ie type argument in host byte order since it could be called
externally (and it in fact is called in this way by ast_event_get_cached).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103282 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-11 02:47:25 +00:00
Michiel van Baak
4dccb58fb7
whitespace fixes only.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-09 11:27:10 +00:00
Tilghman Lesher
9d4d240b94
Merged revisions 103197 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r103197 | tilghman | 2008-02-09 00:23:49 -0600 (Sat, 09 Feb 2008) | 4 lines
Commit fix for being unable to send voicemail from VoiceMailMain
Reported by: William F Acker (via the -users mailing list)
Patch by: Corydon76 (license 14)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-09 06:33:10 +00:00
Russell Bryant
1ec8cb41a8
Merge changes from team/mvanbaak/cli-command-audit
...
(closes issue #8925 )
About a year ago, as Leif Madsen and Jim van Meggelen were going over the CLI
commands in Asterisk 1.4 for the next version of their book, they documented
a lot of inconsistencies. This set of changes addresses all of these issues
and has been reviewed by Leif.
While this does introduce even more changes to the CLI command structure, it
makes everything consistent, which is the most important thing.
Thanks to all that helped with this one!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103171 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-08 21:26:32 +00:00
Mark Michelson
52595c5d30
Forgot that AST_LIST_REMOVE_CURRENT takes different arguments in trunk than 1.4.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103122 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-08 18:58:25 +00:00
Mark Michelson
ba003e415b
Merged revisions 103120 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r103120 | mmichelson | 2008-02-08 12:48:17 -0600 (Fri, 08 Feb 2008) | 10 lines
Prevent a potential three-thread deadlock. Also added a comment block
to explicitly state the locking order necessary inside app_queue.
(closes issue #11862 )
Reported by: flujan
Patches:
11862.patch uploaded by putnopvut (license 60)
Tested by: flujan
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103121 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-08 18:54:53 +00:00
Mark Michelson
b7764b534a
Merged revisions 103070 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r103070 | mmichelson | 2008-02-08 12:00:38 -0600 (Fri, 08 Feb 2008) | 6 lines
Yield the thread and return -1 if the ioctl fails for Zaptel timing device.
(closes issue #11891 )
Reported by: tzafrir
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103071 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-08 18:02:48 +00:00
Russell Bryant
18347a73ff
At the request of ManxPower, include the UPGRADE.txt from 1.2 and 1.4, as well.
...
This way, if people need to go back and review what was deprecated in previous
major releases, it is readily available to them. Thanks for the suggestion!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103044 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-08 16:49:19 +00:00
Joshua Colp
ae6eea1999
Fix a network byte order issue and ensure when creating an outgoing dialog that the socket always contains information such as type and port.
...
(closes issue #11916 )
Reported by: mnnojd
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-08 15:31:00 +00:00
Joshua Colp
3d3852f125
Merged revisions 102968 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r102968 | file | 2008-02-08 11:08:20 -0400 (Fri, 08 Feb 2008) | 4 lines
Make sure the presence of dbsecret is factored into user scoring.
(closes issue #11952 )
Reported by: bbhoss
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102969 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-08 15:09:47 +00:00
Mark Michelson
6e23729a73
This is a combination new feature/bug fix for app_chanspy.
...
New feature: Add the 'e' option, which takes as an argument a list of
interfaces separated by colons. This way, you will only be able to spy
on this limited list of interfaces.
Bug fix: change some pointer checks to ast_strlen_zero so that spying
would work properly even if no channel was specified as the first argument
to chanspy.
(closes issue #10072 )
Reported by: xmarksthespot
Patches:
bugfix+newfeature10072patchtotrunkrev102726.diff uploaded by xmarksthespot (license 16)
Tested by: xmarksthespot, mvanbaak
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-07 21:37:00 +00:00
Michiel van Baak
408497916b
whitespace fixes only
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102908 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-07 21:08:46 +00:00
Michiel van Baak
d251bacacc
There she goes! First commit from me to trunk \o/
...
Make app_alarmreceiver honor code guidelines and fix whitespace errors.
No functional changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102906 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-07 20:42:59 +00:00
Jason Parker
1663494073
Merged revisions 102858 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r102858 | qwell | 2008-02-07 13:53:55 -0600 (Thu, 07 Feb 2008) | 7 lines
Specify which digit string was matched in debug message.
(closes issue #11949 )
Reported by: dimas
Patches:
v1-feature-debug.patch uploaded by dimas (license 88)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102859 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-07 20:02:17 +00:00
Kevin P. Fleming
cdff02c08f
Merged revisions 102807 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r102807 | kpfleming | 2008-02-07 10:41:55 -0600 (Thu, 07 Feb 2008) | 2 lines
document usage of 'transfer' configuration option for ISDN PRI switch-side transfers
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102808 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-07 16:47:52 +00:00
Mark Michelson
f26fd8dac4
Add the channel's unique id to the AgentCalled manager event to make it more consistent
...
with other manager events.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-06 20:12:43 +00:00
Joshua Colp
84fd4fcd47
Merged revisions 102725 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r102725 | file | 2008-02-06 13:59:23 -0400 (Wed, 06 Feb 2008) | 2 lines
Only consider a T.38-only INVITE compatible if we have both a joint capability between us and them and if they provided T.38.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102726 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-06 18:01:15 +00:00
Terry Wilson
6e7659e6b1
Add REALTIME_STORE and REALTIME_DESTROY dialplan functions provided by sergee.
...
I just added the ability to set multiple fields at once after discussions with
Tilghman and Russell. Currently limited to 30 fields.
(closes issue #11887 )
Reported by: sergee
Patches:
rt-func-store-destroy-multivalue.diff uploaded by otherwiseguy (license 396)
Tested by: sergee, otherwiseguy
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102700 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-06 16:23:22 +00:00
Joshua Colp
0f818b61be
Blocked revisions 102653 via svnmerge
...
........
r102653 | file | 2008-02-06 11:43:38 -0400 (Wed, 06 Feb 2008) | 4 lines
Add missing header file and ASTERISK_FILE_VERSION usage.
(closes issue #11936 )
Reported by: snuffy
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-06 15:46:53 +00:00
Russell Bryant
31d411d393
Merged revisions 102651 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r102651 | russell | 2008-02-06 09:19:41 -0600 (Wed, 06 Feb 2008) | 3 lines
Clarify setting DYNAMIC_FEATURES so that it gets inherited by outbound channels.
(due to a discussion between me and a user via email)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102652 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-06 15:20:31 +00:00
Tilghman Lesher
ee3cc80284
Merged revisions 102576 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r102576 | tilghman | 2008-02-05 18:26:02 -0600 (Tue, 05 Feb 2008) | 4 lines
Move around some defines to unbreak ODBC storage.
(closes issue #11932 )
Reported by: snuffy
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-06 03:05:00 +00:00
Mark Michelson
267220d043
Remove an extra debug message I left in
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102550 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-06 00:08:58 +00:00
Mark Michelson
fe9821cc10
Get rid of any remaining ast_verbose calls in the code in favor of
...
ast_verb
(closes issue #11934 )
Reported by: mvanbaak
Patches:
20080205_astverb-2.diff.txt uploaded by mvanbaak (license 7)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-05 23:00:15 +00:00
Mark Michelson
bb156b5cb5
Change verbose messages to use the ast_verb macro.
...
(closes issue #11931 )
Reported by: snuffy
Patches:
bug-11931.diff uploaded by snuffy (license 35)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-05 20:54:53 +00:00
Jason Parker
dc6e5d6aae
Change where priority of a goto is adjusted.
...
Partially reverts 102272.
Closes issue #11929
(credit to file for fix suggestion - we still <3 you)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102500 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-05 20:51:50 +00:00
Mark Michelson
33e42a6788
Merged revisions 102453 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r102453 | mmichelson | 2008-02-05 14:02:44 -0600 (Tue, 05 Feb 2008) | 8 lines
Clear the DTMF buffer on hangup.
(closes issue #11919 )
Reported by: eferro
Patches:
mgcp_dtmfclean_on_hangup.diff uploaded by eferro (license 337)
Tested by: eferro
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-05 20:03:54 +00:00
Joshua Colp
4b0c2cd0f3
Yeah yeah, I broke building on trunk. Shoot me.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102452 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-05 19:58:19 +00:00
Joshua Colp
946da18730
Merged revisions 102450 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r102450 | file | 2008-02-05 15:52:30 -0400 (Tue, 05 Feb 2008) | 3 lines
If a REGISTER attempt comes in that is a retransmission of a previous REGISTER do not create a new nonce value.
(issue #BE-381)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-05 19:54:05 +00:00
Joshua Colp
38164fecad
Merged revisions 102378 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r102378 | file | 2008-02-05 11:09:29 -0400 (Tue, 05 Feb 2008) | 4 lines
Perform dialing asynchronously when using the originate CLI command so the CLI does not appear to block.
(closes issue #11927 )
Reported by: bbhoss
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-05 15:10:36 +00:00
Tilghman Lesher
1dc86caf30
Merged revisions 102323 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r102323 | tilghman | 2008-02-04 15:06:09 -0600 (Mon, 04 Feb 2008) | 7 lines
Cross-platform fix: OS X now deprecates the use of the daemon(3) API.
(closes issue #11908 )
Reported by: oej
Patches:
20080204__bug11908.diff.txt uploaded by Corydon76 (license 14)
Tested by: Corydon76
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-04 21:15:18 +00:00
Jason Parker
668cecbafc
Add line numbers to warning/error messages (and pretty up some existing ones).
...
(closes issue #11894 )
Reported by: jmls
Patches:
chan_zap.patch uploaded by jmls (license 141)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-04 18:39:30 +00:00
Joshua Colp
c6fc44f927
Update handling of asyncgoto so it properly works on channels that are currently executing a PBX.
...
(closes issue #11914 )
Reported by: arnd
(closes issue #11753 )
Reported by: johan
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-04 15:16:05 +00:00
Jason Parker
f910cb5cb9
Change examples to use G here also.
...
Closes issue #11875
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-04 14:37:11 +00:00
Tilghman Lesher
d4d73b50a1
Merged revisions 102214 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r102214 | tilghman | 2008-02-03 23:10:02 -0600 (Sun, 03 Feb 2008) | 6 lines
Missing braces.
(closes issue #11912 )
Reported by: dimas
Patches:
sprintf.patch uploaded by dimas (license 88)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-04 05:32:00 +00:00
Tilghman Lesher
fa4c9a958b
CoreSettings and CoreStatus are missing the terminating "\r\n". Also, some
...
miscellaneous spacing and initialization issues.
(closes issue #11909 )
Reported by: srt
Patches:
patch-11909-2.diff uploaded by srt (license 378)
Tested by: srt
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102190 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-03 17:40:48 +00:00
Olle Johansson
7ca0fa1cae
Merged revisions 102142 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r102142 | oej | 2008-02-03 17:38:12 +0100 (Sön, 03 Feb 2008) | 8 lines
Use the same CSEQ on CANCEL as on INVITE (according to RFC 3261)
(closes issue #9492 )
Reported by: kryptolus
Patches:
bug9492.txt uploaded by oej (license 306)
Tested by: oej
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-03 16:46:39 +00:00
Olle Johansson
eab33324de
Merged revisions 102090 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r102090 | oej | 2008-02-03 11:37:32 +0100 (Sön, 03 Feb 2008) | 8 lines
Handle ACK and CANCEL in an invite transaction - even if we get INFO transactions during the actual call setup.
(closes issue #10567 )
Reported by: jacksch
Tested by: oej
Patch by: oej inspired by suggestions from neutrino88 in the bug tracker
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102091 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-03 10:47:05 +00:00
Russell Bryant
aa30cd9bc5
Change the version number in the configure script from 1.4 to 1.6
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-03 06:43:57 +00:00
Russell Bryant
b095b74685
The documentation page has to be in its own comment block to work, apparently.
...
Fix it up!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-02 06:10:20 +00:00
Russell Bryant
208f346878
Merged revisions 101989 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r101989 | russell | 2008-02-01 17:06:32 -0600 (Fri, 01 Feb 2008) | 5 lines
Change the SDP_SAMPLE_RATE macro. It turns out that even though G.722 is 16 kHz,
it is supposed to specified as 8 kHz in the RTP, and RTP timestamps are supposed
to be calculated based on 8 kHz. (Apparently this is due to a bug in a spec, but
people follow it anyway, because it's the spec ...)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 23:08:28 +00:00
Tilghman Lesher
ab5a1a6c8c
Merged revisions 101942 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r101942 | tilghman | 2008-02-01 15:54:28 -0600 (Fri, 01 Feb 2008) | 8 lines
Fix the VM_DUR variable for forwarded voicemail, and fixed several other bugs
while I'm in the area.
(closes issue #11615 )
Reported by: jamessan
Patches:
20071226__bug11615__2.diff.txt uploaded by Corydon76 (license 14)
Tested by: Corydon76, jamessan
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101943 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 22:12:55 +00:00
Tilghman Lesher
bfd26b9cfd
Merged revisions 101894 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r101894 | tilghman | 2008-02-01 13:36:12 -0600 (Fri, 01 Feb 2008) | 2 lines
Change detection of getifaddrs to use AST_C_COMPILE_CHECK, backported from trunk (as suggested by kpfleming)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 19:44:39 +00:00
Tilghman Lesher
320174cd4b
Fix multi, when using the LIKE query.
...
(closes issue #11889 )
Reported by: jmls
Patches:
res_config_curl.patch uploaded by jmls (license 141)
Tested by: jmls
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101873 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 18:45:31 +00:00
Jason Parker
a47b20bdcd
Comparison, not set :) Thanks mvanbaak.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 18:24:52 +00:00
Tilghman Lesher
de0d0ad137
Clarify the pooling functionality by changing the config file keyword
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101824 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 18:08:44 +00:00
Jason Parker
03a95a20db
Move an feof() call to before the fgets().
...
This would have exited the loop early if you had an authentication file with no newline at the end.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 17:44:32 +00:00
Russell Bryant
55f2aa4fa7
Blocked revisions 101820 via svnmerge
...
........
r101820 | russell | 2008-02-01 11:27:02 -0600 (Fri, 01 Feb 2008) | 1 line
off by one error
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 17:28:06 +00:00