Commit Graph

16645 Commits

Author SHA1 Message Date
Tilghman Lesher
2098685d9e Merged revisions 152467 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r152467 | tilghman | 2008-10-28 17:33:40 -0500 (Tue, 28 Oct 2008) | 10 lines
  
  Merged revisions 152463 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r152463 | tilghman | 2008-10-28 17:32:34 -0500 (Tue, 28 Oct 2008) | 3 lines
    
    Quoting in the wrong direction
    (Fixes AST-107)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@152471 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-28 22:35:01 +00:00
Tilghman Lesher
25b6cbd568 Merged revisions 152442 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r152442 | tilghman | 2008-10-28 16:38:26 -0500 (Tue, 28 Oct 2008) | 7 lines
  
  Only re-add the io port if it was closed, otherwise reload causes a memory
  leak.
  (closes issue #13785)
   Reported by: eliel
   Patches: 
         chan_mgcp.c.patch uploaded by eliel (license 64)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@152444 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-28 21:40:06 +00:00
Tilghman Lesher
a7a57a4f61 Merged revisions 152369 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r152369 | tilghman | 2008-10-28 12:07:39 -0500 (Tue, 28 Oct 2008) | 15 lines
  
  Merged revisions 152368 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r152368 | tilghman | 2008-10-28 12:04:56 -0500 (Tue, 28 Oct 2008) | 8 lines
    
    Reset all DIAL variables back to blank, in case Dial is called multiple times
    per call (which could otherwise lead to inconsistent status reports).
    (closes issue #13216)
     Reported by: ruddy
     Patches: 
           20081014__bug13216.diff.txt uploaded by Corydon76 (license 14)
     Tested by: ruddy
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@152370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-28 17:08:47 +00:00
Jeff Peeler
09db38446a Merged revisions 152287 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r152287 | jpeeler | 2008-10-27 18:31:39 -0500 (Mon, 27 Oct 2008) | 10 lines

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

........
r152286 | jpeeler | 2008-10-27 18:28:49 -0500 (Mon, 27 Oct 2008) | 2 lines

Buffer policy setting for half is not needed.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@152288 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-27 23:32:40 +00:00
Tilghman Lesher
3060540103 Merged revisions 152215 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r152215 | tilghman | 2008-10-27 16:32:00 -0500 (Mon, 27 Oct 2008) | 6 lines
  
  Inherit ALL elements of CallerID across a local channel.
  (closes issue #13368)
   Reported by: Peter Schlaile
   Patches: 
         20080826__bug13368.diff.txt uploaded by Corydon76 (license 14)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@152217 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-27 21:53:04 +00:00
Tilghman Lesher
4f6e8d30f4 Blocked revisions 152174 via svnmerge
........
  r152174 | tilghman | 2008-10-27 11:44:55 -0500 (Mon, 27 Oct 2008) | 2 lines
  
  Set ARGC in subroutines with the number of arguments passed.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@152175 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-27 16:45:35 +00:00
Tilghman Lesher
95c0f16b9a Merged revisions 152134 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r152134 | tilghman | 2008-10-27 11:24:11 -0500 (Mon, 27 Oct 2008) | 4 lines
  
  Oops, only delete the ARG variables once upon release.  The following section
  would have removed them again (removing variables from 2 stack frames, instead
  of just one).
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@152173 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-27 16:42:07 +00:00
Jason Parker
d8814693ba Merged revisions 152132 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r152132 | qwell | 2008-10-27 11:03:12 -0500 (Mon, 27 Oct 2008) | 7 lines
  
  Remove options argument parsing/syntax (it isn't used any longer)
  
  (closes issue #13789)
  Reported by: IgorG
  Patches:
        app_transfer.c.diff uploaded by IgorG (license 20)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@152133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-27 16:06:01 +00:00
Sean Bright
3c1c4a3862 Merged revisions 152060 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r152060 | seanbright | 2008-10-26 16:25:08 -0400 (Sun, 26 Oct 2008) | 15 lines

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

........
r152059 | seanbright | 2008-10-26 16:23:36 -0400 (Sun, 26 Oct 2008) | 7 lines

Since passing \0 as the second argument to strchr is valid (and will
match the trailing \0 of a string) we need to check that first, otherwise
we end up with incorrect results.  Fix suggested by reporter.

(closes issue #13787)
Reported by: meitinger

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@152068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-26 20:27:42 +00:00
Russell Bryant
3d3546fa0c Merged revisions 151906 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r151906 | russell | 2008-10-25 06:02:11 -0500 (Sat, 25 Oct 2008) | 16 lines

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

........
r151905 | russell | 2008-10-25 05:59:02 -0500 (Sat, 25 Oct 2008) | 8 lines

Move AMI initialization to occur after loading modules.  This prevents a
deadlock when someone tries to initiate a module reload from the AMI just
as Asterisk is starting.

(closes issue #13778)
Reported by: hotsblanc
Fix suggested by hotsblanc

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@151907 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-25 11:11:25 +00:00
Tilghman Lesher
f1b25f4b60 Merged revisions 151601 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r151601 | tilghman | 2008-10-22 15:05:15 -0500 (Wed, 22 Oct 2008) | 6 lines
  
  Add a contributed script for running Asterisk without installing it, first.
  (closes issue #11680)
   Reported by: tzafrir
   Patches: 
         live_ast_6 uploaded by tzafrir (license 46)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@151603 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-22 20:08:52 +00:00
Mark Michelson
439956b118 Merged revisions 151600 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r151600 | mmichelson | 2008-10-22 15:05:14 -0500 (Wed, 22 Oct 2008) | 10 lines

Change some logical ands to bitwise ands and add
messages alerting that a channel is being ignored
if the PROC_DAHDI_NOCHAN option is set in process_dahdi.

(closes issue #13759)
Reported by: smurfix
Patches:
      dahdi.patch uploaded by smurfix (license 547)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@151602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-22 20:05:45 +00:00
Russell Bryant
9642500c8b Blocked revisions 151554-151555 via svnmerge
........
r151554 | russell | 2008-10-22 12:44:05 -0500 (Wed, 22 Oct 2008) | 2 lines

Fix this check to use the proper variable (the result from get_in_brackets)

........
r151555 | russell | 2008-10-22 12:45:05 -0500 (Wed, 22 Oct 2008) | 2 lines

Print out the right var in the log message

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@151556 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-22 17:46:57 +00:00
Mark Michelson
ddd50b1abc Merged revisions 151512 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r151512 | mmichelson | 2008-10-22 10:08:25 -0500 (Wed, 22 Oct 2008) | 8 lines

The logic of a strncasecmp call was reversed.

(closes issue #13706)
Reported by: andrew53
Patches:
      sip_notify_from_rfc3265.patch uploaded by andrew53 (license 519)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@151514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-22 15:09:58 +00:00
Mark Michelson
2375a16df9 Merged revisions 151464 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r151464 | mmichelson | 2008-10-21 18:54:41 -0500 (Tue, 21 Oct 2008) | 11 lines

Make the sip_standard_port function more granular by allowing separate
type and port arguments. This is necessary because when building our From
and Contact headers, we need to be absolutely sure that we are placing our
source port there and not the peer's source port.

(closes issue #12761)
Reported by: asbestoshead
Patches:
      patch-chan-sip-contact-port.txt uploaded by asbestoshead (license 455)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@151513 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-22 15:09:28 +00:00
Mark Michelson
f2efcad8f4 Merged revisions 151439 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r151439 | mmichelson | 2008-10-21 18:31:17 -0500 (Tue, 21 Oct 2008) | 3 lines

Get this compiling in dev-mode


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@151441 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-21 23:31:45 +00:00
Mark Michelson
fb8def13d3 Merged revisions 151428 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r151428 | mmichelson | 2008-10-21 18:27:45 -0500 (Tue, 21 Oct 2008) | 14 lines

If a peer uses any transport other than UDP, then MWI will
fail for that peer since sip_alloc will allocate a sip_pvt with
a default transport of UDP. This change resets the socket type
immediately after allocating the sip_pvt in sip_send_mwi_from_peer,
so that the proceeding call to create_addr_from_peer does not fail
right away. The socket data from the peer is properly copied to
the sip_pvt in create_addr_from_peer.

(closes issue #13710)
Reported by: andrew53
Patches:
      sip_notify_use_tcp.patch uploaded by andrew53 (license 519)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@151430 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-21 23:28:20 +00:00
Mark Michelson
1a31f1a188 Merged revisions 151420 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r151420 | mmichelson | 2008-10-21 18:08:56 -0500 (Tue, 21 Oct 2008) | 10 lines

When attempting to resolve hostnames, we need to be sure
to remove any parameters from the string so that name
resolution succeeds.

(closes issue #13727)
Reported by: fnordian
Patches:
      resolvewithouturiparameter.patch uploaded by fnordian (license 110)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@151421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-21 23:09:27 +00:00
Tilghman Lesher
2e70e247bc Merged revisions 151371 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r151371 | tilghman | 2008-10-21 10:20:50 -0500 (Tue, 21 Oct 2008) | 5 lines
  
  Default file modes should always be full read and write, to allow the system
  administrator to make the decision of what permissions will actually be given,
  through the use of the process umask.
  (Closes issue# 13751)
........


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

........
  r151327 | bweschke | 2008-10-21 07:02:08 -0400 (Tue, 21 Oct 2008) | 7 lines
  
   Fix configuration parsing so type=friend still identifies "friend" as a peer even though it is now a legacy configuration verb.
  
   (closes issue #13705)
   reported by: blitzrage
   patched by: bweschke
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@151328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-21 11:03:27 +00:00
Kevin P. Fleming
c34b247297 Merged revisions 151242-151243 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r151242 | kpfleming | 2008-10-20 07:59:04 +0300 (Mon, 20 Oct 2008) | 9 lines
  
  Merged revisions 151240 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r151240 | kpfleming | 2008-10-20 07:45:56 +0300 (Mon, 20 Oct 2008) | 3 lines
    
    break up acinclude.m4 into individual files, which will make it easier to maintain, easier to add new macros (less patching) and will ease maintenance of these macros across Asterisk branches
  ........
................
  r151243 | kpfleming | 2008-10-20 08:00:56 +0300 (Mon, 20 Oct 2008) | 9 lines
  
  Merged revisions 151241 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r151241 | kpfleming | 2008-10-20 07:57:33 +0300 (Mon, 20 Oct 2008) | 2 lines
    
    rename this macro to properly reflect what it does
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@151245 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-20 05:06:29 +00:00
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