Commit Graph

5726 Commits

Author SHA1 Message Date
Richard Mudgett
08dfc347f0 Merged revisions 154268 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r154268 | rmudgett | 2008-11-04 13:07:26 -0600 (Tue, 04 Nov 2008) | 11 lines
  
  Merged revisions 154266 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r154266 | rmudgett | 2008-11-04 13:01:08 -0600 (Tue, 04 Nov 2008) | 4 lines
    
    JIRA ABE-1703
    mISDN sets the channel to the wrong state when it receives
    the indication AST_CONTROL_RINGING.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@154269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-04 19:09:15 +00:00
Tilghman Lesher
7117ad1045 Merged revisions 154264 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r154264 | tilghman | 2008-11-04 12:59:48 -0600 (Tue, 04 Nov 2008) | 10 lines
  
  Recorded merge of revisions 154263 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r154263 | tilghman | 2008-11-04 12:58:05 -0600 (Tue, 04 Nov 2008) | 3 lines
    
    Make the monitor thread non-detached, so it can be joined (suggested by Russell
    on -dev list).
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@154267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-04 19:02:21 +00:00
Kevin P. Fleming
1036849a42 import gcc 4.3.2 warning fixes from trunk, with a few changes specific to this branch
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@153710 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-02 23:56:13 +00:00
Russell Bryant
e6e79128eb Merged revisions 153362 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r153362 | russell | 2008-11-01 15:41:38 -0500 (Sat, 01 Nov 2008) | 3 lines

