Russell Bryant
fed5b6a9b4
Revert some changes that accidentally got committed as a part of another fix.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53134 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-03 20:39:45 +00:00
Russell Bryant
8c161f55e4
set the DIALSTATUS variable to contain "INVALIDARGS" when the dial application
...
exits early because of invalid arguments instead of just leaving it empty.
(issue #8975 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-03 20:38:13 +00:00
Joshua Colp
15538c732c
Pass the glob expanded filename to process_text_line so that error messages contain the actual filename, not the original include one. (issue #8959 reported by tzafrir)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53117 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-02 16:58:09 +00:00
Jason Parker
8ab0b28aba
Fix a small typo. Synopsis lines shouldn't have a newline
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53107 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 23:14:09 +00:00
Joshua Colp
ade14f36ea
Copy noncodeccapability over to the joint variable so that telephone-event will get transmitted in the sent INVITE.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53103 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 22:21:56 +00:00
Joshua Colp
d7dd6ed0a7
Don't negotiate RFC2833 when not configured to do so. (issue #8799 reported by mdu113)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 21:47:11 +00:00
Olle Johansson
8754f03658
- Make sure we release call from call counter before we destroy call (maybe #7744 and more)
...
- Backported by accident from 1.4
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 21:12:52 +00:00
Joshua Colp
8ea5a33c9e
Return previous behavior of having MOH pick up where it was left off. (issue #8672 reported by sinistermidget)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 21:03:10 +00:00
Tilghman Lesher
f8bed34be9
Bug 8965 - Allow FIELDQTY to work with both variables and dialplan functions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53074 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 20:07:35 +00:00
Tilghman Lesher
bc926d7f33
No wonder FIELDQTY doesn't work with functions... the documentation in pbx.c was wrong
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 19:13:53 +00:00
Russell Bryant
f9db7779f0
Fix a bunch of places where pthread_attr_init() was called, but
...
pthread_attr_destroy() was not.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53045 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-31 21:25:11 +00:00
Kevin P. Fleming
6564129ee7
update to match modified transcoder API
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53044 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-31 18:58:47 +00:00
Russell Bryant
ccce21be4f
Use the proper format string to print unsigned values in the rtp debug output.
...
(issue #8954 , wmis)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-31 17:41:51 +00:00
Kevin P. Fleming
fe394f23d4
allow codec_zap to build again, now that transcoder support is in zaptel 1.2
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-31 17:28:15 +00:00
Russell Bryant
ccd780463d
Don't print a message indicating that we don't know what to do with a proceeding
...
control frame in ast_request_and_dial(). We just need to ignore it.
(reported by JerJer on #asterisk-dev)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 19:41:52 +00:00
Russell Bryant
65a8360531
The SIGHUP handler was implemented to allow admins to send SIGHUP to a running
...
Asterisk process to reload the configuration. However, doing the actual reload
in the signal handler itself is a very bad thing to do, because the reload
process includes calling non-reentrant functions such as malloc/calloc/etc.
If Asterisk is running in the background, then the reload will happen
immediately. However, if running in console mode, the reload doesn't work
until something is typed at the console. That sort of defeats the purpose,
but I don't see an easy way to get around it at this point.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52903 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 17:12:04 +00:00
Russell Bryant
29d168987c
Comment out the parts in the Makefile that make codec_zap get built. It will
...
not yet build against zaptel 1.2, so I am disabling it to prevent further bug
reports until it gets merged.
(issue #8940 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52857 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 15:35:23 +00:00
Christian Richter
ec4c828386
fixed some possible segfaults. also fixed an very important bug which occurs on high load (when calls are very fast generated)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 14:38:08 +00:00
Russell Bryant
3d12e45f06
Fix the extraction of the timestamp from video frames. It was using the
...
mapping for a mini-frame instead of a video-frame, which caused it to
get invalid data.
(issue #8795 , mihai)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52762 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 00:15:06 +00:00
Joshua Colp
8ba938b508
Now that filename is part of the structure and since it comes before postprocess... we have to add it to our postprocess line. (reported on asterisk-dev by Boris Bakchiev)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 23:39:39 +00:00
Jason Parker
4659a0ac41
Use the correct zaptel header file location.
...
Currently, this will not build - transcoder support will be added to zaptel later today.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52503 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 16:48:26 +00:00
Joshua Colp
e06d0f644b
Make COMPLETECALLER and COMPLETEAGENT output to queue_log follow documentation. (issue #7677 reported by amilcar)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52415 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-27 02:09:10 +00:00
Joshua Colp
5e9fdf2aa7
Make the last context entry read in the dominant one. (issue #8918 reported by pj)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52360 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-27 00:03:23 +00:00
Joshua Colp
1cb1bbbe8d
Allow dequeueing of frames with negative timestamp by moving jitterbuffer frames check to jb_next. (issue #8546 reported by harmen)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52264 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-25 19:15:29 +00:00
Joshua Colp
245cdf50ba
Add another note about audio files being played back to each bridged party. (issue #8718 reported by ppyy)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52162 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-25 01:48:52 +00:00
Russell Bryant
5823b29f58
Fix a seg fault when running this application with no arguments from AGI.
...
(issue #8905 , junky)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-25 00:39:50 +00:00
Steve Murphy
75d7a0309a
updated check_expr via 8322 (refactoring of expression checking impl); elfring contributed a nice code reorg, I contributed some time to get it working again, better messages
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52002 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 17:43:50 +00:00
Christian Richter
34b5cd1de5
fixed the busy problem (dialstatus was not busy when we called a busy extension)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51966 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 10:48:09 +00:00
Russell Bryant
9eaff06d26
Fix an issue related to synchronization of recordings when using Monitor().
...
The bug is a miscalculation of the amount to seek the stream for writing to
disk when the number of samples coming in and out of a channel do not match up.
(issue #8298 , #8887 , report and patch by guillecabeza, patch files created and
testing done by whoiswes)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 00:57:28 +00:00
Russell Bryant
bd06c9494b
Don't set a new value for the END_ variable on the channel before using the
...
old value. If you do, it will lead to accessing a memory address that has
been free()'d. (issue #8895 , arkadia)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51828 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 00:17:50 +00:00
Joshua Colp
e1dc278941
Yield before reading from zaptel timing source under Solaris so that other threads get a chance to do things. (issue #7875 reported by bob)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51512 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 01:41:35 +00:00
Russell Bryant
14eece85c9
Merge codec_zap support for the transcoder card. This is a standalone codec
...
module so it will not affect anything else.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-22 19:39:30 +00:00
Joshua Colp
edca3010a4
Move filestream creation to Mixmonitor loop. This will prevent a blank file from being created if no frames ever pass through to be recorded. (issue #7589 reported by steve_mcneil)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-22 19:08:52 +00:00
Joshua Colp
d46636d6fa
Explicitly declare what codecs are supported by default globally since using a bitmask for all may include ones we don't need. (issue #8357 reported by gknispel_proformatique)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51359 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-22 16:23:03 +00:00
Russell Bryant
0a73ba87b1
Fix a memory leak on command line tab completion. The container for the
...
matches was freed, but the individual matches themselves were not.
(issue #8851 , arkadia)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51300 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 16:44:09 +00:00
Dwayne M. Hubbard
91d1c70906
issue 7877: chan_zap module reload does not use default/initialized values on subsequent loads. Reset configuration variables to default values prior to parsing configuration file.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51271 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 23:47:10 +00:00
Kevin P. Fleming
6926dd0fbe
support echo cancellers that can handle 64ms or 128ms of echo cancellation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 23:35:35 +00:00
Tilghman Lesher
3f07bd5034
If a timezone is not specified, assume localtime (instead of gmtime) (Issue #7748 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 21:11:34 +00:00
Tilghman Lesher
6f1d7511d1
Document all the fields, including the indication that "uniqueid" should not be renamed.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 17:42:17 +00:00
Russell Bryant
cbfeb816e1
Move the check for a failure of ast_channel_alloc() to before locking the
...
pvt structure again. Otherwise, on a failure, this will cause a deadlock.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-17 21:17:21 +00:00
Tilghman Lesher
0fad242a19
When ast_strip_quoted was called with a zero-length string, it would treat a
...
NULL as if it were the quoting character (and would thus return the string
in memory immediately following the passed-in string).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-17 20:52:21 +00:00
Tilghman Lesher
7015408cf8
Add documentation walkthrough on getting Postgres to work with voicemail (from Issue 8513)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 21:50:04 +00:00
Tilghman Lesher
c69d99c830
Postgres driver doesn't like a NULL pointer when retrieving the length (Bug 8513)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51158 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 21:26:06 +00:00
Joshua Colp
84a751aecd
Return previous behavior. ParkedCalls will be able to do DTMF based transfers again. trunk however will get an option to allow this to be set on/off. (issue #8804 reported by nortex)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51145 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 17:36:50 +00:00
Joshua Colp
ed7bdda7b0
Add none as a valid callgroup/pickupgroup option. I consider it a bug that it would inherit it all the way down and not have any way to reset it to nothing - so that's why it is in 1.2. (issue #8296 reported by gkloepfer)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 05:53:31 +00:00
Tilghman Lesher
e9b6a2c807
Check return value before dereferencing (Bug 8822)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@50987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-15 23:09:02 +00:00
Matt O'Gorman
741131aaa2
Solves issue with forwarding voicemails from folders other than inbox.
...
patch by anthonyl.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@50946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-15 20:44:53 +00:00
Tilghman Lesher
321c032c5e
Bug 8814 - db should look for its header using a relative path, instead of the system path (Fixes FreeWRT)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@50781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-14 05:01:16 +00:00
Kevin P. Fleming
808bcff9d0
minor documentation clarification
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@50561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-12 14:34:15 +00:00
Olle Johansson
2e738d5a7c
Issue #8793 bad response for Unsupported Extension (different fix).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@50517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-11 18:11:09 +00:00