Kevin P. Fleming
11891d28da
and now we know why #define-ing constants and trying to keep them in sequence is a bad idea...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-27 02:17:06 +00:00
Kevin P. Fleming
9080884688
fix breakage that was causing PUBLISH to be sent instead of CANCEL
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-27 00:58:54 +00:00
Kevin P. Fleming
f99dcb7586
add a few const's
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-27 00:32:37 +00:00
Kevin P. Fleming
b774d41660
enhance SIP_PEER function to return additional items (bug #4816 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6229 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-26 22:13:31 +00:00
Russell Bryant
a657d3a7fa
fix build issue for FreeBSD (bug #4802 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-26 14:40:41 +00:00
Kevin P. Fleming
4df19fa1c2
clean up SIP response and pedantic REGISTER matching (bug #3663 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6218 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 23:26:47 +00:00
Kevin P. Fleming
8703628608
add explanatory comment about timestamp compensation (bug #4763 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6217 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 23:13:20 +00:00
Kevin P. Fleming
9b8ee1f3e4
set the 'number complete' bit properly (bug #4771 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 22:16:35 +00:00
Kevin P. Fleming
1a5aa9c836
add dedicated function for adding Content-Length header (bug #4795 )
...
use ast_build_string to build large text bodies (bug #4795 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 21:58:32 +00:00
Kevin P. Fleming
6596f8496e
_really_ rewrite get_in_brackets to do the right thing (including skipping escaped double-quote characters)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6205 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 21:40:17 +00:00
Russell Bryant
8223580a4a
formatting and callingpres support (bug #4787 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 20:04:46 +00:00
Kevin P. Fleming
1aa875b656
combine bracket-removing functions (bug #4794 , with compiler warning mod)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 18:36:58 +00:00
Kevin P. Fleming
1e9beaa1d2
ensure that port number in URI is presented when needed (bug #4784 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 18:11:19 +00:00
Kevin P. Fleming
a953eb06c3
formatting cleanups (bug #4786 , with minor mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6193 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 18:09:04 +00:00
Kevin P. Fleming
1153f74259
add plain-text hangup cause private header to outbound BYE/CANCEL (bug #4783 with minor mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 17:39:48 +00:00
Kevin P. Fleming
5238d544e9
ensure socket address family is copied (bug #4789 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6190 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 17:31:50 +00:00
Kevin P. Fleming
dd1cd37f11
ensure SIP_HEADER does not segfault when called on hung-up channels (bug #4756 , different fix than posted patch)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 17:13:24 +00:00
Russell Bryant
cd17218e59
add line break after show agents output (bug #4768 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6186 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 16:53:28 +00:00
Matthew Fredrickson
6eb0ec533e
More minor cleanups
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-22 18:28:19 +00:00
Matthew Fredrickson
0577cdd35f
Fixed little oops with DTMF tone duration
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6182 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-22 18:07:53 +00:00
Matthew Fredrickson
23d05a2ebb
Get rid of DSP after we don't need it anymore in MF mode
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6181 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-21 15:06:50 +00:00
Kevin P. Fleming
3f5035dce4
_really_ fix IAX2 crazy timestamp problem (bug #4747 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6180 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-20 22:46:58 +00:00
Russell Bryant
bd18858411
more formatting fixes from oej :-) (bug #4757 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6179 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-20 17:05:18 +00:00
Kevin P. Fleming
91e8442629
add SIPPEER dialplan function (bug #4728 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-20 00:44:35 +00:00
Kevin P. Fleming
0be59a11de
simple fix for bug #3638
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6169 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-19 23:55:43 +00:00
Kevin P. Fleming
4dd4428204
split acl and netsock code into separate files, in preparation for new netsock implementation
...
various minor cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-19 23:17:02 +00:00
Matthew Fredrickson
0a4dd9a6b3
Fix for DSP code on 411/406. (Bug 4712). Also a settable tone length
...
option.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6157 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-19 13:30:37 +00:00
Ben Kramer
c3f1c4da4f
/ fixed typo bug introduced in fix for bug #4504
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6156 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-19 02:33:46 +00:00
Kevin P. Fleming
22b0f5d306
add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 23:00:47 +00:00
Kevin P. Fleming
9d8d86e19d
phase two of string portability stuff:
...
don't need ast_ prefixes on functions
use individual #defines for function presence
add vasprintf to portability library
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 22:06:15 +00:00
Kevin P. Fleming
38598f57b4
make 'Agents' manager action conform to protocol (bug #4723 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6141 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 16:21:41 +00:00
Kevin P. Fleming
904beec507
ensure that format string macros are undef'd after use (bug #4716 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6139 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 16:13:26 +00:00
Kevin P. Fleming
17fee8dc68
various code formatting changes and cleanups related to bug #4706
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 16:03:02 +00:00
Kevin P. Fleming
f50c27c355
don't ignore hardcoded CLID from zapata.conf when usecallerid=no
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-13 20:22:29 +00:00
Russell Bryant
f62a613d24
fix big endian compilation issue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-13 19:21:04 +00:00
Kevin P. Fleming
aaa057778c
add create_addr_from_peer, to use an existing peer reference
...
(solves a deadlock where create_addr was called with the peer already locked)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6123 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-13 18:06:49 +00:00
Matthew Fredrickson
91f84f9098
Update variable name to match docs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-13 15:13:12 +00:00
Mark Spencer
3916b7e41b
Fix IAX2 encryption (really, bug #4500 for reference)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6103 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12 14:46:20 +00:00
Kevin P. Fleming
a803ef7af0
pick up calling ANI information from libpri (bug #4571 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6097 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12 02:33:57 +00:00
Kevin P. Fleming
d7e09f233f
allow explicit source address/port selection for peers (bug #4257 , with minor mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12 02:19:41 +00:00
Russell Bryant
e24821e1cf
fix off by one errors in calls to ast_copy_string (bug #4600 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-11 21:05:35 +00:00
Matthew Fredrickson
e67bc60c40
Make PRI debug easier to read if you're not using NFAS
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6081 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-11 19:23:02 +00:00
Russell Bryant
4c531ca8c0
define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-10 23:49:57 +00:00
Mark Spencer
80f67ad1fa
Pass along proceeding and progress even when overlap mode is not on
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6072 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-10 16:05:59 +00:00
Kevin P. Fleming
c13d601fb4
queue device state changes and handle them serially in a background thread
...
optimize device state related functions
add ast_get_channel_by_name_prefix to allow searching for matching channels in O(1) operation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-08 21:14:34 +00:00
Kevin P. Fleming
f64717b556
clean up compiler warnings during build on 64-bit systems
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6059 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-08 17:06:54 +00:00
Kevin P. Fleming
f268ea2b3c
make CLI output use singular/plural when appropriate (bug #4654 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-07 22:32:20 +00:00
Malcolm Davenport
f1a18b8066
Hardcode urgent messages option in Voice-Message to 0
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-07 19:51:33 +00:00
Kevin P. Fleming
6b72557890
ensure that AGENTBYCALLERID is set for agents being reloaded from persistent storage
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-06 14:47:25 +00:00
Kevin P. Fleming
1bd88c387e
don't segfault when peer doesn't send Referred-By (bug #4588 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6038 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-06 01:45:23 +00:00