Joshua Colp
3b6f376425
Merged revisions 59194 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59194 | file | 2007-03-23 21:35:49 -0400 (Fri, 23 Mar 2007) | 2 lines
Only try to handle a response if it has a response code. (ASA-2007-011)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59195 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Kevin P. Fleming
cf58b2ba46
don't allow string input to overrun the buffer to hold it (ASA-2007-010)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59182 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Kevin P. Fleming
34f55a9bf6
remove variables that are no longer used (--enable-dev-mode is good, developers should be using it)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59180 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
067876afbc
Until we can do media level parsing for sendrecv/etc just use the first value found. This crept up when a phone was offered audio+video and returned an inactive video stream. chan_sip thought the phone said to put the person on hold but that was totally wrong. (issue #9319 reported by benbrown)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59081 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
bfeb3bcf18
Copy len variable as well, should fix remaining IAX2 DTMF issues.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Christian Richter
30165b1bf2
Merged revisions 58849-58850,59062-59063 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r58849 | crichter | 2007-03-13 12:58:16 +0100 (Di, 13 Mär 2007) | 1 line
added method standard_dec for dialing out on groups, to avoid conflicts, which caused issues with some ISDN providers
........
r58850 | crichter | 2007-03-13 13:58:32 +0100 (Di, 13 Mär 2007) | 1 line
fixed the crypt_keys stuff
........
r59062 | crichter | 2007-03-20 10:18:06 +0100 (Di, 20 Mär 2007) | 1 line
avoid sending a disconnect when we already received one.
........
r59063 | crichter | 2007-03-20 10:23:22 +0100 (Di, 20 Mär 2007) | 1 line
modified a loglevel
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Olle Johansson
156c178143
Issue #9313 , Asterisk crash on SIP return code 0 (reported by qwerty1979) (ASA-2007-011)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
6548086af0
Don't assume that the pvt structure will still exist after calling schedule_delivery as it may not. (issue #9278 reported by fmachado)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58923 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
4fc7d081d3
Some people like to put "limitonpeer" instead of "limitonpeers" in their
...
configuration. While we're at it, support "limitonpeerz" and
"limitonpeerssssss". (inspired by issue #9172 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58906 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Olle Johansson
0eda92609d
Merged revisions 58847 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r58847 | oej | 2007-03-13 12:45:52 +0100 (Tue, 13 Mar 2007) | 2 lines
Issue #9229 - No port in request URI on register to non default SIP ports (neelakantan)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Olle Johansson
f546453573
Don't hangup the call on OK or errors on MESSAGE and INFO
...
inside of a dialog (like video update requests).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Olle Johansson
83bb6718fc
Issue #9251 - Clear From URI from user attributes (tgrman)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
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
19 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
19 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
19 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
Joshua Colp
62b8b03294
It's possible for the iax2 pvt to disappear, so if it has... don't bother looking for dpentries.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
24bb7d865e
don't mark these allocations as 'cache' allocations when caching has been disabled
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49536 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
6b1817c0d1
if we're going to decrement the frame count when we free a frame, we should inrement it when we create one :-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
497dd42772
only do IAX2 frame caching for voice and video frames
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
f7a47b38eb
don't define this type either if LOW_MEMORY is enabled
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49460 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
74258ab85e
don't do frame caching in LOW_MEMORY mode
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49458 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
fb52698667
Merged revisions 48319,48321,48467,48552,48576,49135,49303 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48319 | crichter | 2006-12-06 15:35:25 +0100 (Mi, 06 Dez 2006) | 1 line
changed a few debugs to higher debug levels
........
r48321 | crichter | 2006-12-06 16:48:45 +0100 (Mi, 06 Dez 2006) | 1 line
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.
........
r48467 | crichter | 2006-12-14 14:03:49 +0100 (Do, 14 Dez 2006) | 1 line
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.
........
r48552 | crichter | 2006-12-18 11:19:39 +0100 (Mo, 18 Dez 2006) | 1 line
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.
........
r48576 | crichter | 2006-12-19 14:08:51 +0100 (Di, 19 Dez 2006) | 1 line
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
........
r49135 | crichter | 2007-01-02 11:07:22 +0100 (Di, 02 Jan 2007) | 1 line
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.
........
r49303 | crichter | 2007-01-03 09:24:00 +0100 (Mi, 03 Jan 2007) | 9 lines
* 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.4@49313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
40707f097a
Check pvt structure presence before passing to send_command. This gets rid of the irritating message about a packet without pvt structure. This happens because the scheduled item is getting cancelled at almost the exact moment it is getting executed.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49259 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
5edb7fa173
Small cleanup of add_t38sdp - it's always enabled at that point in the code
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
95758b4920
remove comment that is unrelated to this function
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
f195c5d622
check specifically for VLDTMF and transcoding support in the system's Zaptel installation, and make only the modules that need those features dependent on them (this will allow building the other Zaptel-using parts of Asterisk against older versions of Zaptel or those on other platforms that haven't caught up yet to the Linux version)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49102 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
7db2ca152c
remove incomplete implementation of dnsmgr. Let's fix this in trunk.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
05716471b5
Use asprintf to build the channel names instead of custom function. I believe the custom function is doing some things that are not portable across all implementations. (issue #8570 reported by hterag & issue #8692 reported by nicolasg)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
37e5a39d76
Initialize the packet queue in load_module instead of just declaring the list with the default value. (issue #8695 reported by ssokol)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49063 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
1e9c141c2d
Only include acl.h and lock.h once
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
4f157be79e
Only set rfc2833compensate flag once (handle_common_options)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
f1f8bbaabe
- Remove checking for T38 options twice. Keeping them in handle_common_options
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
0f5aae9688
make the option actually match the documentation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
b2c8abbc6d
allow 'show memory' and 'show memory summary' to distinguish memory allocations that were done for caching purposes, so they don't look like memory leaks
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
d2b7e8b247
Be a bit more politically correct
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48985 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
bfe4bb0f1e
Issue #8575 - Buggy cisco MWI support.
...
Normally we try not to change our software for bugs in other devices. But in
this case, the Cisco phones are so widespread so we try to implement a fix while
waiting for a bugfix from Cisco.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
e25756dfac
- Make sure handle_common_options return 1 when we found a common option
...
- Move uncommon (only global) option away from handle_common_options
Reported by rizzo. Thanks!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48980 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
4ea530f2dc
Issue 8599 (rizzo) Change invitestate before re-sending invite with auth.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48977 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
8a42650605
Fix bogus content-length in t38 sdp. (rizzo, #8600 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48975 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
9cc04e026d
Add an API call that initializes an RTP structure. We need this because chan_sip is cheeky and uses a temporary RTP structure for codec purposes, and the API calls that are used rely on the lock. (Pointed out on asterisk-dev by Andy Wang)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48964 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
a1eee8d2d9
Fix a typo in an error message that indicated that the MGCP channel type could
...
not be registered, instead of the correct type, OSS.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48948 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
53115ff688
Merged revisions 48943 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48943 | russell | 2006-12-24 02:23:07 -0500 (Sun, 24 Dec 2006) | 3 lines
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.4@48944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
1208869c00
Merged revisions 48939 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48939 | russell | 2006-12-24 01:47:29 -0500 (Sun, 24 Dec 2006) | 3 lines
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.4@48940 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
66783cb46f
Note to self: Run make before committing...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48888 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
ef2f05a518
Fix for issue 7774 - patch by alamantia
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48870 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
2703d88576
suppress compiler warnings in this module until it can be improved
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48586 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
11e61ea68a
Put thread into proper list if we abort handling due to an error, and also hold the lock while putting it back into the proper idle list so we don't prematurely get a signal. (issue #8604 reported by arkadia)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
a0c21d30ac
Hold call structure lock in places where a qualify or peer action can destroy it.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48504 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
195c66b4a1
Lock network retransmission queue in all places that it is used.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48502 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
c1f1cf48ac
Issue #8592 - treat 504 as 503 (imported from 1.2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48487 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
a8fe77b95b
Update to latest IANA spec
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
3706ecbbc5
Use a wakeup variable so that we don't wait on IO indefinitely if packets need to be retransmitted.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48478 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
f6cf1458ad
Merged revisions 48371 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48371 | murf | 2006-12-09 19:14:13 -0700 (Sat, 09 Dec 2006) | 1 line
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.4@48372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
eeb415e8dd
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.
In passing, go ahead and convert this list to use the linked list macros.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48363 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
28c36660c7
Issue #8258 - fix handling of 487 being retransmitted to Asterisk
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48326 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
0fe91149ae
Don't send Contact on MESSAGE
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48317 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
694205de93
Merging the invitestate-1.4 branch after successful testing.
...
Will check if I can solve this with less changes in 1.2.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
9636bccb7c
- Removing one of two pieces of code to handle 481 response on INVITE
...
- Move handling of REFER response to handle_response_refer()
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48219 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
f89143bd13
- Disable RTP hold timers while T.38 fax transmission happens
...
- Encapsulate RTP timers in the rtp structure so we have one for video and one for audio
The video one is not used in 1.4, really. Will be used for RTP keepalives when we can send
something that video phones support in the RTP stream.
I now this is a big architectual change at this stage for 1.4, but decided it was needed
to avoid future bug reports.
- Document the RTP NAT keepalive option in sip.conf.sample
Issue 7679 in the bug tracker. Please test.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
98d3fb64ed
- Backport of the "limitonpeers" patch from trunk, to fix a lot of issues with queues and SIP device states
...
- Remove support for T.38 early media, since it's impossible.
(Two patches in one - extra friday evening offer due to being off line from svn today... :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48177 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
b2b70adede
Do not do a partial bridge for Google Talk since we need to handle STUN. (issue #8448 reported by phsultan)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
76e35bac11
Issue 8319 - change noncecount before using it.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
422c97eab7
Merged revisions 48157 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48157 | file | 2006-11-30 15:06:43 -0500 (Thu, 30 Nov 2006) | 2 lines
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.4@48158 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
073e937757
Clean up bad dialogs properly. Caused by GS 487 adapter without CSEQ on separate line
...
in the REGISTER request. Imported from 1.2.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
68ad03e888
Merged revisions 48087 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48087 | file | 2006-11-28 11:56:01 -0500 (Tue, 28 Nov 2006) | 2 lines
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.4@48088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
9436ecaad7
Change logging message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48031 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
5a3dcaff3c
Not having a HINT is not an ERROR. In 1.4 and future releases, you can disable
...
subscription support totally or per peer in sip.conf with allowsubscribe = yes | no
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48002 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
55229f98b9
Merged revisions 47968 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47968 | crichter | 2006-11-23 17:10:23 +0100 (Do, 23 Nov 2006) | 1 line
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.4@47989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
c3a7e9d7c2
Don't allocate unused variable.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47959 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
5c0be47e69
Apparently Exosip sends a 101 after a 100 provisional response. Let's not treat that as
...
early media. (discovered at the AVTF meeting in Paris).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47892 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
a7c1ac60b7
Make sure we destroy scheduled items and not use them ever again after destruction (rizzo)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
d20e81d829
fix bug 7450 - Parsing fails if From header contains angle brackets
...
(the bug was only in a corner case where the < was right after the
opening quote, and the fix is trivial).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
f373cad528
Compare technology using the pointers instead of a straight comparison based on name. (issue #8228 reported by dean bath)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
e1e6a1b2a8
Make the HOLD notification optional, in order to avoid a lot of extra database lookups
...
for all those realtime users out there.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47755 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
88002f78fd
Merged revisions 47750 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47750 | file | 2006-11-16 13:26:50 -0500 (Thu, 16 Nov 2006) | 2 lines
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.4@47751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
d1ee29fc20
Don't fixup if there's nothing to fixup
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47744 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
5bd53e3588
- CANCEL is never authenticated (according to the RFC)
...
- Update docs on canreinvite. "nonat" is the recommended setting for most users with
phones behind a NAT.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47733 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e83e3123f7
Merged revisions 47711 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47711 | file | 2006-11-15 17:29:30 -0500 (Wed, 15 Nov 2006) | 2 lines
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.4@47712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
c78840b900
- Improve SIP history
...
- Never send reply to ACK (again...)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
63f87d112d
Send error message when we can't allocate SIP dialog, possibly due to limitation of file descriptors.
...
(imported from 1.2)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47656 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
8dd76cc19a
silence compiler warning on 64-bit platforms (this variable is an 'int' anyway, comparing it to 'signed long' is not useful)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
25b5cf18b7
Only keep the video RTP structure around if 1. Video support is enabled and 2. A video codec is enabled on the dialog
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
4ecb09f6e8
Update documentation to fit the implementation...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
cb82979700
Issue #8272 - Don't destroy dialog in retransmission system if it's an OPTION packet from peerpoke
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
e944561518
Merged revisions 47580 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47580 | tilghman | 2006-11-13 14:18:30 -0600 (Mon, 13 Nov 2006) | 2 lines
Having more than 255 old messages caused corruption in the new/old count
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
6e4d0e50c8
Re-enable old deprecated commands
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47573 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
55c8a5ded8
- Don't reply to INVITE already replied to when we get BYE
...
- Declare errmsg as int. Oops.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
0ca5dae550
Only produce error message about sip history once
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
129280f4ee
Merged revisions 47522 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47522 | tilghman | 2006-11-12 18:34:44 -0600 (Sun, 12 Nov 2006) | 2 lines
Don't play dialtone if the seizing the channel fails (Bug 7754)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
153cb1309f
Issue 8314 - Restore auto-framing (Thanks DEA!!!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47513 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
fc5f9c78d1
Part of issue 8078 - parse even if udptl is UDPTL in sdp...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47511 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
a471f0a87c
- Don't destroy SIP dialog because of a failed T.38 re-invite. Wait for a bye.
...
Final response to a re-invite does not mean that the session dies, only that
the re-invite fails.
- Keep RTP active during processing of T.38 re-invite. If the re-invite fails,
RTP needs to remain as before the re-invite.
Issue 8338 - darren1713. Please test.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47509 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
853958e863
-Remove blocking of ptime: parsing in sdp
...
-Add some comments to t.38 code
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
3964b50b05
Merged revisions 47496 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47496 | russell | 2006-11-12 01:09:03 -0500 (Sun, 12 Nov 2006) | 4 lines
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.4@47497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matthew Fredrickson
eb4c18e444
Make sure we don't use 32bits when we only need one bit.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47480 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
2a321d80f5
...and make sure that the dialog is destroyed, even if we don't get any answer on the bye...
...
This is the channel that remains dead after the SIP transfer
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
ea257647a2
Add debug output while trying to trace bug in bug report
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
ba58cf9ecd
Make sure we destroy dialog...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
1f2a4eb8c2
Small cleanup of handle_request_invite() - imported from 1.2 with changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matthew Fredrickson
60c6acf03f
Fix for #7321 . Be able to explicitly hide callerid name for switches that bork
...
on it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
ff947e3743
Let's give this a go...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
d83a1f1356
Issue 8010 - Fix support for multipart SDP (alphaque)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
f11ea0549d
Discussion of these CLI changes resulted in more consistency (Bug 8236)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
54994dfe04
Rip out half implementation of 491 response support, since it wasn't implemented
...
properly and caused memory leaks in the case of us getting 491's, which Asterisk
actually sends...
Since it is a bit too complicated to fix this, I'll rip it out of 1.4 and put
it on the to-do-list for future releases. Now, we handle this as congestion,
which it really is.
Issue #8331
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47418 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
27e6ea10fb
Fix bit definition for SIP_PAG2_CALL_ONHOLD. Thanks fenlander!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47414 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e424d306ac
Fix building of chan_h323 by completeing some structure definitions. (issue #8327 reported by Mithraen)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47405 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
58ed1b07ab
Work around an issue that caused menuselect to display a bogus description for
...
app_voicemail and chan_zap. These modules use some preprocessor directives to
determine what it will report to Asterisk as its description. However, the way
we extract this information from the source files for menuselect is not smart
enough to figure this out.
(issue #8326 , #8328 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
6e693fdb0c
Merged revisions 47379 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47379 | file | 2006-11-09 11:48:05 -0500 (Thu, 09 Nov 2006) | 2 lines
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.4@47380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
1de03495a9
Committed in behalf of 8190.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
10978d0390
add simple fix for SDP to report proper sample rate for G.722 media sessions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47333 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
487d4512d3
Make this module build again
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
764ba93e05
Destroy dialog properly at unload (rizzo)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47309 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
517978fd5f
These mods are to solve the problem in bug 7506. It's a lot of rework to solve a fairly small problem... such is life.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
b3bf131dd8
This is not the commit you are looking for...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47287 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
b832f42414
Make MOH work as it did before in chan_local, without this then it can go funky when transfers and MOH are involved. (issue #7671 reported by jmls)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
647fb52e31
Issue 8303 (lrizzo) - break instead of continue.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
eac4efcf22
Fixing the attack shield so it doesn't produce attacks... Issue 8265 - never reply to an ACK
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
d5edfd432a
Issue #8284 : Fixes to Invite/replaces and transfer from "john"
...
Thank you!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
b6079499e4
This fix introduced via bug 8233
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
56a1e60c54
More changes making the CLI more consistent with "category verb arguments" (continuation of issue 8236)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
e05a2752e8
Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
ea69dd0cbc
Move check for codec translation to sip_call() instead of in add_sdp. No one bothers
...
with the result of add_sdp anyway... Yet...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
bfb1d68414
Disable code for T38 over TCP and RTP since there's no trace of actual functionality for it :-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Nadi Sarrar
72985e664f
find_free_chan_in_stack usage fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46963 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
efdffc0cf8
don't send INVITE when we have determined that we can't offer any audio formats due to lack of trancoding support (or incorrect configuration)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46937 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
eb25ec6ed5
Merged revisions 46920 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r46920 | file | 2006-11-02 11:02:27 -0500 (Thu, 02 Nov 2006) | 2 lines
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.4@46930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
5667c1c71d
Dont overwrite pkt->flags (from 1.2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
6a10570614
bind address support from bug 8164
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46822 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
899d116be2
It's another round of chan_iax2 fixes! Should hopefully fix the deadlock issues people have been reporting. IAXtel now has qualify turned on for 800 peers and it is handling it fine.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46775 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
c9c41a0b85
Prevent an infinite loop when config processing gets to a jitterbuffer option
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46744 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
9ab1cc22a4
Support ;rport when we're supposed to support ;rport. Issue #7473 .
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
56f2cab81c
If peer fails ACL check, fail peer at REGISTER
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
cdb0c64271
Fix T38 too. Thanks, tgrman !
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
a7e0a4d143
We need to lock the pvt structure during retransmission as another worker thread may be doing something as well.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
86c973f71f
Issue #8246 - Doxygen fixes from kshumard.
...
An extra big thankyou is given to everyone that contributes to doxygen!
THANK YOU!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
9213317979
Issue #7869 - Stop retransmission of 302 redirects (imported from 1.2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
4456e58811
Issue #7608 - Notifications sent with wrong content-type (imported from 1.2, modified)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
e8350b836b
Backport of patch for #7828 that was reported for trunk, but obviously
...
exists in 1.4 too.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46401 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
0ff30203f9
Restoring the old logic, since working around it and fixing it seemed too complicated.
...
- The SIP_OUTGOING flag indicates the direction of the last transaction in the dialog.
- The initreq stores the last request in the dialog, the request that opened the
latest transaction.
Please now retry all the 1.4 bug reports with mixed to/from headers, tags etc
in ACK, BYE, CANCEL. Thanks!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
b1b2177079
Accepting a message twice may be misinterpreted...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46389 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
5c59f2f5f5
- 183 is not reliable message...
...
- Error should not have SDP
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
0ed3384fb1
move the copy of the default settings to the global settings back out of
...
process_zap, so that they aren't overwritten when process_zap is called
multiple times
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
b588d56fc8
Instead of iterating all of the options once to look for jitterbuffer options,
...
and then again for everything else, move the processing of jitterbuffer
options into the main loop so that there are no erroneous messages about
ignoring unknown options. (issue #8226 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
b03054fdfc
Merged revisions 46350 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r46350 | crichter | 2006-10-27 11:24:01 +0200 (Fr, 27 Okt 2006) | 1 line
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.4@46353 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
f7a6f0efa2
fixed not compile issue, which was just introduced
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
6964f148ba
Merged revisions 46176 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r46176 | crichter | 2006-10-25 10:41:59 +0200 (Mi, 25 Okt 2006) | 1 line
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.4@46351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
77e12e971c
Old todo note - Don't add Contact header on BYE and Cancel
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
b36a4fad1b
Somewhat ugly code to try to fix issue #7608 .
...
Since the problem was not very well defined, the fix is a bit fuzzy too...
Thanks to Luigi for accidentally spotting the possible problem!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46252 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
03b4e17d23
show settings doesn't produce a list
...
of similar objects, it should stay a "show"
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46216 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ce4b0afb73
apparently developers are still not aware that they should be use ast_copy_string instead of strncpy... fix up many more users, and fix some bugs in the process
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
6c17f1e07e
add passthrough and file format support for G.722 16KHz audio (issue #5084 , original patch by andrew, updated by mithraen)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46154 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
05eb71c699
code zone experiment: don't offer formats in the outbound INVITE that aren't either passthrough or translatable
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46153 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
c6b9449955
We need to initialize our scheduler pthread condition... yes.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
50fda8522d
merge 45966 refer_to_domain potentially containing options
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
d7b0db6530
merge 46026 improper checks on get_header() return values
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46115 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
fa4d6f23a6
merge 46045 prevent NULL args to ast_strdupa() in chan_sip.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
c01e86f14e
Merged revisions 45808 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r45808 | crichter | 2006-10-21 14:35:13 +0200 (Sat, 21 Oct 2006) | 1 line
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.4@45916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
2681aea6b2
Let's understand SIP:
...
- REFER can create dialog, Asterisk does not support it yet
- NOTIFY can create dialog in Asterisk's implementation (voicemail) even though
we don't support the server side of it. In this case, the standard is a side issue ;-)
- Added extened functionality for unsupported methods (PING, PUBLISH) so we don't
create PVT's for those either.
Russellb needs to judge what to do with this in 1.2, but I think the current implementation
n 1.2 is a bug since we're sending bad replies to NOTIFY and REFER outside of dialogs
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
67c180956c
If the jitterbuffer is forced on then we can't partially bridge (reported by wangster on #asterisk-dev)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
a37a95c0d8
Cleaning up
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45646 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
87cb020143
Don't leak the actual thread-specific sip_pvt struct
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45622 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
2f6a555fbd
don't leak memory when a chan_sip thread is destroyed that has a thread-local temp_pvt allocated
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45621 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
9bd68dd32c
remove duplicate declarations
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
227d415709
optimize the 'quick response' code a bit more... no more malloc() or memset() for each response
...
expand stringfields API a bit to allow reusing the stringfield pool on a structure when needed, and remove some unnecessary code when the structure was being freed
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
0c4dfe3aed
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.4@45378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
1e2935d447
remove the option that was not needed, really.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d28fd24747
Merged revisions 45265 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r45265 | file | 2006-10-16 15:59:54 -0400 (Mon, 16 Oct 2006) | 2 lines
Use responses rather then replies even though they mean the same thing.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
3f24dceeca
Merged revisions 45260 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r45260 | file | 2006-10-16 15:28:18 -0400 (Mon, 16 Oct 2006) | 2 lines
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.4@45262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
eaaddb90bf
Don't destroy dialog for unexpected REFER response...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
a05d2ebb96
avoiding warning, fixing potential bug
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
7f8528f21c
Merged revisions 45048 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r45048 | kpfleming | 2006-10-13 11:18:08 -0500 (Fri, 13 Oct 2006) | 2 lines
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.4@45049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
1bfbc1419a
Complete merging in RPID screen changes (issue #8101 reported by hristo, patch by oej in revision 44757)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45040 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
3a602aa1d7
Merged revisions 45020 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r45020 | crichter | 2006-10-13 15:11:13 +0200 (Fr, 13 Okt 2006) | 1 line
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.4@45026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
887395b103
Merged revisions 44993 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44993 | crichter | 2006-10-13 09:40:07 +0200 (Fr, 13 Okt 2006) | 1 line
fixed issue, that the hangupcause got a wrong isdn cause at RELEASE_COMPLETE
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
0e230d79d8
merge formatting and minor code simplifications from trunk
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
0c4d8edca6
fix for bug 7764.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ec4bf13915
we can only send one 'a=ptime' attribute per media session, not one for each format
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44971 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
09f6a6a167
Merged revisions 44955 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44955 | kpfleming | 2006-10-12 13:31:26 -0500 (Thu, 12 Oct 2006) | 2 lines
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.4@44956 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
8621f03cf2
removed warning because of missing prototype declaration
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
84a6a67b15
Do not set default/global values in the variable declaration, set it in reload_config()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e0dbc80f61
Move some stuff around so that a NOTIFY dialog won't hang around until the end of the world under certain circumstances
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e4380a1b2e
Bail out if we have no refer structure and we get a refer response
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44806 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
0681269434
more merge from trunk (comments and change a static function name)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
74171605af
Only set DTMF information if an RTP structure exists
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44788 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
76dd912066
Merged revisions 44785 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44785 | crichter | 2006-10-10 15:34:33 +0200 (Di, 10 Okt 2006) | 1 line
(re)added support of dynamical enabling hdlc on bchannels
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44786 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
fde338ba2c
whitespace changes related to previous commit
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
e0f745b1f6
merge a few code simplifications that have gone
...
into trunk during last week, to reduce differences
between the two branches and make porting fixes easier.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
f3ba83ae1a
Fix a problem where phones that go "missing" never got unregistered.
...
Issue #8067 , reported by pj, patch by Anthony LaMantia (with minor whitespace modifications)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
f11d155547
iaxs[callno] may go away if we try to avoid the deadlock
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44760 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
8a7f8f5592
Properly avoid a collision with iax2_hangup (issue #8115 reported by vazir)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
9d88cfa8dc
merge svn 44744: do not dereference p if we know it is NULL
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44746 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
e2676b1098
Propagate caller's transfer capability too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
f480d547cc
merge revision 44664 - put common code in a function to avoid repetitions.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44665 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
169342bc0d
remove hardwired usage of 5060, use DEFAULT_SIP_PORT instead
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
35d8151b55
merge rev 44253 - option_debug checking before printing to debug channel.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
e65f2bd612
backport simplifications on sip_register,
...
usage of ast_set2_flag(),
and fixes to the handling of failed module loading.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
e5a838cac1
improve and document function get_in_brackets(), introducing
...
a helper function find_closing_quote() of more general use.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
290fe898f0
Merged revisions 44460 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44460 | crichter | 2006-10-05 12:02:38 +0200 (Do, 05 Okt 2006) | 1 line
fixed segfault which happens during hold/transfer action
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
37df5208a1
Merged revisions 44335 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44335 | crichter | 2006-10-04 17:26:59 +0200 (Mi, 04 Okt 2006) | 1 line
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.4@44562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
13825dab85
Merged revisions 44334 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44334 | crichter | 2006-10-04 17:13:58 +0200 (Mi, 04 Okt 2006) | 1 line
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.4@44561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
e0005b654a
Merged revisions 44149 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44149 | crichter | 2006-10-02 15:28:14 +0200 (Mo, 02 Okt 2006) | 1 line
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.4@44559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
8d2f872a84
One more T.38 fix! Don't leave a reinvite hanging by a thread if the other side is already setup with T.38
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
db989fc58c
Don't totally bail out if T.38 was negotiated
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ca2bdd54c7
Merged revisions 44432 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44432 | kpfleming | 2006-10-04 20:27:57 -0500 (Wed, 04 Oct 2006) | 2 lines
fix Polycom presence notification again
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
0ee719e52f
Merged revisions 44392 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44392 | kpfleming | 2006-10-04 16:15:29 -0500 (Wed, 04 Oct 2006) | 3 lines
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.4@44393 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ff05bf15c8
update thread creation code a bit
...
reduce standard thread stack size slightly to allow the pthreads library to allocate the stack+data and not overflow a power-of-2 allocation in the kernel and waste memory/address space
add a new stack size for 'background' threads (those that don't handle PBX calls) when LOW_MEMORY is defined
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
592cbc0452
fix issue with dialing client without resource.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
bc3dee9d86
Change default presentation indicator to "user provided not screened" if octet 3a missed in CallingPartyNumber IE
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44286 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d241bab733
Use VideoSupport instead so it is considered a valid XML attribute name. (issue #8075 reported by renemendoza)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
70dfcccd66
Fix preparation of type and presentation of calling number
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
5058b9e13f
updated res_jabber for even better component support, soon will be jep-0100 compliant.
...
also removed chan_jingle and infromed info from jingle.txt, chan_gtalk still works and should be used in this version.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d56d4a3f7f
Merged revisions 44213 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44213 | file | 2006-10-02 16:07:59 -0400 (Mon, 02 Oct 2006) | 2 lines
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.4@44215 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
f76b7ab4a9
Optimization of oh323_indicate(): less locks - less problems, plus single exit point
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Mark Spencer
43b8d09b81
Don't use Channel when you're not talking about a channel :)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
5ec38a80bf
Do not simulate any audio tones if we got PROGRESS message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
c88b87f6ed
sync with trunk - move variable declarations to the beginning of a block.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44109 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
ffd8a2576b
Fix issue #7928 correctly. Next is a comment of previous fix:
...
Issue #7928 - Don't send both 404 and 503. Fix by phsultan with
a small fix by me, myself or I. Thanks, Philippe!
(This was caused by my changes to the transaction handling)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
7a7c5011a1
Found some buggy SIP clients (phones Planet VIP-153T firmware
...
1.0, Linksys PAP2 firmware 3.1.9(LSc)) which sends ACK not on OK
message only (when remote party answers) but on RINGING message
too, so when we send 200 OK message, we get unidentified ACK
message (because INVITE acknowledged on RINGING message already),
so 200 OK retransmits within its retransmission interval then
call gets dropped.
If someone else knows how to provide workaround for such cases,
please, fix it in correct way.
Thanks to ssh from #asteriskru for provide access to his box to
study and fix this case.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ec2e4f2216
fix a few build system bugs, and convert Makefiles to be compatible with GNU make 3.80
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
e4ff1716d5
Compile first, please
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44043 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
8a107b3a16
Set TON/PRESENTATION information more carefully when no CallingNumber IE available
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
4ecb66c6b4
Fake display name by called number on incoming calls (until passing connected number/connected name is not implemented)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
5d8c027883
Ported code refers to H.450 - add includes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
6f72c19b74
Properly pass TON/PRESENTATION information - original
...
H323Connection::SendSignalSetup() destroys Q.931 fields.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
b05cb6d46b
Pass TON/PRESENTATION information too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
704397dc3c
don't abuse CFLAGS and LDFLAGS for build of Asterisk components, because they are also then used for non-Asterisk components (like menuselect); use our own variables instead
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d2d4833b79
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.4@43933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
13b9f34966
Extend call establishment timeout
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43918 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
24b723af44
Make sure the pvt exists before accessing it again as it may have gone away (issue #7562 reported by Seb7 and issue #7939 reported by sorg)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
f1ebcc8e34
Fix compiler warning
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
89e23aa040
Force remote side to start media on outgoing PROGRESS message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43862 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
a3f43a7dfe
Merged revisions 43764 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43764 | crichter | 2006-09-27 14:51:03 +0200 (Mi, 27 Sep 2006) | 1 line
fixed a bug which led to chan_list zombies, when the call could not be properly established in misdn_call. also removed the ACK_HDLC stuff which is not really needed.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
e2d1986cec
Do not open transmit channel until TCS is received
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
0929a218f3
Get rid of two functions from a time now past (we THINK these are from pre-recursive lock time) that may be contributing to two open issues on the bug tracker (7562/7939) and that has the potential to just make bad things happen if the timing is right.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
cf7b068f58
removed the chan_misdn versioning, since asterisk has it's own
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43775 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
8459e9a7ac
Make rfc2833compensate a global option.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43774 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
2862b777fe
Merged revisions 43705 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43705 | file | 2006-09-26 16:38:06 -0400 (Tue, 26 Sep 2006) | 2 lines
Use proper type to represent the group variable (issue #8025 reported by makoto)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
6a4c92a630
Add missing newline character in the warning message about deprecated TOS values
...
in configuration.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
6dc8b23feb
Strip options off the argument passed for devicestate in chan_local. (issue #8034 reported by pcardozo)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
955cb53b6b
Add proper codec support to chan_skinny. Works with at least ulaw, alaw, and g729a.
...
This is technically a "new feature", but there are justifications for it.
I found a bug with the recent rtp packetization changes, which caused the media setup to
fail under certain circumstances, particularly when using allow=all, or having no allow=
statements (globally or on the device).
I could have either removed the rtp packetization features, or I could add proper codec
support (which, without, I think most people would consider to be a bug anyways).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
f1018ee8bb
Fix ASN1 description of non-standard Cisco extensions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
b2b256eeef
Backport changes of trunk:
...
1) r43540: Avoid possible deadlock on channel destruction
2) r43590: Disable fastStart if requested by remote side
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43626 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
4b81fe1d28
Merged revisions 43472,43495 from trunk
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
4a8a46a162
Fix a CLI command registration issue where an erroneous message claiming that
...
"iax2 show provisioning" was already registered. This was because this command
was registering itself as both the command, as well as the command it is
deprecating. (issue #8022 , reported by bjweeks, fixed by myself)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
c259876748
Merged revisions 43552 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43552 | russell | 2006-09-24 09:50:30 -0400 (Sun, 24 Sep 2006) | 4 lines
Check to see if the channel that is activating the IAXPEER function is actually
an IAX2 channel before proceeding to process it to avoid crashing.
(issue #8017 , reported by admott, fixed by myself)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
e2365e0f0f
Allow chan_skinny.so to be unloaded properly.
...
Remove reload support, since it doesn't actually...work.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
0b2dcac484
return AST_MODULE_LOAD_DECLIDE if mISDN could not be configured
...
(issue #8006 , Mithraen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43482 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
d940da0acf
First shot at unload_module in chan_skinny..
...
More to come.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43469 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
ff11e64e67
updates for better compontent support
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
928c5f7bbc
Some more clean up in the load function for chan_oss (issue #8002 reported by Mithraen with minor mods by moi)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43456 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e02f0bda8f
Clean up chan_mgcp's module load function (issue #8001 reported by Mithraen with mods by moi)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
9cf9c1373b
merge down mark's users.conf fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
0cfaffac96
Fix some chan_zap warning messages, when HAVE_PRI is not defined.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43374 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago