Christian Richter
5923e48d7f
Merged revisions 57034,57523,57753,58558 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r57034 | crichter | 2007-02-28 17:09:27 +0100 (Mi, 28 Feb 2007) | 1 line
fixed bugs.digium.com bugs: #9157 and bugs.beronet.com bugs: #302 , #303 , #304
........
r57523 | crichter | 2007-03-02 19:32:51 +0100 (Fr, 02 Mar 2007) | 1 line
fixed typo
........
r57753 | crichter | 2007-03-04 11:39:50 +0100 (So, 04 Mar 2007) | 1 line
fixed another place where the out_cause was hardcoded to 16
........
r58558 | crichter | 2007-03-09 15:43:58 +0100 (Fr, 09 Mar 2007) | 1 line
we can free channel 31 as well, since we can occupy it
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58826 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Christian Richter
160cfaf1c6
added UU transceiving and corect handling for rdnis
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58825 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
fa866efb5c
Add matchexterniplocally setting which only substitutes your externip/externhost setting if it matches the localnet setting. I know of at least two people who need opposite settings, so I made it an option! (issue #8821 reported by kokoskarokoska)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
8ae4e264d1
Fix a few more places in chan_iax2 where the ast_frame used for receiving a
...
frame was not properly initialized.
- Interpolating a frame when the jitterbuffer is in use
- decrypting a frame when IAX2 encryption is on
- frames in an IAX2 trunk
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58705 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
b9124234e9
Merged revisions 58579 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r58579 | file | 2007-03-09 15:46:43 -0500 (Fri, 09 Mar 2007) | 2 lines
If we are unable to lookup the host in a c line we have to abort, otherwise the previous data is gone and we will (potentially) have no data when all is said and done.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58584 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
2f54661cf8
Add a missing break statement so that handling the above event does not
...
incorrectly destroy the channel. (issue #9242 , andrew)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58510 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
5603ca69eb
If we receive ZT_EVENT_REMOVED, destroy the specified channel.
...
(issue #7256 , tzafrir)
Also, update the configure script to make sure that we don't try to build
chan_zap if the installed version of zaptel does not include ZT_EVENT_REMOVED.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58320 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
f34c30860e
(This bug was reported to me by Kinsey Moore)
...
Merged revisions 58242 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r58242 | russell | 2007-03-07 12:17:07 -0600 (Wed, 07 Mar 2007) | 7 lines
Fix a problem where the Asterisk channel name could be that of the wrong IAX2
user for a call. This is because the first step of choosing this name is to
look for an IAX2 peer that happens to have the same IP/port number that this
call is coming from and assuming that is it. However, this is not always
correct. So, I have made it change this name after authentication happens
since at that point, we have an exact match.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
240355d78b
Ensure we have (or should have) at least one matching codec before attempting early bridge SDP seeding. (issue #9221 reported by marcelbarbulescu)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Steve Murphy
81ef9a4f18
Merged revisions 58115 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r58115 | murf | 2007-03-06 15:52:52 -0700 (Tue, 06 Mar 2007) | 1 line
Fix for 9220: Eyebeam cannot renew subscriptions for presence info. Reason: re-SUBSCRIBE requests don't include Accept headers, which the rfc says are optional (to put it tersely), (it uses MAY), and luckily, the sip_pvt struct has the format info stored, so we simply leave it if the format is set, and the accept header null.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58121 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
275abf4e08
Merged revisions 58052 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r58052 | oej | 2007-03-06 21:33:21 +0100 (Tue, 06 Mar 2007) | 2 lines
Change error message to proper message
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
905238839b
Return an error of transmit_response is called without a session.
...
(issue #9002 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
94c9dcda60
Since chan_iax2 does not support reception of DTMF with duration ensure that it is set to 0 on the frame. (issue #8521 reported by gdhgdh)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57914 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
53b9bc89c0
Merged revisions 57475 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r57475 | file | 2007-03-02 12:02:46 -0500 (Fri, 02 Mar 2007) | 2 lines
If a SIP message comes in and goes to a method handler that requires additional values that may not be present then send back an error.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
219f4b4913
Merged revisions 57317 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r57317 | file | 2007-03-01 17:19:32 -0500 (Thu, 01 Mar 2007) | 2 lines
Don't even attempt to optimize things when a proxy channel is involved. It will just explode in weird and unexplaineable ways. (issue #9175 reported by clegall_proformatique)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
43f841cadf
Merged revisions 57092 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r57092 | file | 2007-02-28 13:55:45 -0500 (Wed, 28 Feb 2007) | 2 lines
Fix a few more issues with the agent logoff CLI command. (issue #9123 reported by arbrandes)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57093 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
83ce3720bc
Restore the behavior of Asterisk 1.2 where if a device was not specified in
...
alsa.conf, then we just use the system default, instead of creating our own
default of hw:0,0. (issue #9139 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56888 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
dd6b58edcd
Fix a crash in my last change to iax2_indicate(). (issue #9150 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
268fc8a9cc
Do more complete locking of the chan_iax2_pvt struct in the indicate callback.
...
(Problem brought up by Ben Smithurst on the asterisk-dev list)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
a9e4e0eefa
Make sure to set a speeddials parent on creation.
...
Don't crash if hold is pressed when no call is active.
Don't return in places that we shouldn't..
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56569 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
76a643978e
Merged revisions 56406 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r56406 | russell | 2007-02-23 14:17:56 -0600 (Fri, 23 Feb 2007) | 4 lines
Don't destroy mutexes before unregistering all of the entry points from the core.
Also, fix a potential memory leak from not destroying the locks for all of the
possible call numbers (about 32k of them).
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
4565c1483c
Merged revisions 56230 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r56230 | file | 2007-02-22 13:44:24 -0500 (Thu, 22 Feb 2007) | 2 lines
Only change the original or clone channel if it's the channel behind the proxy channel, not if it's just a regular bridged channel.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
d67ef52159
Move message from verbose to debug
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56125 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
9a7d1cc182
Restructure a little bit of code to reduce nesting. There is no functionality
...
change here.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
71921a8329
Merged revisions 56010 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r56010 | russell | 2007-02-21 18:53:25 -0600 (Wed, 21 Feb 2007) | 3 lines
If we receive a frame that is not in any of the negotiated formats, then drop
it. (potentially issue #8781 and SPD-12)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
b937d7e8bc
Fix locking issue, and accept "transport-accept" as a valid accept message.
...
This should solve issues 8970 and 8503.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
3d95841eb3
Add a flag that indicates whether a SIP dialog is an outgoing call or not. SIP_OUTGOING originally did it but it was repurposed to the direction of the last transaction, which can cause update_call_counter to falsely decrease the wrong counters. (please don't hurt me oej) (issue #8943 reported by mdu113)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55914 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
c0f5102378
Issue #8848 - Turn off lamp more quickly after transfer (decrement inuse early on transferer's call leg)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55834 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
67421802de
Fix segfault when buddy couldn't be found.
...
Issue 7764, patch by sailer
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55799 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
30d30fef76
Return behavior I removed. I did not remember that you could just add a localnet entry to make it work.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
49749e44a2
Don't test our own address against the localnet settings. At least one person has had issues as a result of this from #7051 so I'm reversing it. (issue #8821 reported by kokoskarokoska)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
4f5689f95f
Merged revisions 55669 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r55669 | file | 2007-02-20 17:39:14 -0500 (Tue, 20 Feb 2007) | 2 lines
Defer clearing callback information if channels are up until they are hung up. This ensures the hangup process goes smoothly and no channels get hung in limbo. (issue #8088 reported by kebl0155)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55670 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
e0b88aba12
No need to cast nor free with strdupa (thanks file)
...
55555!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Doug Bailey
c967342095
Changed iax2 process thread to detached to correct memory leak due to left over thread context on thread exit.
...
Modified module unload process to avoid deadlocks on pthread cancels
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55397 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
0ade592435
Fix an issue where callerid would not be displayed on some phones.
...
Issue 8995, initial patch and research done by wedhorn
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55217 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
7a4bed883e
Merged revisions 55073 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r55073 | file | 2007-02-16 20:09:50 -0500 (Fri, 16 Feb 2007) | 2 lines
Allow chan_sip to handle attended transfers from a SIP phone that is sitting behind chan_agent. Yes folks, all it took was one line of code. (issue #8784 reported by pzieba)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
b0df14b32c
Merged revisions 54999 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r54999 | file | 2007-02-16 17:13:45 -0500 (Fri, 16 Feb 2007) | 2 lines
Do not send indications through ast_indicate in chan_agent but instead go directly to the technology. This way when indications are emulated they happen on the Agent channel and do not screw up formats on the channels. (issue #8439 reported by punkgode)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55002 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
3ca445e34c
Issue #7541 - Handle multipart attachments to SIP messages - even if boundary is quoted.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54787 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matthew Fredrickson
91e22d1df2
Merged revisions 54373 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r54373 | mattf | 2007-02-14 10:25:49 -0600 (Wed, 14 Feb 2007) | 2 lines
When handling glare on a PRI, move the requested channel rather than hang up the old one. Fix for 8957 and 9011.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
7bcf1d913a
Remove a couple of leftover debug messages
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
b100b69703
If we fail to create the SIP socket, then return -1 from reload_config() so
...
that load_module() will return AST_MODULE_LOAD_DECLINE. Otherwise, the console
will just get spammed with error messages every time chan_sip tries to send a
message.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
f5590445cc
Fix VLDTMF reception
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53881 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
93fcd4a354
Change some text to properly state "On Hold", which was already done in trunk.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
7ee02f585d
Merge team/russell/sla_rewrite
...
This is a completely new implementation of the SLA functionality introduced in
Asterisk 1.4. It is now functional and ready for testing. However, I will be
adding some additional features over the next week, as well.
For information on how to set this up, see configs/sla.conf.sample
and doc/sla.txt.
In addition to the changes in app_meetme.c for the SLA implementation itself,
this merge brings in various other changes:
chan_sip:
- Add the ability to indicate HOLD state in NOTIFY messages.
- Queue HOLD and UNHOLD control frames even if the channel is not bridged to
another channel.
linkedlists.h:
- Add support for rwlock based linked lists.
dial.c:
- Add the ability to run ast_dial_start() without a reference channel to
inherit information from.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53810 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ff17d402de
another dependency
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
2f6312a37e
Merged revisions 53357 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53357 | file | 2007-02-07 10:38:48 -0500 (Wed, 07 Feb 2007) | 2 lines
Fix a few potential memory leaks with realtime users and peers. (issue #8999 reported by bsmithurst)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
1c90803367
Merged revisions 52843 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r52843 | crichter | 2007-01-30 15:38:08 +0100 (Di, 30 Jan 2007) | 1 line
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.4@53324 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
e7a0e86756
Formatting
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
8e07358edf
Add some comments on queue system behaviour and how it affects the
...
SIP channel
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
910898b7be
Make SIPDtmfMode application work with recent capability changes, and also fix an RTP stack issue when the auto option was used. (issue #8972 reported by mdu113)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
10ad9bb6d0
Remove quote from H.323 vendor string because due to compatibilities with CS1000 reported at www.voip-info.org
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53131 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
90a4b844a9
Disable the direct p2p RTP call setup in SIP. You can enable it in sip.conf, but it is now
...
considered experimental until we solve the AST_CONTROL_ANSWER with payload and videocaps
stuff.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53109 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
57fe6882ac
Merged revisions 53103 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53103 | file | 2007-02-01 16:21:56 -0600 (Thu, 01 Feb 2007) | 2 lines
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.4@53104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
09844a7f1a
Merged revisions 53095 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53095 | file | 2007-02-01 15:47:11 -0600 (Thu, 01 Feb 2007) | 2 lines
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.4@53097 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
97efd0be22
- Clean INC_COUNT flag when we decrement call counter
...
- If it's still set at time of dialog destruction, make sure we decrement the device call counter properly
before we destroy the dialog
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
6bb6bba6a3
Cleaning up the devicestate callback function
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e86275c11c
Fix silly logic. We really want to write UDPTL frames out when the call is up.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
60ad44b8e9
we update the name on any first reply of our setup
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
6fd3418e40
chan_h323 is very stable, so let it built by default
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53057 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
9aab046002
Merged revisions 53045 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53045 | russell | 2007-01-31 15:25:11 -0600 (Wed, 31 Jan 2007) | 3 lines
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.4@53046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
29b7393d84
Only set the DTMF flag on the rtp structure if the DTMF mode is actually
...
RFC2833, not just that it is not INFO. This makes it get set for inband DTMF
as well, which is not valid.
(issue #8936 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
362abb9deb
Drop the deprecated show commands since the original ones were changed back. (issue #8937 reported by PCadach)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
a175571e39
Revert reprecation of h.323 gk cycle command from pre-1.4 version instead of duplicated h323 cycle gk
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
a46e6d74df
Merged revisions 52762 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r52762 | russell | 2007-01-29 18:15:06 -0600 (Mon, 29 Jan 2007) | 5 lines
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.4@52763 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
6b462c95c9
Merged revisions 52360 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r52360 | file | 2007-01-26 19:03:23 -0500 (Fri, 26 Jan 2007) | 2 lines
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.4@52370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
ed48c69f06
Drop out variables I accidentally put in.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52210 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
6b08afd05d
Decrement onHold count if we are hung up on and still on hold. (issue #8909 reported by alexh42)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52208 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
5ebd1ecf63
Fix changing channel formats when joint capability changes and there are no audio formats... I didn't break it originally! (issue #8535 reported by ivoc)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52016 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
9352eda642
added fix from #8899
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
6d2afb98b4
Merged revisions 51966 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51966 | crichter | 2007-01-24 11:48:09 +0100 (Mi, 24 Jan 2007) | 1 line
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.4@51979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
a207a31a97
Show capabilities *and* preference in general settings in "sip show settings"
...
(reported by Clona/Telio - Thanks!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
8f7ddbef0d
Update channel drivers to use module referencing so that unloading them while in use will not result in crashes. (issue #8897 reported by junky)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51788 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
e65aeb27b5
Merged revisions 50495,50506 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r50495 | crichter | 2007-01-11 14:27:52 +0100 (Do, 11 Jan 2007) | 6 lines
* more additions to make the RESTART message work
* added fix for misdn_call to allow SETUPs with empty
extensions, replaced the strtok_r functions with strsep for that
(inspired by Sandro Cappellazzo, thanks)
........
r50506 | crichter | 2007-01-11 15:45:38 +0100 (Do, 11 Jan 2007) | 1 line
when we get L2 UP, the L1 is UP definitely too, so we set the L1 state up as well.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
19fdc9b14e
manually merged r49922 and r50335, because of conflicts. this commint includes addition of the ISDN RESTART Message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
964d2d2e42
Do not abort Asterisk startup if h323 configuration file not found (reported by mithraen)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
5a3acb0511
Only change audio formats on the channel if we have an audio format to change to. (issue #8535 reported by ivoc)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
0e37d936da
Fix VLDTMF support in chan_gtalk. AST_FRAME_DTMF and AST_FRAME_DTMF_END are
...
actually the same thing. So, a digit would have been interpreted incorrectly
here. Since the channel driver will always have the begin and end callbacks
called for a digit, only support the button-down and button-up messages.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
33235b40d6
Merge the changes from the /team/group/vldtmf_fixup branch.
...
The main bug being addressed here is a problem introduced when two SIP
channels using SIP INFO dtmf have their media directly bridged. So, when a
DTMF END frame comes into Asterisk from an incoming INFO message, Asterisk
would try to emulate a digit of some length by first sending a DTMF BEGIN
frame and sending a DTMF END later timed off of incoming audio. However,
since there was no audio coming in, the DTMF_END was never generated. This
caused DTMF based features to no longer work.
To fix this, the core now knows when a channel doesn't care about DTMF BEGIN
frames (such as a SIP channel sending INFO dtmf). If this is the case, then
Asterisk will not emulate a digit of some length, and will instead just pass
through the single DTMF END event.
Channel drivers also now get passed the length of the digit to their digit_end
callback. This improves SIP INFO support even further by enabling us to put
the real digit duration in the INFO message instead of a hard coded 250ms.
Also, for an incoming INFO message, the duration is read from the frame and
passed into the core instead of just getting ignored.
(issue #8597 , maybe others...)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Dwayne M. Hubbard
b62be97f7a
chan_zap compiles without libpri after committing 7877 patch
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Dwayne M. Hubbard
a4317ce870
Merged revisions 51271 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51271 | dhubbard | 2007-01-18 17:47:10 -0600 (Thu, 18 Jan 2007) | 3 lines
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.4@51272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
1e3557c636
Copy MOH settings when calling a peer so that if they put someone on hold or get put on hold themselves they get the right music class. (issue #8840 reported by mdu113)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
2b2f8d22f7
Instead of dividing the offset by 2 directly, make it more clear that the
...
offset is being scaled by the size of the elements in the buffer.
(Inspired by a discussing on the asterisk-dev list about this code)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
4244459e31
Merged revisions 51197 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51197 | russell | 2007-01-17 15:17:21 -0600 (Wed, 17 Jan 2007) | 3 lines
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.4@51198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
f986c4f2c3
Move rescheduling of lagrq/pings into the scheduler callback.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51172 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
531d008066
Merged revisions 51085 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51085 | file | 2007-01-16 00:53:31 -0500 (Tue, 16 Jan 2007) | 2 lines
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.4@51087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
915f9315e1
Remove check for channel state as it can definitely be something other then ring, and also clean up the code a bit. This should solve the parking issues and maybe some attended transfer issues people have been seeing.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50468 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
240ca25bea
Add support to see whether NAT was detected (yay symmetric RTP) and also add a check in chan_sip so that if NAT has been detected and the reinvite behind nat option has been turned off, then just do partial bridge. (issue #8655 reported by mnicholson)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
9aca2b2a54
Fix chan_sip not working issue. Let's not prematurely return 0. (issue #8783 reported by st41ker)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50377 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
1a33c38a15
- handle re-invites properly in sip_hangup()
...
- Add some invitestate status changes just to be sure
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
3394598f93
Issue #8677 - Handle failure of T.38 re-invite
...
This is not a fix, but adding an error message to tell the admin that
we have a bad configuration. We should not send T.38 re-invites to devices
that can't handle it (with the current architecture where you have to
hard-code t.38 support per device).
To really fix this, we need to figure out a way to tell the incoming
call that the re-invite failed, so we can signal failure on that
end and go back to the original call.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
0f96f73768
Issue #8524 , support multiple via header values (tardieu)
...
Thanks!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49983 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
be32fad9b8
We only need one forward declaration
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
484add6554
Issue 8735: Terminate state when extension is unavailable for subscription
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49925 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
0a51642588
Merged revisions 49889 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r49889 | file | 2007-01-08 00:10:07 -0500 (Mon, 08 Jan 2007) | 2 lines
Ensure we use the default refresh value of 60 if the remote server does not send one. (issue #8746 reported by maethor)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49890 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
dcbf36432e
Second condition was a subset of the first, so hold was never decremented, thus hint stayed stuck (Issue 8747)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49831 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
9803b9a357
Make codec_zap and chan_zap also depend on zaptel.
...
This fixes an issue (8727) with zaptel being in a different directory, using --with-zaptel.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49705 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
444adcb477
reduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most cases
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49676 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
fb010e49aa
Merged revisions 49635 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r49635 | kpfleming | 2007-01-05 10:56:40 -0600 (Fri, 05 Jan 2007) | 2 lines
ensure that threads which are supposed to be detached (because we aren't going to wait on them) are created properly
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49636 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ab4da71374
revert the dynamic_list insertion change... that was not the right thing to do
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
aed1467281
create the IAX2 processing threads as background threads so they will use smaller stacks
...
when we create a dynamic thread, put it on the dynamic_list right away so we don't lose track of it
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago