Tilghman Lesher
6728ebb72c
cid is passed to a destructive function; thus a copy is needed (issue 7961)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43248 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-19 12:28:55 +00:00
Olle Johansson
eb4bd38c92
Issue #7682 - don't add contacts to 4xx responses.
...
(Ugly fix, not proud at all)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43220 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18 20:08:22 +00:00
Joshua Colp
b1708137da
Add deprecation notice about app_math (issue #7957 reported by k-egg)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18 15:30:26 +00:00
Steve Murphy
c8821eb38a
Clarified what "callwaiting" does in zapata.conf.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18 15:05:56 +00:00
Joshua Colp
e42bf94e06
Add number unobtainable tone for New Zealand (issue #7969 reported by nic_bellamy)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18 15:05:39 +00:00
Tilghman Lesher
88ccb83574
Directory used the wrong context for delivery of 0- and *- keypresses
...
(according to Directory's own documentation) - Issue 7965
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43072 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-17 13:54:34 +00:00
Tilghman Lesher
a729fb97e4
When a realtime peer expires, reset the ipaddress in the realtime database back to 0 (Issue 6656)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-16 07:57:04 +00:00
Tilghman Lesher
b2122691de
When the marked user enters the conference, we should no longer timeout
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-16 04:44:02 +00:00
Tilghman Lesher
1df9da9fef
Error message references wrong argument (Issue 7951)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-14 22:16:31 +00:00
Tilghman Lesher
ca79503d56
Backport bugfix patch from 7918 to 1.2 - msg_cfg destroyed before used
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42892 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-13 19:51:24 +00:00
Tilghman Lesher
9c8d9ce377
When paging, only wait 5 seconds for the marked user to enter the conference.
...
After that, assume the paging already completed by the time the channel entered
the conference and drop back out. (Issue 7275)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11 21:47:23 +00:00
Tilghman Lesher
438f99e100
Spelling/grammar fixes (Issue 7929)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11 16:39:06 +00:00
Tilghman Lesher
fd0496f3f6
Two grammar issues (bug 7927)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11 14:40:13 +00:00
Joshua Colp
cc0f191aab
Only truly consider the channel in the same format if the format matches the raw format OR if a translation path already exists to translate between them. (issue #7887 reported by softins & issue #7803 reported by alvaro_palma_aste). Thanks goes to stubert for giving me access to a box and showing me a scenario where this occured.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-09 20:24:19 +00:00
Olle Johansson
ed09034360
- Reset proper flag
...
- Don't delete SIP dialog prematurely
Strangely enough imported from svn trunk... It's confusing here in Greenland.
(Committing from 36.000 feet above Greenland, on the way to asterisk@von
http://www.pulver.com/asterisk )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42535 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-09 12:14:03 +00:00
Joshua Colp
25c493ffdc
Swap spies during masquerading
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42452 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-08 18:50:43 +00:00
Tilghman Lesher
ec7535bba2
Jump logic was backwards: goto returns 0 if it succeeds, and we should jump if authentication fails. (Bug #7907 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-08 16:06:17 +00:00
Joshua Colp
a4e28347fe
Use ast_best_codec to set the read/write format
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42402 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-08 04:37:07 +00:00
Tilghman Lesher
0cfb462845
Format vulnerability fix - allowing the user to specify a format is not a good idea (Bug 7811)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42355 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-07 23:12:29 +00:00
Joshua Colp
0367363edb
Let's use the same thing we use in other places to calculate our time for ast_cond_timedwait (issue #7697 reported by bn999)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-07 16:30:44 +00:00
Steve Murphy
d3d62f3678
This should fix the problem reported in 7564: logger config file errors getting lost because logging isn't configured yet. The problem was that the code that exists to handle this case was not getting reached, because other tests were causing an early return from ast_log().
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-07 02:14:14 +00:00
Steve Murphy
283039a071
added hours,minutes,seconds .gsm files to the install portion of the makefile, as per bug 7545
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42150 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-06 20:09:10 +00:00
Joshua Colp
754cb0114f
Don't close the second file descriptor if it's the same as the first one, as it will have already been closed elsewhere and could cause massive panic. (issue #7699 reported by bn999)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-06 20:02:59 +00:00
BJ Weschke
ff9fce4bb8
Look ma! No more deadlocks! <sic>
...
As posted from #7458 and others similar to it in Mantis:
p->app_lock was a mutex really designed for use with agents not in callback mode. That being the case, I've tried to code it so that when callback mode is used, the app_lock mutex will not be locked/unlocked at all. Please let me know how you make out - and if you continue to deadlock now, please reproduce the deadlock logging information and post to Mantis.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-06 18:16:41 +00:00
Christian Richter
8be5b66038
fixed pipe consuming bug when using chanIsAvail ( #7878 ), also moved a debug log to the very begining of misdn_hangup.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42110 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-06 17:10:41 +00:00
Joshua Colp
e627ecb8a7
Make realtime regseconds work as people expected (0 on registration expiration or release, and actual on normal state) (issue #7684 reported by kshumard)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-06 15:55:20 +00:00
Joshua Colp
68de3c0b29
Merge in last round of spy fixes. This should hopefully eliminate all the issues people have been seeing by distinctly separating what each component (core/spy) is responsible for. Core is responsible for adding a spy to a channel, feeding frames to the spy, removing the spy from a channel, and telling the spy to stop. Spy is responsible for reading frames in, and cleaning up after itself.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-05 20:02:48 +00:00
Jason Parker
cc82df15ff
Small typo in zapata.conf.sample
...
Reported by ppyy in 7881
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42014 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-05 16:27:46 +00:00
Olle Johansson
9eb92ed083
Don't kill the pvt before we have sent ACK on CANCEL (needs more testing before making a release)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-04 15:46:07 +00:00
BJ Weschke
a05a361fc3
Make sure the forwarded channel inherits variables appropriately when we receive a call forward in the queue. ( #7867 - raarts reported and patched)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41882 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-03 17:38:22 +00:00
BJ Weschke
aaf0ad7b77
Don't keep trying the same member in certain strategies when members of the queue are unavailable ( #7278 - diLLec reported and patched) - This should have been patched here first and then merged into /trunk. My bad!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-03 17:13:38 +00:00
BJ Weschke
919cb0b1a8
Let's NOT spy on Zap/psuedo channels, mmmmmmmmk?
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-03 14:50:59 +00:00
BJ Weschke
c3b61adc5b
Setting a retry of 0 is generally not a good idea and shouldn't be allowed. ( #7574 - reported by regin)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41827 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-03 14:16:08 +00:00
Joshua Colp
1e21d7a537
Only wipe the redirected audio & video IP/port if it's specified, and trigger a reinvite.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41768 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-01 22:49:07 +00:00
Kevin P. Fleming
abb4e3a3a4
put in proper fix for issue #7294 instead of the broken partial fix that was committed, and thereby also fix issue #7438
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-01 17:35:06 +00:00
Joshua Colp
c42a8d9b99
Finish up the last commit (was worse then originally reported)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-01 16:33:00 +00:00
Joshua Colp
a5641b46de
Don't treat an unexpected control subclass as voice (issue #7858 reported by PCadach)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-01 16:28:08 +00:00
Olle Johansson
abfcb8d31e
Issue #7572 - Hangup when receiving a buggy 487 response to an INVITE
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-30 19:01:55 +00:00
Russell Bryant
e174a3c762
Restore original functionality of 1.2 in places where ANI was not set, but was
...
changed to be set. The original change was done to ensure that the behavior of
the "callerid" option in each channel driver was consistent, but it caused an
unexpected behavior change of CDR records for users, so this change is being
reverted in 1.2. (issue #7695 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-30 18:59:44 +00:00
Joshua Colp
6b466228c4
Properly handle an ETIMEDOUT result from pthread_cond_timedwait (issue #7318 reported by arkadia)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41390 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-30 17:58:31 +00:00
Olle Johansson
955aa04edc
Issue 7822 - don't use SRV lookups if it's disabled.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41334 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-30 14:31:47 +00:00
Russell Bryant
41fad4887e
clean up last commit ... most notably, there is no reason to do heap
...
allocations here, and it also included a potential memory leak
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-29 13:33:34 +00:00
Steve Murphy
c6d94b0d89
Fixes for bug 7813, via patch submitted by stevens.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-29 05:49:12 +00:00
Steve Murphy
c4f13b4c28
Removed from the docs the mention of the ! and =~ operators, as these
...
were knocked out of ast_expr2 because they were new features. Let's hope
I can keep them from getting knocked out of the trunk, too!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-28 20:51:08 +00:00
Steve Murphy
6daea8e8fb
According to a note added to 7731 by mneuhauser, this
...
will repair a break caused by the last fix (7731).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-28 19:06:55 +00:00
Matthew Fredrickson
640f0361b9
There, much better.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 15:21:18 +00:00
Matthew Fredrickson
3bfeacea91
Don't send proceeding twice ( #7800 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 15:13:43 +00:00
Tilghman Lesher
e83bbab1ec
Text only - clarify the reason for entry into authentication mode when the skipuser option is ignored
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 15:07:16 +00:00
Russell Bryant
034a919e1f
Fix a few issues related to the handling of channel variables
...
- in pbx_builtin_serialize_variables(), the variable list traversal would stop
on a variables with empty name/values, which is not appropriate
- When removing the GROUP variables, use AST_LIST_REMOVE_CURRENT instead of
AST_LIST_REMOVE
- During masquerading, when copying the variables list from one channel to the
other, using AST_LIST_INSERT_TAIL is not valid for appending a whole list.
It leaves the tail pointer of the list invalid. Introduce a new macro,
AST_LIST_APPEND_LIST that appends a list properly.
(issue #7802 , softins)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-24 19:41:26 +00:00
Joshua Colp
761d98663f
I can type english. Honest. Thanks Kenny.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-24 17:13:04 +00:00