Christian Richter
9c8bcc3c1c
* Added check for bridging in misdn_call to avoid setting echocancellation
...
when 2 mISDN channels are involved and when bridging is set. That lead
to a kernel panic before under different situations, because we switched
about 2 times between hardware bridging and echocancelation
* readded MISDN_URATE variable which got lost before, this should make app_v110
work again
* fixed typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@49303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-03 08:24:00 +00:00
Christian Richter
6e6fa1c71f
added check for channel ranges in the set/empty channel functions. set pmp_l1_check default to no. added misdn restart pid cli command. added cleaning of channel when we send a RELEASE_COMPLETE.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@49135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-02 10:07:22 +00:00
Kevin P. Fleming
6e7786ab99
location of the bug posting guidelines has changed
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@49045 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-29 00:32:32 +00:00
Olle Johansson
59ae6dac08
Issue 8596: Set CAN_BYE flag for 100 trying too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 15:43:52 +00:00
Russell Bryant
c355d9667b
Fix an error introduced by copying and pasting the handling of the >= operator
...
for the MATH function. If a single equal sign was used as an operator, the
function would treat it is as if it were the >= operator. Now, it properly
handles it as an invalid operator.
(issue #8665 , patch by tempest1)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48955 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-25 05:19:48 +00:00
Russell Bryant
847ddc1e2c
Check for the proper return value on an error in a call to mmap().
...
This was reported by Andy Wang on the asterisk-dev list. Thanks!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48943 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-24 07:23:07 +00:00
Russell Bryant
798116918e
Remove a couple of misplaced dots in log messages. This was reported by
...
Andrea Spadaccini on the asterisk-dev mailing list.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48939 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-24 06:47:29 +00:00
Joshua Colp
c54cc039e8
Add new silence sound files to the spec for Redhat. (issue #8652 reported by alvaro_palma_aste)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21 20:25:01 +00:00
Joshua Colp
f28947f7ef
Free localuser structure when we fail to dial (issue #8612 reported by rizzo)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48584 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-19 21:10:26 +00:00
Christian Richter
526b32f5e6
when we reject a channel, because it's in use already, we shouldn't process the setup anymore. made the channel allocation a bit easier and more understandable, removed a few unused lines
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-19 13:08:51 +00:00
Christian Richter
7716c778e4
when our PTP Partner sends us a SETUP with a preselected channel we just accept it, even when we're NT. added some checks for segfaults.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-18 10:19:39 +00:00
Olle Johansson
c3b8d9f510
Issue #8592 - handle 504 as 503 - congestion
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48484 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-15 10:51:53 +00:00
Christian Richter
b9bddd3063
removed FIXUP state. added check for channel allocation conflict when we create a setup while the other site creates a setup on the same channel, besides the check we resolve this conflict.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-14 13:03:49 +00:00
Steve Murphy
9cc5b12741
This small patch fixes bug 8541, where the L option to the Dial app wasn't working right. A similar bug (8386) was filed and fixed earlier, but an intervening bug fix to a DTMF problem broke the L() code in a different way. Hopefully, everything is happy now.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-13 04:23:17 +00:00
Kevin P. Fleming
72c5d5a16b
add silence files
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-12 05:11:13 +00:00
Matt O'Gorman
ffdbc25cb9
the english language can be a tricky beast
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-11 23:00:04 +00:00
Matt O'Gorman
2cbdcb35b1
app_externalivr needs a real silence file, and additional
...
changes to add silence files into core instead of extra
patch provided by bug 8177 with minor additions.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-11 21:55:43 +00:00
Tilghman Lesher
983d09bc21
When doing a fork() and exec(), two problems existed (Issue 8086):
...
1) Ignored signals stayed ignored after the exec().
2) Signals could possibly fire between the fork() and exec(), causing Asterisk
signal handlers within the child to execute, which caused nasty race conditions.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48374 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-11 00:33:59 +00:00
Steve Murphy
611a9778bb
This version applies the patch suggested by stevens in bug 7836 (make inbound channel RINGING state consistent with other channels).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48371 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-10 02:14:13 +00:00
Russell Bryant
f2df4138cb
Use locking when accessing the registrations list. This list is not actually
...
used very often, so the likelihood of there being a problem is pretty small,
but still possible. For example, if the CLI command to list the registrations
was called at the same time that a reload was occurring and the registrations
list was getting destroyed and rebuilt, a crash could occur.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-09 15:45:37 +00:00
Russell Bryant
d79533bd94
Ensure that the file position is not incremented beyond the total number of
...
files available for playback. (issue #8539 , ulogic)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-07 18:14:13 +00:00
Russell Bryant
26676beff5
Fix the name of the rtignoreregexpire option in the sample configuration file.
...
(issue #8526 , arkadia)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48322 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-06 16:05:54 +00:00
Christian Richter
6d3c784a84
added the export and import of the MISDN_ADDRESS_COMPLETE Variable to inidcate wether the extension is already completely dialed or if there might come additional digits by information elements. also added some docs for that.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48321 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-06 15:48:45 +00:00
Olle Johansson
d37fee2b0f
Issue #8528 - make sure we don't delete the dialog too quickly after receiving
...
a 487. Move 487 handling into handle_response_invite where it really
belongs and don't add an ALREADYGONE flag to the dialog.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48320 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-06 15:42:41 +00:00
Christian Richter
95a18631a4
changed a few debugs to higher debug levels
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-06 14:35:25 +00:00
Olle Johansson
8eb9c059e5
Don't add Contact header on BYE, CANCEL, MESSAGE requests
...
(Bye, Cancel backported from 1.4, MESSAGE bug reported to me by Gunnar at Omnitor)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48315 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-06 12:14:40 +00:00
Olle Johansson
c70018c590
Only set the ALREADYGONE flag once in handle_response()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-05 17:59:15 +00:00
Tilghman Lesher
31759faca8
If the recording in the database is too large, it will fail to retrieve with
...
an mmap error. Not too sure why this doesn't happen when we put it in the
database, also, but since that doesn't seem to be broken, I'm not going to fix
it (at least until someone reports it). Solution is to ask for the file in
smaller chunks. (Bug 8385)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48251 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-05 01:26:08 +00:00
Jason Parker
9ce01ec196
Revert change from 8016 - this breaks other stuff... Needs further review.
...
Tip: When you've reported a bug about something and somebody has put up a
patch for it.. It's not a good idea to open a completely new bug and say that
something is broken because of the patch in the other bug - PLEASE mention
something in the bug where the patch was actually created.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48246 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-04 21:20:34 +00:00
Jason Parker
8c413a42eb
Fix an issue where a message isn't saved correctly when using ODBC storage and reviewing a message.
...
Issue 8016 - patch by sokhapkin.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-04 19:06:26 +00:00
Joshua Colp
6502bf97af
If the generic bridge tells us not to retry, and we have a frame to spit out then break the bridge. Props to markit in #asterisk-bugs for bringing this up.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48233 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-04 18:14:46 +00:00
Kevin P. Fleming
37d6a18db1
if Dial() is going to send music-on-hold to the calling party, it has to send PROGRESS first to ensure that the reverse audio path has been setup first (BE-106)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-01 23:30:59 +00:00
Jason Parker
49135c3ee5
Fix a small typo - issue 8848, reported by pabelanger
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-01 20:19:10 +00:00
Olle Johansson
e76ee063e6
Issue 8319 - noriyuki - nonce-count updated *after* use
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-30 20:47:53 +00:00
Joshua Colp
37db91a3b8
Don't write AST_FRAME_NULL or AST_FRAME_IAX frames out to the channel driver. (issue #8390 reported by hselasky)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-30 20:27:29 +00:00
Joshua Colp
1b287f7406
Only print out debug message if bridged channel is not NULL. (issue #8412 reported by jubilex)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48157 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-30 20:06:43 +00:00
Joshua Colp
efe92601c5
Do not listen for DTMF on the bridge that comes into existence when ParkedCall is executed. This means native bridging can now occur for this. (issue #8406 reported by kebl0155)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48154 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-30 19:04:11 +00:00
Joshua Colp
274f9027f3
Print certain CDR messages out at the NOTICE level versus WARNING since they can occur when used with the CDR applications and are perfectly fine. (issue #8367 reported by dartvader)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48151 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-30 18:42:45 +00:00
Joshua Colp
6180390206
Remember the pointer to the allocated block of memory so that we can free it and not cause a memory leak. (issue #8449 reported by arkadia)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-30 18:17:54 +00:00
Joshua Colp
3781699230
Document 'port' for SIP peers, came up because of the current mailing list thread. (issue #8450 reported by blitzrage)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48142 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-30 17:55:23 +00:00
Olle Johansson
faee7ae5f1
Do proper test and don't leave dialogs hanging...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-30 09:05:07 +00:00
Joshua Colp
d707910edb
If the frame was duplicated before writing out then we need to free it. (issue #8429 reported by edguy3)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-29 16:47:10 +00:00
Joshua Colp
b6c058c6c4
According to the research I have done we never needed to include compiler.h in the first place so let's not! (issue #8430 reported by edguy3)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-28 16:56:01 +00:00
Joshua Colp
0c18e0a5e1
Use the proper function to get the new message count instead of always using the filesystem. (issue #8421 reported by slimey)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-27 18:03:57 +00:00
Tilghman Lesher
9bb51868ca
Random MOH wasn't really random (bug 8381)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48045 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-27 17:15:54 +00:00
Joshua Colp
54fc8c75d1
Do not reference the freed outgoing structure in the debug message. (issue #8425 reported by arkadia)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-27 15:30:37 +00:00
Olle Johansson
96a36252b6
Change some logging levels. Not having hints is not an ERROR, but still should be reported.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-24 14:33:27 +00:00
Christian Richter
f4137d1609
fixed a litle bug regarding HOLD/RETRIEVE. beatufied some logs, changed some loglevels. changed the default value of block_on_alarm
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-23 16:10:23 +00:00
Olle Johansson
279ebd00c5
Remove unused variable (rizzo)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-23 10:54:40 +00:00
Steve Murphy
e189ffe5b5
This is the fix for bug 8386, wherein the time-limit args to dial didn't work correctly
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47910 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-22 02:19:09 +00:00