Mark Spencer
4d9210f705
Don't override calling presentation if *name* is present (bug #5405 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-12 05:12:43 +00:00
Mark Spencer
65afb68602
Handle yet some SIP contact issue nuances and exceptions (bug #5289 with mods and rant)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6747 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-12 04:59:58 +00:00
Mark Spencer
c07a31e4bc
Fix noncecount update (bug #5308 , redone fix)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6746 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-12 04:35:10 +00:00
Josh Roberson
cc104b0066
finish commit bug 5427 (sip.conf.sample deserves to be updated too)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-12 01:46:42 +00:00
Russell Bryant
33377538b0
provide the correct string to evaluate with the given regex, instead of the
...
entire string provided as input to the REGEX function.. Also, use the
provided buffer to store the result.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6744 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-12 01:09:04 +00:00
Mark Spencer
c5a8178bb4
Fix directed pickup to a call that is up (bug #5425 with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6743 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-11 21:08:26 +00:00
Russell Bryant
460655f31c
allow semicolons to be escaped in call files (issue #5407 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6742 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-11 20:52:37 +00:00
Mark Spencer
1ae71d0b41
Fix memory leak in outbound calls (bug #5406 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-11 20:44:23 +00:00
Russell Bryant
a5373b7e78
fix command listing for top level CLI commands (issue #5416 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6740 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-11 20:20:40 +00:00
Russell Bryant
080cc2d4b6
capitalize dialplan function
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6739 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-11 03:49:15 +00:00
Russell Bryant
65f586c866
Merge ChangeLog from the v1-0 branch and begin a major feature addition list
...
for 1.2. I know this list is very incomplete so anyone that would like to help
add stuff, please contact me. (No, 1.0.10 hasn't been released. That is going
to come out with 1.2).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6738 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-10 04:14:59 +00:00
Russell Bryant
c0119acc0e
fix a typo, oops!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6737 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-08 17:08:44 +00:00
Kevin P. Fleming
2aa0434048
don't check 'acknowledged' for setting lastdisc, since it's guaranteed to be zero at this point (issue #5254 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6736 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05 21:27:38 +00:00
Kevin P. Fleming
350aaac04b
properly report hangupcause when ast_request() fails for the last (or only) target of a dial operation (issue #5394 , different fix)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6735 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05 21:18:28 +00:00
Kevin P. Fleming
6f869da9b0
correct variable header documentation (issue #5397 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05 21:12:57 +00:00
Kevin P. Fleming
b00e8e509b
clean up some poorly constructed code (issue #5399 , with mod to include header file for ast_copy_string())
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6733 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05 21:11:17 +00:00
Kevin P. Fleming
8496d5fe92
fix authentication header extra space (issue #5329 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6732 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05 01:40:01 +00:00
Kevin P. Fleming
4807571648
add VMCOUNT() function to replace HasVoicemail/HasNewVoicemail apps (issue #5335 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6731 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05 01:37:48 +00:00
Kevin P. Fleming
d9f508c7f1
fix timer T1 handling (issue #5330 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6730 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05 01:31:29 +00:00
Kevin P. Fleming
a755500ef8
ensure that the correct flags are always copied from peers/users to private structures (so RPID sending will work properly, issue #5322 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6729 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05 01:29:02 +00:00
Kevin P. Fleming
d50adefa05
ensure that Remote-Party-ID is sent even on secondary INVITEs within a dialog (issue #5322 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6728 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05 00:42:09 +00:00
Kevin P. Fleming
17b668e180
don't twiddle memory that doesn't belong to us (issue #5348 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6727 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05 00:28:04 +00:00
Kevin P. Fleming
130bf3b9e0
use thread ID instead of process ID in logger messages (issue #5349 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6726 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05 00:21:56 +00:00
Kevin P. Fleming
0bffff1930
correct cygwin detection (issue #5328 )
...
handle parallel make better (issue #5328 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05 00:17:57 +00:00
Kevin P. Fleming
aeaf9f4cc6
remove unused config option (issue #5358 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05 00:05:13 +00:00
Kevin P. Fleming
7c1bbe6eef
handle peer matching for subscriptions by name instead of IP address (issue #5103 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6723 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 23:54:04 +00:00
Kevin P. Fleming
6fe572d1a9
fix various state-related bugs (issue #5369 , with mod to return AST_DEVICE_INUSE)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 23:38:09 +00:00
Kevin P. Fleming
b7c31babb0
support call duration limits on inbound OSP calls (issue #5346 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6721 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 23:28:57 +00:00
Kevin P. Fleming
f387421905
make sample config files easier to ready (issue #5371 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6720 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 22:51:59 +00:00
Kevin P. Fleming
e338682949
fix memory leak and unload problems (issue #5380 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6719 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 22:44:15 +00:00
Kevin P. Fleming
b1a61a9672
generate fewer 'stale nonce' messages (issue #5381 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6718 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 22:42:34 +00:00
Kevin P. Fleming
0c886c21c2
truncate last 200ms of DTMF-terminated recording to eliminate inband DTMF (issue #5383 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 22:35:43 +00:00
Kevin P. Fleming
f7d567fe85
allow write timeout to be set on a per-user basis in AMI (issue #5352 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 22:25:15 +00:00
Kevin P. Fleming
e67a6e0344
allow manager actions to properly close the session again (issue #5350 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 22:15:28 +00:00
Kevin P. Fleming
a0a478a72c
don't destroy calls when re-INVITE messages ask for things we can't do (issue #5384 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 22:09:23 +00:00
Russell Bryant
dea1d768f9
update sample configuration to reflect new options (issue #5357 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6713 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 19:05:40 +00:00
Mark Spencer
3f285f03e1
If you're hanging up channels, be sure we clean it up...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 17:41:30 +00:00
Matthew Fredrickson
1406f660b6
Rewrite of PRI progress and message handling. Fixes bugs #5266 and #4468
...
(Early media related digit passing and passing early media progress between
channels)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 17:00:01 +00:00
Kevin P. Fleming
d4bf5408a7
fix 'invalid command' logic
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6710 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-03 21:01:29 +00:00
Kevin P. Fleming
d167235344
don't build manager event output until it is needed
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6709 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-03 19:40:03 +00:00
Kevin P. Fleming
9835bc4330
add ast_build_string_va(), which accepts a varargs list directly
...
ensure the _entire_ manager_event() output is either queued or sent via ast_carefulwrite()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6708 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-01 15:41:27 +00:00
Russell Bryant
270b98d2f4
clarify option description (issue #5351 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6705 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-01 01:24:15 +00:00
Kevin P. Fleming
44a7b88d82
don't take session lock in astman_send_error() and astman_send_response(), since it is no longer needed
...
don't build authority string and event string for every session in manager_event(), do it only once
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-30 23:52:04 +00:00
Kevin P. Fleming
a08f3f75ff
tell the user about invalid/unknown commands before sending queued events
...
s->challenge does not need to be protected by the lock, since only process_message() (and functions it calls) ever use it, and process_message() is a blocking operation by definition
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-30 23:44:12 +00:00
Kevin P. Fleming
7f429e3b02
ensure structure has enough space for embedded string
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6702 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-30 16:49:23 +00:00
Kevin P. Fleming
9d1fc454d4
properly clear out manager header structure between actions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6701 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-30 16:27:14 +00:00
Kevin P. Fleming
834193c08a
support a 'post install' script for local modifications after installation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6700 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-30 14:48:41 +00:00
Kevin P. Fleming
e0680525e7
fix queues properly (issue #5300 , take two)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6699 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-30 14:01:56 +00:00
Mark Spencer
2b883819be
Fix manager bug (can't destroy a session while a thread is using it!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-29 20:37:01 +00:00
Kevin P. Fleming
8e4697d8f2
ensure that peer codec preferences take precedence over global preferences
...
clean and simplify SDP-building code
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-29 17:41:00 +00:00