asterisk/asterisk.git
11 years agoAdd patch to handle how IE7 issues POST requests using Window path spec including...
Doug Bailey [Thu, 23 Oct 2008 15:09:20 +0000 (15:09 +0000)]
Add patch to handle how IE7 issues POST requests using Window path spec including backslash delimiters

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151722 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdded debugging CLI functions
Tilghman Lesher [Wed, 22 Oct 2008 22:11:31 +0000 (22:11 +0000)]
Added debugging CLI functions

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151682 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years ago revert the changes in issue #13705 - it's being re-opened as while the results fixed...
BJ Weschke [Wed, 22 Oct 2008 20:45:03 +0000 (20:45 +0000)]
 revert the changes in issue #13705 - it's being re-opened as while the results fixed the complaint in the issue, it introduced other more undesirable issues than what was already reported

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151642 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdd a contributed script for running Asterisk without installing it, first.
Tilghman Lesher [Wed, 22 Oct 2008 20:05:15 +0000 (20:05 +0000)]
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/trunk@151601 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoChange some logical ands to bitwise ands and add
Mark Michelson [Wed, 22 Oct 2008 20:05:14 +0000 (20:05 +0000)]
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/trunk@151600 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoPrint out the right var in the log message
Russell Bryant [Wed, 22 Oct 2008 17:45:05 +0000 (17:45 +0000)]
Print out the right var in the log message

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151555 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoFix this check to use the proper variable (the result from get_in_brackets)
Russell Bryant [Wed, 22 Oct 2008 17:44:05 +0000 (17:44 +0000)]
Fix this check to use the proper variable (the result from get_in_brackets)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151554 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoThe logic of a strncasecmp call was reversed.
Mark Michelson [Wed, 22 Oct 2008 15:08:25 +0000 (15:08 +0000)]
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/trunk@151512 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMake the sip_standard_port function more granular by allowing separate
Mark Michelson [Tue, 21 Oct 2008 23:54:41 +0000 (23:54 +0000)]
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/trunk@151464 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoGet this compiling in dev-mode
Mark Michelson [Tue, 21 Oct 2008 23:31:17 +0000 (23:31 +0000)]
Get this compiling in dev-mode

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151439 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoIf a peer uses any transport other than UDP, then MWI will
Mark Michelson [Tue, 21 Oct 2008 23:27:45 +0000 (23:27 +0000)]
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/trunk@151428 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoWhen attempting to resolve hostnames, we need to be sure
Mark Michelson [Tue, 21 Oct 2008 23:08:56 +0000 (23:08 +0000)]
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/trunk@151420 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoDefault file modes should always be full read and write, to allow the system
Tilghman Lesher [Tue, 21 Oct 2008 15:20:50 +0000 (15:20 +0000)]
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/trunk@151371 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years ago Fix configuration parsing so type=friend still identifies "friend" as a peer even...
BJ Weschke [Tue, 21 Oct 2008 11:02:08 +0000 (11:02 +0000)]
 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/trunk@151327 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years ago Do NOT attempt to do anything with the ast_config struct when it's been returned...
