Olle Johansson
2dd2865d7b
Small formatting fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26756 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 08:20:59 +00:00
Olle Johansson
52cb5c87db
Issue #OEJ12399.3 - Set default maxcallbitrate for users too.
...
(Well, could have opened a branch for this, but felt community pressure not to... ;-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26755 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 08:08:54 +00:00
Olle Johansson
9b2d51fb4a
- Add more and organize forward declarations (preparing for splitting up this file)
...
- Doxygen fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26720 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 07:57:03 +00:00
Olle Johansson
d04f0da698
Issue #7081 (kanoop) - use proper cause code for 480
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 07:25:03 +00:00
Kevin P. Fleming
5fb4e7019f
and chan_iax2 gets smaller... remove the old jitterbuffer
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 16:14:26 +00:00
Russell Bryant
19ca8dc7c1
remove some chekc sof the result of ast_mutex_lock (issue #7119 , Mithraen)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 15:41:23 +00:00
Kevin P. Fleming
b5a7328dbe
update the ->indicate() callback for the new arguments
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 15:00:33 +00:00
Russell Bryant
04ecb29d03
remove almost all of the checks of the result from ast_strdupa() or alloca().
...
As it turns out, all of these checks were useless, because alloca will never
return NULL.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 13:22:15 +00:00
Kevin P. Fleming
fdcfd6469b
ensure that control frames with payload can be sent to channel drivers via ->indicate()
...
update iax2_indicate to pass control frame payload to the connected channel
add an API call for sending an indication with payload, and use it for control frames with payload
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 12:24:11 +00:00
Mark Spencer
66ed134473
Allow media to go directly between IAX endpoints while signalling still
...
goes through the existing path.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26314 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 09:09:16 +00:00
Kevin P. Fleming
c22eb692a1
minor cleanups and removal of duplicate prototypes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26092 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 14:25:31 +00:00
Mark Spencer
9953f4f40e
Make SIP early media work more efficiently without so many reinvites
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 11:44:50 +00:00
Mark Spencer
3135a35b92
Make sure we update parameters correctly with reinvite
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25959 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 09:47:22 +00:00
Mark Spencer
db502da870
Make menuselect be able to show what the modules are
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 08:44:50 +00:00
Olle Johansson
5a31054599
Issue #7103 (mikma)
...
- Don't send reply on ACK
- use "require" instead of "required" which is an unknown header
(Partly imported from 1.2)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25612 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 15:31:58 +00:00
Olle Johansson
896362d30c
- Issue 7101 (mikma) - Don't crash with no From: header in pedantic mode
...
- Cleanup of get_destination
- Don't call uri_decode twice on the same string if you're in a rush ... :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 14:45:28 +00:00
BJ Weschke
ff82a8046d
Merged revisions 25563 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r25563 | bweschke | 2006-05-08 10:12:20 -0400 (Mon, 08 May 2006) | 3 lines
Don't show agents as available when they are in wrap-up time. #6726 (ZX81)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 14:13:43 +00:00
Matt O'Gorman
05ea5482d0
woohoo asterdevcon first commit, adds feature to
...
cli for agents, show agents online , patch from bug
7096
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25441 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 11:08:38 +00:00
Christian Richter
019f39f614
in PTMP TE we should set the free state for the B-Channel if we ignore an incoming call
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 07:30:28 +00:00
Russell Bryant
3b43ddac78
Merged revisions 25123 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r25123 | russell | 2006-05-05 20:05:27 -0400 (Fri, 05 May 2006) | 3 lines
ensure that the appropriate manager events are sent in all of the places where
alarms are detected or cleared (issue #6866 , flefoll)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-06 00:06:58 +00:00
Russell Bryant
b6ac5b36c6
document the return value of gettag()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25063 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 21:55:25 +00:00
Russell Bryant
e91afbaef1
fix the return value of gettag() to only return the pointer to the provided
...
tag buffer if the tag was actually found. There is code that checks to see
if this result is non-zero to determine whether the tag was found or not.
(issue #7092 , mikma)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 21:43:06 +00:00
Christian Richter
efccf89eae
Added option far_alerting. This option makes it possible to generate a Ringing on other channels if they feel that they should have inband ringing, but there is non in reality. I need this due to the fact that asterisk has not the possibility to transmit progress indicators thus chan_sip and others do not know wether they should generate a Rining tone themselves if they receive AST_CONTROL_RINGING..
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24879 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 16:38:15 +00:00
BJ Weschke
a7b1476058
Provide the ability to adjust txgain/rxgain on a channel level via the CHANNEL() function
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24621 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 22:02:50 +00:00
Joshua Colp
b82b277790
Update chan_iax2 to use linkedlists.h for users and peers. Modify the way get_from_jb and expire_registry works to get rid of certain crash scenarios. Finally - change the way expire_registry works when realtime autoclear is enabled to be a bit more efficient.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 16:07:03 +00:00
Olle Johansson
9c60f78ea1
Issue #7074 - Problem with long contact lines
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 12:46:29 +00:00
Christian Richter
7f58902bf3
use set_callerid to update callerid with prefix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24177 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-02 14:26:40 +00:00
Christian Richter
63b0baa757
returning 128 emtpy Frames instead of null frame.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-02 14:00:37 +00:00
Tilghman Lesher
dfdf6e1f76
Don't return stack pointers from functions (especially since the code will attempt to free() them later)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-01 03:58:13 +00:00
Luigi Rizzo
072e1b8a83
move some code used only --with-pri in the proper
...
conditionally-compiled area.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-01 00:51:38 +00:00
Kevin P. Fleming
0adfa8c635
use proper method of detecting OSS support on Linux and FreeBSD
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23736 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30 17:49:50 +00:00
Kevin P. Fleming
51382b3712
Merged revisions 23705 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r23705 | kpfleming | 2006-04-30 10:46:22 -0500 (Sun, 30 Apr 2006) | 2 lines
remove a pointless comparison, since the buffer is smaller than the length being checked for
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23706 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30 15:48:56 +00:00
Kevin P. Fleming
d7aead737d
Merged revisions 23673 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r23673 | kpfleming | 2006-04-30 09:27:56 -0500 (Sun, 30 Apr 2006) | 2 lines
allow top-level OPTIMIZE setting to affect builds in these subdirectories too
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30 14:28:25 +00:00
Kevin P. Fleming
26753f77b0
remove unusable MFC/R2 support
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23670 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30 14:09:13 +00:00
Christian Richter
835dfe67b3
added an up-queue message mechanism to avoid buffer fillups in the kernel, also changed some strdups to ast_strdupa
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23443 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-29 22:56:00 +00:00
Luigi Rizzo
96e015a239
partial adaptation to the new module loading
...
(not sure if it compiles, partly inspired by #9981 but
with adaptations)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-29 04:54:05 +00:00
Russell Bryant
d649d03170
fix sending the group numbers for a sip peer over the manager interface
...
(issue #7046 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23178 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-28 16:50:32 +00:00
Matt O'Gorman
d830dbabf8
allows for chan_zap to have all channels reloaded
...
via zap restart patch from bug 6955
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27 18:53:47 +00:00
Matthew Fredrickson
173e8b14cd
Make sure we use the correct event type when we're moving channels around :-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27 16:20:39 +00:00
Christian Richter
0b6bd0073b
put the default misdn.trace to /var/log/asterisk/misdn.log for better integration of existing log structure
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22795 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27 08:23:53 +00:00
Christian Richter
2bde492ea9
Facility decoding doesn't work proper yet
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-26 14:51:32 +00:00
Kevin P. Fleming
574e14cbea
Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 17:11:45 +00:00
Olle Johansson
5873462c2e
- Add doxygen documentation for sipsock_read locking
...
- Improve documentation of pedantic
(related to issue #7016 )
From the air above Russia...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-23 06:22:29 +00:00
Jim Dixon
a83297d85f
Added "Operator Services" connection mode for Zap channels, and the 'O' option
...
in app_dial to support the use of this mode.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-22 11:30:06 +00:00
Luigi Rizzo
5fa0dc4316
more stncpy/ast_copy_string replacement.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-21 18:34:38 +00:00
Luigi Rizzo
8a63187145
replace some strncpy with ast_copy string,
...
on passing fix some potential null pointer dereference,
and normalize some loops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22043 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-21 18:08:57 +00:00
Luigi Rizzo
5928df2a48
replace strncpy with ast_copy_string.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22016 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-21 17:53:39 +00:00
Luigi Rizzo
ef619f6dd8
ast_strdup can handle NULL args well, so use it.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-21 10:37:59 +00:00
Olle Johansson
6149e82b6c
Clarify result of sipsock_read
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19 23:49:36 +00:00
Olle Johansson
4403905c2d
Add reference to RFC for mailbox notification
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19 00:45:37 +00:00
Olle Johansson
d0f254ef61
Cosmetic fixes to code...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19 00:04:03 +00:00
Olle Johansson
fc2d28805b
- call parking improvements (part of the siptransfer branch)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21157 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18 15:09:01 +00:00
Olle Johansson
2af3d42e9b
Implement somewhat improved support for 481 Call leg does not exist responses...
...
- There are some questions on what to do here, but it is a first step.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21131 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18 14:50:30 +00:00
Olle Johansson
910c44b1b6
Clean up handle_response_peerpoke
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18 14:41:57 +00:00
Olle Johansson
60d91caa23
Change sip show channels to include refer status
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18 14:37:54 +00:00
Olle Johansson
1fec0e47e7
- Deallocate refer structure at sip_destroy time
...
- Implement new sip_transfer() function
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18 14:35:15 +00:00
Luigi Rizzo
52ac09f78f
simplify logic in iax2_bridge()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18 14:23:14 +00:00
Olle Johansson
177b8e9143
It's critical that we get an ACK on a 200 OK to an INVITE. If we do not get the ACK,
...
tear down the call. (Discovered at SIPit18)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21061 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18 07:03:36 +00:00
Olle Johansson
2c73c08f5a
use XMIT_RELIABLE ...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21043 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18 07:00:27 +00:00
Olle Johansson
40161ae947
- Move subscribeuri away from refer-to, since refer-to is moving away from sip_pvt
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18 06:40:01 +00:00
Kevin P. Fleming
2229586d71
more module loader related fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20963 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17 16:42:21 +00:00
Olle Johansson
080298dad4
Set timeout timers to Timer A and F in rfc 3261, section 17
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17 14:22:16 +00:00
Olle Johansson
ea7f924b30
Change transmit_invite(). SIP Transfers are now broken officially, while
...
waiting for the rest of the patches... This is the dev branch, after all.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17 14:07:50 +00:00
Olle Johansson
5320c6b76a
- Add supported header
...
- Send cause codes as well
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20908 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17 14:00:44 +00:00
Olle Johansson
42918c225a
Add more history on masqs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20903 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17 13:52:53 +00:00
Olle Johansson
b124cf4c80
- Implementing the new SIP transfer data structure
...
- Changing SIP call to support sending INVITEs as part of call transfers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20902 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17 13:47:30 +00:00
Olle Johansson
bdb2332621
- Documentation update
...
- Formatting change
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17 13:22:31 +00:00
Olle Johansson
bedd0c2ed3
Documentation update
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17 13:08:24 +00:00
Olle Johansson
382fd7260c
Remove ignore from handle_respons_refer
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20872 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17 09:21:56 +00:00
Olle Johansson
a5e5fb18e2
Clean up handle_response_invite
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17 08:15:38 +00:00
Olle Johansson
92ac73fe3b
- Drop too bad SIP requests in order to avoid some UDP misuse (hello Edwin)
...
- Clean up initialization of initatial request initialization
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20816 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17 05:32:22 +00:00
North Antara
659cb5ea5a
whitespace and spelling (recieve instead of receive) fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17 01:17:03 +00:00
Olle Johansson
4a312a044d
- Fixes to ast_channel_lock functions
...
- New get_sip_pvt_byid function (not really used correctly yet...)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16 12:57:15 +00:00
Joshua Colp
5c05128777
Move a bit more stuff over to the datadir (issue #6967 reported by tzafrir patch by north)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-15 23:37:29 +00:00
Russell Bryant
717445c1d8
add the ability to turn off the feature that allows agents to end calls
...
by pressing '*'. This is still on by default. (issue #6897 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-15 22:32:23 +00:00
Russell Bryant
825d6d7c99
Big oops. I did this from my trunk directory instead of autoconf_and_menuselect ...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-15 15:34:57 +00:00
Russell Bryant
aade174330
include autoconfig.h (casper)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20296 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-15 15:33:00 +00:00
Olle Johansson
e75fa47099
More ast_channel_lock fixes
...
- Update lock.h with definitions of ast_channel_lock, ast_channel_unlock and ast_channel_trylock
- Convert some functions (but not all) in channel.c
- Fix some bugs in chan_sip.c
- Convert rest of chan_sip.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20295 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-15 15:07:39 +00:00
Olle Johansson
6b3367bf5c
New functions for locking a channel - these simplify debugging
...
when you have channel locking issues.
(Part of the SIP transfer patch, where I had a *lot* of
channel locking problems)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20264 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-15 08:07:50 +00:00
Luigi Rizzo
e43bc6634d
This rather large commit changes the way modules are loaded.
...
As partly documented in loader.c and include/asterisk/module.h,
modules are now expected to return all of their methods and flags
into a structure 'mod_data', and are normally loaded with RTLD_NOW
| RTLD_LOCAL, so symbols are resolved immediately and conflicts
should be less likely. Only in a small number of cases (res_*,
typically) modules are loaded RTLD_GLOBAL, so they can export
symbols.
The core of the change is only the two files loader.c and
include/asterisk/module.h, all the rest is simply adaptation of the
existing modules to the new API, a rather mechanical (but believe
me, time and finger-consuming!) process whose detail you can figure
out by svn diff'ing any single module.
Expect some minor compilation issue after this change, please
report it on mantis http://bugs.digium.com/view.php?id=6968
so we collect all the feedback in one place.
I am just sorry that this change missed SVN version number 20000!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14 14:08:19 +00:00
Olle Johansson
5af687b83b
Issue #6951 - Show last successful registration time in "sip show registry" (ivanfm) with mods for svn trunk
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19736 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-13 12:48:03 +00:00
Olle Johansson
d4b5393eeb
- Adding some refer state definitions from the siptransfer branch
...
- A bit more URI conversions
- Changes to sip_dual and the SIP invite structure
- Add Supported: headers to more requests
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-12 21:21:44 +00:00
Olle Johansson
9468e5cd06
Fix for Polycom bug...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-12 21:00:31 +00:00
Olle Johansson
ea4235c56c
Implement a setting for denying/allowing transfer requests. At this stage,
...
we only have open/closed. Well, at least you can deny transfers from unknown
callers or at least incoming calls.
(Part of the SIPtransfer branch)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-12 20:57:07 +00:00
Olle Johansson
975ddb8552
Doxygen docs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-12 20:32:40 +00:00
Luigi Rizzo
b24bc86fc2
reindent block properly
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-12 00:17:37 +00:00
Luigi Rizzo
86e8094c3c
localize some variables, remove useless parentheses
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-12 00:15:57 +00:00
Luigi Rizzo
3579d11dc1
remove useless \0, and fix formatting.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 23:54:33 +00:00
Kevin P. Fleming
fb4d5fb6a6
fix logic error; don't test for rtcache flag unless asked to (issue #6923 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19393 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 22:07:52 +00:00
Joshua Colp
d7f01e051b
No need to do this in here any longer since the linkedlists macro is fixed
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19305 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 20:51:45 +00:00
Joshua Colp
afcefc4a68
Convert chan_iax2 to use linked lists for multithreading, and add dynamic threads. These are used when all pool threads are in use, and will stick around until load dies down. The theory is that during high load you'll have more threads available, and during low load you'll only have the normal pool threads sticking around.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19254 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 16:44:10 +00:00
Luigi Rizzo
6b2d947b62
staticize a function, and normalize code in preparation to module changes.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19188 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 10:00:24 +00:00
Christian Richter
baab6e1c27
mISDN Messages must be freed with free_msg \!\!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 08:31:19 +00:00
Olle Johansson
8318cddd8e
- First stab at removing debug and ignore variables that
...
we pass along function calls, instead implementing them as
flags on the incoming packet.
- Adding forward declarations of handle_request functions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 06:09:01 +00:00
Olle Johansson
26198e8826
Fixup fixup - add some debugging and error handling
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18940 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10 20:18:14 +00:00
Olle Johansson
8b1543974f
Resolve conflicts, prepare for next batch of conflicts
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18909 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10 19:55:39 +00:00
Christian Richter
52cf26255a
fixed some issues, that appear at higher load
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18835 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10 16:50:20 +00:00
Christian Richter
cb6f278393
we send nearly everytime a RELEASE, only if we for sure know, that it's a TE and we did create the call we don't to hear the Inband Info
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18800 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10 14:09:17 +00:00
Olle Johansson
fed57c1eb2
Making sure that cancel destroy is only executed once...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18799 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10 13:43:54 +00:00
Olle Johansson
f74538df11
Small fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18797 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10 13:19:36 +00:00
Luigi Rizzo
c3b3feab76
- staticize gettag() complete_sip_peer() get_calleridname() arguments;
...
- use strsep() instead of strchr() where appropriate
- constify some args and add comments.
- remove a conditional near line 1940 - we already know what to use.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18793 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10 12:20:57 +00:00
Luigi Rizzo
8731b6386d
- constification of some functions (args and return values):
...
transmit_response_reliable()
hangup_cause2sip()
- remove useless braces;
- add comments on some slightly cryptic code segments
- mark XXX possible critical pieces of code.
- remove an unneeded string termination after ast_copy_string
- mark usage of some rarely used functions;
- use strsep() instead of emulating it inline;
- replace magic constants with sizeof(array)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18792 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10 11:57:40 +00:00
Luigi Rizzo
7e5e2ffb5f
- localize 'struct cfalias' into the only function using it;
...
- remove duplicate code to walk through sdp packets, replacing
sdpLineNum_iterator_init(&foo); with "foo = 0";
- remove duplicate code to test ast_test_flag(&p->flags[0], SIP_NAT_ROUTE);
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10 11:36:02 +00:00
Luigi Rizzo
25e9168fea
constify get_sdp*() and friends.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18790 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10 11:19:14 +00:00
Luigi Rizzo
87890e75ba
constify get_header(), which let me find out and fix one bug (overwriting
...
a string in the buffer) and finding out another one (not fixed yet,
just marked XXX).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18789 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10 11:04:04 +00:00
Luigi Rizzo
47df1e2020
- describe how sip packets are stored internally;
...
- remove useless braces or local variables;
- simplify some code sequences;
- mark with XXX a possible locking issue.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18788 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10 10:40:13 +00:00
Luigi Rizzo
20d1876617
struct sip_request cleanup:
...
- remove a debug field that was read but never set, so it was basically
unused as well as the code testing it (also removed);
- make scalar fields contiguous so any array overflow will be
less harmful;
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18787 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10 10:30:38 +00:00
Luigi Rizzo
104c2b0a3a
more cleanup: remove useless braces, replace "if" with "?",
...
localize a couple of variables, remove trailing whitespace.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18786 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10 10:22:42 +00:00
Olle Johansson
9b4e335439
Re-instate removed comment
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10 10:01:14 +00:00
Luigi Rizzo
e081b42cd6
another batch of minor code simplifications
...
(moving repeated expressions into a function, const on
some arguments)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10 09:53:22 +00:00
Luigi Rizzo
e468d9011d
a bunch of trivial code normalizations (removal of unnecessary
...
casts and parentheses, formatting fixes, pointing out replicated
code and so on). No functional changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18666 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-09 23:16:29 +00:00
Kevin P. Fleming
f10f427d49
since the module API is changing, it's a good time to const-ify the description() and key() return values
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-08 22:01:19 +00:00
Olle Johansson
8159124572
-Fixing some debugging messages in history and console
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07 20:19:44 +00:00
Olle Johansson
aefba4ad7d
Add history events for re-invites
...
(need to nail this issue...)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07 19:46:50 +00:00
Olle Johansson
f235bbe5a5
make history easier to read
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18371 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07 19:36:44 +00:00
Olle Johansson
8cd506cdfd
Add some more information to SIP history
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07 19:25:19 +00:00
Olle Johansson
7089dc1341
Issue #6899 - remove OSP support code from chan_sip.c and app_dial.c
...
- implement all functions through internal APIs in res_osp.c and app_osplookup.c
(homesick)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07 19:11:22 +00:00
Olle Johansson
fd54f36509
Hmm. What is that keyword?? Let me see... Wait... Maybe... Ahh! OOPS!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07 18:52:23 +00:00
Russell Bryant
3808318cff
change a couple uses of !strlen() to ast_strlen_zero(). Oddly enough, one of
...
these used to be this way and got changed ...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18309 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07 16:28:50 +00:00
Olle Johansson
839ebd8e03
- sip_alloc failures are also caused by too few available file descriptors, so we can not
...
open socket for RTP (audio/video/rtcp).
Error message change to clarify.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07 16:22:28 +00:00
Olle Johansson
b479a91e97
- Add cause code for format error
...
- Change to SWITCH_CONGESTION instead of CONGESTION
(imported from 1.2)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07 14:42:25 +00:00
Olle Johansson
48ca2c82bf
Import of revistion 18250 from 1.2
...
- Fix minor memory leak
- Add proper cause codes on memory allocation failures
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18261 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07 14:30:14 +00:00
Christian Richter
ece21c3019
sorry litle mistake
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07 12:03:51 +00:00
Christian Richter
47b8610f70
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07 09:46:38 +00:00
Christian Richter
7788d5061c
fixed a bridging-endless-loop also fixed the rdnis is not exported issue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18190 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07 09:31:27 +00:00
Olle Johansson
b7d32b9e0b
Issue #6674 : Set the URI correctly on BYEs when we have an incoming call
...
Reported by aubergine, fix by oej
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07 08:19:52 +00:00
Olle Johansson
4ded41daa5
Cosmetic update for outbound REFERs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 21:49:24 +00:00
Olle Johansson
965394e4c2
Add "NewChan" event to history to track the birth of a new ast_chan from a
...
SIP invite
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18059 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 21:33:39 +00:00
Olle Johansson
009e081199
Improved handling of 491 responses
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 21:29:54 +00:00
Olle Johansson
518c4b295d
Small changes to parse_sip_options
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18057 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 21:18:12 +00:00
Olle Johansson
be4ac5e57a
Small fixes to handle_request_invite
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 21:13:32 +00:00
Olle Johansson
62128ba7b7
- Don't change channel direction on re-invites
...
- Don't re-initialize initreq on re-invites
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18033 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 21:01:06 +00:00
Olle Johansson
5483288048
- Implement handle_request_notify to handle incoming NOTIFY requests
...
and respond properly to them.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 20:36:25 +00:00
Olle Johansson
9bd9bceef7
Implement a handle_response_refer function to take care of responses
...
to outbound REFERS. Not that common, but still needed.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 20:16:08 +00:00
Olle Johansson
1e8d1dda7d
Change transmit_notify_sipfrag to handle other messages than 200 OK, needed for
...
SIPtransfer improvement
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 19:59:21 +00:00
Olle Johansson
ddcd16e519
- doxygen
...
- debug message control
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 19:39:27 +00:00
Luigi Rizzo
4408c0e6b5
structures can be copied with the '=' operators, no need to
...
use memcpy.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 19:31:59 +00:00
Luigi Rizzo
6f09a652dd
normalize some for() loops.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17943 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 17:09:00 +00:00
North Antara
0a24923596
skinny debug/verbose cleanup.
...
Thanks casper!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17903 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 16:50:33 +00:00
Tilghman Lesher
756c7cbb12
Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05 17:44:44 +00:00
Christian Richter
7028946605
some final fixes for cpn
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17594 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05 15:54:15 +00:00
Christian Richter
ce8fc47ffc
* advanced the error Handling routine for wrong frames from mISDN
...
* added more code for connected party number handling
* fixed the portinfo program, it can now be used to test mISDN again
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05 14:51:48 +00:00
Christian Richter
d7a839a299
fixed some essential segfaults happening under heavy load. Added a bit more error handling if we receive wrong data form mISDN (e.g. if we crashed before => handle_err() ). Added first steps to implement the parseing of the connected party number.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17404 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04 19:09:26 +00:00
Olle Johansson
42fddfa075
Formatting cleanup
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04 18:34:21 +00:00
Olle Johansson
0a1898d8d6
Issue #6878 - Manager event DNDstate hidden under verbose option (casper)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04 18:26:24 +00:00
Olle Johansson
37ff50a890
- Don't return AST_DEVICE_UNKNOWN to devicestate engine, since this will
...
cause a channel walk...
- Doxygen fixed for devicestate.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04 18:24:41 +00:00
Matthew Fredrickson
a868675e2f
chan_iax2 cleanups and optimizations ( #6858 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04 17:05:01 +00:00
Matt O'Gorman
b9e7287ce6
adds manager event when an iax2 peer loses registration.
...
also some minor code clean up. patch from 6868 with minor
changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04 16:15:40 +00:00
Olle Johansson
878c88f899
Add tag to NOTIFY headers (imported from 1.2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17151 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-03 20:40:08 +00:00
Christian Richter
a096fbd87d
* removed unneeded bc->state field
...
* added statefullness for bchannel activation/deactivation
* fixed a lot PCM bridging issues
* some debugging logs are now on a higher loglevel
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-03 19:17:59 +00:00
Matt O'Gorman
319945c922
bug updates chan_h323 to some api changes it
...
also allows for it to compile once more patch
taken from 6446 with minor mods, similar bugs 6521
and 6560
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-03 18:36:30 +00:00
Olle Johansson
5fbe9f80e8
Don't add hangup cause on non-final responses. (Imported from 1.2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17075 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-03 17:52:11 +00:00
Olle Johansson
67b460d43c
Issue #6848 - Accept MWI subscriptions with no Accept: header
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-03 10:50:56 +00:00
Olle Johansson
46a1b7c73b
Don't add ast_extension_state on re-subscribes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-01 00:44:36 +00:00
Olle Johansson
2240245389
Reverse revision 16804 that disables authentication
...
and a lot of other issues...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16825 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-01 00:24:05 +00:00
BJ Weschke
225d8d5270
Don't process re-subscribes as new subscriptions.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16804 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-31 21:02:23 +00:00
Russell Bryant
e536a9c6df
move a NULL check to before the first time the pointer is dereferenced (issue #6832 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16772 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-31 19:14:28 +00:00
Russell Bryant
a13ab2f377
- code formatting tweaks
...
- use the callno stored in a local variable
- store the result of atoi() so it's only called once
(issue #6833 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-31 19:02:27 +00:00
Russell Bryant
813c445686
Merged revisions 16744 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r16744 | russell | 2006-03-31 13:42:09 -0500 (Fri, 31 Mar 2006) | 2 lines
fix the situation where bindport is specified but bindaddr is not (issue #6616 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-31 18:43:45 +00:00
Olle Johansson
83b7de9463
Doxygen fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-31 16:02:29 +00:00
Olle Johansson
2994fa390c
Make REG_STATE_* enum
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-31 15:19:04 +00:00
Olle Johansson
40b71d4b39
Don't accept new INVITE if we already have one pending.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-31 15:07:36 +00:00
Luigi Rizzo
0b655c3ce9
minor cleanup: localize a variable and replace i++; i++ with i +=2;
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16652 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-31 10:13:22 +00:00
Luigi Rizzo
0ff1c42675
useless 'extern' and trailing whitespace removal
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16651 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-31 10:11:10 +00:00
Joshua Colp
5880a7f513
Do not leave a thread in limbo if an error occurs, or if testing packet loss.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16617 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-31 00:53:32 +00:00
Tilghman Lesher
9a9ab4e7cf
Merged revisions 16581 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r16581 | tilghman | 2006-03-30 16:56:35 -0600 (Thu, 30 Mar 2006) | 2 lines
Bug 6853 - Manager fixes: 1) extra ActionID, 2) missing colon
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 23:05:58 +00:00
Luigi Rizzo
c163911efe
don't use 8000, use DEFAULT_SAMPLE_RATE
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16560 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 21:45:43 +00:00
Luigi Rizzo
6c232811c0
as discussed with Mark a few weeks ago, the 'newstack' argument
...
in pbx_exec is always 1 so it can be removed.
This change also takes away ast_exec_extension(), and lets all
switch functions (exists, canmatch, exec, matchmore) all use the same
prototype, which makes the code a bit cleaner.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 21:29:39 +00:00
Kevin P. Fleming
4e5ea82b7e
deprecate insecure=very and insecure=yes, since we have more explicit versions available now
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 18:17:36 +00:00
Olle Johansson
50f0b12880
Issue #5374 - Enable internal timing of generators (cmantunes)
...
Thanks everyone involved for hard work, testing and testing!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 06:07:04 +00:00
Olle Johansson
2c4ebe356e
Issue #6450 - Don't remove characters from SIP uri's when not needed
...
Patch by jcomellas, heavily modified by oej
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16425 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 04:16:38 +00:00
Joshua Colp
0c134c5cba
Fix IAX2 multithreaded scheduling (issue #6840 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16386 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 03:16:09 +00:00
Olle Johansson
3d1f9b747e
Formatting fix.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 00:30:49 +00:00
Christian Richter
acacae4e68
fixed no dtmf detect on 64 bit
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 14:26:43 +00:00
Russell Bryant
1caeee1c61
oops! :)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 04:19:23 +00:00
Russell Bryant
6601f4deba
conversion from malloc to ast_malloc
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 04:09:31 +00:00
Olle Johansson
b366c4062e
Issue #6823 - Registration and port numbers. (from 1.2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 01:01:09 +00:00
Luigi Rizzo
096bf1511f
another batch of cli simplifications
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15857 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 23:33:02 +00:00
Luigi Rizzo
b94f6a6df4
normalize/simplify a bit of the command completion code.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 23:20:13 +00:00
Kevin P. Fleming
bb87cd151b
make 'sip show subscriptions' include context for subscribed hints
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 22:47:02 +00:00
Luigi Rizzo
e9b7424737
The condition to check the zaptel version was too strict.
...
If you are compiling with WITHOUT_ZAPTEL=1, you can also
work with older version of zaptel, and there is no reason
not to allow that.
This should help various people mentioning on the -dev
list that there were issues with newer zaptel versions
on FreeBSD, and so they had to use older version.
(This includes me, btw!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 21:24:48 +00:00
Luigi Rizzo
f84e5cfd43
fix a bug introduced in 15187 that scrambled the flags and
...
among other things prevented proper handling of NAT.
Don't think it exist in 1.2 but be careful if 15187 is merged.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15744 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 20:22:25 +00:00
Russell Bryant
3de0204481
Merged revisions 15703 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r15703 | russell | 2006-03-28 14:47:03 -0500 (Tue, 28 Mar 2006) | 2 lines
fix Bus Error on sparc (issue #6354 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 19:49:30 +00:00
Russell Bryant
1ddae90e53
only display a debug message if iaxdebug is enabled as well (issue #6673 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15702 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 19:31:41 +00:00
Olle Johansson
147ae336d2
Fix NAT support breakage for peers with qualify=yes (imported from 1.2)
...
- Blame KLM, still jetlagged :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15701 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 19:09:51 +00:00
Kevin P. Fleming
f7c2eed26a
ensure that 'zap show channel' will indicate that the echo canceler has been disabled when CED has been detected on the channel
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 19:00:21 +00:00
Russell Bryant
78f7235d04
store f->callno in a local var (issue #6818 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 18:00:05 +00:00
Kevin P. Fleming
584ab24577
oops :-(
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15618 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 17:53:27 +00:00
Russell Bryant
dea8078eef
conversions to S_OR (issue #6817 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15617 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 17:52:50 +00:00
Luigi Rizzo
45edaa4c3a
optimize a bit name completion by avoiding repeated calls to
...
strlen(word), localize variables and normalize the test
for finding the candidate string.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15516 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 13:46:04 +00:00
Luigi Rizzo
bf2ae44338
fix documentation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 13:23:05 +00:00
Kevin P. Fleming
8410e0d681
support subscription-based MWI, and use proper Call-ID on NOTIFY messages (issue #6390 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 04:21:21 +00:00
Kevin P. Fleming
0b5f2a5d3f
use proper file name
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 03:36:17 +00:00
Kevin P. Fleming
278b8e8fc7
improve IP TOS support for SIP and IAX2 (issue #6355 , code from jcollie plus modifications)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15435 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 03:28:52 +00:00
Olle Johansson
ddaeaae214
Issue #6736 - use flags for OPTIONs messages
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-27 23:49:44 +00:00
Olle Johansson
2c9ecd7baa
Reverting previous patch. Ok, let's take this from 1.2 instead... :-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-27 23:41:21 +00:00
Olle Johansson
e4c8021b7d
Issue #6736 - Enable NAT flags for OPTIONs requests (Thanks casper!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-27 23:39:48 +00:00
Olle Johansson
0b39c35161
Issue #6597 - Show correct port in "sip show registry" - import from 1.2 branch
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15377 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-27 23:32:34 +00:00
Olle Johansson
450bc8dad6
Issue #6409 - Make calls to URI without username go to "s" extension (imported from 1.2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-27 23:13:31 +00:00
North Antara
e9cf7dbfff
Changed some "register" methods to the proper "unregister" method. This is in a #if 0 block, but it may still be useful someday.
...
Thanks eliel.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-27 21:13:54 +00:00
Matt O'Gorman
a5ece3388a
Janitor work converting !ast_strlen_zero(a)?a:b
...
to S_OR functions. from bug note 6805 with minor
modifications.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-27 19:31:54 +00:00
Christian Richter
f274b642aa
fixed bug that we don't allocate the bchan in setup_acknowledge already .. wonder why this wasn't fixed eearlier ..
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-27 16:15:44 +00:00
Christian Richter
bd4715f3bc
fixed hicom busy bug, we now see if the systemphone is busy, also fixed the immediate=yes does not work anymore issue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15220 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-27 10:13:11 +00:00
Kevin P. Fleming
15873eb39c
simplify flags/page2_flags stuff by using arrays instead
...
enhance handle_common_options to be able to set flags in the second set of flags (what used to be page2_flags)
various other minor fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-27 04:54:06 +00:00
Olle Johansson
83d9331261
Issue #5427
...
- Enable videosupport per device
- Implement maxcallbitrate setting for video calls
Patch by John Martin, thanks!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-27 03:35:49 +00:00
Olle Johansson
18de2b7787
Issue #6705 (oej)
...
- Implement option for allow/disallow subscriptions
- Implement option for allow/disallow overlap dialling
- Set default to disable overlap dialling in sip.conf.sample for new installations
- Remove overlap dialling from subscription logic
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15107 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-27 02:57:17 +00:00
Russell Bryant
d0b003a427
conversions to S_OR (issue #6803 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-26 16:08:42 +00:00
Mark Spencer
9164eac21a
Add micro-http server and abstract manager interface, make snmp not die
...
on reload.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-25 23:50:09 +00:00
Kevin P. Fleming
c26786fd81
compute scheduler thread timeout properly
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14573 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-23 23:57:18 +00:00
Kevin P. Fleming
39464dfe09
commit file's work to convert iax2 multithreading to use pthread conditions instead of signals (with some modifications)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-23 23:11:09 +00:00
Matthew Fredrickson
ba8f7b8819
Allow channels to be moved if channel change is requested in SETUP_ACK, also add a WAY cool new field to the nsf option
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-23 21:41:23 +00:00
Olle Johansson
f554c03652
- In response to asterisk-users discussion - show which peers in "sip show peers" and "sip show peer" that are cached realtime peers.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14425 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-23 19:58:32 +00:00
North Antara
2ccaab2ad1
More whitespace and typo fixes for chan_skinny - yay!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14188 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-22 20:45:00 +00:00
Olle Johansson
19af878bac
Issue #6766 - Make ;user=phone work again - imported from 1.2
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14141 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-22 09:14:42 +00:00
Olle Johansson
9e1e47450a
Issue #6759 , generate warning when refusing connection requiring unsupported SIP extensions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14110 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-22 08:00:32 +00:00
Jim Dixon
7cfb9b3515
Added separate outsignalling specification, and fixed FEATDMF to allow for
...
international inbound calls.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-21 22:31:36 +00:00
Russell Bryant
2a00b76ace
spelling and formatting fixes (issue #6760 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-21 15:12:41 +00:00
Christian Richter
939dda2d6c
removed unneeded debugs in level=0
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13787 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-21 09:47:51 +00:00
Christian Richter
52eb1ad9d1
removed dynamic switching from transparent to hdlc mode. Instead we've got a config option hdlc=yes now which enables the hdlc controller for a data call
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-20 18:04:05 +00:00
Olle Johansson
3cb5768016
Don't overwrite ANI if it's already sent with IES (imported from 1.2 branch)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-20 17:39:14 +00:00
Olle Johansson
8bb397b439
Import revision 13547 from branch 1.2 - reset global_rtautoclear at reload
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-19 09:32:36 +00:00
Olle Johansson
7296dd030e
- Remove comment about non-existing XML format ;-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-19 09:08:57 +00:00
Olle Johansson
dbd3fa49fd
- change "regcontext" to "global_regcontext" to mark it as a global setting
...
- show regexten in "sip show peer <name"
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13545 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-19 09:07:29 +00:00
Russell Bryant
4c49c78e2e
Merged revisions 13237 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r13237 | russell | 2006-03-16 12:42:46 -0500 (Thu, 16 Mar 2006) | 3 lines
always use the callerid signalling method set in the zt_pvt strucutre as
opposed to the last one read from the config file (issue #6734 , with mods)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-16 17:46:15 +00:00
Olle Johansson
1bad801595
Importing "oops" fix from 1.2 branch.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-16 08:40:45 +00:00
Olle Johansson
8864646870
Import of rev 13026 from 1.2 branch: Fix parameters to event: header
...
in SUBSCRIBE request
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-15 13:06:48 +00:00
Russell Bryant
9df72acbe9
deprecate the mailboxdetail option and always use its behavior, instead (issue #6665 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12923 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-14 18:05:22 +00:00
Russell Bryant
9bf08efa16
add a missing header to fix building with -Werror (issue #6717 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12894 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-14 16:16:14 +00:00
Russell Bryant
48c85e83bd
fix build without SCHED_MULTITHREADED defined (issue #6719 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12878 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-14 16:00:06 +00:00
Russell Bryant
a6f2a3899b
add some missing braces
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-12 21:17:58 +00:00
Olle Johansson
3b67da1362
- Adding some hangupcauses before hangups
...
- Removing double warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-12 16:47:55 +00:00
Olle Johansson
9bbfae80e0
Issue #5937 - Make sure that SIP CANCEL's are retransmitted properly
...
Importing revision 12495 from 1.2 with changes for svn trunk
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12496 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-10 12:18:00 +00:00
Olle Johansson
11126fee1d
Implement enum for retransmit options to various functions.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12494 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-10 12:13:05 +00:00
Christian Richter
8e7dd52695
added option to change the connected party number dialplan (ton)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-09 18:01:27 +00:00
Olle Johansson
b27fa8bfc7
Support SIP_CODEC channel variable for early media. (Imported from 1.2, with a small
...
change for const char* channel variables)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12478 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-09 17:41:38 +00:00
Mark Spencer
0752f8e41e
Make sure we clear our sched value before we actually schedule the
...
dereg.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-09 12:28:07 +00:00
Olle Johansson
52812c2917
Formatting fix.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12471 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-08 20:42:47 +00:00
Olle Johansson
5a2b0d6c2b
Issue #6657 - Ignore 183 Session Progress without SDP (imported from 1.2 rev 12458)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-08 10:54:40 +00:00
Olle Johansson
06abc680dd
Set SIPDOMAIN on 302 redirects.
...
This way you can catch 302 redirects in the dial plan and see if
the redirect is to a local extension or a remote URI.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12456 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-08 08:36:40 +00:00
Olle Johansson
9a475567bd
Issue #6627 - Don't reset port number of active peers at reload
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12400 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-07 20:47:24 +00:00
Christian Richter
2c1cd943d0
fixed #6642 in trunk as well, sorry i really didn't want to copy this issue ... grrrr
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12371 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-07 19:34:23 +00:00
Christian Richter
5cd1828467
when receiving disconnect with inband info, we don't send release immediately, we also don't inform asterisk with hangup or congestion, since we want to hear the inband message.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12315 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-07 12:17:35 +00:00
Christian Richter
bcbcdaa67c
added misdn port down to send a L1 Deactivate to a NT Port. changed some default values regarding jitterbuffer.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12288 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-07 11:16:56 +00:00
Christian Richter
21735de56d
added a bit more detailed description for the echotraining parameter, also changed the default from 1 to 2000. The default for the upper_threshold is now 0
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12287 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-07 11:08:09 +00:00
Olle Johansson
e3f05acab2
Add accountcode to sip_peer dialplan function
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-07 09:57:22 +00:00
Tilghman Lesher
9756cec534
Merged revisions 12195 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r12195 | tilghman | 2006-03-06 18:05:27 -0600 (Mon, 06 Mar 2006) | 2 lines
Bug 6020 - Race condition where packet could be lost if first packet on list is acked
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-07 00:07:27 +00:00
Tilghman Lesher
bbbd23e2bd
Bug 6195 - Deadlock solution by Matti
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12136 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-06 21:16:25 +00:00
Olle Johansson
5bf234f2ba
Fix bad fix.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11914 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-05 14:07:06 +00:00
Olle Johansson
13a3c7299a
Oops
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-05 13:52:26 +00:00
Olle Johansson
6730f817fd
Clear almost all of page2 flags at reload (different fix from 1.2 branch)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-05 12:57:34 +00:00