Commit Graph

5365 Commits

Author SHA1 Message Date
Tilghman Lesher fe67adf6bc Merged revisions 130514 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r130514 | tilghman | 2008-07-13 12:56:10 -0500 (Sun, 13 Jul 2008) | 4 lines

Reverting 2 changesets, as it breaks incoming IAX2 calls
(Related to issue #12963)
Reported by: mvanbaak

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@130515 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-13 17:58:47 +00:00
Tilghman Lesher c10d9c2e78 Unlock list before returning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@130444 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-13 02:34:32 +00:00
Matthew Fredrickson 8635eecdc9 Support new TRANSPORT definitions in libss7
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@130293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 21:36:26 +00:00
Tilghman Lesher 9cd11917c5 Fix trunk breakage
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@130230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 19:40:55 +00:00
Tilghman Lesher b66aa676fa Merged revisions 130169 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r130169 | tilghman | 2008-07-11 13:51:56 -0500 (Fri, 11 Jul 2008) | 7 lines

Ensure that a destination callno of 0 will not match for frames that do not
start a dialog (new, lagrq, and ping).
(closes issue #12963)
 Reported by: russellb
 Patches: 
       chan_iax2_dup_new_fix4.patch uploaded by jpgrayson (license 492)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@130170 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 18:52:42 +00:00
Sean Bright 6a00263d9c Missed one. Formatting only.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@130167 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 18:32:26 +00:00
Brett Bryant 5b7933fe5e Janitor patch to change uses of sizeof to ARRAY_LEN
(closes issue #13054)
Reported by: pabelanger
Patches:
      ARRAY_LEN.patch2 uploaded by pabelanger (license 224)
Tested by: seanbright


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@130129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 18:09:35 +00:00
Tilghman Lesher cb7df89042 Merged revisions 130102 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r130102 | tilghman | 2008-07-11 11:50:42 -0500 (Fri, 11 Jul 2008) | 9 lines

Pass the devicestate from an underlying channel up through the Agent channel.
This should make the Agent always report the correct device state, even when
the underlying channel is used for other purposes.
(closes issue #12773)
 Reported by: davidw
 Patches: 
       20080710__bug12773.diff.txt uploaded by Corydon76 (license 14)
 Tested by: davidw

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@130126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 17:29:24 +00:00
Kevin P. Fleming b968349e19 Merged revisions 130039 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r130039 | kpfleming | 2008-07-11 10:41:56 -0500 (Fri, 11 Jul 2008) | 4 lines

add support for a configuration parameter for 'inband audio during RELEASE', which is currently mandatory in libpri-1.4.4 but will become configurable in libpri-1.4.5 later today

(related to issue #13042)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@130040 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 15:57:17 +00:00
Tilghman Lesher 7e3be6c12f Merged revisions 129803 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r129803 | tilghman | 2008-07-10 16:57:05 -0500 (Thu, 10 Jul 2008) | 8 lines

Correctly deal with duplicate NEW frames (due to retransmission).  Also, fixup
the destination call number matching to be more strict and reliable.
(closes issue #12963)
 Reported by: jpgrayson
 Patches: 
       chan_iax2_dup_new_fix3.patch uploaded by jpgrayson (license 492)
 Tested by: jpgrayson, Corydon76

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@129804 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-10 22:06:07 +00:00
Sean Bright f2ab15a506 A couple more minor text changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@129642 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-10 18:19:17 +00:00
Sean Bright 7711b33c81 Remove extraneous \n. Pointed out by eliel on #asterisk-dev.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@129638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-10 18:16:21 +00:00
Tilghman Lesher da03cdd174 Merged revisions 129149 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r129149 | tilghman | 2008-07-08 15:27:47 -0500 (Tue, 08 Jul 2008) | 8 lines

Cause SIP to return a 480 instead of a 404 when a sip peer exists, but is not
registered.
(closes issue #12885)
 Reported by: ibc
 Patches: 
       20080701__bug12885__2.diff.txt uploaded by Corydon76 (license 14)
 Tested by: ibc

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@129152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-08 20:30:29 +00:00
Tilghman Lesher aa81a86265 Merged revisions 129047 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r129047 | tilghman | 2008-07-08 11:45:23 -0500 (Tue, 08 Jul 2008) | 7 lines

Timestamp decoding for video mini-frames is bogus, because the timestamp only
includes 15 bits, unlike voice frames, which contain a 16-bit timestamp.
(closes issue #13013)
 Reported by: jpgrayson
 Patches: 
       chan_iax2_unwrap_ts.patch uploaded by jpgrayson (license 492)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@129048 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-08 16:49:01 +00:00
Brett Bryant d185405755 Janitor project to convert sizeof to ARRAY_LEN macro.
(closes issue #13002)
Reported by: caio1982
Patches:
      janitor_arraylen5.diff uploaded by caio1982 (license 22)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@129045 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-08 16:40:28 +00:00
Olle Johansson 01214ba763 Merged revisions 128950 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r128950 | oej | 2008-07-08 11:52:21 +0200 (Tis, 08 Jul 2008) | 11 lines

Don't hangup the call if we can't resolve the Contact if there's a proxy
route set for the call.
----
This comment was added a while ago and today it hit me badly. 

/* OEJ: Possible issue that may need a check:
	If we have a proxy route between us and the device,
	should we care about resolving the contact
	or should we just send it?
*/

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128951 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-08 10:02:12 +00:00
Olle Johansson c969c0f24b Merged revisions 128912 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r128912 | oej | 2008-07-08 11:06:08 +0200 (Tis, 08 Jul 2008) | 7 lines

Fix issues where repeated messages where ignored, but retransmitted reliably instead of unreliably.
Reported by: johan
Patches: 
      12746.txt uploaded by oej (license 306)
Tested by: johan
(issue #12746)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128927 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-08 09:26:37 +00:00
Russell Bryant 10cc442eb7 Merged revisions 128795 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r128795 | russell | 2008-07-07 17:41:48 -0500 (Mon, 07 Jul 2008) | 8 lines

Fix handling of when a pvt disappears.  Properly return the pvt locked
and don't hold the pvt lock while destroying the ast_channel.

(closes issue #13014)
Reported by: jpgrayson
Patches:
      chan_iax2_ast_iax2_new2.patch uploaded by jpgrayson (license 492)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128796 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-07 22:42:30 +00:00
Sean Bright 880a02f283 Merged revisions 128737 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r128737 | seanbright | 2008-07-07 16:47:56 -0400 (Mon, 07 Jul 2008) | 9 lines

Remove spurious trailing whitespace from log messages and fix a spelling error
in a log message.

(closes issue #13017)
Reported by: jpgrayson
Patches:
      chan_iax2_space_after_newline.patch uploaded by jpgrayson (license 492)
      chan_iax2_spelling.patch uploaded by jpgrayson (license 492)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128738 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-07 20:50:29 +00:00
Mark Michelson 834b8e8a71 Merged revisions 128639 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r128639 | mmichelson | 2008-07-07 12:02:28 -0500 (Mon, 07 Jul 2008) | 10 lines

By using the iaxdynamicthreadcount to identify a thread, it was possible
for thread identifiers to be duplicated. By using a globally-unique monotonically-
increasing integer, this is now avoided.

(closes issue #13009)
Reported by: jpgrayson
Patches:
      chan_iax2_dyn_threadnum.patch uploaded by jpgrayson (license 492)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-07 17:09:11 +00:00
Russell Bryant 69782233e4 As pointed out on the -dev list, actually use the result of find_peer() so that
a peer reference is not leaked.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-07 11:53:52 +00:00
Olle Johansson e18e813814 - Adding alias "udpbindaddr" for the UDP port to comply with "tcpbindaddr" and "tlsbindaddr".
Note: I don't think we can start properly without UDP port open, that needs to be tested.

- Removing "bindport" from configuration example, not needed to mention this any more

I suggest we deprecate "bindaddr" and "bindport" in trunk (for 1.6.1)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-06 20:19:04 +00:00
Olle Johansson 638234f146 - Fixing issues with "sip show settings"
- Adding IP address for TCP and/or TLS too if auto-domain is enabled and
  binding to a different IP address
- Fixing documentation in sip.conf.sample


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-06 20:11:37 +00:00
Olle Johansson 3586b6212d - Remove unused variable "expiry"
- Set global_outboundproxy.force at reload.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-06 19:14:06 +00:00
Olle Johansson 40c0e6ed47 More doxygen comments.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128485 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-06 18:25:39 +00:00
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 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 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 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
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
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
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
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