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