Commit Graph

7557 Commits (eeafa5951e334ecbc36a5c5aaf5587e00c32843c)
 

Author SHA1 Message Date
Russell Bryant eeafa5951e Fix a minor issue with parsing the priority number. You could have as much
18 years ago
Brett Bryant 89cc2e4b70 Fixes 100% load when controlling terminal disappears.
18 years ago
Joshua Colp 2303602f15 I may possibly get shot for doing this... but... defer CDR processing until after the channel has been dealt with. This should eliminate all of the issues with channels going funky (SIP/PRI) when you are posting CDRs to a database that is either slow or unavailable and do not want to enable batching.
18 years ago
Jason Parker 4ce4fe74ae Fix another problem in voicemail with missing symbols.
18 years ago
Christian Richter 3637816f4c simplified generation for dummy bchannels, also we mark them as dummies, so they are not used later as real-bchannels, optimized the RESTART mechanisms, we block a channel now on cause:44, and send out a RESTART automatically, then on reception of RESTART_ACKNOWLEDGE we unblock the channel again.
18 years ago
Christian Richter 5f272436b9 simplified channel finding and locking a lot. removed unnecessary #ifdefed areas.
18 years ago
Christian Richter 085065ac35 isdn_lib.c didn't compile
18 years ago
Christian Richter 16ecedee04 for inbound TE calls, we setup the bchannel when we get the CONNECT_ACKNOWLEDGE, to make sure mISDN has everything ready. removed some #if 0 areas which weren't used anymore.
18 years ago
Jason Parker c2cfb7ba64 Don't try to install an init script that doesn't exist.
18 years ago
Tilghman Lesher 8f2a415995 Issue 10062 - Trying to move a message without selecting one first results in memory corruption
18 years ago
Tilghman Lesher 5be40827e5 Issue 10035 - handle_exec returns a result inconsistent with all of the other AGI commands
18 years ago
Joshua Colp 76b4eb5daa Ignore other URIs after the first in a 300 Multiple Choice response. (issue #10041 reported by homesick)
18 years ago
Russell Bryant fb50a2da95 Revert the patch from issue 9654 due to an unexpected side effect
18 years ago
Tilghman Lesher f7a787c757 Issue 10043 - There is a legitimate need to be able to set variables to the empty string.
18 years ago
Joshua Colp 7e22d574a7 Send an unhold indication when going off hold. (issue #10036 reported by speedy)
18 years ago
Jason Parker 01f5e6d56b Fix a few silly usages of ast_playstream() - it only ever returns 0...
18 years ago
Brett Bryant b9000f54b2 Fixed infinite loop when controlling terminal was lost
18 years ago
Steve Murphy c25932a107 This little fix is in response to bug 10016, but may not cure it. The code is wrong, clearly. In a situation where you set the CDR's amaflags, and then ForkCDR, and then set the new CDR's amaflags to some other value, you will see that all CDRs have had their amaflags changed. This is not good. So I fixed it.
18 years ago
Joshua Colp e179ccaff2 Don't explode if the gain option is specified without a value. (issue #9274 reported by mfarver)
18 years ago
Steve Murphy 7a7b6536c7 it was pointed out that the cdr_custom config load could get a lock, and under certain circumstances, would never release it. I also noted that the situation where more than one mapping spec was warned about, but did not ignore further mappings as it had promised. I think I have fixed both situations.
18 years ago
Christian Richter d8d4454ae5 we activate the bchannels in TE mode on incoming calls only when we want to connect the call.
18 years ago
Joshua Colp 6357ad5659 Don't overwrite the configured username setting upon a REGISTER. (issue #8565 reported by jsmith)
18 years ago
Tilghman Lesher a1cc9b4966 Issue 9997 - Timelimit times out the wrong channel
18 years ago
Russell Bryant cfaead2b9c Fix a problem where an established call would not be properly disconnected
18 years ago
Christian Richter f5f018a209 forgot one place ..
18 years ago
Christian Richter 7fc236e53b fixed a bug that was introduced by copy and paste in the last commit ..bchannels weren't cleaned properly.
18 years ago
Christian Richter ede913f976 on receiption of cause:44 we mark the channel as in use and inform the user about the situation, we need to test the RESTART stuff then. Also shuffled the empty_chan_in_stack function after the bchannel cleaning functions, to avoid race conditions.
18 years ago
Steve Murphy 8da289e13c This fixes 9246, where channel variables are not available in the 'h' exten, on a 'ZOMBIE' channel. The fix is to consolidate the channel variables during a masquerade, and then copy the merged variables back onto the clone, so the zombie has the same vars that the 'original' has.
18 years ago
Joshua Colp 3d1a5f71c5 Handle the CC field in the RTP header. (issue #9384 reported by DoodleHu)
18 years ago
Russell Bryant 6e0248318b Backport fix for crashes related to subscriptions from 1.4 ...
18 years ago
Joshua Colp 07b9fc569f Update BRIDGEPEER variable if set to the new channel name when a masquerade happens. (issue #9699 reported by dimas)
18 years ago
Joshua Colp e21d079484 Perform an extra hangup check just in case. (issue #9589 reported by bcnit)
18 years ago
Christian Richter 3322095dea when we send out a SETUP, but get no response, we should cleanup everything after reception of a hangup.
18 years ago
Joshua Colp 234b7d22fe Add parked call extension AFTER the parking slot has been announced, otherwise two threads will try to handle the same channel and it will go kaboom. (issue #9191 reported by japple)
18 years ago
Joshua Colp dc41ce9857 Set the peer name on the dialog to the one configured in sip.conf and NOT the username to be used for authentication attempts. (issue #9967 reported by achauvin)
18 years ago
Tilghman Lesher ff8bb42cbc Issue 9998 - Remove SIG prefix, since it's not supported by ksh
18 years ago
Jason Parker 9aa74f204a Fix an issue where the line number in an unterminated comment block error message would show the wrong line number.
18 years ago
Russell Bryant dc41cf2347 Backport rev 69010 from the 1.4 branch ...
18 years ago
Jason Parker fab1ba87cd Change a quite broken while loop to a for loop, so "continue;" works as expected instead of eating 99% CPU...
18 years ago
Joshua Colp 0156942fe0 Return group counting to previous behavior where you could only have one group per category. (issue #9711 reported by irroot)
18 years ago
Christian Richter ba372aa9a4 restart indicator 0x80 is correct, at least that's what libpri does.
18 years ago
Joshua Colp 28464199ee Bring RTP back to Asterisk at the end of a native bridge no matter what.
18 years ago
Christian Richter 37ded96cfa if the bridged partner is mISDN too we should not send dtmf tones, they are transmitted inband always
18 years ago
Christian Richter 7bb272f942 if we have already some digits, we just stop the tones.
18 years ago
Christian Richter 9809905c76 added check for NULL Pointer when calling misdn_new. Asterisk does not allow us to create channels anymore when stop gracefully is used :). also modified the restart_indicator to 0
18 years ago
Joshua Colp 41421be994 Improve deadlock handling of the channel list. (issue #8376 reported by one47)
18 years ago
Christian Richter 5cc2b1078e fixed problem that the dummybc chanels had no lock, checking for the lock now. Also fixed the channel restart stuff, we can now specify and restart particular channels too.
18 years ago
Russell Bryant 086aba207e Don't automatically hang up after running Dictate so that callers can exit
18 years ago
Joshua Colp d8fb68b9cb Don't call ast_waitstream_full when the control file descriptor and audio file descriptor are not set, simply call ast_waitstream! (issue #8530 reported by rickead2000)
18 years ago
Joshua Colp 49ffa786ff Do a DNS lookup immediately upon calling the dnsmgr function, don't wait until a refresh happens. (issue #9097 reported by plack)
18 years ago