Ensure that the sip_pvt properly has its refcount incremented when the scheduler holds
a reference to it for session timer processing.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@153363 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-01 20:47:31 +00:00
Tilghman Lesher
e8e98f38f6 Merged revisions 153122 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r153122 | tilghman | 2008-10-31 11:35:21 -0500 (Fri, 31 Oct 2008) | 10 lines
  
  Merged revisions 153114 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r153114 | tilghman | 2008-10-31 11:30:32 -0500 (Fri, 31 Oct 2008) | 3 lines
    
    Turn off qualify on uncached realtime peers.
    (Closes issue #13383)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@153123 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-31 16:36:20 +00:00
Tilghman Lesher
529d140003 Merged revisions 152969 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r152969 | tilghman | 2008-10-30 15:35:46 -0500 (Thu, 30 Oct 2008) | 10 lines
  
  Merged revisions 152958 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r152958 | tilghman | 2008-10-30 15:33:28 -0500 (Thu, 30 Oct 2008) | 3 lines
    
    Cannot join detached threads.  See http://www.opengroup.org/onlinepubs/000095399/functions/pthread_join.html
    (Closes issue #13400)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@152974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 20:36:37 +00:00
Tilghman Lesher
1d4fe69d0a Merged revisions 152923 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r152923 | tilghman | 2008-10-30 14:45:52 -0500 (Thu, 30 Oct 2008) | 13 lines
  
  Merged revisions 152922 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r152922 | tilghman | 2008-10-30 14:43:38 -0500 (Thu, 30 Oct 2008) | 6 lines
    
    Unlock before returning, when extension doesn't exist.
    (closes issue #13807)
     Reported by: eliel
     Patches: 
           chan_local.c.patch uploaded by eliel (license 64)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@152924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 19:48:06 +00:00
Russell Bryant
af5c4a8011 Merged revisions 152920 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r152920 | russell | 2008-10-30 14:40:15 -0500 (Thu, 30 Oct 2008) | 3 lines

Fix the sip_peer reference count with respect to scheduler entries for
scheduling peer pokes, and scheduling peer poke expirations.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@152921 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 19:41:29 +00:00
Russell Bryant
6d4c143adf Merged revisions 152915 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r152915 | russell | 2008-10-30 14:35:36 -0500 (Thu, 30 Oct 2008) | 3 lines

Fix the sip_peer reference count with respect to scheduler entries for
registration expirations.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@152919 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 19:37:42 +00:00
Russell Bryant
eef3ce4049 Merged revisions 152877 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r152877 | russell | 2008-10-30 14:21:53 -0500 (Thu, 30 Oct 2008) | 9 lines

Modify the documentation of the sip_registry struct
 - Remove a comment that says that the monitor thread is the only one that
   ever touches these objects.  This is no longer the case with TCP.  Also,
   I would eventually like to get the scheduler in its own thread, so this
   is just a poor assumption to make.
 - Note that reference counting of these objects with respect to scheduler
   entries is not complete.  There are some leaked references when deleting
   scheduler entries.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@152878 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 19:23:05 +00:00
Russell Bryant
98048e871e Merged revisions 152569 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r152569 | russell | 2008-10-29 00:34:26 -0500 (Wed, 29 Oct 2008) | 15 lines

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

........
r152539 | russell | 2008-10-29 00:23:51 -0500 (Wed, 29 Oct 2008) | 7 lines

Fix an incorrect usage of sizeof()

(closes issue #13795)
Reported by: andrew53
Patches:
	chan_sip_sizeof.patch uploaded by andrew53 (license 519)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@152573 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-29 05:35:20 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Mark Michelson
550d48fe7d Merged revisions 148373 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r148373 | mmichelson | 2008-10-10 16:18:10 -0500 (Fri, 10 Oct 2008) | 8 lines

Make sure that the inUse and inRinging fields for 
a sip peer cannot go below zero. This is a regression
from 1.4 and so it will be applied to 1.6.0 as well.

(closes issue #13668)
Reported by: mjc


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-10 21:19:33 +00:00
Steve Murphy
2c1bfe7643 Merged revisions 147807 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r147807 | murf | 2008-10-09 08:17:33 -0600 (Thu, 09 Oct 2008) | 15 lines

(closes issue #13557)
Reported by: nickpeirson
Patches:
      pbx.c.patch uploaded by nickpeirson (license 579)
      replace_bzero+bcopy.patch uploaded by nickpeirson (license 579)
Tested by: nickpeirson, murf

1. replaced all refs to bzero and bcopy to memset and memmove instead.
2. added a note to the CODING-GUIDELINES
3. add two macros to asterisk.h to prevent bzero, bcopy from creeping
   back into the source
4. removed bzero from configure, configure.ac, autoconfig.h.in



........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@147811 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-09 15:06:21 +00:00
Kevin P. Fleming
540aa6e4ed Merged revisions 147689 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r147689 | kpfleming | 2008-10-08 17:26:55 -0500 (Wed, 08 Oct 2008) | 9 lines
  
  Merged revisions 147681 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r147681 | kpfleming | 2008-10-08 17:22:09 -0500 (Wed, 08 Oct 2008) | 3 lines
    
    when parsing a text configuration option, ensure that the buffer on the stack is actually large enough to hold the legal values of that option, and also ensure that sscanf() knows to stop parsing if it would overrun the buffer (without these changes, specifying "buffers=...,immediate" would overflow the buffer on the stack, and could not have worked as expected)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@147692 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-08 22:27:26 +00:00
Terry Wilson
a7b8580d0c Merged revisions 146970 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r146970 | twilson | 2008-10-06 19:02:19 -0500 (Mon, 06 Oct 2008) | 2 lines
  
  A blind transfer to the parking thread would cause a segfault because copy_request accesses dst->data w/o being able to tell whether it is proerly initialized
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146972 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07 00:13:06 +00:00
Tilghman Lesher
deb3c05634 Merged revisions 146802 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r146802 | tilghman | 2008-10-06 16:09:05 -0500 (Mon, 06 Oct 2008) | 15 lines
  
  Merged revisions 146799 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r146799 | tilghman | 2008-10-06 15:52:04 -0500 (Mon, 06 Oct 2008) | 8 lines
    
    Dialplan functions should not actually return 0, unless they have modified the
    workspace.  To signal an error (and no change to the workspace), -1 should be
    returned instead.
    (closes issue #13340)
     Reported by: kryptolus
     Patches: 
           20080827__bug13340__2.diff.txt uploaded by Corydon76 (license 14)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146838 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 21:32:42 +00:00
Tilghman Lesher
0fd7610e67 Merged revisions 146713 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r146713 | tilghman | 2008-10-06 11:52:14 -0500 (Mon, 06 Oct 2008) | 16 lines
  
  Merged revisions 146711 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r146711 | tilghman | 2008-10-06 11:51:21 -0500 (Mon, 06 Oct 2008) | 9 lines
    
    Check whether an extension exists in the _call method, rather than the _alloc
    method, because we need to evaluate the callerid (since that data affects
    whether an extension exists).
    (closes issue #13343)
     Reported by: efutch
     Patches: 
           20080915__bug13343.diff.txt uploaded by Corydon76 (license 14)
     Tested by: efutch
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 16:54:45 +00:00
Kevin P. Fleming
f100e6c659 Merged revisions 146644 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r146644 | kpfleming | 2008-10-06 11:03:37 -0500 (Mon, 06 Oct 2008) | 15 lines
  
  Merged revisions 146643 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r146643 | kpfleming | 2008-10-06 10:57:49 -0500 (Mon, 06 Oct 2008) | 8 lines
    
    ensure that the private structure for pseudo channels is created without 'leaking' configuration data from other configured channels
    
    (closes issue #13555)
    Reported by: jeffg
    Patches:
          issue_13555.patch uploaded by kpfleming (license 421)
    Tested by: jeffg
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 16:39:25 +00:00
Jason Parker
7eb106201a Merged revisions 146449 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r146449 | qwell | 2008-10-05 16:21:03 -0500 (Sun, 05 Oct 2008) | 9 lines
  
  Recorded merge of revisions 146448 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r146448 | qwell | 2008-10-05 16:17:44 -0500 (Sun, 05 Oct 2008) | 1 line
    
    Fix silly formatting.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-05 21:24:20 +00:00
Jeff Peeler
8acb4b4994 Merged revisions 145249 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r145249 | jpeeler | 2008-09-30 17:21:19 -0500 (Tue, 30 Sep 2008) | 6 lines

(closes issue #13337)
Reported by: pj
Tested by: pj

Set transport to SIP_TRANSPORT_UDP mode if not specified which fixes calls to get_transport returning UNKNOWN.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@145262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-30 22:26:51 +00:00
Michiel van Baak
32330c68b7 Merged revisions 144879 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r144879 | mvanbaak | 2008-09-27 02:49:24 +0200 (Sat, 27 Sep 2008) | 2 lines

fix a couple of CLI commands that did not have a help description.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@144881 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-27 01:08:11 +00:00
Steve Murphy
6f1745168e Merged revisions 144569 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r144569 | murf | 2008-09-25 16:21:28 -0600 (Thu, 25 Sep 2008) | 14 lines

(closes issue #13557)
Reported by: nickpeirson

The user attached a patch, but the license is not yet
recorded. I took the liberty of finding and replacing
ALL index() calls with strchr() calls, and that
involves more than just main/pbx.c;

chan_oss, app_playback, func_cut also had calls
to index(), and I changed them out. 1.4 had no
references to index() at all.



........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@144578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-25 22:25:34 +00:00
Mark Michelson
fc446d8649 Merged revisions 144149 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r144149 | mmichelson | 2008-09-23 18:33:33 -0500 (Tue, 23 Sep 2008) | 3 lines

Fix a conflict in flag values


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@144151 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-23 23:36:27 +00:00