dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

11126 Commits

Author SHA1 Message Date
file caa45439cc Get rid of unneeded code, fix a spelling mistake, and use registry state a bit more. (issue #8402 reported by rizzo)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50709 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-13 04:56:25 +00:00
file 02cb9a94d9 Clarify what the trunkmaxsize value is in (bytes).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50704 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-13 04:07:04 +00:00
file 7e55af6123 Drop trunkrealloc option and just have the maximum size be a configurable option. This is per Kevin's comments on -dev and my own thoughts after I put the previous option in.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50698 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-13 04:04:04 +00:00
file 8309b003be Ensure error variable is set to 0 or else we might get false error messages. (issue #8798 reported by tootai, fix by anthonyl)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50677 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-13 03:37:10 +00:00
file 11ea4709c8 Merge in trunkrealloc option for chan_iax2. (issue #8267 reported by marcodmb, branch by anthonyl)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50676 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-13 03:26:04 +00:00
file 7a17d3c4cc Merged revisions 50674 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50674 | file | 2007-01-12 22:04:55 -0500 (Fri, 12 Jan 2007) | 2 lines

Only join the snmp thread on an unload if the thread is actually running. (issue #8810 reported by junky)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50675 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-13 03:06:24 +00:00
qwell 27151ac15f Merged revisions 50647 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50647 | qwell | 2007-01-12 13:24:40 -0600 (Fri, 12 Jan 2007) | 2 lines

Update documentation to state that you shouldn't use realtime static with voicemail.conf

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50648 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-12 19:25:26 +00:00
file 451d1a2d55 Exit from session loop upon error (ie: they disconnected) and don't do any buffer manipulation in do_message. get_input will handle it.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50629 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-12 18:13:50 +00:00
file 9b1dfc49c6 Merged revisions 50602 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50602 | file | 2007-01-12 11:42:33 -0500 (Fri, 12 Jan 2007) | 2 lines

We need to check for res being 0 in do_message itself, otherwise our headers will get lost.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50603 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-12 16:47:20 +00:00
kpfleming 1fe1dccf33 make the automatic post-answer delay happen only when the answer is 'automatic' (not done by the Answer() dialplan application)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50571 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-12 15:01:46 +00:00
kpfleming 809525b045 Merged revisions 50562 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r50562 | kpfleming | 2007-01-12 08:42:24 -0600 (Fri, 12 Jan 2007) | 10 lines

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

........
r50561 | kpfleming | 2007-01-12 08:34:15 -0600 (Fri, 12 Jan 2007) | 2 lines

minor documentation clarification

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50563 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-12 14:45:20 +00:00
kpfleming fed10bc0b7 when a channel gets automatically answered by an application, sleep a bit to give the audio path (for VOIP channels) time to be setup
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50538 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-11 23:42:14 +00:00
file eab6d141fa Merged revisions 50468 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50468 | file | 2007-01-11 00:53:09 -0500 (Thu, 11 Jan 2007) | 2 lines

Remove check for channel state as it can definitely be something other then ring, and also clean up the code a bit. This should solve the parking issues and maybe some attended transfer issues people have been seeing.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50469 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-11 05:54:14 +00:00
file 56f828fb5c Merged revisions 50466 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50466 | file | 2007-01-11 00:19:39 -0500 (Thu, 11 Jan 2007) | 2 lines

Add support to see whether NAT was detected (yay symmetric RTP) and also add a check in chan_sip so that if NAT has been detected and the reinvite behind nat option has been turned off, then just do partial bridge. (issue #8655 reported by mnicholson)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50467 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-11 05:21:03 +00:00
file 1dc669e571 Merged revisions 50433 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50433 | file | 2007-01-10 15:25:44 -0500 (Wed, 10 Jan 2007) | 2 lines

Merge speech-multi branch which adds support for joining multiple sound files together to be played one after another in SpeechBackground.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50434 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-10 20:26:55 +00:00
file 58da384069 Merged revisions 50405 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50405 | file | 2007-01-10 14:46:29 -0500 (Wed, 10 Jan 2007) | 2 lines

Fix parsing when using something like ldap settings. (done by anthonyl)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50406 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-10 19:49:26 +00:00
file c6eff55cd4 Return the useless casts that ensure this file is C++ clean. (issue #8602 reported by mikma)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50397 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-10 19:02:58 +00:00
file 8800527734 Merged revisions 50377 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50377 | file | 2007-01-10 13:32:29 -0500 (Wed, 10 Jan 2007) | 2 lines

Fix chan_sip not working issue. Let's not prematurely return 0. (issue #8783 reported by st41ker)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50378 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-10 18:34:45 +00:00
qwell e1d6c6b9a1 Merged revisions 50346 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50346 | qwell | 2007-01-10 10:45:36 -0600 (Wed, 10 Jan 2007) | 4 lines

Reverse some logic in cdr_manager, which made it fail to load if the config file existed.

Issue 8777

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50347 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-10 16:47:23 +00:00
file e697c0393a Merged revisions 50298 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r50298 | file | 2007-01-09 23:55:13 -0500 (Tue, 09 Jan 2007) | 10 lines

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

........
r50295 | file | 2007-01-09 23:51:06 -0500 (Tue, 09 Jan 2007) | 2 lines

Add another return value to dial_exec_full that indicates execution is going to continuing at a new extension/context/priority and to just let it slide. (issue #8598 reported by jon)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50302 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-10 04:56:48 +00:00
file af22989109 Allow usedistinctiveringdetection and distinctiveringaftercid to be reset during a reload. (issue #8739 reported by tzafrir)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50294 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-10 04:21:46 +00:00
file abf42442c7 Merged revisions 50266 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50266 | file | 2007-01-09 22:51:29 -0500 (Tue, 09 Jan 2007) | 2 lines

Ensure data's existence before trying to access it. (issue #8774 reported by rcourtna)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50267 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-10 03:53:30 +00:00
russell 96b4b4cec6 Covert some spaces to tabs, and put a list of defines in an enum.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50230 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-10 02:50:06 +00:00
russell 072c8f498c Merged revisions 50228 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r50228 | russell | 2007-01-09 21:17:46 -0500 (Tue, 09 Jan 2007) | 14 lines

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

........
r50227 | russell | 2007-01-09 21:16:45 -0500 (Tue, 09 Jan 2007) | 6 lines

Make the number that represents the major version number a single digit instead
of 2.  Using two digits makes it an octal number when put into version.h, which
breaks the compilation of any out of tree module that checks the version for
any version after 1.2.7 (reported by Matteo Brancaleoni on the asterisk-dev
mailing list, who gave credit to vihai for pointing it out)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50229 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-10 02:19:47 +00:00
qwell 202a8e88ab Blocked revisions 50186 via svnmerge
........
r50186 | qwell | 2007-01-09 11:11:53 -0600 (Tue, 09 Jan 2007) | 4 lines

Re-add CLI command that should have only been deprecated in 1.4.

Thanks kshumard!  (reported in person, so no associated issue #)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50187 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-09 17:12:45 +00:00
tilghman c5664a7a2b Merged revisions 50151 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r50151 | tilghman | 2007-01-09 07:40:45 -0600 (Tue, 09 Jan 2007) | 12 lines

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

........
r50150 | tilghman | 2007-01-09 07:30:04 -0600 (Tue, 09 Jan 2007) | 4 lines

The advent of realtime has enabled people to use commas in the fullname field.
This could cause an issue with sending voicemails, when the field is unquoted.
(Issue 8595)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50152 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-09 13:45:14 +00:00
oej bd5fd68b95 Based on the following patch, changed for trunk...
Merged revisions 50124 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50124 | oej | 2007-01-09 12:25:20 +0100 (Tue, 09 Jan 2007) | 3 lines

- handle re-invites properly in sip_hangup()
- Add some invitestate status changes just to be sure

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50132 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-09 12:25:33 +00:00
qwell 9e33bd0ded Merged revisions 50098 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50098 | qwell | 2007-01-08 17:39:12 -0600 (Mon, 08 Jan 2007) | 4 lines

Fix an issue with voicemail and users.conf, where it wouldn't ever parse a password, since it was using "secret" instead of "password"

Issue 8761, reported by and patch suggestion from ssokol.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50099 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-08 23:40:28 +00:00
file 0c89202c3b Move channel acquisition to when the translation path is setup, and clean up.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50075 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-08 21:40:45 +00:00
mogorman d7e7454bd5 Merged revisions 50073 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.4

........
r50073 | mogorman | 2007-01-08 15:11:16 -0600 (Mon, 08 Jan 2007) | 1 line

we can't unlock a channel if we cant find it. - AnthonyL bug #8741
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50074 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-08 21:17:51 +00:00
file fc31d4eec7 Make callback declaration match one used in trunk.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50056 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-08 20:10:23 +00:00
file ae78bf55e5 Change trylock output for what already has the lock from an error to a warning.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50034 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-08 18:26:50 +00:00
file a5f38dd107 Merged revisions 50032 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50032 | file | 2007-01-08 13:21:31 -0500 (Mon, 08 Jan 2007) | 2 lines

Disable the more intense packet2packet bridging until the bugs can be worked out.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50033 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-08 18:23:39 +00:00
oej da3190c76f Merged revisions 50006 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50006 | oej | 2007-01-08 15:26:14 +0100 (Mon, 08 Jan 2007) | 11 lines

Issue #8677 - Handle failure of T.38 re-invite

This is not a fix, but adding an error message to tell the admin that
we have a bad configuration. We should not send T.38 re-invites to devices
that can't handle it (with the current architecture where you have to
hard-code t.38 support per device).

To really fix this, we need to figure out a way to tell the incoming
call that the re-invite failed, so we can signal failure on that
end and go back to the original call.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50007 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-08 14:31:16 +00:00
oej fd7b19626d Merged revisions 49983 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49983 | oej | 2007-01-08 14:28:18 +0100 (Mon, 08 Jan 2007) | 3 lines

Issue #8524, support multiple via header values (tardieu)
	Thanks!

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49984 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-08 13:34:56 +00:00
oej 38af1ed26e Issue #8663 - Add passthrough support for MPEG4 (neutrino88).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49968 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-08 11:49:23 +00:00
oej f59af2bd99 Merged revisions 49945 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49945 | oej | 2007-01-08 10:08:10 +0100 (Mon, 08 Jan 2007) | 2 lines

We only need one forward declaration

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49946 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-08 09:22:53 +00:00
oej 7a9cdcb066 Merged revisions 49925 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49925 | oej | 2007-01-08 09:55:03 +0100 (Mon, 08 Jan 2007) | 2 lines

Issue 8735: Terminate state when extension is unavailable for subscription

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49931 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-08 08:57:35 +00:00
file b60c3f8a49 Merged revisions 49890 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r49890 | file | 2007-01-08 00:11:54 -0500 (Mon, 08 Jan 2007) | 10 lines

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

........
r49889 | file | 2007-01-08 00:10:07 -0500 (Mon, 08 Jan 2007) | 2 lines

Ensure we use the default refresh value of 60 if the remote server does not send one. (issue #8746 reported by maethor)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49891 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-08 05:13:24 +00:00
kpfleming 2ae97ef25a Merged revisions 49866 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49866 | kpfleming | 2007-01-07 21:53:53 -0600 (Sun, 07 Jan 2007) | 2 lines

since we use AC_PATH_TOOL to find tools, we should use the results it provides for us (reported by Brian Capouch on the asterisk-dev list)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49870 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-08 03:56:06 +00:00
tilghman 0c76cd474e Merged revisions 49834 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r49834 | tilghman | 2007-01-07 15:44:52 -0600 (Sun, 07 Jan 2007) | 10 lines

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

........
r49833 | tilghman | 2007-01-07 15:43:10 -0600 (Sun, 07 Jan 2007) | 2 lines

If openstream fails, then we crash (Issue 8564)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49835 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-07 21:46:38 +00:00
tilghman b3a705454a Merged revisions 49831 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49831 | tilghman | 2007-01-07 15:24:04 -0600 (Sun, 07 Jan 2007) | 2 lines

Second condition was a subset of the first, so hold was never decremented, thus hint stayed stuck (Issue 8747)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49832 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-07 21:26:43 +00:00
file bfdb62e093 One const, two const. Let's stick with everything else - one const. Plus older versions of GCC don't support double const either.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49816 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-07 19:00:36 +00:00
tilghman b218a25733 When calling the Realtime app more than once, unset fields which were
previously set are erroneously still set (Bug 6701).  After discussion,
it was determined this should only be changed in trunk.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49801 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-07 16:21:12 +00:00
tilghman d78e74ce7e Modifications to allow the output of SHELL() to be split per line (Issue 8676)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49786 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-07 14:44:49 +00:00
tilghman 11ebcfbc4a Add function to execute a shell command and return the output (Issue 8676)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49785 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-07 14:40:48 +00:00
tilghman 434af92d0e Reduce duplication of code (Issue 6542)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49784 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-07 14:32:20 +00:00
qwell ab72b6bec8 Fix a segfault when using "countries" that don't have a matching zone.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49769 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-07 07:43:52 +00:00
qwell fb97e146a9 Merged revisions 49742 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49742 | qwell | 2007-01-05 18:24:38 -0600 (Fri, 05 Jan 2007) | 7 lines

Save 1 whopping byte of allocated memory!

This looks like it may have been a chicken/egg scenario..

You had to call a cleanup func, because everything was allocated.
Then since you had to call a cleanup func, you were forced to allocate - ie; strdup("").

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49743 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-06 00:28:16 +00:00
kpfleming 781c168b07 finish const-ifying ast_func_read()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49741 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-06 00:13:33 +00:00