BJ Weschke [Mon, 20 Oct 2008 05:07:25 +0000 (05:07 +0000)]
 Do NOT attempt to do anything with the ast_config struct when it's been returned as INVALID by the config file interpreter.

 (closes issue #13741)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151246 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 151241 via svnmerge from
Kevin P. Fleming [Mon, 20 Oct 2008 05:00:56 +0000 (05:00 +0000)]
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/trunk@151243 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 151240 via svnmerge from
Kevin P. Fleming [Mon, 20 Oct 2008 04:59:04 +0000 (04:59 +0000)]
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
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151242 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoBlock 151167 from coming forward into the /trunk this is a 1.4 fix only.
BJ Weschke [Sun, 19 Oct 2008 20:30:27 +0000 (20:30 +0000)]
Block 151167 from coming forward into the /trunk this is a 1.4 fix only.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151190 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years ago Block 151100 from coming forward into the /trunk this is a 1.4 fix only.
BJ Weschke [Sun, 19 Oct 2008 20:29:58 +0000 (20:29 +0000)]
 Block 151100 from coming forward into the /trunk this is a 1.4 fix only.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151188 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agocleaup of the TCP/TLS socket API:
Kevin P. Fleming [Sun, 19 Oct 2008 19:11:28 +0000 (19:11 +0000)]
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/trunk@151101 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agodont segfault when placing a call to a line that has no registered device.
Michiel van Baak [Sun, 19 Oct 2008 13:10:50 +0000 (13:10 +0000)]
dont segfault when placing a call to a line that has no registered device.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151060 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdding changes from train and flight back home from SIPit23 in Lannion, France.
Olle Johansson [Sun, 19 Oct 2008 07:20:40 +0000 (07:20 +0000)]
Adding changes from train and flight back home from SIPit23 in Lannion, France.
- Additional comments on TCP/TLS implementation
- Some additions for new drafts/rfcs (no new functionality really, mostly documentation)
- Other random small fixes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151019 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMake sure we support nested functions and generation of trampolines
Michiel van Baak [Sat, 18 Oct 2008 10:27:22 +0000 (10:27 +0000)]
Make sure we support nested functions and generation of trampolines
under OpenBSD.

(closes issue #13724)
Reported by: mvanbaak

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150971 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agodont use deprecated commands in the init scripts.
Michiel van Baak [Sat, 18 Oct 2008 09:02:36 +0000 (09:02 +0000)]
dont use deprecated commands in the init scripts.

(closes issue #13720)
Reported by: decryptus_proformatique
Patches:
      contrib_initd_module_reload.patch uploaded by decryptus (license 555)
  With mods by me to fix stop commands as well

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150930 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years ago Give app_authenticate the ability to select a prompt other than the default.
BJ Weschke [Sat, 18 Oct 2008 03:35:24 +0000 (03:35 +0000)]
 Give app_authenticate the ability to select a prompt other than the default.

 (closes issue #13734)
 reported and patched by: jvandal

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150887 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years ago Using the GetVar handler in AMI is potentially dangerous (insta-crash [tm]) when...
BJ Weschke [Sat, 18 Oct 2008 02:18:33 +0000 (02:18 +0000)]
 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/trunk@150817 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years ago The QueueEntry event now has the uniqueid of the channel included.
BJ Weschke [Sat, 18 Oct 2008 00:25:18 +0000 (00:25 +0000)]
 The QueueEntry event now has the uniqueid of the channel included.
 (closes issue #13731)
 reported and patched by: caio1982

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150773 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoUpdate configure check to check for new function in libpri (pri_progress_with_cause)
Matthew Fredrickson [Fri, 17 Oct 2008 21:48:07 +0000 (21:48 +0000)]
Update configure check to check for new function in libpri (pri_progress_with_cause)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150731 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerge codec_consistency branch. This should make sample usage much happier.
Jason Parker [Fri, 17 Oct 2008 21:35:23 +0000 (21:35 +0000)]
Merge codec_consistency branch.  This should make sample usage much happier.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150729 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoFix CLI command 'channel request hangup'
Michiel van Baak [Fri, 17 Oct 2008 17:31:07 +0000 (17:31 +0000)]
Fix CLI command 'channel request hangup'
Prodded on IRC by Russell and fixed by eliel

(closes issue #13730)
Reported by: eliel
Patches:
      main_cli.patch uploaded by eliel (license 64)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150664 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerge in patch for #13454. Includes CallRereouting dialplan application, option...
Matthew Fredrickson [Fri, 17 Oct 2008 17:25:58 +0000 (17:25 +0000)]
Merge in patch for #13454.  Includes CallRereouting dialplan application, option for discard of remote hold messages, and using the alternate logical channel mapping in Q.SIG instead of the default physical channel mapping.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150640 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMake helper call a little safer (suggested by Russell on IRC)
Tilghman Lesher [Fri, 17 Oct 2008 17:09:03 +0000 (17:09 +0000)]
Make helper call a little safer (suggested by Russell on IRC)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150635 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoFix the FRACK! warnings in chan_iax2 when POKE/LAGRQ packets are not answered.
Tilghman Lesher [Fri, 17 Oct 2008 16:34:29 +0000 (16:34 +0000)]
Fix the FRACK! warnings in chan_iax2 when POKE/LAGRQ packets are not answered.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150580 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoBlocked revisions 150557 via svnmerge
Jason Parker [Fri, 17 Oct 2008 15:32:27 +0000 (15:32 +0000)]
Blocked revisions 150557 via svnmerge

........
  r150557 | qwell | 2008-10-17 10:31:35 -0500 (Fri, 17 Oct 2008) | 9 lines

  Correctly allow chan_dahdi to compile against older versions of Zaptel.
  Don't always define HAVE_ZAPTEL_CHANALARMS (since we check if it's defined..)
  Minor cleanup to make things clear.

  (closes issue #13726)
  Reported by: tzafrir
  Patches:
        dahdi_def.diff uploaded by tzafrir (license 46)
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150558 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdding some additional thoughts on configuration changes to TCP/TLS
Olle Johansson [Fri, 17 Oct 2008 08:42:44 +0000 (08:42 +0000)]
Adding some additional thoughts on configuration changes to TCP/TLS

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150510 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMake sure we support nested functions with GCC 4.01 OS/X. This might not be OS/X...
Olle Johansson [Fri, 17 Oct 2008 08:13:13 +0000 (08:13 +0000)]
Make sure we support nested functions with GCC 4.01 OS/X. This might not be OS/X only,
but I'll leave it to kpfleming to add this to the configure script for testing.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150469 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoBreak up skinny.conf into seperate sections for
Michiel van Baak [Fri, 17 Oct 2008 06:00:28 +0000 (06:00 +0000)]
Break up skinny.conf into seperate sections for
devices and lines.

(closes issue #13412)
Reported by: wedhorn
Patches:
      config-restruct-v4.diff uploaded by wedhorn (license 30)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150426 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoFix option handling code.
Tilghman Lesher [Fri, 17 Oct 2008 04:28:13 +0000 (04:28 +0000)]
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/trunk@150384 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdd an IAXregistry manager command. See doc/manager_1_1.txt
Mark Michelson [Fri, 17 Oct 2008 00:18:01 +0000 (00:18 +0000)]
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/trunk@150311 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoInitialize character arrays as they are not guaranteed to be set.
Jeff Peeler [Fri, 17 Oct 2008 00:14:19 +0000 (00:14 +0000)]
Initialize character arrays as they are not guaranteed to be set.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150309 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAfter a long discussion on #asterisk-bugs, it seems kind of
Mark Michelson [Fri, 17 Oct 2008 00:13:35 +0000 (00:13 +0000)]
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/trunk@150307 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 150304 via svnmerge from
Mark Michelson [Thu, 16 Oct 2008 23:41:16 +0000 (23:41 +0000)]
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/trunk@150305 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 150298,150301 via svnmerge from
Mark Michelson [Thu, 16 Oct 2008 23:36:49 +0000 (23:36 +0000)]
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/trunk@150302 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAnswer the channel prior to checking for the 'a'
Mark Michelson [Thu, 16 Oct 2008 22:44:05 +0000 (22:44 +0000)]
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/trunk@150257 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoUpdating app_skel.c to follow coding guidelines
Mark Michelson [Thu, 16 Oct 2008 22:36:08 +0000 (22:36 +0000)]
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/trunk@150255 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoRemove an odd redundant comparison
Mark Michelson [Thu, 16 Oct 2008 22:30:23 +0000 (22:30 +0000)]
Remove an odd redundant comparison

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150253 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoChange configure script to search for openais in
Mark Michelson [Thu, 16 Oct 2008 21:23:38 +0000 (21:23 +0000)]
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/trunk@150210 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoINVITES with proxy auth were sent with a different branch
Mark Michelson [Thu, 16 Oct 2008 20:57:18 +0000 (20:57 +0000)]
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/trunk@150207 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 150124 via svnmerge from
Richard Mudgett [Thu, 16 Oct 2008 16:04:45 +0000 (16:04 +0000)]
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/trunk@150125 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoThis is nolonger needed
Terry Wilson [Thu, 16 Oct 2008 15:48:49 +0000 (15:48 +0000)]
This is nolonger needed

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150121 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agofunc_strings isn't a dependency of this module anymore
Terry Wilson [Thu, 16 Oct 2008 15:41:40 +0000 (15:41 +0000)]
func_strings isn't a dependency of this module anymore

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150118 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoensure that type=peer entries are only matched on IP/port, not on name (after oej...
Kevin P. Fleming [Thu, 16 Oct 2008 15:02:10 +0000 (15:02 +0000)]
ensure that type=peer entries are only matched on IP/port, not on name (after oej audits all the calls to find_peer() to make sure that forcenamematch is set correctly in each case)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150052 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoDoxygen addition
Olle Johansson [Thu, 16 Oct 2008 15:00:30 +0000 (15:00 +0000)]
Doxygen addition

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150051 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdd some notes on problems with the TCP/TLS implementation
Olle Johansson [Thu, 16 Oct 2008 13:52:23 +0000 (13:52 +0000)]
Add some notes on problems with the TCP/TLS implementation

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150008 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoreturn this logic to where it used to be, *after* the dialog->needdestroy flag has...
Kevin P. Fleming [Thu, 16 Oct 2008 13:28:56 +0000 (13:28 +0000)]
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/trunk@149981 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agosome additional debugging tools added at SIPit23:
Kevin P. Fleming [Thu, 16 Oct 2008 13:23:23 +0000 (13:23 +0000)]
some additional debugging tools added at SIPit23:

- move all setting of 'needdestroy' on dialog structures into the history

- report all tags involved when a pedantic check fails on a REFER

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149964 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agointer-module dependencies should be included in the source code, not just in sample...
Kevin P. Fleming [Thu, 16 Oct 2008 08:56:35 +0000 (08:56 +0000)]
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/trunk@149920 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agocorrect file name in message
Kevin P. Fleming [Thu, 16 Oct 2008 08:31:13 +0000 (08:31 +0000)]
correct file name in message

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149918 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agosupport relative paths in musiconhold.conf, which makes moh work by default when...
Kevin P. Fleming [Thu, 16 Oct 2008 08:30:32 +0000 (08:30 +0000)]
support relative paths in musiconhold.conf, which makes moh work by default when Asterisk was configured using --prefix and 'make samples' is run

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149917 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years ago Blocking 149840 from coming forward.
BJ Weschke [Wed, 15 Oct 2008 21:36:39 +0000 (21:36 +0000)]
 Blocking 149840 from coming forward.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149848 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMake the sip_proxy struct reference counted. This is
Mark Michelson [Wed, 15 Oct 2008 20:55:42 +0000 (20:55 +0000)]
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/trunk@149802 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 149683 via svnmerge from
BJ Weschke [Wed, 15 Oct 2008 20:14:20 +0000 (20:14 +0000)]
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/trunk@149756 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoPermit data fields to contain more than 255 characters.
Tilghman Lesher [Wed, 15 Oct 2008 19:07:39 +0000 (19:07 +0000)]
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/trunk@149687 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoOnly set buf to blank before the goto.
Tilghman Lesher [Wed, 15 Oct 2008 17:16:00 +0000 (17:16 +0000)]
Only set buf to blank before the goto.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149640 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoWhen using MALLOC_DEBUG, codec_lpc10 leaks memory, because it matches a library
Tilghman Lesher [Wed, 15 Oct 2008 16:41:54 +0000 (16:41 +0000)]
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/trunk@149637 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMinor spacing change
Tilghman Lesher [Wed, 15 Oct 2008 15:30:21 +0000 (15:30 +0000)]
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/trunk@149588 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdding a note about a missing part of "kill-the-user" - I got lost in the Ao2 world...
Olle Johansson [Wed, 15 Oct 2008 13:52:13 +0000 (13:52 +0000)]
Adding a note about a missing part of "kill-the-user" - I got lost in the Ao2 world...
We're going to try to get time to fix this and kpfleming believes that there's code in ao2
so that we can solve it...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149542 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 149452 via svnmerge from
Kevin P. Fleming [Wed, 15 Oct 2008 11:26:36 +0000 (11:26 +0000)]
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/trunk@149487 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoreverting this change... had not read the commit list yet, didn't realize the code...
Kevin P. Fleming [Wed, 15 Oct 2008 10:16:29 +0000 (10:16 +0000)]
reverting this change... had not read the commit list yet, didn't realize the code had been upgraded

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149427 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agodo complete version check for SpanDSP, since the app_fax code is not compatible with...
Kevin P. Fleming [Wed, 15 Oct 2008 09:59:12 +0000 (09:59 +0000)]
do complete version check for SpanDSP, since the app_fax code is not compatible with 0.0.6 yet

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149426 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agobuilding this module depends on res_agi being built as well
Kevin P. Fleming [Wed, 15 Oct 2008 08:55:47 +0000 (08:55 +0000)]
building this module depends on res_agi being built as well

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149384 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoFixing sytax errors ;-)
Olle Johansson [Wed, 15 Oct 2008 07:45:09 +0000 (07:45 +0000)]
Fixing sytax errors ;-)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149342 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoWhen specifying an invalid timeout to Dial, take it
Mark Michelson [Tue, 14 Oct 2008 23:57:46 +0000 (23:57 +0000)]
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/trunk@149279 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 149266 via svnmerge from
Mark Michelson [Tue, 14 Oct 2008 23:44:44 +0000 (23:44 +0000)]
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/trunk@149271 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 149207 via svnmerge from
Mark Michelson [Tue, 14 Oct 2008 23:15:04 +0000 (23:15 +0000)]
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/trunk@149208 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 149204 via svnmerge from
Mark Michelson [Tue, 14 Oct 2008 23:04:44 +0000 (23:04 +0000)]
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/trunk@149205 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 149200 via svnmerge from
Mark Michelson [Tue, 14 Oct 2008 22:41:13 +0000 (22:41 +0000)]
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/trunk@149201 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdd additional memory debugging to several core APIs, and fix several memory
Tilghman Lesher [Tue, 14 Oct 2008 22:38:06 +0000 (22:38 +0000)]
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/trunk@149199 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 149130 via svnmerge from
Mark Michelson [Tue, 14 Oct 2008 21:08:48 +0000 (21:08 +0000)]
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/trunk@149131 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 149061 via svnmerge from
Tilghman Lesher [Tue, 14 Oct 2008 20:16:48 +0000 (20:16 +0000)]
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/trunk@149062 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdd missing documentation for SipShowRegistry action and RegistryEntry event.
Leif Madsen [Tue, 14 Oct 2008 19:35:54 +0000 (19:35 +0000)]
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/trunk@149040 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoBlocked revisions 148990 via svnmerge
Leif Madsen [Tue, 14 Oct 2008 19:21:54 +0000 (19:21 +0000)]
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/trunk@148991 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 148987 via svnmerge from
Tilghman Lesher [Tue, 14 Oct 2008 19:03:44 +0000 (19:03 +0000)]
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/trunk@148988 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoApp is ignoring 'p' parameter -- initial pause.
Tilghman Lesher [Tue, 14 Oct 2008 18:58:19 +0000 (18:58 +0000)]
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/trunk@148985 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 148916 via svnmerge from
Tilghman Lesher [Tue, 14 Oct 2008 17:46:48 +0000 (17:46 +0000)]
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/trunk@148917 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 148912 via svnmerge from
Mark Michelson [Tue, 14 Oct 2008 17:38:06 +0000 (17:38 +0000)]
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/trunk@148913 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAPI differences in spandsp 0.0.6pre1 and higher
Tilghman Lesher [Tue, 14 Oct 2008 15:15:45 +0000 (15:15 +0000)]
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/trunk@148868 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoFix reference count issue that Russell brought up in SIP MWI NOTIFY support. Bump...
Joshua Colp [Tue, 14 Oct 2008 15:00:41 +0000 (15:00 +0000)]
Fix reference count issue that Russell brought up in SIP MWI NOTIFY support. Bump the reference count up before we add it to the scheduler, duh.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148867 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAllow MWI registration for all configured lines.
Doug Bailey [Tue, 14 Oct 2008 14:18:46 +0000 (14:18 +0000)]
Allow MWI registration for all configured lines.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148825 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agofix some references to the owner of a private structure that may not be present
Kevin P. Fleming [Tue, 14 Oct 2008 11:31:40 +0000 (11:31 +0000)]
fix some references to the owner of a private structure that may not be present

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148754 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 148736 via svnmerge from
Kevin P. Fleming [Tue, 14 Oct 2008 10:33:14 +0000 (10:33 +0000)]
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/trunk@148738 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agothis structure should be static
Kevin P. Fleming [Tue, 14 Oct 2008 10:32:01 +0000 (10:32 +0000)]
this structure should be static

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148737 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoensure that *all* fields in the req structure are cleared out before reusing it;...
Kevin P. Fleming [Tue, 14 Oct 2008 09:31:50 +0000 (09:31 +0000)]
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/trunk@148695 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdding some clarifications
Olle Johansson [Tue, 14 Oct 2008 09:16:59 +0000 (09:16 +0000)]
Adding some clarifications

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148679 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 148611 via svnmerge from
Kevin P. Fleming [Tue, 14 Oct 2008 08:06:45 +0000 (08:06 +0000)]
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/trunk@148612 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerge realtime_update2 branch, which adds a new realtime API call named
Tilghman Lesher [Tue, 14 Oct 2008 00:08:52 +0000 (00:08 +0000)]
Merge realtime_update2 branch, which adds a new realtime API call named
'update2', which permits updates which match across multiple columns, instead
of requiring all tables to have a single unique identifier.  All of the other
API calls with the exception of 'update' already had the ability to match on
multiple fields, so it was a missing and very desireable feature that an API
call implementing an update should have this, too.

This does not change any outward performance of Asterisk, but it should make
life easier for application developers who use the RealTime framework.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148570 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoHmmm. Nobody (but me) is interested in seeing
Steve Murphy [Mon, 13 Oct 2008 17:14:38 +0000 (17:14 +0000)]
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/trunk@148519 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years ago- Doxygen formatting. (tss tss)
Olle Johansson [Mon, 13 Oct 2008 15:56:33 +0000 (15:56 +0000)]
- Doxygen formatting. (tss tss)
- Fixing language

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148474 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoHighlightning even more bugs in the current tcp/tls implementation.
Olle Johansson [Mon, 13 Oct 2008 15:49:01 +0000 (15:49 +0000)]
Highlightning even more bugs in the current tcp/tls implementation.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148473 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoSending a 403 after a 200 is considered very bad.
Olle Johansson [Mon, 13 Oct 2008 15:32:55 +0000 (15:32 +0000)]
Sending a 403 after a 200 is considered very bad.

(found at SIPit)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148471 65c4cc65-6c06-0410-ace0-fbb531ad65f3