]>
git.ipfire.org Git - thirdparty/asterisk.git/log
Joshua Colp [Mon, 20 Nov 2006 16:16:22 +0000 (16:16 +0000)]
Free history items at the end of use of the temporary SIP pvt structure. (issue #8383 reported by benh)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47855
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 20 Nov 2006 10:17:36 +0000 (10:17 +0000)]
Just to be safe, disable all the scheduled items after deleting a scheduler entry (rizzo)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47842
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 17 Nov 2006 19:02:09 +0000 (19:02 +0000)]
backport proper channel_find_locked behavior from 1.4 branch (noted by Steve Davies on asterisk-dev list)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47802
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Thu, 16 Nov 2006 23:16:35 +0000 (23:16 +0000)]
Fix a couple of typos in applications.. Initially spotted by mrobinson.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47780
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 16 Nov 2006 22:57:31 +0000 (22:57 +0000)]
update clearly wrong documentation regarding cdr_custom
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47776
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 16 Nov 2006 20:29:28 +0000 (20:29 +0000)]
Look for the header file specifically in all cases, not just the existence of the directory. (issue #8358 reported by mrness)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47761
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 16 Nov 2006 18:26:50 +0000 (18:26 +0000)]
Because of the way chan_local is written we should be extra careful and make sure our callback functions have a tech_pvt. (issue #8275 reported by mflorell)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47750
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Thu, 16 Nov 2006 16:44:56 +0000 (16:44 +0000)]
Don't fixup if we haven't got PVT. Suggestion from Martin Vit on -dev mailing list inspired
by file's commit to chan_local.
"This shouldn't happen" ;-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47743
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 15 Nov 2006 22:29:30 +0000 (22:29 +0000)]
Make sure that the pvt structure exists before trying to do fixup on Local channels. (issue #7937 reported by mada123, fix by alamantia with mods by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47711
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 15 Nov 2006 21:18:47 +0000 (21:18 +0000)]
CANCEL requests are never authenticated (according to RFC 3261)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47705
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 15 Nov 2006 20:30:29 +0000 (20:30 +0000)]
correct argument name typo that caused global variable to be used instead of the one for the specified voicemail user
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47696
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 15 Nov 2006 19:58:46 +0000 (19:58 +0000)]
when re-writing the config file, don't repeat the path if it hasn't changed
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47689
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 15 Nov 2006 19:47:43 +0000 (19:47 +0000)]
when appending a list of variable to a category, ensure the tail pointer points to the last variable in the list
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47688
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 15 Nov 2006 19:42:05 +0000 (19:42 +0000)]
clear the category's variable tail pointer as well when variables are detached from it
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47686
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 15 Nov 2006 18:39:47 +0000 (18:39 +0000)]
ouch... don't use printf, use ast_log/ast_verbose
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47682
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 15 Nov 2006 17:56:42 +0000 (17:56 +0000)]
ensure that message duration is included in email notifications for forwarded messages (BE-96, fix by me after corydon used his clue-bat on me)
ensure that duration in the message metadata is updated if prepending is done during forwarding (related to BE-96)
remove prototype for API call that does not exist
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47677
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 15 Nov 2006 17:07:53 +0000 (17:07 +0000)]
ignore this generated file
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47666
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 15 Nov 2006 15:17:10 +0000 (15:17 +0000)]
Send error message if we fail to allocate sip socket, possibly caused by too few
file handles (wasn't possible before, but with the new way of sending temp messages, it is).
Found this bug under heavy load testing with SIPP.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47655
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 15 Nov 2006 13:08:34 +0000 (13:08 +0000)]
Sending 200 OK and not getting ACK is considered critical for the call.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47648
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 14 Nov 2006 22:15:10 +0000 (22:15 +0000)]
Update copyright information in the ADSI logo blob.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47631
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 14 Nov 2006 11:06:31 +0000 (11:06 +0000)]
Avoid collissions between the peerpoke system and the retransmits. Issue #8272.
In some cases, changed timers caused the retransmit system to destroy the dialog before peerpoke_expire
got a chance.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47596
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 13 Nov 2006 21:26:36 +0000 (21:26 +0000)]
Initialize global pointers for connection and result to NULL. (issue #8356 reported by james)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47583
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 13 Nov 2006 20:18:30 +0000 (20:18 +0000)]
Having more than 255 old messages caused corruption in the new/old count
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47580
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 13 Nov 2006 19:04:39 +0000 (19:04 +0000)]
Don't send 487 if we've already sent 200 OK on invite at time of receiving a BYE in the same transaction.
(SIPP testing)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47571
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 13 Nov 2006 17:05:32 +0000 (17:05 +0000)]
When sending an SMS with a user data header properly set the UDH flag in the first byte. (issue #8347 reported by hoffmeis)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47549
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 13 Nov 2006 05:45:11 +0000 (05:45 +0000)]
If the execute fails a second time, make sure that we don't pass back a stale handle
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47525
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 13 Nov 2006 00:34:44 +0000 (00:34 +0000)]
Don't play dialtone if the seizing the channel fails (Bug 7754)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47522
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 12 Nov 2006 06:09:03 +0000 (06:09 +0000)]
Only do the check to determine whether the channel calling this function is an
IAX2 channel when getting the IP address using the special argument,
CURRENTCHANNEL. (issue #8341, jcovert)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47496
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Fri, 10 Nov 2006 20:46:25 +0000 (20:46 +0000)]
Clear dialog on loop (backport from 1.4 by mistake)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47470
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Fri, 10 Nov 2006 19:37:41 +0000 (19:37 +0000)]
- Don't check for ignore in blocks that isn't reached if ignore is on...
- return properly after sending reply in handle_request_invite
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47458
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Fri, 10 Nov 2006 18:50:08 +0000 (18:50 +0000)]
Fix multipart/mixed SDP support (issue 8010, alphaque)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47452
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 9 Nov 2006 16:48:05 +0000 (16:48 +0000)]
Don't include compiler.h on kernels 2.6.18 and higher as, well, it's apparently going to be removed. This should make all you FC6 fans happy as your Asterisk will now build without any mods.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47379
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Thu, 9 Nov 2006 13:09:10 +0000 (13:09 +0000)]
Fixed segfault when no misdn.conf exists, reported by Igor Neves, thanks.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47359
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 8 Nov 2006 07:40:38 +0000 (07:40 +0000)]
Destroy the proper dialog...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47308
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 8 Nov 2006 07:31:34 +0000 (07:31 +0000)]
Remove dialog properly at unload of module (rizzo)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47307
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Tue, 7 Nov 2006 18:22:01 +0000 (18:22 +0000)]
This mod for bug_7506, to make the manager code output the proper event
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47274
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 7 Nov 2006 13:02:30 +0000 (13:02 +0000)]
Don't ever reply to an ACK. (Issue 8265)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47248
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 7 Nov 2006 01:22:58 +0000 (01:22 +0000)]
If random order is enabled for files mode music on hold, set a random initial
position, instead of always starting at the first file, and doing the random
operation only when switching to the next file.
(bug reported by John Lange on the asterisk-dev mailing list)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47238
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 2 Nov 2006 17:47:56 +0000 (17:47 +0000)]
ignore files in a music on hold directory that begin with '.'
(issue #8249, cboie)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46964
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Thu, 2 Nov 2006 17:12:56 +0000 (17:12 +0000)]
read then commit.... better fix for bug 8083 as
suggested by my peers
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46962
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 2 Nov 2006 16:02:27 +0000 (16:02 +0000)]
Repeat after me oej: I will at least make sure my code compiles before I commit it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46920
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Thu, 2 Nov 2006 15:15:06 +0000 (15:15 +0000)]
Don't overwrite flags in the packet
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46899
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 2 Nov 2006 13:55:39 +0000 (13:55 +0000)]
Add a missing call to free before returning in an error condition
(issue #8268, mrness)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46876
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Wed, 1 Nov 2006 21:20:35 +0000 (21:20 +0000)]
fix for bug #8083 crash caused by double free on m->msg
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46838
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Wed, 1 Nov 2006 19:52:43 +0000 (19:52 +0000)]
a fix for bug 8251; the var_val needs to accept longer strings or mass confusion and a lot of lost time is the result
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46803
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 1 Nov 2006 18:24:17 +0000 (18:24 +0000)]
soxmix and Asterisk expect different file extensions for certain formats. This
was already handled for the wav49 format. However, it was not handled for
ulaw and alaw. I fixed this in such a way that using the alternate extensions
for ulaw and alaw will only happen if we know we're calling soxmix, and not a
custom script defined using the MONITOR_EXEC variable. The wav49 processing
was left alone so that external scripts will see no behavior change.
(issue #7550, reported by mnicholson, proposed patch by junky, committed fix
is a bit different)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46776
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 31 Oct 2006 15:46:04 +0000 (15:46 +0000)]
Move thread-unsafe initializer to the module loading code; add the
corresponding function to the module unload to fix a memory leak.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46662
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 31 Oct 2006 09:49:46 +0000 (09:49 +0000)]
Another try to fix ;rport NAT traversal support (issue #7473)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46610
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 31 Oct 2006 09:13:34 +0000 (09:13 +0000)]
If peer fails ACL check, fail the REGISTER attempt
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46604
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 31 Oct 2006 09:03:37 +0000 (09:03 +0000)]
On the other hand, we already copy the NAT flags... Reverting.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46598
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 31 Oct 2006 08:52:35 +0000 (08:52 +0000)]
Issue 7473 - support ;rport on REGISTER requests too.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46585
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 31 Oct 2006 06:18:36 +0000 (06:18 +0000)]
When handling the case where the hostname is just an IPV4 numeric address,
be sure to set the address type. (issue #8247, alexr)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46560
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 31 Oct 2006 06:13:09 +0000 (06:13 +0000)]
fix some copy/paste bugs in the checking of arguments for the
"control stream file" AGI command (issue #8255, mnicholson)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46557
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 30 Oct 2006 16:00:57 +0000 (16:00 +0000)]
Bind rtcp to proper IP address
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46430
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sun, 29 Oct 2006 19:28:18 +0000 (19:28 +0000)]
Issue #7869 - Stop sending 302 redirect when not getting an answer...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46406
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sun, 29 Oct 2006 19:00:27 +0000 (19:00 +0000)]
issue #7608: Notifications with wrong content-type. Reported by jsiddall.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46402
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 27 Oct 2006 17:36:07 +0000 (17:36 +0000)]
We should always be using _exit() after a fork() or vfork() instead of exit().
This is because exit() does some extra cleanup which in some implementations
of vfork(), for example, can actually modify the state of the parent process,
causing very weird bugs or crashes. (issue #7971, Nick Gavrikov)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46361
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Fri, 27 Oct 2006 09:24:01 +0000 (09:24 +0000)]
fixed a bug which caused chan_misdn to try to allocate 2 times the same channel on high load, which then caused instability of mISDN. removed a useless function from isdn_lib.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46350
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Thu, 26 Oct 2006 20:06:55 +0000 (20:06 +0000)]
Issue #7240, by mistake only committed to trunk (now 1.4), reported by
edgreenberg in Issue #7966. Thanks Ed!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46344
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Thu, 26 Oct 2006 17:47:52 +0000 (17:47 +0000)]
oops - somebody forgot to change this - long ago, probably.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46337
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Thu, 26 Oct 2006 17:08:40 +0000 (17:08 +0000)]
Remove a useless ast_mutex_unlock.
Issue #8186, patch by anthonyl (fix suggested by benh).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46332
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 25 Oct 2006 19:28:48 +0000 (19:28 +0000)]
Working to resolve #7608 - adding debug output
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46258
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 25 Oct 2006 15:49:29 +0000 (15:49 +0000)]
Fix the attack shield for 1.2 too. REFER and NOTIFY can create dialogs
in the world of Asterisk.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46213
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Wed, 25 Oct 2006 08:41:59 +0000 (08:41 +0000)]
added nttimeout option to configure wether we disconnect calls on NT timeouts or not during an overlapdial session
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46176
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 23 Oct 2006 00:25:28 +0000 (00:25 +0000)]
Don't leak memory mmmk?
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@45927
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Sat, 21 Oct 2006 12:35:13 +0000 (12:35 +0000)]
fixed issue, that if chan_misdn is loaded and couldn't be initialized it would cause a segfault after 'reload'. Reported by Drew/Matt thx.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@45808
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 19 Oct 2006 17:16:37 +0000 (17:16 +0000)]
Respect language selection when seeing if the file exists (issue #8178 reported by mnicholson)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@45691
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 17 Oct 2006 20:37:17 +0000 (20:37 +0000)]
Don't create a "real" pvt structure for requests that shouldn't be able to create one. Instead use a temporary pvt and fill it with enough information so we can send a reply.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@45380
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 17 Oct 2006 17:50:36 +0000 (17:50 +0000)]
Fix an integer signedness problem.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@45332
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 17 Oct 2006 17:22:01 +0000 (17:22 +0000)]
provide licensing language for IAXy firmware file
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@45326
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 17 Oct 2006 15:50:32 +0000 (15:50 +0000)]
After some research, we realized that the default behaviour since a long
time was doing the right thing, even though the change optimized a bit
and removed a lot of potential risks.
Conclusion: No need for a configuration option at all.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@45306
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 16 Oct 2006 19:59:54 +0000 (19:59 +0000)]
Use responses rather then replies even though they mean the same thing.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@45265
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 16 Oct 2006 19:28:18 +0000 (19:28 +0000)]
Add 'ignoreoodreplies' option which will not create a pvt structure on a SIP response but instead basically drop it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@45260
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Sat, 14 Oct 2006 00:16:58 +0000 (00:16 +0000)]
Made a small update to solve bug 8128; The switch-case fallthru goto to a pattern extension needed to resolved the wildcards to an appropriate digit for extension matching to work
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@45134
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 13 Oct 2006 22:57:42 +0000 (22:57 +0000)]
don't drop the entire permit/deny list when an attempt is made to add an invalid entry (BE-92)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@45119
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Fri, 13 Oct 2006 19:27:22 +0000 (19:27 +0000)]
avoiding warning, fixing potential bug (backported from 1.2)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@45090
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 13 Oct 2006 17:01:22 +0000 (17:01 +0000)]
Turn on volume adjustment if it needs to be on (issue #8136 reported by mnicholson)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@45060
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 13 Oct 2006 16:18:08 +0000 (16:18 +0000)]
when sending a call to a peer, use the proper socket if we have multiple bindings (reported on asterisk-dev)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@45048
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 13 Oct 2006 15:49:53 +0000 (15:49 +0000)]
Pass the right value to usleep for sleeping, and always add the background refresh item back into the scheduler if enabled since it is deleted during reload. (issue #8142 reported by p_lindheimer)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@45030
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Fri, 13 Oct 2006 13:11:13 +0000 (13:11 +0000)]
fixed some echocandisable issues when bridged. this caused a kernel panic sometimes..also some minor formatting fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@45020
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Fri, 13 Oct 2006 07:40:07 +0000 (07:40 +0000)]
fixed issue, that the hangupcause got a wrong isdn cause at RELEASE_COMPLETE
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44993
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 12 Oct 2006 18:31:26 +0000 (18:31 +0000)]
ensure that IAX2 and SIP sockets allow UDP fragmentation when running on Linux (thanks to Brian Candler on the asterisk-dev list for the tip)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44955
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Tue, 10 Oct 2006 13:34:33 +0000 (13:34 +0000)]
(re)added support of dynamical enabling hdlc on bchannels
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44785
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 9 Oct 2006 14:36:24 +0000 (14:36 +0000)]
Issue #8101 - wrong parameter for screening in remote-party-id
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44757
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 6 Oct 2006 16:52:14 +0000 (16:52 +0000)]
Even more frames to treat as though the remote side disappeared (issue #8097 reported by eldadran)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44580
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 5 Oct 2006 19:55:41 +0000 (19:55 +0000)]
Treat busy control frames as hangup in the file streaming core (issue #8097 reported by eldadran)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44501
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Thu, 5 Oct 2006 10:02:38 +0000 (10:02 +0000)]
fixed segfault which happens during hold/transfer action
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44460
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 5 Oct 2006 01:27:57 +0000 (01:27 +0000)]
fix Polycom presence notification again
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44432
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 4 Oct 2006 21:15:29 +0000 (21:15 +0000)]
remove workaround for old Polycom firmware SUBSCRIBE requests
add workaround for new Polycom firmware SUBSCRIBE requests (bug is known to exist in 2.0.1 firmware)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44392
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Wed, 4 Oct 2006 16:02:22 +0000 (16:02 +0000)]
For bug 7776, I have inserted a warning about Macro nesting vs. stack limitations
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44343
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Wed, 4 Oct 2006 15:26:59 +0000 (15:26 +0000)]
if INFORMATION Message come with keypad instead of called party number, we just use the keypad as called party number.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44335
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Wed, 4 Oct 2006 15:13:58 +0000 (15:13 +0000)]
added the option 'reject_cause' to make it possible to set the RELEASE_COMPLETE - cause on the 3. incoming PMP channel, which is automatically rejected because chan_misdn does not support that kind of callwaiting. Therefore chan_misdn supports now 3 incoming channels on a PMP BRI Port. misdn_lib_get_free_bc now gets the info if the requested channel is incoming or outgoing to make the 3. channel possible
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44334
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 3 Oct 2006 20:14:13 +0000 (20:14 +0000)]
fix a logic error in my previous fix to the queue reload code
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44296
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 2 Oct 2006 20:07:59 +0000 (20:07 +0000)]
Change the fd on the I/O context in case it changed during the reload, which is indeed possible. (issue #7943 reported by eclubb)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44213
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 2 Oct 2006 19:39:59 +0000 (19:39 +0000)]
We should be using $AST_SBIN instead of hardcoding the path for the error message (issue #7942 reported by eclubb)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44198
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 2 Oct 2006 17:22:27 +0000 (17:22 +0000)]
Shrink when current_ioc is unused. It is set to -1 when unused, not 0. (issue #7941 reported by eclubb)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44168
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Mon, 2 Oct 2006 13:28:14 +0000 (13:28 +0000)]
fixed the hold/retrieve/transfer issues, removed a useless bc field, added setting of frame.delivery fields, some minor code cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44149
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 1 Oct 2006 15:19:23 +0000 (15:19 +0000)]
Fix the name of the "eventmemberstatus" option in the sample queues.conf
(issue #8065, adamg)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44110
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 29 Sep 2006 13:44:12 +0000 (13:44 +0000)]
proper fix for ast_group_t change
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43977
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 28 Sep 2006 18:00:30 +0000 (18:00 +0000)]
Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43924
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3