Commit graph

15973 commits

Author SHA1 Message Date
Olle Johansson
fce9af0fa0 - Formatting changes
- Doxygen changes
- Replacing a doxygen description that was copied from another function


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128455 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-06 17:58:06 +00:00
Olle Johansson
e057380907 Adding note about incorrect manager registration...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-06 17:45:43 +00:00
Olle Johansson
ef943d774d Adding documentation on the T.140 support in Asterisk. This is a function that we're
the reference implementation on now. :-)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-06 10:13:45 +00:00
Olle Johansson
ccb718b560 Remove comments that doesn't make sense. The deprecation of type=user will come at a later stage,
as indicated by previous commit message


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128381 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-06 08:43:08 +00:00
Olle Johansson
25ce6ce19e Fix severe problem with my previous commit of "kill-the-user". Russell saw a problem with this
code, but not the correct problem. Thanks, anyway! ;-)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-06 08:32:11 +00:00
Olle Johansson
6f400edeab Changing name of global api call to ast_*
My mistake, pointed out by Russell.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-06 08:28:58 +00:00
Olle Johansson
bc99e067e6 Disabling code used by dumpdb with #ifdef, since I believe we might use it sometime in the
future, but also want to avoid compiler warnings now. 



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-06 08:16:59 +00:00
Olle Johansson
29770b1cd8 Removing the CLI dumpdb command (see asterisk-dev discussion and decision)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128343 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-06 08:10:27 +00:00
Olle Johansson
cf9c4ce883 Adding a few reminders
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-05 22:07:37 +00:00
Olle Johansson
9056540e35 Adding doxygen comments to missing parts, moving some #define
...trying to get my head around the thoughts behind the TCP/TLS stuff
and figure out what needs to be done to make it useful...


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128290 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-05 21:55:57 +00:00
Olle Johansson
d5525e3778 Adding TCP and TLS to "sip show settings".
TLS needs to have one configuration per configured domain at some point.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128287 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-05 21:37:57 +00:00
Olle Johansson
6de5e8552b Add some comments...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-05 21:27:22 +00:00
Olle Johansson
fc7517d76e Set tls setting to default in reload_config.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-05 21:25:04 +00:00
Michiel van Baak
bf848cc694 fix compiling of chan_sip.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128254 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-05 21:20:09 +00:00
Joshua Colp
eff212635c I like it when the tree is not broken.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128247 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-05 21:11:04 +00:00
Olle Johansson
318fd4186b KILL THE USER!
Actually, kill the in-memory structure for type=user and start using the sip_peer 
structure for every object. Have only one in-memory list and use them different
ways depending on type=user, type=peer and type=friend - like always.

The idea with this first patch is that configurations should work as before.

Some additional features for realtime peers. By adding a type= field, you
can now have multiple functions.

Let's test this for a while. Won't be integrated in 1.6.0, only in trunk,
for testing.

There's propably more to clean up and simplify here. Help is welcome
and encouraged!


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128242 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-05 20:59:49 +00:00
Olle Johansson
45e79490ba Implement flags for AGI in the channel structure so taht "show channels" and
AMI commands can display that a channel is under control of an AGI.

