Commit Graph

20721 Commits

Author SHA1 Message Date
Richard Mudgett
a5a798aefa Merge revision 291468 from
https://origsvn.digium.com/svn/asterisk/be/branches/C.3-bier

..........
  r291468 | rmudgett | 2010-10-13 12:39:02 -0500 (Wed, 13 Oct 2010) | 16 lines

  Memory overwrites when releasing mISDN call.

  Phone <--> Asterisk
  <-- ALERTING
  --> DISCONNECT
  <-- RELEASE
  --> RELEASE_COMPLETE

  * Add lock protection around channel list for find/add/delete operations.

  * Protect misdn_hangup() from release_chan() and vise versa using the
  release_lock.

  JIRA ABE-2598
  JIRA SWP-2317
..........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@291469 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-13 18:10:21 +00:00
Russell Bryant
ec05b242dd Merged revisions 291393 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r291393 | russell | 2010-10-13 10:29:21 -0500 (Wed, 13 Oct 2010) | 13 lines
  
  Merged revisions 291392 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r291392 | russell | 2010-10-13 10:23:19 -0500 (Wed, 13 Oct 2010) | 6 lines
    
    Lock pvt so pvt->owner can't disappear when queueing up a frame.
    
    This fixes a crash due to a hangup race condition.
    
    ABE-2601
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@291394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-13 15:46:39 +00:00
Leif Madsen
379cf8ce1e Merged revisions 291280 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r291280 | lmadsen | 2010-10-12 12:20:02 -0500 (Tue, 12 Oct 2010) | 7 lines
  
  Add undocumented variables to phoneprov.conf.sample
  
  
  (closes issue #18107)
  Reported by: lathama
  Patches:
        phoneprov.conf.sample.diff uploaded by lathama (license 1028)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@291284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-12 17:20:43 +00:00
Tilghman Lesher
c4ead286ef Merged revisions 291264 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r291264 | tilghman | 2010-10-12 12:05:31 -0500 (Tue, 12 Oct 2010) | 9 lines
  
  Merged revisions 291263 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r291263 | tilghman | 2010-10-12 11:55:30 -0500 (Tue, 12 Oct 2010) | 2 lines
    
    Oops, incorrect range (although unallocated at ARIN)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@291265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-12 17:06:23 +00:00
Leif Madsen
5503797885 Merged revisions 291229 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r291229 | lmadsen | 2010-10-12 11:07:28 -0500 (Tue, 12 Oct 2010) | 2 lines
  
  Add documention that mentions options are defined but not used.
  (Issue #18101)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@291230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-12 16:08:04 +00:00
David Vossel
197b033cd7 Fixes manager.c crash.
This issue was caused by improper use of the mansession lock and
manession_session lock.  These two structures are confusing to begin
with so I'm not surprised this occurred.  I fixed this by consistently
making sure we use each of these locks only to protect the data
in the corresponding structure.  We had mismatched usage of these
locks which resulted in no mutual exclusivity occurring at all.


(closes issue #17994)
Reported by: vrban
Patches:
      mansession_locking_fix.diff uploaded by dvossel (license 671)
Tested by: vrban


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@291227 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-12 15:58:56 +00:00
David Vossel
397a910b5c Update CHANGES to reflect new gtalk.conf options.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@291194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-11 21:44:04 +00:00
David Vossel
f5782280d8 Gtalk enhancements and general code cleanup.
This patch includes several chan_gtalk enhancements.
Two new gtalk.conf options have been added, externip
and stunadd.  Setting externip allows us to
manually specify what the external IP address is
outside of a NAT environment.  Setting the stunaddr
option to a valid stun server allows for that external
ip to be retrieved via a STUN server automatically.  This
external IP is then advertised during call setup as
a possible candidate.

I have also attempted to clean up chan_gtalk's code
so it meets our coding guidelines. During this cleanup
I noticed several things that need to be done in the
code and made a TODO section at the top of the file.




git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@291192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-11 21:38:39 +00:00
Richard Mudgett
184d0e7f1b Move declaration closer to where now used.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@291113 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-11 18:51:13 +00:00
Richard Mudgett
a96796cc44 Merged revisions 291110-291111 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r291110 | rmudgett | 2010-10-11 13:34:22 -0500 (Mon, 11 Oct 2010) | 9 lines
  
  Merged revisions 291109 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r291109 | rmudgett | 2010-10-11 13:29:43 -0500 (Mon, 11 Oct 2010) | 1 line
    
    Add missing unlock to an exception condition in reload_config().
  ........
................
  r291111 | rmudgett | 2010-10-11 13:39:06 -0500 (Mon, 11 Oct 2010) | 1 line
  
  Make exit from handle_request_do() consistent.
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@291112 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-11 18:48:15 +00:00
Richard Mudgett
d6214fe55d Merged revisions 291073 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r291073 | rmudgett | 2010-10-11 11:39:17 -0500 (Mon, 11 Oct 2010) | 15 lines
  
  Fixed infinite loop in verbose/debug message output.
  
  Setting the module/filename specific message level and then changing it
  resulted in the linked list being looped on itself.  Traversing this
  linked list is an infinite loop if what you are looking for is not in the
  list.
  
  Also plugged some CLI parsing holes in the associated CLI command:
  
  * Removing a nonexistent module from the list actually added it with a
  level of zero.
  
  * Setting the non-module specific level to zero is now equivalent to
  setting it to "off" as documented.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@291075 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-11 16:42:54 +00:00
Tilghman Lesher
388afd2b80 Add missing option to set calls to be logged in GMT/UTC.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@291038 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-09 23:25:37 +00:00
Alexandr Anikin
495b8f3719 small correction for verbose print h.323 packets
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@291037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-09 15:00:07 +00:00
Alexandr Anikin
409feba665 Added fast start and h.245 tunneling options per user and peer.
Added options for faststart/h.245 tunneling per user/peer, properly
handle these and global options, correction of handling fs/tunneling
fields in signalling responses

(issue #17972)
Reported by: salecha
Patches:
      fs-tunnel-per-point-3.patch uploaded by may213 (license 454)
Tested by: may213, salecha



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@291005 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-09 14:02:26 +00:00
David Vossel
6412f8d665 Make outbound Google Voice calls.
This patch allows for outbound Google Voice calls to be
dialed from Asterisk using chan_gtalk. Below is an example
dialstring.

exten -> blah,1,Dial(Gtalk/asterisk/+15552225555@voice.google.com,,)

In this example, 'asterisk' is the jabber.conf profile configured
to connect to your gmail account. In order to receive Google Voice
calls make sure to enable 'allowguest=yes' in gtalk.conf.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-08 20:44:59 +00:00
Erin Spiceland
6f18d825b2 Parentheses around assignment used as truth value, introduced in r290937.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290938 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-08 15:49:16 +00:00
Erin Spiceland
0bece542ff Add option to res_config_mysql and app_mysql to specify a character set that MySQL should use.
(closes issue 17948)
 Reported by qmax.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290937 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-08 15:34:34 +00:00
Jeff Peeler
c55ebead20 Merged revisions 290863 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r290863 | jpeeler | 2010-10-07 21:45:44 -0500 (Thu, 07 Oct 2010) | 16 lines
  
  Merged revisions 290862 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r290862 | jpeeler | 2010-10-07 21:35:29 -0500 (Thu, 07 Oct 2010) | 9 lines
    
    Ensure editline cleanup occurs when Ctrl-C is pressed at control console.
    
    A recent change was made to avoid a race condition on shutdown which only called
    the end functions from the console thread. However, when pressing Ctrl-C the
    quit handler is called from the signal handler thread.
    
    (closes issue #17698)
    Reported by: jmls
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-08 02:56:24 +00:00
David Vossel
45a6b95d93 Add Philippe Sultan to chan_gtalk author list.
Philippe has made some notable contributions to the
gtalk channel driver.  His name deserves to be listed
amoung the authors of that file.  Thanks Philippe!


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-07 22:38:05 +00:00
David Vossel
90be613635 Outbound gtalk calls now work correctly.
There was a problem with how the candidates were being
built on an outbound call. This patch fixes that.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290828 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-07 21:44:58 +00:00
Jason Parker
c437bca01b Merged revisions 290751 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r290751 | qwell | 2010-10-07 15:57:14 -0500 (Thu, 07 Oct 2010) | 16 lines
  
  Merged revisions 290750 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r290750 | qwell | 2010-10-07 15:56:04 -0500 (Thu, 07 Oct 2010) | 9 lines
    
    Allow PRI to build properly when using --with-pri.
    
    Use the directories found for the parent when using lib dependencies.
    
    (closes issue #17314)
    Reported by: tzafrir
    Patches: 
          17314-withdeps.diff uploaded by qwell (license 4)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290752 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-07 20:58:47 +00:00
Russell Bryant
b61babaf58 Merged revisions 290712 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r290712 | russell | 2010-10-07 12:53:56 +0200 (Thu, 07 Oct 2010) | 4 lines
  
  Don't crash when Set() is called without a value.
  
  Review: https://reviewboard.asterisk.org/r/949/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290713 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-07 11:00:52 +00:00
David Vossel
7853c1cd2f Fixes commented out code to use #if 0 instead.
Thanks to rmudgett for catching this!


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-06 21:22:51 +00:00
David Vossel
1d19ab1a63 Fixes gtalk outbound DTMF to work properly.
Outbound DTMF with gtalk needs to be done within the RTP stream.  I discovered
this after investigating a packet capture from the gmail client.  Instead of
performing jingle signaling DTMF, the gtalk servers expect all DTMF to arrive
on the RTP stream using RFC2833 way of doing things.  Chan_gtalk also had an issue
with negotiating RTP payload type 106 for the telephony-event and then sending
DTMF as payload 101.  This has been resolved by always negotiating 101 as the payload
type like we do everywhere else.  With this patch, incoming google voice calls forwarded
to Asterisk via gtalk work.



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-06 21:08:19 +00:00
Richard Mudgett
966c392632 Merged revision 290613 from
https://origsvn.digium.com/svn/asterisk/be/branches/C.3-bier

..........
  r290613 | rmudgett | 2010-10-06 13:42:41 -0500 (Wed, 06 Oct 2010) | 5 lines

  Eliminate a redundant test for AST_CONTROL_REDIRECTING.

  Eliminate redundant test for AST_CONTROL_REDIRECTING that prevents running
  the redirecting interception macro if it is defined.
..........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290614 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-06 18:50:37 +00:00
Tilghman Lesher
b112c3de5c Merged revisions 290575 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r290575 | tilghman | 2010-10-06 08:48:27 -0500 (Wed, 06 Oct 2010) | 8 lines
  
  Allow streaming audio from a pipe.
  
  (closes issue #18001)
   Reported by: jamicque
   Patches: 
         20100926__issue18001.diff.txt uploaded by tilghman (license 14)
   Tested by: jamicque
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-06 13:49:19 +00:00
Terry Wilson
13562fd2e3 Don't try to send RTP when remote_address is null
It is possible for ast_rtp_stop() to be called which will clear the remote
address and cause the sendto to fail and spam warnings. Don't send in this
case.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-06 04:35:51 +00:00
David Vossel
cb0e2d3bd7 Fixes uninitialized memory problem in 'iax2 set debug peer' option.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290506 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-05 22:23:00 +00:00
David Vossel
f87133b078 Fixes chan_gtalk to work with gmail client
This patch was written by Philippe Sultan (phsultan). Thanks
for keeping this up to date!



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-05 22:00:43 +00:00
Tilghman Lesher
4760667e95 Merged revisions 290396 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r290396 | tilghman | 2010-10-05 15:21:02 -0500 (Tue, 05 Oct 2010) | 15 lines
  
  Merged revisions 290392 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r290392 | tilghman | 2010-10-05 15:20:07 -0500 (Tue, 05 Oct 2010) | 8 lines
    
    Fix a crash by ensuring that we don't alter memory after it's freed.
    
    (closes issue #17387)
     Reported by: jmls
     Patches: 
           20100726__issue17387.diff.txt uploaded by tilghman (license 14)
     Tested by: jmls
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-05 20:23:33 +00:00
David Vossel
0d04fcad79 Resolves dnsmgr memory corruption in chan_iax2.
(closes issue #17902)
Reported by: afried
Patches:
      issue_17902.rev1.txt uploaded by russell (license 2)
Tested by: afried, russell, dvossel

Review: https://reviewboard.asterisk.org/r/965/



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-05 20:09:06 +00:00
David Vossel
2a2b6a96d4 Merged revisions 290375 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r290375 | dvossel | 2010-10-05 14:54:50 -0500 (Tue, 05 Oct 2010) | 10 lines
  
  Fixes PickupChan() not working with full channel name.
  
  (closes issue #18011)
  Reported by: schern
  Patches:
        app_directed_pickup.c.2.patch uploaded by schern (license 995)
        app_directed_pickup.c.trunk.patch uploaded by schern (license 995)
  Tested by: schern, dvossel
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290376 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-05 19:56:29 +00:00
Tilghman Lesher
bba086cfd6 Restore run directory for OS X, as well as standardizing some other paths to Mac OS X.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290289 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-05 14:15:46 +00:00
Tilghman Lesher
bbc7614ac9 Merged revisions 290254 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r290254 | tilghman | 2010-10-04 18:14:59 -0500 (Mon, 04 Oct 2010) | 11 lines
  
  Change new pattern matcher to regard dashes the same as the old pattern matcher -- as visual candy to be ignored.
  
  Also change the AEL parser to not generate dashes within extensions, as those
  dashes would be ignored.  Update the AEL tests to match this behavior.
  
  (closes issue #17366)
   Reported by: murf
   Patches: 
         20100727__issue17366.diff.txt uploaded by tilghman (license 14)
   Tested by: tilghman
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-04 23:23:11 +00:00
Tilghman Lesher
902b33654c Merged revisions 290201 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r290201 | tilghman | 2010-10-04 15:22:03 -0500 (Mon, 04 Oct 2010) | 9 lines
  
  Merged revisions 290177 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r290177 | tilghman | 2010-10-04 15:15:26 -0500 (Mon, 04 Oct 2010) | 2 lines
    
    Fixing Mac OS X auto-builder.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-04 20:23:13 +00:00
Tilghman Lesher
21c0afc579 Merged revisions 290101 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r290101 | tilghman | 2010-10-03 16:06:58 -0500 (Sun, 03 Oct 2010) | 9 lines
  
  Merged revisions 290100 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r290100 | tilghman | 2010-10-03 16:04:29 -0500 (Sun, 03 Oct 2010) | 2 lines
    
    Automatically re-run configure test for menuselect, when the relevant makeopts settings change.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290102 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-03 21:08:45 +00:00
Tilghman Lesher
8eabdae78c Get notification only when file is closed, not when created.
(closes issue #17924)
 Reported by: mkeuter
 Patches: 
       asterisk-1.8-bugid17924.patch uploaded by abelbeck (license 946)
 Tested by: abelbeck


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-03 20:02:29 +00:00
Kevin P. Fleming
88e6929beb Allow users to pass additional arguments to the Subversion command that
obtains the MP-3 source code.

(reported on IRC by jmls)



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-02 17:57:13 +00:00
Olle Johansson
1d937d6cea Merged revisions 289950 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289950 | oej | 2010-10-02 10:52:03 +0200 (Lör, 02 Okt 2010) | 9 lines
  
  Merged revisions 289949 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r289949 | oej | 2010-10-02 10:50:05 +0200 (Lör, 02 Okt 2010) | 2 lines
    
    Add documentation for undocumented option to AMI action originate
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289951 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-02 08:56:08 +00:00
Tilghman Lesher
9b6af22c3d Merged revisions 289874 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289874 | tilghman | 2010-10-01 23:45:49 -0500 (Fri, 01 Oct 2010) | 15 lines
  
  Merged revisions 289873 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r289873 | tilghman | 2010-10-01 23:42:08 -0500 (Fri, 01 Oct 2010) | 8 lines
    
    When forwarding a message, a prepend means that the filesystem will always have a better copy.
    
    (closes issue #17803)
     Reported by: dpetersen
     Patches: 
           20100923__issue17803.diff.txt uploaded by tilghman (license 14)
     Tested by: dpetersen
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-02 04:46:43 +00:00
Jeff Peeler
ddebf12b88 Merged revisions 289798 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289798 | jpeeler | 2010-10-01 18:01:31 -0500 (Fri, 01 Oct 2010) | 22 lines
  
  Merged revisions 289797 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r289797 | jpeeler | 2010-10-01 17:58:38 -0500 (Fri, 01 Oct 2010) | 15 lines
    
    Change RFC2833 DTMF event duration on end to report actual elapsed time.
    
    The scenario here is with a non P2P early media session. The reported time
    length of DTMF presses are coming up short when sending to the remote side.
    Currently the event duration is a running total that is incremented when sending
    continuation packets. These continuation packets are only triggered upon
    incoming media from the remote side, which means that the running total probably
    is not going to end up matching the actual length of time Asterisk received
    DTMF. This patch changes the end event duration to be lengthened if it is
    detected that the end event is going to come up short.
    
    Review: https://reviewboard.asterisk.org/r/957/
    
    ABE-2476
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289840 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-02 02:43:45 +00:00
Paul Belanger
1d766ede63 Merged revisions 289704 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289704 | pabelanger | 2010-10-01 13:09:03 -0400 (Fri, 01 Oct 2010) | 13 lines
  
  Merged revisions 289703 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r289703 | pabelanger | 2010-10-01 13:03:11 -0400 (Fri, 01 Oct 2010) | 6 lines
    
    Disable debugging by default
    
    and reformat .config file.
    
    Review: https://reviewboard.asterisk.org/r/929/ 
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289718 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-01 17:19:49 +00:00
Jeff Peeler
4f8d5448a6 Merged revisions 289700 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289700 | jpeeler | 2010-10-01 11:21:04 -0500 (Fri, 01 Oct 2010) | 21 lines
  
  Merged revisions 289699 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r289699 | jpeeler | 2010-10-01 11:20:00 -0500 (Fri, 01 Oct 2010) | 14 lines
    
    Ensure user portion of SIP URI matches dialplan when using encoded characters.
    
    This commit takes a simliar approach to 288112 and checks the dialplan to
    determine the proper action for an incoming contact header as to whether or not
    it should be decoded or not. sip_new was blindly always decoding the extension,
    which also caused the outgoing contact header to be incorrect as well as failing
    to match the encoded extension in the dialplan.
    
    (closes issue #17892)
    Reported by: wdoekes
    Patches: 
          bug17892-1.patch uploaded by jpeeler (license 325)
    Tested by: wdoekes
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289701 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-01 16:22:19 +00:00
Stefan Schmidt
097becdba1 don't iterate through all dialogs to find and delete old subscribes
On every incoming subscribe there is a iteration through all dialogs to find old subscribes and delete them. This is slow and not RFC conform. This was only needed in 1.2 cause a subscribe was not deleted when a dialog was destroyed, after 1.4 a subscribe get removed when its dialog is destroyed.

(closes issue #17950)
Reported by: schmidts
Tested by: schmidts

Review: https://reviewboard.asterisk.org/r/901/



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289622 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-01 09:42:22 +00:00
Tilghman Lesher
32d3205f0e Solaris fixes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-30 20:23:10 +00:00
Matthew Nicholson
ac5ac97178 Merged revisions 289553 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r289553 | mnicholson | 2010-09-30 14:51:27 -0500 (Thu, 30 Sep 2010) | 4 lines
  
  Properly handle channel allocation failures duing invites with replaces.
  
  ABE-2588
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-30 19:53:10 +00:00
Richard Mudgett
79105531c2 Merged revision 289547 from
https://origsvn.digium.com/svn/asterisk/be/branches/C.3-bier

..........
  r289547 | rmudgett | 2010-09-30 14:16:36 -0500 (Thu, 30 Sep 2010) | 10 lines

  In chan_misdn, the DivertingLegInformation2 DivertingNr is garbage when the number is restricted.

  The same thing happens with DivertingLegInformation1 DivertedTo number.

  The misdn_PresentedNumberUnscreened_extract() extracted the Unscreened
  PartyNumber field unconditionally.  It now checks the presented number
  unscreened type to see if the PartyNumber was even present.

  JIRA ABE-2595
..........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-30 19:28:36 +00:00
Tilghman Lesher
f48a6f6cfe More Solaris compatibility fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289543 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-30 17:50:52 +00:00
Russell Bryant
37ad96f682 Merged revisions 289425 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289425 | russell | 2010-09-30 10:37:29 -0500 (Thu, 30 Sep 2010) | 15 lines
  
  Merged revisions 289424 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r289424 | russell | 2010-09-30 10:34:29 -0500 (Thu, 30 Sep 2010) | 8 lines
    
    Fix a crash in app_sms.
    
    Since the data being passed to the generator callback is on the stack of the
    SMS() application, we must ensure that the generator is stopped before the
    application exits.
    
    ABE-2587
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289426 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-30 15:39:45 +00:00
Jason Parker
86460af890 Merged revisions 289339 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289339 | qwell | 2010-09-29 16:03:47 -0500 (Wed, 29 Sep 2010) | 15 lines
  
  Merged revisions 289338 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r289338 | qwell | 2010-09-29 15:56:26 -0500 (Wed, 29 Sep 2010) | 8 lines
    
    Allow a manager originate to succeed on forwarded devices.
    
    The timeout to wait for an answer was being set to 0 when a device forwarded to another
    extension.  We don't always need the timeout set like this, so make it an optional
    parameter, and don't use it in this case.
    
    ABE-2544
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289340 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-29 21:12:43 +00:00