Archived
14
0
Fork 0
Commit graph

16358 commits

Author SHA1 Message Date
tilghman
760bef10f8 e->data can be NULL, so use the safe version of ast_strdup()
(closes issue #13312)
 Reported by: pj


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@138124 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-15 19:22:48 +00:00
tilghman
457612c808 regseconds is actually stored as the epoch time, not registration length
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@138086 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-15 18:02:15 +00:00
russell
a5a8f37d9a Merged revisions 138027 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r138027 | russell | 2008-08-15 10:07:16 -0500 (Fri, 15 Aug 2008) | 9 lines

Ensure that when a hangup occurs in autoservice, that a hangup frame gets
properly deferred to be read from the channel owner when it gets taken out
of autoservice.

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

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@138028 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-15 15:09:46 +00:00
tilghman
9a40998bb3 Merged revisions 138023 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r138023 | tilghman | 2008-08-15 09:51:12 -0500 (Fri, 15 Aug 2008) | 8 lines

Additional check for more string specifiers than arguments.
(closes issue #13299)
 Reported by: adomjan
 Patches: 
       20080813__bug13299.diff.txt uploaded by Corydon76 (license 14)
       func_strings.c-sprintf.patch uploaded by adomjan (license 487)
 Tested by: adomjan

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@138024 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-15 15:03:32 +00:00
russell
7d9fa10c33 Fix a bashism that causes an error when trying to build the pdf on ubuntu
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137987 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-14 22:43:15 +00:00
seanbright
f0179a2d10 Fix memory leak in cdr_sqlite3_custom.
(closes issue #13304)
Reported by: eliel
Patches:
      sqlite.patch uploaded by eliel (license 64)
      (Slightly modified by me)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137933 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-14 18:47:28 +00:00
russell
940481dcd2 Prepare for adding 1.6.2 changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137901 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-14 18:12:16 +00:00
tilghman
a598274e84 Blocked revisions 137850 via svnmerge
........
r137850 | tilghman | 2008-08-14 11:55:20 -0500 (Thu, 14 Aug 2008) | 2 lines

Oops, wrong direction

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137851 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-14 17:01:00 +00:00
tilghman
e9ce07ce2c Merged revisions 137847 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r137847 | tilghman | 2008-08-14 11:47:30 -0500 (Thu, 14 Aug 2008) | 9 lines

When creating the secondary subchannel name, it is necessary to compare to
the existing channel name without the "Zap/" or "DAHDI/" prefix, since our
test string is also without that prefix.
(closes issue #13027)
 Reported by: dferrer
 Patches: 
       chan_zap-1.4.21.1_fix2.patch uploaded by dferrer (license 525)
       (Slightly modified by me, to compensate for both names)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137848 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-14 16:52:43 +00:00
qwell
db46127972 Make sure we set the socket port, so we don't try to use <ip address>:0.
(closes issue #13255)
Reported by: falves11
Patches:
      13255-socketport.diff uploaded by qwell (license 4)
Tested by: falves11


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137812 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-14 15:32:16 +00:00
seanbright
1a0b3cb4c4 If we detect that we are no longer connected, try to reconnect a few times
before giving up.  This relies on the timeout settings in the freetds.conf
file and, unfortunately, on a recent version of FreeTDS (0.82 or newer).

I either need to change the current execs to be non-blocking (which I do
not want to do) or we have to force people to run with the latest and
greatest of FreeTDS.  I'm on the fence...


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137780 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-14 15:03:03 +00:00
russell
b3618774c0 Merged revisions 137731 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r137731 | russell | 2008-08-14 09:05:23 -0500 (Thu, 14 Aug 2008) | 4 lines

Comments in this config file were aligned only if your tab size was set to 8.
So, convert tabs to spaces so that things should be aligned regardless of what
tab size you use in your editor.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137732 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-14 14:15:50 +00:00
kpfleming
ba4124df83 Merged revisions 137679 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r137679 | kpfleming | 2008-08-13 21:03:04 -0500 (Wed, 13 Aug 2008) | 1 line

forgot one module name that changed
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137680 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-14 02:03:47 +00:00
kpfleming
9381c9ccbc Blocked revisions 137677 via svnmerge
........
r137677 | kpfleming | 2008-08-13 21:02:15 -0500 (Wed, 13 Aug 2008) | 2 lines

add support for Zaptel versions that contain the new transcoder interface

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137678 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-14 02:02:37 +00:00
kpfleming
e796331236 make this script actually work
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137640 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-13 23:00:37 +00:00
kpfleming
cc3f8c6dc7 Merged revisions 137530 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r137530 | kpfleming | 2008-08-13 15:46:19 -0500 (Wed, 13 Aug 2008) | 1 line

add document describing what users will need to be aware of when upgrading to this version and using DAHDI
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137627 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-13 22:33:32 +00:00
jpeeler
48fdb0f3ee Blocked revisions 137580 via svnmerge
........
r137580 | jpeeler | 2008-08-13 16:35:37 -0500 (Wed, 13 Aug 2008) | 3 lines

Register DAHDISendKeypadFacility application if dahdi_chan_mode is set to DAHDI + Zap. Mark ZapSendKeypadFacility application as deprecated on usage.


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137582 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-13 21:49:11 +00:00
qwell
79b9b09365 Correctly end locally ended calls.
(closes issue #12170)
Reported by: pj
Patches:
      20080702__issue12170_clear_pendinginvite.diff uploaded by bbryant (license 36)
Tested by: bbryant, pabelanger


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137532 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-13 21:08:58 +00:00
kpfleming
3006400b15 Blocked revisions 137527,137529 via svnmerge
........
r137527 | kpfleming | 2008-08-13 15:33:47 -0500 (Wed, 13 Aug 2008) | 5 lines

document dahdichanname option in doc/asterisk-conf.txt

make chan_dahdi read its configuration from zapata.conf if dahdichanname has been set to 'no'


........
r137529 | kpfleming | 2008-08-13 15:42:33 -0500 (Wed, 13 Aug 2008) | 2 lines

remove some more chan_zap references

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137531 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-13 20:47:42 +00:00
qwell
a9d19e55cf Add FAXMODE variable with what fax transport was used.
(closes issue #13252)
Patches:
      v1-13252.patch uploaded by dimas (license 88)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137496 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-13 20:05:50 +00:00
tilghman
5b29c8aed1 Convert deprecated routines to the new names.
(closes issue #13297)
 Reported by: snuffy
 Patches: 
       bug13297_20080814.diff uploaded by snuffy (license 35)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137456 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-13 17:36:15 +00:00
seanbright
e945aff9ca Merged revisions 137405 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r137405 | seanbright | 2008-08-13 10:33:49 -0400 (Wed, 13 Aug 2008) | 1 line

Update docs to reflect the change to cdr_tds
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137406 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-13 14:41:49 +00:00
seanbright
cbb6473eba Use the ast_vasprintf macro instead of vasprintf directly.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137403 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-13 14:22:47 +00:00
seanbright
9b37c61e1e Blocked revisions 137348 via svnmerge
........
r137348 | seanbright | 2008-08-12 20:10:35 -0400 (Tue, 12 Aug 2008) | 8 lines

Bring cdr_tds in line with the other CDR backends and have it try to store
CDR(userfield) if it is set.  The new behavior is to check for the userfield
column on module load, and if it exists, we will store CDR(userfield) when
CDRs are written.  A similar patch already went into trunk and 1.6.0.

(closes issue #13290)
Reported by: falves11

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137349 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-13 00:11:13 +00:00
russell
6de3a3f7cf Grammar hax from Qwell
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137301 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-12 19:48:38 +00:00
russell
4987366874 Note that developer documentation belongs in doxygen, and not integrated with
the user manual stuff in doc/tex/.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137299 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-12 19:40:35 +00:00
russell
27f372f2af Make PRINT_DIR work as advertised.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137239 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-11 16:14:29 +00:00
seanbright
ff2f832957 Log the userfield CDR variable like the other CDR backends, assuming the
column is actually there.  If it's not, we still log everything else as
before.

(closes issue #13281)
Reported by: falves11


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137203 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-11 14:25:15 +00:00
tilghman
649c9d9460 Merged revisions 137138 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r137138 | tilghman | 2008-08-10 19:20:38 -0500 (Sun, 10 Aug 2008) | 5 lines

Deallocate database connection handle on disconnect, as we allocate another
one on connect.
(closes issue #13271)
 Reported by: dveiga

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137150 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-11 00:25:28 +00:00
seanbright
5c5c1206a0 Fix this again so we can compile with shadow warnings enabled and IMAP chosen
in voicemail.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137112 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-10 21:10:04 +00:00
seanbright
629f375c67 That's all, folks. Not going to update the Makefile until res_jabber is
converted (snuffy, you there? :))


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137110 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-10 20:57:25 +00:00
seanbright
9ae91f799a Another batch of files from RSW. The remaining apps and a few more
files from main/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137089 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-10 20:23:50 +00:00
seanbright
8cb986b936 Another big chunk of changes from the RSW branch. Bunch of stuff from main/
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137082 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-10 19:35:50 +00:00
seanbright
842faddb76 More RSW merges. Everything from apps/ except for the big offenders
app_voicemail and app_queue.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137055 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-10 14:45:25 +00:00
seanbright
1013afa1ad All of the res/ stuff (other than res_jabber) from the RSW branch.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137028 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-10 00:47:56 +00:00
tilghman
a7d5d82326 Merged revisions 136946 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r136946 | tilghman | 2008-08-09 10:25:36 -0500 (Sat, 09 Aug 2008) | 10 lines

Merged revisions 136945 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r136945 | tilghman | 2008-08-09 10:24:36 -0500 (Sat, 09 Aug 2008) | 2 lines

Regression fixes for Solaris

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136947 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-09 15:26:27 +00:00
seanbright
3d55cb9df3 More RSW merges. This should do it for the channels/ dir.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136917 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-09 14:12:34 +00:00
seanbright
428ca97131 Biggest offender? chan_dahdi.c! More RSW merging.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136890 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-09 13:13:48 +00:00
seanbright
b7fbcbae3f Merge more changes from the resolve-shadow-warnings branch (henceforth known
as RSW since i am too lazy to keep typing it all out).  This time a few of
the channels.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136888 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-09 12:53:57 +00:00
tilghman
474f8606ea Update documentation as to the behavior of AGI in 1.6.0 and higher. Also, add
an OOB message that answers the question of, if AGI no longer shuts down the
connection on hangup, how will FastAGI know when to stop processing the call?


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136859 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-09 01:15:38 +00:00
seanbright
3944364da6 Bring in the configure and makeopts jazz for -Wshadow, but don't add it to the
Makefile yet.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136819 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-08 18:19:33 +00:00
dhubbard
385b99a0ae use ARRAY_LEN
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136787 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-08 15:58:38 +00:00
mmichelson
83da2da55a Fix compilation for ODBC voicemail
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136784 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-08 15:31:31 +00:00
tilghman
e48c5b12b6 Removing bad properties
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136751 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-08 02:34:17 +00:00
murf
075de98c93 Merged revisions 136726 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r136726 | murf | 2008-08-07 18:15:34 -0600 (Thu, 07 Aug 2008) | 32 lines


(closes issue #13236)
Reported by: korihor

Wow, this one was a challenge!

I regrouped and ran a new strategy for
setting the ~~MACRO~~ value; I set it once
per extension, up near the top. It is only
set if there is a switch in the extension.

So, I had to put in a chunk of code to detect
a switch in the pval tree.

I moved the code to insert the set of ~~exten~~
up to the beginning of the gen_prios routine, 
instead of down in the switch code.

I learned that I have to push the detection
of the switches down into the code, so everywhere
I create a new exten in gen_prios, I make sure
to pass onto it the values of the mother_exten
first, and the exten next.

I had to add a couple fields to the exten
struct to accomplish this, in the ael_structs.h
file. The checked field makes it so we don't
repeat the switch search if it's been done.

I also updated the regressions.


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136746 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-08 00:48:35 +00:00
mmichelson
13519ded95 Remove one last batch of debug messages
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136722 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07 23:39:50 +00:00
mmichelson
1e9cc0fd74 Fix build for non-IMAP storage and get rid of some
debug messages.
Thanks to eliel for alerting me.
No thanks to buildbot.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136720 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07 23:38:08 +00:00
mmichelson
153c66dc48 Merging the imap_consistency_trunk branch to
trunk.

For an explanation of what "imap_consistency" is,
please see svn revision 134223 to the 1.4 branch.

Coincidentally, this also fixes a recent bug report
regarding the inability to save messages to the new
folder when using IMAP storage since they will would
be flagged as "seen" and not be recognized as new
messages.


(closes issue #13234)
Reported by: jaroth




git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136715 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07 22:25:50 +00:00
mvanbaak
4050034860 show correct called party id and also store this to the 'placed calls' list once the call is connected.
(closes issue #13180)
Reported by: pj
Patches:
      2008080700_skinny_calledpartyid.diff uploaded by mvanbaak (license 7)
Tested by: mvanbaak, pj


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136679 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07 21:19:39 +00:00
sruffell
cc06499d99 Updating codec_dahdi to the new transcoder interface.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136676 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07 20:54:52 +00:00