Work inspired by work at customer site, but paid for by Edvina AB


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-05 20:54:30 +00:00
Olle Johansson
0fd94cb93d Make TCP disabled by default (it's considered experimental)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128237 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-05 20:39:54 +00:00
Olle Johansson
90098f3cc9 Reformatting the config sample
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-05 20:37:53 +00:00
Olle Johansson
b04d101ee5 Stop cli command completion with tabs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128201 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-05 20:04:50 +00:00
Joshua Colp
945d7022c2 Make this actually evaluate how it was intended to be.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-05 19:52:54 +00:00
Olle Johansson
0a52297cf0 Add new SIP cli command "sip show channelstats" that displays some QoS data (if we have RTCP reports
and not use the p2p rtp bridge). I could not find a way to detect us using the p2p bridge, which
would be nice.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-05 19:27:42 +00:00
Tilghman Lesher
509fd1aff7 LDAP schema updates
(closes issue #12860)
 Reported by: flyn
 Patches: 
       asterisk.ldif uploaded by suretec (license 70)
       asterisk.schema uploaded by suretec (license 70)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-05 15:17:51 +00:00
Matthew Fredrickson
268ca4a5bb It would help if we actually parsed the ss7_explicitacm option in the config file...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128125 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-05 03:39:07 +00:00
Matthew Fredrickson
199067da4f Add option to wait to be able to explicitly send ACM via the Proceeding() application in the dialplan. Also minor documentation update explaining how to setup multiple signalling links within a linkset
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128122 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-05 03:26:42 +00:00
Tilghman Lesher
1d0637521a Fullcontact needs more than 20 characters, even for the simplest case
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-04 16:41:03 +00:00
Tilghman Lesher
4b4421192b Blocked revisions 128029 via svnmerge
........
r128029 | tilghman | 2008-07-04 11:11:03 -0500 (Fri, 04 Jul 2008) | 2 lines

Move the free down one

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128030 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-04 16:11:32 +00:00
Tilghman Lesher
12e5c68622 Merged revisions 127973 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r127973 | tilghman | 2008-07-03 22:30:30 -0500 (Thu, 03 Jul 2008) | 8 lines

Fix the 'dialplan remove extension' logic, so that it a) works with cidmatch,
and b) completes contexts correctly when the extension is ambiguous.
(closes issue #12980)
 Reported by: licedey
 Patches: 
       20080703__bug12980.diff.txt uploaded by Corydon76 (license 14)
 Tested by: Corydon76

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-04 16:06:34 +00:00
Olle Johansson
6f621e6205 - reorganize SIP extensions alphabetically, to make it easier to synch with the IANA list
- add a few new registered and well-known extension names


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-04 14:36:28 +00:00
Brett Bryant
10f0255389 Fix one more file that got changed.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127934 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-03 22:47:48 +00:00
Brett Bryant
022a157bd8 Remove commit that somehow got mergeed into trunk.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-03 22:44:39 +00:00
Brett Bryant
10fdf344ed Update these files with transfer code.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-03 22:36:02 +00:00
Kevin P. Fleming
6b06e9a8eb Merged revisions 127892,127895 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r127892 | kpfleming | 2008-07-03 17:18:38 -0500 (Thu, 03 Jul 2008) | 6 lines

a couple of small Solaris-related fixes

(closes issue #11885)
Reported by: snuffy, asgaroth


........
r127895 | kpfleming | 2008-07-03 17:20:16 -0500 (Thu, 03 Jul 2008) | 3 lines

remove this, it has been moved to the main Makefile


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127903 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-03 22:23:04 +00:00
Mark Michelson
6cfe27089c Make change proposed by andrew53 on bugtracker
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127857 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-03 20:59:51 +00:00
Mark Michelson
5a8a23f9ba Thanks to a suggestion from seanbright, print a warning if the attachment
of the whisper or barge audiohooks fails.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-03 20:37:21 +00:00
Mark Michelson
bb9a355ff0 Fix build
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-03 20:23:57 +00:00
Mark Michelson
dd315e5f74 Fix a crash when attempting to spy on an unbridged channel.
(closes issue #12986)
Reported by: andrew53



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127831 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-03 20:19:10 +00:00
Steve Murphy
bc2cfb3e81 Merged revisions 127663 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r127663 | murf | 2008-07-02 18:16:25 -0600 (Wed, 02 Jul 2008) | 30 lines

The CDRfix4/5/6 omnibus cdr fixes.

(closes issue #10927)
Reported by: murf
Tested by: murf, deeperror

(closes issue #12907)
Reported by: falves11
Tested by: murf, falves11


(closes issue #11849)
Reported by: greyvoip

As to 11849, I think these changes fix the core problems 
brought up in that bug, but perhaps not the more global
problems created by the limitations of CDR's themselves
not being oriented around transfers.

Reopen if necc, but bug reports are not the best
medium for enhancement discussions. We need to start
a second-generation CDR standardization effort to cover
transfers.

(closes issue #11093)
Reported by: rossbeer
Tested by: greyvoip, murf



........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127793 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-03 17:16:44 +00:00
Olle Johansson
f99a310219 Make sure we stop session timers as soon as we start hanging up an active call.
May fix issue 12919.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-03 16:48:23 +00:00
Olle Johansson
2491cc6e65 Revert some logic for session timers. We do send in-dialog requests that should not have session-timer
require headers, like MESSAGE and REFER. So in the future, only add them on requests and responses
that are related to INVITEs and re-INVITEs.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-03 16:25:59 +00:00
Kevin P. Fleming
e99eece42a some minor fixes found while working on issue #12911 (and block the rev from 1.4 since the equivalent is already here)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-03 16:22:02 +00:00
Mark Michelson
e4c93fc8c3 Added a new option, "timeoutpriority" to queues.conf. A detailed
explanation of the change may be found in configs/queues.conf.sample

(closes issue #12690)
Reported by: atis



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127720 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-03 14:34:25 +00:00
Olle Johansson
b423a939b0 Fix bad formatting in a very confusing function. Who added the sipdb sql output?
It's mixing peers and users in a strange way and should really not be a CLI command,
since it's not meant for human output. It should be done with an app connecting to
manager.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127685 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-03 09:59:12 +00:00
Tilghman Lesher
267b9d4eb4 Oops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127622 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-02 22:17:37 +00:00
Brett Bryant
6aa9419cfe Update transport= in sip so that the option is not broken from a recent commit.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127621 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-02 22:16:29 +00:00
Tilghman Lesher
885d17506b Keep ast_app_inboxcount API compatible with 1.6.0.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127609 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-02 21:27:53 +00:00
Mark Michelson
55e4daef88 Add a janitor project to use ARRAY_LEN instead of in-line
sizeof() and division.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-02 21:09:18 +00:00
Tilghman Lesher
3a27a6a9e7 Fix some crashlike bugs because flag could be NULL in play_record_review().
(Closes issue #12892)
Reported by: jaroth
Patch originally by jaroth, fixed by me.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-02 20:52:27 +00:00
Mark Michelson
1d6573e8ef Merged revisions 127560 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r127560 | mmichelson | 2008-07-02 15:47:38 -0500 (Wed, 02 Jul 2008) | 3 lines

Fix thread-safety of some of the pbx_builtin_getvar_helper calls


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-02 20:49:08 +00:00
Mark Michelson
953947b70b The ackcall and endcall options in agents.conf now have supplemental options
acceptdtmf and enddtmf. These allow for the DTMF pressed to be configurable
instead of being hardcoded to '#' and '*'.

(AST-86)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-02 20:43:55 +00:00