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
19 years ago
Olle Johansson
d0f254ef61
Cosmetic fixes to code...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
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
19 years ago
Olle Johansson
910c44b1b6
Clean up handle_response_peerpoke
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
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
19 years ago
Luigi Rizzo
52ac09f78f
simplify logic in iax2_bridge()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
Olle Johansson
2c73c08f5a
use XMIT_RELIABLE ...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21043 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
Olle Johansson
42918c225a
Add more history on masqs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20903 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
Olle Johansson
bdb2332621
- Documentation update
...
- Formatting change
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
bedd0c2ed3
Documentation update
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
Olle Johansson
a5e5fb18e2
Clean up handle_response_invite
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
Russell Bryant
aade174330
include autoconfig.h (casper)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20296 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
Olle Johansson
9468e5cd06
Fix for Polycom bug...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
Olle Johansson
975ddb8552
Doxygen docs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
b24bc86fc2
reindent block properly
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago