Commit Graph

18008 Commits

Author SHA1 Message Date
Tilghman Lesher
3ab986bdb9 Merged revisions 218050 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r218050 | tilghman | 2009-09-11 00:58:11 -0500 (Fri, 11 Sep 2009) | 3 lines
  
  Check the origination priority for more matches, not the current priority.
  Found by Pavel Troller on the -dev list.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@218054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-11 05:59:49 +00:00
Tilghman Lesher
6d32c10c14 Merged revisions 217990 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r217990 | tilghman | 2009-09-10 18:54:51 -0500 (Thu, 10 Sep 2009) | 10 lines
  
  Merged revisions 217989 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r217989 | tilghman | 2009-09-10 18:52:22 -0500 (Thu, 10 Sep 2009) | 3 lines
    
    Don't ring another channel, if there's not enough time for a queue member to answer.
    (Fixes AST-228)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@218053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-11 05:59:17 +00:00
Tilghman Lesher
87641f061a Merged revisions 217916 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r217916 | tilghman | 2009-09-10 18:12:16 -0500 (Thu, 10 Sep 2009) | 2 lines
  
  Make calltoken support work with realtime users and peers.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@217924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-10 23:18:45 +00:00
David Vossel
828790449e Merged revisions 217807 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r217807 | dvossel | 2009-09-10 16:07:47 -0500 (Thu, 10 Sep 2009) | 28 lines
  
  Merged revisions 217806 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r217806 | dvossel | 2009-09-10 16:06:07 -0500 (Thu, 10 Sep 2009) | 22 lines
    
    IAX2 encryption regression
    
    The IAX2 Call Token security patch inadvertently broke the use of
    encryption due to the reorganization of code in the socket_process()
    function.  When encryption is used, an incoming full frame must first
    be decrypted before the information elements can be parsed.  The
    security release mistakenly moved IE parsing before decryption in
    order to process the new Call Token IE.  To resolve this, decryption
    of full frames is once again done before looking into the frame.  This
    involves searching for an existing callno, checking the pvt to see if
    encryption is turned on, and decrypting the packet before the internal
    fields of the full frame are accessed.
    
    (closes issue #15834)
    Reported by: karesmakro
    Patches:
          iax2_encryption_fix_1.4.diff uploaded by dvossel (license 671)
    Tested by: dvossel, karesmakro
    
    Review: https://reviewboard.asterisk.org/r/355/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@217826 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-10 21:23:19 +00:00
Matthias Nick
43ba36ed2e Merged revisions 217730 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r217730 | mnick | 2009-09-10 14:39:41 -0500 (Thu, 10 Sep 2009) | 17 lines
  
  
  Sets the correct musicclass after an announcement
  
  (closes issue #15279)
  Reported by: mbeckwell
  Patches:
        patch.txt uploaded by mnick (license )
  Tested by: mnick
  
  (closes issue #15832)
  Reported by: mbeckwell
  Patches:
        patch.txt uploaded by mnick (license 874)
  Tested by: mnick
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@217738 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-10 19:55:54 +00:00
Olle Johansson
bf62a4f70f Blocked revisions 216805 via svnmerge
........
r216805 | oej | 2009-09-07 18:08:08 +0200 (MÃ¥n, 07 Sep 2009) | 2 lines

Since it's possible to have more than 999 calls, I'm changing the call counter roof to something higher.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@217666 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-10 18:47:18 +00:00
Tilghman Lesher
c0c763be9b Merged revisions 217638 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r217638 | tilghman | 2009-09-10 13:17:14 -0500 (Thu, 10 Sep 2009) | 4 lines
  
  Verify support for wide ODBC character types before using them.
  (closes issue #15870)
   Reported by: nic_bellamy
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@217642 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-10 18:18:39 +00:00
Olle Johansson
3205bd2c30 Merged revisions 217593 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r217593 | oej | 2009-09-10 14:06:55 +0200 (Tor, 10 Sep 2009) | 8 lines

Include ActionID in all events that are responsed to AMI Action SIPShowRegistry

(closes issue #15868)
Reported by: nic_bellamy
Patches: 
      manager_SIPshowregistry_actionid.patch uploaded by nic bellamy (license 299)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@217595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-10 12:11:07 +00:00
Tzafrir Cohen
7cce857d3c gcc 4.4 fix: union instead of cast
gcc 4.4 has more strict rules for aliasing. It doesn't like a 
struct sockaddr_in pointer pointing to a struct sockaddr. So we make it
a union.

Merged revisions 217445 via svnmerge from 
http://svn.digium.com/svn/asterisk/trunk


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@217518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-09 20:30:29 +00:00
Olle Johansson
207485c74d Merged revisions 217368 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r217368 | oej | 2009-09-09 12:39:43 +0200 (Ons, 09 Sep 2009) | 2 lines

Not having any TLS session to write to is a serious XMIT_ERROR. 

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@217370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-09 11:02:28 +00:00
Sean Bright
be3c80c535 Merged revisions 217286 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r217286 | seanbright | 2009-09-08 18:17:08 -0400 (Tue, 08 Sep 2009) | 4 lines
  
  Fix compilation of app_meetme.
  
  Reported by ebroad in #asterisk-bugs
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@217295 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-08 22:20:06 +00:00
Tilghman Lesher
1cdd533d6a Merged revisions 217199 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r217199 | tilghman | 2009-09-08 15:28:41 -0500 (Tue, 08 Sep 2009) | 14 lines
  
  Merged revisions 217156 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r217156 | tilghman | 2009-09-08 15:01:45 -0500 (Tue, 08 Sep 2009) | 7 lines
    
    When MOH is playing on the channel, announcements sent through the conference are not heard.
    (closes issue #14588)
     Reported by: voipas
     Patches: 
           20090716__issue14588__2.diff.txt uploaded by tilghman (license 14)
     Tested by: lmadsen, twisted, tilghman
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@217213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-08 20:32:02 +00:00
Kevin P. Fleming
4d834c9af8 Merged revisions 217074 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r217074 | kpfleming | 2009-09-08 11:37:28 -0500 (Tue, 08 Sep 2009) | 9 lines
  
  Ensure that the default autoconf CFLAGS are not used.
  
  A recent change to the configure script that allows the user to specify
  CFLAGS and/or LDFLAGS to the script had the unfortunate side effect of
  letting autoconf's default CFLAGS (-g -O2) feed in to the rest of the build
  system, thereby overriding the DONT_OPTIMIZE setting in menuselect. That
  problem is now corrected.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@217076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-08 16:39:24 +00:00
Tilghman Lesher
91954c4ba4 Merged revisions 217033 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r217033 | tilghman | 2009-09-08 10:30:18 -0500 (Tue, 08 Sep 2009) | 4 lines
  
  Remove what appears to be an unnecessary define.
  (closes issue #15851)
   Reported by: tzafrir
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@217035 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-08 15:36:01 +00:00
David Vossel
5232a8397d Merged revisions 216993 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r216993 | dvossel | 2009-09-08 09:26:30 -0500 (Tue, 08 Sep 2009) | 14 lines
  
  caller id number empty
  
  parse_uri was not being given the correct scheme's, as
  a result, uri parsing did not parse the username correctly.
  One of the side effects of this is an empty caller id.
  
  (closes issue #15839)
  Reported by: ebroad
  Patches:
        blank_cidv2.patch uploaded by ebroad (license 878)
        parse_uri_fix.diff uploaded by dvossel (license 671)
  Tested by: ebroad, dvossel
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@216995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-08 14:27:49 +00:00
Olle Johansson
1c94611d61 Merged revisions 216842 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r216842 | oej | 2009-09-07 18:35:12 +0200 (MÃ¥n, 07 Sep 2009) | 2 lines

Make sure we reset global_exclude_static at channel reload

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@216844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-07 16:41:04 +00:00
Olle Johansson
65537fd00b Merged revisions 216695 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r216695 | oej | 2009-09-07 15:06:19 +0200 (MÃ¥n, 07 Sep 2009) | 8 lines

If there is no session timer setting in the INVITE, set it to default value (not unset minimum = -1)

Patch by oej

closes issue #15621
Reported by: fnordian
Tested by: atis

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@216697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-07 13:10:39 +00:00
Olle Johansson
57accf67ed Make code and documentation agree with each other
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@216657 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-07 12:01:31 +00:00
Olle Johansson
5f8e1620eb Turning off premature media by default
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@216653 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-07 11:55:00 +00:00
Olle Johansson
6108a2a894 Merged revisions 216438 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r216438 | oej | 2009-09-04 16:02:34 +0200 (Fre, 04 Sep 2009) | 35 lines

Merged revisions 216430 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r216430 | oej | 2009-09-04 15:45:48 +0200 (Fre, 04 Sep 2009) | 27 lines

Make apps send PROGRESS control frame for early media and fix too early media issue in SIP

The issue at hand is that some legacy (dying) PBX systems send empty media frames on PRI
links *before* any call progress. The SIP channel receives these frames and by default
signals 183 Session progress and starts sending media. This will cause phones to 
play silence and ignore the later 180 ringing message. A bad user experience.

The fix is twofold:
- We discovered that asterisk apps that support early media ("noanswer") did not send
  any PROGRESS frame to indicate early media. Fixed.
- We introduce a setting in chan_sip so that users can disable any relay of media frames
  before the outbound channel actually indicates any sort of call progress.
  In 1.4, 1.6.0 and 1.6.1, this will be disabled for backward compatibility. In later versions
  of Asterisk, this will be enabled. We don't assume that it will change your Asterisk
  phone experience - only for the better.

We encourage third-party application developers to make sure that if they have applications
that wants to send early media, add a PROGRESS control frame transmission to make sure that
all channel drivers actually will start sending early media. This has not been the default
in Asterisk previous to this patch, so if you got inspiration from our code, you need to
update accordingly. Sorry for the trouble and thanks for your support.

This code has been running for a few months in a large scale installation (over 250
servers with PRI and/or BRI links to old PBX systems). 
That's no proof that this is an excellent patch, but, well, it's tested :-)


........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@216646 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-07 10:45:24 +00:00
David Vossel
8d3e28e581 Merged revisions 216594 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r216594 | dvossel | 2009-09-04 14:32:07 -0500 (Fri, 04 Sep 2009) | 7 lines
  
  sip peer matching by address only with TCP/TLS
  
  This patch removes the contact header matching logic and
  adds logic to match all tcp/tls connections by ip only
  
  Review: https://reviewboard.asterisk.org/r/354/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@216599 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-04 19:51:22 +00:00
Sean Bright
b6c6b86b0e Merged revisions 216593 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r216593 | seanbright | 2009-09-04 15:29:02 -0400 (Fri, 04 Sep 2009) | 1 line
  
  Use ast_free() instead of free().
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@216596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-04 19:32:48 +00:00
Tilghman Lesher
a7bfd99f84 Merged revisions 216551 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r216551 | tilghman | 2009-09-04 12:50:21 -0500 (Fri, 04 Sep 2009) | 2 lines
  
  Fix trunk breakage.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@216552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-04 17:53:09 +00:00
Tilghman Lesher
2c4f57d72f Merged revisions 216547 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r216547 | tilghman | 2009-09-04 12:31:44 -0500 (Fri, 04 Sep 2009) | 3 lines
  
  Enable turning off the application delimiter warning with the 'dontwarn' option.
  Suggested on the -dev list, and implemented in an alternate way by me.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@216549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-04 17:33:47 +00:00
Michiel van Baak
4d849ce96e Merged revisions 216506 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r216506 | mvanbaak | 2009-09-04 17:05:05 +0200 (Fri, 04 Sep 2009) | 9 lines
  
  Merged revisions 216435 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r216435 | mvanbaak | 2009-09-04 15:56:10 +0200 (Fri, 04 Sep 2009) | 2 lines
    
    make asterisk compile under devmode with DEBUG_THREADS enabled on OpenBSD
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@216508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-04 15:09:35 +00:00
Michiel van Baak
9cc974b00a Merged revisions 216437 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r216437 | mvanbaak | 2009-09-04 16:00:38 +0200 (Fri, 04 Sep 2009) | 2 lines
  
  make sure canlog is set so we can compile with DEBUG_THREADS enabled on OpenBSD
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@216440 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-04 14:12:11 +00:00
Russell Bryant
68307855f9 Merged revisions 216368 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r216368 | russell | 2009-09-04 08:14:25 -0500 (Fri, 04 Sep 2009) | 12 lines
  
  Do not treat every SIP peer as if they were configured with insecure=port.
  
  There was a problem in the function responsible for doing peer matching by
  IP address and port number such that during the second pass for checking for
  a peer configured with insecure=port, it would end up treating every peer as
  if it had been configured that way.  These changes fix the logic in the peer
  IP and port comparison callback to handle insecure=port checking properly.
  
  This problem was introduced when SIP peers were converted to astobj2.  Many
  thanks to dvossel for noticing this while working on another peer matching
  issue.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@216434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-04 13:56:09 +00:00
Russell Bryant
570cab502e Merged revisions 216264 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r216264 | russell | 2009-09-04 05:48:44 -0500 (Fri, 04 Sep 2009) | 16 lines
  
  Merged revisions 216263 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ................
    r216263 | russell | 2009-09-04 05:48:00 -0500 (Fri, 04 Sep 2009) | 9 lines
    
    Merged revisions 216262 via svnmerge from 
    https://origsvn.digium.com/svn/asterisk/branches/1.2
    
    ........
      r216262 | russell | 2009-09-04 05:47:37 -0500 (Fri, 04 Sep 2009) | 2 lines
      
      Add a plain text version of the IAX2 security document.
    ........
  ................
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@216266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-04 10:50:15 +00:00
Michiel van Baak
997cd41a0a Merged revisions 216222 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r216222 | mvanbaak | 2009-09-04 08:08:33 +0200 (Fri, 04 Sep 2009) | 3 lines
  
  make sure 'start' is always initialized.
  Makes asterisk compile with --enable-dev-mode
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@216224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-04 06:13:19 +00:00
Russell Bryant
563b3f703b tweak
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@216098 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-03 19:42:59 +00:00
Russell Bryant
eae687e6d6 Merged revisions 216092 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r216092 | russell | 2009-09-03 14:38:35 -0500 (Thu, 03 Sep 2009) | 16 lines
  
  Merged revisions 216085 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ................
    r216085 | russell | 2009-09-03 14:36:46 -0500 (Thu, 03 Sep 2009) | 9 lines
    
    Merged revisions 216080 via svnmerge from 
    https://origsvn.digium.com/svn/asterisk/branches/1.2
    
    ........
      r216080 | russell | 2009-09-03 14:35:23 -0500 (Thu, 03 Sep 2009) | 2 lines
      
      Add a note about IAX2 to UPGRADE.txt.
    ........
  ................
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@216095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-03 19:42:00 +00:00
Russell Bryant
d374c82622 Merged revisions 216009 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r216009 | russell | 2009-09-03 13:45:54 -0500 (Thu, 03 Sep 2009) | 16 lines
  
  Merged revisions 216008 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ................
    r216008 | russell | 2009-09-03 13:44:58 -0500 (Thu, 03 Sep 2009) | 9 lines
    
    Merged revisions 216005 via svnmerge from 
    https://origsvn.digium.com/svn/asterisk/branches/1.2
    
    ........
      r216005 | russell | 2009-09-03 13:42:24 -0500 (Thu, 03 Sep 2009) | 2 lines
      
      Add IAX2 security document related to AST-2009-006.
    ........
  ................
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@216013 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-03 18:51:33 +00:00
David Vossel
38bbe9653f Merged revisions 215955 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r215955 | dvossel | 2009-09-03 11:31:54 -0500 (Thu, 03 Sep 2009) | 6 lines
  
  Merge code associated with AST-2009-006
  
  (closes issue #12912)
  Reported by: rathaus
  Tested by: tilghman, russell, dvossel, dbrooks
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@216004 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-03 18:41:27 +00:00
Olle Johansson
8e59bc4a84 Merged revisions 215891 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r215891 | oej | 2009-09-03 15:02:41 +0200 (Tor, 03 Sep 2009) | 10 lines

Add known internal IP address when autodomain=yes

(closes issue #14573)
Reported by: pj
Patches: 
      sip-internip-autodomain1.diff uploaded by mnicholson (license 96)
	modified by oej
Tested by: pj


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@215932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-03 14:48:51 +00:00
Michiel van Baak
353cf2ee80 Merged revisions 215838 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r215838 | mvanbaak | 2009-09-03 07:57:23 +0200 (Thu, 03 Sep 2009) | 5 lines
  
  Document that SIPshowpeer and SKINNYshowline now include
  the configured parkinglot in their response.
  
  Prodded by snuff-work on #asterisk-dev IRC channel
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@215840 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-03 06:00:16 +00:00
Terry Wilson
debc2a0078 Merged revisions 215758 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r215758 | twilson | 2009-09-02 18:31:04 -0500 (Wed, 02 Sep 2009) | 25 lines
  
  Merged revisions 215682 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r215682 | twilson | 2009-09-02 16:41:22 -0500 (Wed, 02 Sep 2009) | 18 lines
    
    Re-send non-100 provisional responses to prevent cancellation
    
    From section 13.3.1.1 of RFC 3261:
    
       If the UAS desires an extended period of time to answer the INVITE,
       it will need to ask for an "extension" in order to prevent proxies
       from canceling the transaction. A proxy has the option of canceling
       a transaction when there is a gap of 3 minutes between responses in a
       transaction. To prevent cancellation, the UAS MUST send a non-100
       provisional response at every minute, to handle the possibility of
       lost provisional responses.
    
    (closes issue #11157)
    Reported by: rjain
    Tested by: twilson
    
    Review: https://reviewboard.asterisk.org/r/315/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@215774 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-03 00:23:13 +00:00
David Vossel
58618f5e95 Merged revisions 215681 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r215681 | dvossel | 2009-09-02 16:39:31 -0500 (Wed, 02 Sep 2009) | 10 lines
  
  port string to int conversion using sscanf
  
  There are several instances where a port is parsed
  from a uri or some other source and converted to
  an int value using atoi(), if for some reason the
  port string is empty, then a standard port is used.
  This logic is used over and over, so I created a function
  to handle it in a safer way using sscanf().
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@215684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-02 21:52:16 +00:00
Michiel van Baak
a5df0a703e Merged revisions 215665 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r215665 | mvanbaak | 2009-09-02 23:23:17 +0200 (Wed, 02 Sep 2009) | 5 lines
  
  add Parkinglot info to sip show peer <foo> and skinny show line <foo>
  
  If we had this from the start, debugging the 'parking not using configured parkinglot'
  bug would have been easier.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@215679 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-02 21:30:37 +00:00
Michiel van Baak
7cb95c7eb7 Merged revisions 215622 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r215622 | mvanbaak | 2009-09-02 22:21:51 +0200 (Wed, 02 Sep 2009) | 4 lines
  
  - lock channel before looking for a channel variable
  - Init the parkings list member of struct parkinglot.
  Thanks Sean for the explanation why this should be here.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@215646 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-02 20:48:00 +00:00
David Vossel
fc10fe712b Merged revisions 215522 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r215522 | dvossel | 2009-09-02 12:26:40 -0500 (Wed, 02 Sep 2009) | 11 lines
  
  SIP uri parsing cleanup
  
  Now, the scheme passed to parse_uri can either be a
  single scheme, or a list of schemes ',' delimited.
  This gets rid of the whole problem of having to create
  two buffers and calling parse_uri twice to check for
  separate schemes.
  
  Review: https://reviewboard.asterisk.org/r/343/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@215524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-02 17:57:34 +00:00
Michiel van Baak
9cf5780234 Merged revisions 215479 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r215479 | mvanbaak | 2009-09-02 18:20:23 +0200 (Wed, 02 Sep 2009) | 3 lines
  
  like in chan_sip's sip_new skinny should copy the configured parkinglot from a line to the newly created channel.
  This makes callparking honor the configured parkinglot for skinny lines as well.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@215511 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-02 16:33:54 +00:00
David Vossel
3db1d8bc27 Blocked revisions 215466 via svnmerge
........
  r215466 | dvossel | 2009-09-02 11:08:00 -0500 (Wed, 02 Sep 2009) | 16 lines
  
  SIP support for keep-alive event
  
  keep-alive events are used by Sipura/Linksys for NAT keepalive.
  There currently don't appear to be any problems with NAT, but
  everytime a keep-alive event is received, Asterisk responds with a
  "489 Bad event".  This error may indicate to a user that NAT
  problems exist just because this even is not supported.  Now,
  rather than respond with an error, the packet is consumed and
  a "200 ok" is sent just to indicate we received the packet.
  
  (issue #15084)
  Patches:
        chan_sip.keepalive.v1.diff uploaded by IgorG (license 20)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@215468 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-02 16:09:56 +00:00
Michiel van Baak
7286161ca0 Merged revisions 215462 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r215462 | mvanbaak | 2009-09-02 17:56:46 +0200 (Wed, 02 Sep 2009) | 12 lines
  
  Honor configured parkinglot when parking and retrieving parked calls
  
  Thank oej for pointing out the fact that sip_new did not copy parkinglot from the peer
  into the newly created channel.
  
  (closes issue #15538)
  Reported by: gracedman
  Patches:
        2009090100_sipnewparkinglot-161.diff.txt uploaded by mvanbaak (license 7)
  	  With mod by me to also fix callparking as well (this uploaded patch only fixed retrieving a parked call)
  Tested by: gracedman, mvanbaak
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@215464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-02 16:01:20 +00:00
Michiel van Baak
0540602536 Blocked revisions 215419 via svnmerge
........
  r215419 | mvanbaak | 2009-09-02 12:50:49 +0200 (Wed, 02 Sep 2009) | 2 lines
  
  Let's compile again on OpenBSD
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@215421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-02 10:53:41 +00:00
Dwayne M. Hubbard
0aa11ebb29 Merged revisions 215338 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r215338 | dhubbard | 2009-09-01 20:16:59 -0500 (Tue, 01 Sep 2009) | 18 lines
  
  Merged revisions 215270 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r215270 | dhubbard | 2009-09-01 18:04:52 -0500 (Tue, 01 Sep 2009) | 12 lines
    
    Use strrchr() so SoftHangup will correctly truncate multi-hyphen channel names
    
    In general channel names are in the form Foo/Bar-Z, but the channel name
    could have multiple hyphens and look like Foo/B-a-r-Z.  Use strrchr to
    truncate the channel name at the last hyphen.
    
    (closes issue #15810)
    Reported by: dhubbard
    Patches:
          dw-softhangup-1.4.patch uploaded by dhubbard (license 733)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@215375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-02 01:36:51 +00:00
Kevin P. Fleming
3b76d9c7c2 Merged revisions 215161 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r215161 | kpfleming | 2009-09-01 14:50:48 -0500 (Tue, 01 Sep 2009) | 3 lines
  
  Ensure that frame dumps of AST_CONTROL_T38_PARAMETERS frames are properly
  decoded.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@215164 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-01 19:59:31 +00:00
Tilghman Lesher
5b9cc171ab Merged revisions 214945 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r214945 | tilghman | 2009-08-31 11:18:33 -0500 (Mon, 31 Aug 2009) | 14 lines
  
  Merged revisions 214940 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r214940 | tilghman | 2009-08-31 11:16:52 -0500 (Mon, 31 Aug 2009) | 7 lines
    
    Also unlock the "other" channel, when returning, due to glare.
    (closes issue #15787)
     Reported by: tim_ringenbach
     Patches: 
           chan_local.diff uploaded by tim ringenbach (license 540)
     Tested by: tim_ringenbach
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@214958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-31 16:22:02 +00:00
Tilghman Lesher
9e5598bb59 Merged revisions 214819 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r214819 | tilghman | 2009-08-30 01:43:04 -0500 (Sun, 30 Aug 2009) | 4 lines
  
  If lua is detected with the lua5.1 prefix (or not), adjust the include path accordingly.
  Based upon feedback to a release announcement on the -users list.  See
  http://lists.digium.com/pipermail/asterisk-users/2009-August/236954.html
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@214821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-30 06:45:07 +00:00
Tilghman Lesher
db8ce60de8 Merged revisions 214702 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r214702 | tilghman | 2009-08-28 15:14:39 -0500 (Fri, 28 Aug 2009) | 15 lines
  
  Merged revisions 214701 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r214701 | tilghman | 2009-08-28 15:13:32 -0500 (Fri, 28 Aug 2009) | 8 lines
    
    Modify comment to be a bit more accurate.
    We have kept this comment around long enough, that it's pretty clear that we're
    keeping the code, because changing the code would require a pretty fundamental
    architectural shift.  We've also taken criticism in some quarters, because it
    was believed that it was referring to the code being nasty.  No, the code isn't
    nasty, just the operation itself is rather odd.  Fixed for eternity (probably
    not).
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@214704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-28 20:16:54 +00:00
Kevin P. Fleming
decc581214 Merged revisions 214696 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r214696 | kpfleming | 2009-08-28 15:01:21 -0500 (Fri, 28 Aug 2009) | 9 lines
  
  Ensure that CFLAGS and/or LDFLAGS provided to configure script are preserved.
  
  Cross-compilation environments want to provide 'defaults' for compiler and
  linker options, and frequently do this by specifying CFLAGS and LDFLAGS in the
  environment or as command-line arguments to the configure script. This patch
  modifies the configure script and Makefile to preserve these settings and
  ensure they are used in the build process.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@214699 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-28 20:05:04 +00:00