Commit Graph

16474 Commits

Author SHA1 Message Date
Kevin P. Fleming
f0c712cf4b Merged revisions 151101 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r151101 | kpfleming | 2008-10-19 22:11:28 +0300 (Sun, 19 Oct 2008) | 13 lines
  
  cleaup of the TCP/TLS socket API:
  
  1) rename 'struct server_args' to 'struct ast_tcptls_session_args', to follow coding guidelines
  
  2) make ast_make_file_from_fd() static and rename it to something that indicates what it really is for (again coding guidelines)
  
  3) rename address variables inside 'struct ast_tcptls_session_args' to be more descriptive (dare i say it... coding guidelines)
  
  4) change ast_tcptls_client_start() to use the new 'remote_address' field of the session args for the destination of the connection, and use the 'local_address' field to bind() the socket to the proper source address, if one is supplied
  
  5) in chan_sip, ensure that we pass in the PP address we are bound to when creating outbound (client) connections, so that our connections will appear from the correct address
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@151135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-19 19:33:42 +00:00
BJ Weschke
f4be174ad8 Merged revisions 150817 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r150817 | bweschke | 2008-10-17 22:18:33 -0400 (Fri, 17 Oct 2008) | 8 lines
  
   Using the GetVar handler in AMI is potentially dangerous (insta-crash [tm]) when you use a dialplan function that requires a channel and then you don't provide one or provide an invalid one in the Channel: parameter. We'll handle this situation exactly the same way it was handled in pbx.c back on r61766.
  We'll create a bogus channel for the function call and destroy it when we're done. If we have trouble allocating the bogus channel then we're not going to try executing the function call at all and run the risk of crashing.
  
  (closes issue #13715)
  reported by: makoto
  patch by: bweschke
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@150829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-18 02:29:37 +00:00
Jason Parker
68869cf828 Blocked revisions 150729 via svnmerge
........
  r150729 | qwell | 2008-10-17 16:35:23 -0500 (Fri, 17 Oct 2008) | 1 line
  
  Merge codec_consistency branch.  This should make sample usage much happier.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@150730 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-17 21:39:49 +00:00
Tilghman Lesher
7c7a915e95 Merged revisions 150635 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r150635 | tilghman | 2008-10-17 12:09:03 -0500 (Fri, 17 Oct 2008) | 2 lines
  
  Make helper call a little safer (suggested by Russell on IRC)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@150636 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-17 17:10:02 +00:00
Tilghman Lesher
2f69e7a63c Merged revisions 150580 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r150580 | tilghman | 2008-10-17 11:34:29 -0500 (Fri, 17 Oct 2008) | 2 lines
  
  Fix the FRACK! warnings in chan_iax2 when POKE/LAGRQ packets are not answered.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@150606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-17 16:46:13 +00:00
Tilghman Lesher
fb536afcd2 Blocked revisions 150384 via svnmerge
........
  r150384 | tilghman | 2008-10-16 23:28:13 -0500 (Thu, 16 Oct 2008) | 7 lines
  
  Fix option handling code.
  (closes issue #11040)
   Reported by: DEA
   Patches: 
         rt-meetme-flag-fixes-v2.txt uploaded by DEA (license 3)
         with additional fixes by me
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@150582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-17 16:35:20 +00:00
Mark Michelson
9af527e56d Blocked revisions 150307 via svnmerge
........
r150307 | mmichelson | 2008-10-16 19:13:35 -0500 (Thu, 16 Oct 2008) | 14 lines

After a long discussion on #asterisk-bugs, it seems kind of
odd that a channel would be named after the originating port. 
For endpoints that always include ":5060" as part
of the From: header, it will mean that you have a ton of
channels with names like "SIP/5060-3ea38a8b."

I am boldly moving forward with this change in trunk, but I'm
not touching other branches with this one since this definitely
would qualify as a behavior change. If there is a problem with
this commit, and I haven't seen the obvious reason why you'd want
to name the channel after the port from which the call originated,
then please feel free to revert this


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@150314 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-17 00:20:10 +00:00
Mark Michelson
c0a70cbb31 Blocked revisions 150311 via svnmerge
........
r150311 | mmichelson | 2008-10-16 19:18:01 -0500 (Thu, 16 Oct 2008) | 9 lines

Add an IAXregistry manager command. See doc/manager_1_1.txt
for more details of this command.

(closes issue #13326)
Reported by: ib2
Patches:
      bug13326_trunk_20080822.diff uploaded by snuffy (license 35)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@150312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-17 00:18:30 +00:00
Jeff Peeler
19b5dafee2 Blocked revisions 150309 via svnmerge
........
r150309 | jpeeler | 2008-10-16 19:14:19 -0500 (Thu, 16 Oct 2008) | 3 lines

Initialize character arrays as they are not guaranteed to be set.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@150310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-17 00:14:53 +00:00
Mark Michelson
92b7447620 Merged revisions 150305 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r150305 | mmichelson | 2008-10-16 18:41:16 -0500 (Thu, 16 Oct 2008) | 14 lines

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

........
r150304 | mmichelson | 2008-10-16 18:40:54 -0500 (Thu, 16 Oct 2008) | 6 lines

Reverting changes from commits 150298 and 150301 since
I was mistakenly under the assumption that dialplan functions
*always* required that a channel be present. I need to go
home earlier, I think :)


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@150306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 23:41:50 +00:00
Mark Michelson
ddddee6976 Merged revisions 150302 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r150302 | mmichelson | 2008-10-16 18:36:49 -0500 (Thu, 16 Oct 2008) | 24 lines

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

........
r150298 | mmichelson | 2008-10-16 18:34:37 -0500 (Thu, 16 Oct 2008) | 10 lines

Don't try to call a dialplan function's read callback from
the manager's GetVar handler if an invalid channel has
been specified. Several dialplan functions, including
CHANNEL and SIP_HEADER, do not check for NULL-ness of
the channel being passed in.

(closes issue #13715)
Reported by: makoto


........
r150301 | mmichelson | 2008-10-16 18:35:07 -0500 (Thu, 16 Oct 2008) | 3 lines

And don't forget to return on the error condition


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@150303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 23:37:37 +00:00
Mark Michelson
362daccd6f Merged revisions 150257 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r150257 | mmichelson | 2008-10-16 17:44:05 -0500 (Thu, 16 Oct 2008) | 9 lines

Answer the channel prior to checking for the 'a'
option in app_sms.

(closes issue #13675)
Reported by: alecdavis
Patches:
      app_sms.bug13675.148985.diff.txt uploaded by alecdavis (license 585)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@150258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 22:44:31 +00:00
Mark Michelson
07e0791e52 Blocked revisions 150255 via svnmerge
........
r150255 | mmichelson | 2008-10-16 17:36:08 -0500 (Thu, 16 Oct 2008) | 9 lines

Updating app_skel.c to follow coding guidelines
with regards to braces used on if statements.

(closes issue #13696)
Reported by: alecdavis
Patches:
      app_skel.bug13696B.115850.diff.txt uploaded by alecdavis (license 585)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@150256 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 22:36:31 +00:00
Mark Michelson
70ccfafabe Blocked revisions 150253 via svnmerge
........
r150253 | mmichelson | 2008-10-16 17:30:23 -0500 (Thu, 16 Oct 2008) | 3 lines

Remove an odd redundant comparison


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@150254 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 22:30:59 +00:00
Mark Michelson
2556ab63cb Merged revisions 150210 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r150210 | mmichelson | 2008-10-16 16:23:38 -0500 (Thu, 16 Oct 2008) | 12 lines

Change configure script to search for openais in 
both /usr/lib and /usr/lib64 since some distros
place 64-bit libraries only in the /usr/lib64 
directory.

(closes issue #13721)
Reported by: jcollie
Patches:
      0007-Look-in-64bit-dirs-for-openais.patch uploaded by jcollie (license 412)



........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@150211 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 21:24:47 +00:00
Mark Michelson
5f5136952e Merged revisions 150207 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r150207 | mmichelson | 2008-10-16 15:57:18 -0500 (Thu, 16 Oct 2008) | 12 lines

INVITES with proxy auth were sent with a different branch
than what was in the invite_branch of a sip_pvt, meaning
that if a CANCEL were sent later, the branch in the CANCEL
would not match the branch in the latest INVITE sent out, leading
to some endpoints responding to the CANCEL with a 481.

(closes issue #13714)
Reported by: fnordian
Patches:
      invite_branch.patch uploaded by fnordian (license 110)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@150208 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 20:58:26 +00:00
Richard Mudgett
f3c6c01647 Merged revisions 150125 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r150125 | rmudgett | 2008-10-16 11:04:45 -0500 (Thu, 16 Oct 2008) | 9 lines
  
  Merged revisions 150124 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r150124 | rmudgett | 2008-10-16 10:56:06 -0500 (Thu, 16 Oct 2008) | 1 line
    
    Fix memory leak found by customer
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@150127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 16:17:32 +00:00
Kevin P. Fleming
f24f300433 Merged revisions 149981 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r149981 | kpfleming | 2008-10-16 15:28:56 +0200 (Thu, 16 Oct 2008) | 3 lines
  
  return this logic to where it used to be, *after* the dialog->needdestroy flag has been determined to be set; otherwise, we generate these debug messages every time we inspect every active dialog
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 13:32:09 +00:00
Kevin P. Fleming
a890790280 Merged revisions 149384 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r149384 | kpfleming | 2008-10-15 10:55:47 +0200 (Wed, 15 Oct 2008) | 3 lines
  
  building this module depends on res_agi being built as well
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 09:19:35 +00:00
Kevin P. Fleming
a807177ddc Merged revisions 149920 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r149920 | kpfleming | 2008-10-16 10:56:35 +0200 (Thu, 16 Oct 2008) | 3 lines
  
  inter-module dependencies should be included in the source code, not just in sample config files
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149921 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 09:03:46 +00:00
Kevin P. Fleming
e65b39484f Merged revisions 149918 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r149918 | kpfleming | 2008-10-16 10:31:13 +0200 (Thu, 16 Oct 2008) | 3 lines
  
  correct file name in message
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149919 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 08:50:09 +00:00
Mark Michelson
d1463c4243 Merged revisions 149802 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r149802 | mmichelson | 2008-10-15 15:55:42 -0500 (Wed, 15 Oct 2008) | 12 lines

Make the sip_proxy struct reference counted. This is
necessary to allow for a sip_pvt to maintain a reference
to a sip_peer's outboundproxy even after the peer has
been freed.

(closes issue #13700)
Reported by: fnordian
Patches:
      13700.patch uploaded by putnopvut (license 60)
Tested by: fnordian


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-15 21:00:00 +00:00
BJ Weschke
9bdcc38a32 Merged revisions 149756 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r149756 | bweschke | 2008-10-15 16:14:20 -0400 (Wed, 15 Oct 2008) | 10 lines
  
  Merged revisions 149683 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r149683 | bweschke | 2008-10-15 14:28:54 -0400 (Wed, 15 Oct 2008) | 4 lines
    
     An update to the documentation/example of agents.conf.sample with the correct parameter for this feature as defined in chan_agent.c
     (closes issue #13709)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149758 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-15 20:22:00 +00:00
Tilghman Lesher
381cb13863 Merged revisions 149687 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r149687 | tilghman | 2008-10-15 14:07:39 -0500 (Wed, 15 Oct 2008) | 7 lines
  
  Permit data fields to contain more than 255 characters.
  (closes issue #13631)
   Reported by: seanbright
   Patches: 
         20081015__bug13631.diff.txt uploaded by Corydon76 (license 14)
   Tested by: blitzrage
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-15 19:09:42 +00:00
Tilghman Lesher
62582c8653 Merged revisions 149640 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r149640 | tilghman | 2008-10-15 12:16:00 -0500 (Wed, 15 Oct 2008) | 2 lines
  
  Only set buf to blank before the goto.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149641 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-15 17:16:59 +00:00
Tilghman Lesher
765856ca23 Merged revisions 149637 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r149637 | tilghman | 2008-10-15 11:41:54 -0500 (Wed, 15 Oct 2008) | 8 lines
  
  When using MALLOC_DEBUG, codec_lpc10 leaks memory, because it matches a library
  malloc() with an ast_free (which, of course, doesn't match up with known
  allocated memory, so the free fails).
  (closes issue #13702)
   Reported by: eliel
   Patches: 
         codec_lpc10_lpcini.c uploaded by eliel (license 64)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-15 16:42:35 +00:00
Tilghman Lesher
28e24b3dce Merged revisions 149588 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r149588 | tilghman | 2008-10-15 10:30:21 -0500 (Wed, 15 Oct 2008) | 6 lines
  
  Minor spacing change
  (closes issue #13697)
   Reported by: alecdavis
   Patches: 
         app_echo.bug13697.103249.diff.txt uploaded by alecdavis (license 585)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-15 15:31:03 +00:00
Kevin P. Fleming
003ca958c3 Merged revisions 149487 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r149487 | kpfleming | 2008-10-15 13:26:36 +0200 (Wed, 15 Oct 2008) | 9 lines
  
  Merged revisions 149452 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r149452 | kpfleming | 2008-10-15 12:30:40 +0200 (Wed, 15 Oct 2008) | 3 lines
    
    fix some problems when parsing SIP messages that have the maximum number of headers or body lines that we support
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149512 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-15 11:32:51 +00:00
Mark Michelson
28aafe781b Merged revisions 149279 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r149279 | mmichelson | 2008-10-14 18:57:46 -0500 (Tue, 14 Oct 2008) | 7 lines

When specifying an invalid timeout to Dial, take it
to mean that no timeout is desired.

(closes issue #13625)
Reported by: atis


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 23:58:10 +00:00
Mark Michelson
78c12dba27 Merged revisions 149271 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r149271 | mmichelson | 2008-10-14 18:44:44 -0500 (Tue, 14 Oct 2008) | 12 lines

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

........
r149266 | mmichelson | 2008-10-14 18:43:58 -0500 (Tue, 14 Oct 2008) | 4 lines

Change this warning to an error message. Suggestion
comes from Sean Bright. Thanks Sean!


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 23:45:18 +00:00
Mark Michelson
e0cfd4101f Merged revisions 149208 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r149208 | mmichelson | 2008-10-14 18:15:04 -0500 (Tue, 14 Oct 2008) | 17 lines

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

........
r149207 | mmichelson | 2008-10-14 18:10:26 -0500 (Tue, 14 Oct 2008) | 9 lines

Call register_peer_exten even in the case that the peer's
IP/port does not change.

(closes issue #13309)
Reported by: dimas
Patches:
      v2-13309.patch uploaded by dimas (license 88)


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 23:18:17 +00:00
Mark Michelson
fdd9a6f9b6 Merged revisions 149205 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r149205 | mmichelson | 2008-10-14 18:04:44 -0500 (Tue, 14 Oct 2008) | 20 lines

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

........
r149204 | mmichelson | 2008-10-14 18:00:01 -0500 (Tue, 14 Oct 2008) | 12 lines

Add a tolerance period for sync-triggered audiohooks
so that if packetization of audio is close (but not equal)
we don't end up flushing the audiohooks over small
inconsistencies in synchronization.

Related to issue #13005, and solves the issue
for most people who were experiencing the problem.
However, a small number of people are still experiencing
the problem on long calls, so I am not closing
the issue yet


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 23:05:14 +00:00
Mark Michelson
4e44db9dee Merged revisions 149201 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r149201 | mmichelson | 2008-10-14 17:41:13 -0500 (Tue, 14 Oct 2008) | 20 lines

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

........
r149200 | mmichelson | 2008-10-14 17:40:42 -0500 (Tue, 14 Oct 2008) | 12 lines

Update the queue with the correct number of calls and
whether the call was completed within the service level
when a transfer takes place. This way, we do not "break"
the leastrecent and fewestcalls strategies by not logging
a call until after the transferred call has ended.

(closes issue #13395)
Reported by: Marquis
Patches:
      app_queue.c.transfer.patch uploaded by Marquis (license 32)


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 22:43:08 +00:00
Tilghman Lesher
e65c411c8f Merged revisions 149199 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r149199 | tilghman | 2008-10-14 17:38:06 -0500 (Tue, 14 Oct 2008) | 8 lines
  
  Add additional memory debugging to several core APIs, and fix several memory
  leaks found with these changes.
  (Closes issue #13505, closes issue #13543)
  Reported by: mav3rick, triccyx
   Patches: 
         20081001__bug13505.diff.txt uploaded by Corydon76 (license 14)
   Tested by: mav3rick, triccyx
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 22:42:17 +00:00
Mark Michelson
0fa430ed59 Merged revisions 149131 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r149131 | mmichelson | 2008-10-14 16:08:48 -0500 (Tue, 14 Oct 2008) | 15 lines

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

........
r149130 | mmichelson | 2008-10-14 15:49:02 -0500 (Tue, 14 Oct 2008) | 7 lines

Don't allow reserved characters to be used in register
lines in sip.conf.

(closes issue #13570)
Reported by: putnopvut


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149132 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 21:09:15 +00:00
Tilghman Lesher
80b2a0379f Merged revisions 149062 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r149062 | tilghman | 2008-10-14 15:16:48 -0500 (Tue, 14 Oct 2008) | 13 lines
  
  Merged revisions 149061 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r149061 | tilghman | 2008-10-14 15:09:06 -0500 (Tue, 14 Oct 2008) | 6 lines
    
    Check correct values in the return of ast_waitfor(); also, get rid of a
    possible memory leak.
    (closes issue #13658)
     Reported by: explidous
     Patch by: me
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149063 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 20:17:34 +00:00
Leif Madsen
7ffd0b0fcf Merged revisions 149040 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r149040 | lmadsen | 2008-10-14 15:35:54 -0400 (Tue, 14 Oct 2008) | 5 lines
  
  Add missing documentation for SipShowRegistry action and RegistryEntry event.
  (closes issue #13342)
  Reported and patch by: Laureano
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 19:42:09 +00:00
Leif Madsen
c0be6bc68f Blocked revisions 148991 via svnmerge
................
  r148991 | lmadsen | 2008-10-14 15:21:54 -0400 (Tue, 14 Oct 2008) | 10 lines
  
  Blocked revisions 148990 via svnmerge
  
  ........
    r148990 | lmadsen | 2008-10-14 15:05:12 -0400 (Tue, 14 Oct 2008) | 4 lines
    
    Add in some missing updates to the CHANGES file for sip.conf
    (closes issue #13100)
    Reported and patch by: gknispel_proformatique
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 19:26:27 +00:00
Tilghman Lesher
a3ffa5e0b4 Blocked revisions 148988 via svnmerge
................
  r148988 | tilghman | 2008-10-14 14:03:44 -0500 (Tue, 14 Oct 2008) | 9 lines
  
  Merged revisions 148987 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r148987 | tilghman | 2008-10-14 14:03:08 -0500 (Tue, 14 Oct 2008) | 2 lines
    
    Some compilers warn, some don't.  Fixing.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 19:04:17 +00:00
Tilghman Lesher
81253add70 Merged revisions 148985 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r148985 | tilghman | 2008-10-14 13:58:19 -0500 (Tue, 14 Oct 2008) | 6 lines
  
  App is ignoring 'p' parameter -- initial pause.
  (closes issue #13617)
   Reported by: alecdavis
   Patches: 
         app_sms.13oct.diff.txt uploaded by alecdavis (license 585)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148986 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 18:59:43 +00:00
Tilghman Lesher
99b53314ad Merged revisions 148917 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r148917 | tilghman | 2008-10-14 12:46:48 -0500 (Tue, 14 Oct 2008) | 11 lines
  
  Merged revisions 148916 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r148916 | tilghman | 2008-10-14 12:41:08 -0500 (Tue, 14 Oct 2008) | 4 lines
    
    Ensure that mail headers are 7-bit clean, even when UTF-8 characters are used
    in headers like 'Subject' and 'To'.
    Closes AST-107.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148918 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 17:49:00 +00:00
Mark Michelson
242e1079ff Merged revisions 148913 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r148913 | mmichelson | 2008-10-14 12:38:06 -0500 (Tue, 14 Oct 2008) | 17 lines

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

........
r148912 | mmichelson | 2008-10-14 12:33:38 -0500 (Tue, 14 Oct 2008) | 9 lines

Deadlock prevention in chan_local.

(closes issue #13676)
Reported by: tacvbo
Patches:
      13676.patch uploaded by putnopvut (license 60)
Tested by: tacvbo


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 17:39:39 +00:00
Tilghman Lesher
40b39ff8aa Merged revisions 148868 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r148868 | tilghman | 2008-10-14 10:15:45 -0500 (Tue, 14 Oct 2008) | 6 lines
  
  API differences in spandsp 0.0.6pre1 and higher
  (closes issue #13688)
   Reported by: irroot
   Patches: 
         app_fax-span6.patch uploaded by irroot (license 52) with minor modifications by me
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 15:18:10 +00:00
Kevin P. Fleming
a6aaf36b47 Merged revisions 148754 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r148754 | kpfleming | 2008-10-14 13:31:40 +0200 (Tue, 14 Oct 2008) | 2 lines
  
  fix some references to the owner of a private structure that may not be present
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148763 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 11:35:52 +00:00
Kevin P. Fleming
c99e35bb04 Merged revisions 148738 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r148738 | kpfleming | 2008-10-14 12:33:14 +0200 (Tue, 14 Oct 2008) | 9 lines
  
  Merged revisions 148736 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r148736 | kpfleming | 2008-10-14 12:30:54 +0200 (Tue, 14 Oct 2008) | 3 lines
    
    on Ubuntu (at least), recent versions of ld in binutils delete all debugging symbols when -x is supplied; since the reasons why -x is being passed are lost in the mists of time, remove it so debugging will work properly
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148740 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 10:35:27 +00:00
Kevin P. Fleming
721b1fb84c Merged revisions 148695 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r148695 | kpfleming | 2008-10-14 11:31:50 +0200 (Tue, 14 Oct 2008) | 1 line
  
  ensure that *all* fields in the req structure are cleared out before reusing it; has_to_tag was not cleared, which caused the second incoming call over a TCP socket to fail if pedantic checking was enabled
........



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148700 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 09:33:34 +00:00
Kevin P. Fleming
4cc69860bb Merged revisions 148612 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r148612 | kpfleming | 2008-10-14 03:06:45 -0500 (Tue, 14 Oct 2008) | 9 lines
  
  Merged revisions 148611 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r148611 | kpfleming | 2008-10-14 02:54:41 -0500 (Tue, 14 Oct 2008) | 3 lines
    
    it would be nice if this message printing code had actually been tested before it was committed...
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148614 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 08:08:40 +00:00
Steve Murphy
c6fc68ab1a Merged revisions 148519 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r148519 | murf | 2008-10-13 11:14:38 -0600 (Mon, 13 Oct 2008) | 15 lines

Hmmm. Nobody (but me) is interested in seeing 
the trie info when they do 'dialplan show ...'
(even with debug set to non-zero); so I set up a 
   'dialplan debug [context]' cli command instead, 
to explicitly show just the trie info.  I even
added an extension_exists() call to make sure the
trie info is built. I moved the explanatory header
to above the extension loop to ensure it only prints
once. And it will do this now, whether debug is set
or not.

I removed the trie printing from the 'dialplan show' 
command entirely. 


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-13 17:56:13 +00:00
Olle Johansson
99f52e9ef4 Merged revisions 148471 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r148471 | oej | 2008-10-13 17:32:55 +0200 (MÃ¥n, 13 Okt 2008) | 4 lines

Sending a 403 after a 200 is considered very bad.

(found at SIPit)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148472 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-13 15:36:44 +00:00
Mark Michelson
ba35b01146 Merged revisions 148376 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r148376 | mmichelson | 2008-10-10 16:21:45 -0500 (Fri, 10 Oct 2008) | 13 lines

The logic used when checking a peer got changed subtly
in the "kill the user" commit and caused calls relying
on the insecure setting to not work properly. I changed
for finding a peer back to how it was prior to that 
commit.

(closes issue #13644)
Reported by: pj
Patches:
      13644_trunkv2.patch uploaded by putnopvut (license 60)
Tested by: pj


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148377 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-10 21:22:19 +00:00