Commit Graph

2219 Commits

Author SHA1 Message Date
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
Kevin P. Fleming 9403a6e027 remember CallerID in AgentCallbackLogin, so it can be used at logoff time
use stored CallerID when auto-logoff occurs to clear AGENTBYCALLERID variable (bug #4616)
persist stored CallerID into/out of astdb


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6036 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-06 01:29:15 +00:00
Russell Bryant 52ef5c7d30 add function to convert a cause code to a string
create MAX_MUSICCLASS instead of using MAX_LANGUAGE


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 17:16:17 +00:00
Kevin P. Fleming 3c91556d2d reset regattempts counter after successful registration (bug #4634)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 15:08:34 +00:00
Matthew Fredrickson cb8ba75284 Fix for bug 4347. Also breaking redirectingreason interpretation routine into function
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-29 21:47:44 +00:00
Kevin P. Fleming 3ddc33f674 un-break three-way calling
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6002 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-24 19:15:51 +00:00
Russell Bryant f3e538205b no need to call srand() when it is already called in asterisk.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6000 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-24 04:38:59 +00:00
Kevin P. Fleming 19c1ac82a4 actually get the host's name for the code that needs it (bug #4569)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5998 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-24 02:56:15 +00:00
Kevin P. Fleming 9f4ad3363d ensure that 'zap show status' always generates output, even when there are no interfaces present (bug #3585)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5996 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-24 02:37:32 +00:00
Kevin P. Fleming 4803ab0bb2 don't use locks when reading usecounts (reading only, not writing)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-24 02:15:04 +00:00
Kevin P. Fleming 8db7830293 fix outgoing format selection breakage
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-24 01:37:15 +00:00
Kevin P. Fleming 442f3b15a1 make 'transfer to busy' support a configurable option, and make it _only_ short-circuit AST_STATE_BUSY
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-23 14:51:52 +00:00