Anthony Minessale
9db4a8265c
tweak on calle[re] id
2010-12-16 16:03:05 -06:00
Anthony Minessale
3ff07445d4
add CF_DIALPLAN
2010-12-16 09:45:43 -06:00
Anthony Minessale
93cc3dc556
normalize tests for outbound channels to use switch_channel_direction instead of testing for CF_OUTBOUND
2010-12-15 20:59:42 -06:00
Anthony Minessale
f69f4a7747
refactor
2010-11-05 15:24:11 -05:00
Anthony Minessale
402e383bd7
fix fifo race in use count dec
2010-10-29 20:39:07 -05:00
Anthony Minessale
93c2ed941a
silent recovery
2010-10-13 16:17:43 -05:00
Anthony Minessale
786ca1f978
presence changes
2010-07-29 23:39:39 -05:00
Jeff Lenk
ffab09a03c
fix windows build - uninited variable
2010-07-22 10:31:12 -05:00
Anthony Minessale
ed7ccc1432
add api_reporting_hook (like api_hangup_hook but after reporting state) both honor session_in_hangup_hook
2010-07-21 14:48:08 -05:00
Anthony Minessale
c752e71afe
more work on callstate events
2010-06-07 18:01:02 -05:00
Anthony Minessale
9096501ee4
fix race condition when hangup happends after answer indication but before the session thread is started
2010-05-03 13:36:23 -04:00
Michael Jerris
0bd2b3a9e4
tweak log
2010-04-26 05:12:26 -04:00
Anthony Minessale
886e1ddb4d
run indent on the whole tree and update copyright dates in prep for 1.0.5
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-06 03:38:24 +00:00
Anthony Minessale
f484e28e22
add notice to explain why a call hangs up when it's run out of things to do so people stop reporting it as a bug
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16569 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-04 15:57:23 +00:00
Anthony Minessale
d13a46acd5
stop race condition in sofia where we tried to send an ack on a dead call and turn off early hangup by default (if you dont know that that is, good, do not document this)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15891 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-11 00:28:54 +00:00
Anthony Minessale
39f610a75b
add chan name to log lines
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15836 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-07 21:33:52 +00:00
Anthony Minessale
1bac80436d
add chan name to log lines
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15835 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-07 21:27:23 +00:00
Anthony Minessale
ceb68513b0
FSCORE-508
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15799 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-04 23:21:51 +00:00
Brian West
f915ee4a31
FSCORE-495
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15608 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-23 14:55:09 +00:00
Anthony Minessale
ef9fa1df1a
FSCORE-479
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15329 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-03 16:50:16 +00:00
Brian West
e349d65b81
fix some bypass xfer scenarios
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15326 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-02 23:58:30 +00:00
Anthony Minessale
df7637f687
change switch_strlen_zero to zstr
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-23 16:03:42 +00:00
Anthony Minessale
66866fb1ea
fix proxy-media issue regression
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15181 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-20 17:03:03 +00:00
Anthony Minessale
59b94dfacc
refactor some of the message parsing code to use fifo to reduce threading contention
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15142 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-12 22:23:55 +00:00
Anthony Minessale
14e4f0497d
farewell crash protection
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14919 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-18 15:55:10 +00:00
Anthony Minessale
5a5f3081f0
execute hangup state asap
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14852 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-14 20:10:58 +00:00
Anthony Minessale
0209f4059c
add more stuff to event in hangup hook api
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14740 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-02 16:34:49 +00:00
Anthony Minessale
c10d8e375d
add state change hooks for destroy
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14647 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-26 21:53:43 +00:00
Mathieu Rene
c2d5f970bc
Per-call logging, part one
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14509 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-13 20:35:02 +00:00
Anthony Minessale
87c2c0d398
MODSOFIA-18
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14319 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-22 19:14:47 +00:00
Anthony Minessale
9bd81e0ff6
timeout calls stuck in CS_NEW after 1 minute
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14313 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-21 19:17:22 +00:00
Anthony Minessale
c4b67d93fc
add CHANNEL_HANGUP_COMPLETE event to take the place of CHANNEL_HANGUP, CHANNEL_HANGUP now fires as soon as the channel is hungup but you must wait for CHANNEL_HANGUP_COMPLETE for the CDR data
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13505 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-29 17:18:03 +00:00
Anthony Minessale
4ce06aa5d1
fix win32 build
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13178 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-28 15:11:38 +00:00
Anthony Minessale
9355013017
FSCORE-357
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13176 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-28 14:13:05 +00:00
Anthony Minessale
b9dea85eb7
keep presence up to date
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13166 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-27 17:31:34 +00:00
Mathieu Rene
e58f6afa6f
FSCORE-356
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13163 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-27 15:51:19 +00:00
Anthony Minessale
ab6c4f1a6d
change CS_DONE to CS_DESTROY and add state handler for destroy and tear down critical parts of the channel from this method which is not called until it's impossible for anything to be referencing the channel (after final write lock and before destroying the pool)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12986 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-10 17:43:18 +00:00
Anthony Minessale
bce5187da1
rearrange hangup callflow to do more work in the session's own thread
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12784 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-25 20:07:40 +00:00
Anthony Minessale
1ea293ff56
refactor dialplan logging lines and consolidate some logic for bypass_media mode when the a leg has audio in advance
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12479 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-06 03:54:38 +00:00
Anthony Minessale
d7a12df53f
add new state for CDR and leg_delay_start originate var and fix FSCORE-315
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 04:19:33 +00:00
Anthony Minessale
9556be51ef
fix issue in monitor_early_media_fail issue
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12271 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 03:41:18 +00:00
Brian West
babb2f83f5
update copyright
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:37:37 +00:00
Brian West
ae220d3341
update email
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-04 21:20:54 +00:00
Anthony Minessale
9bcc841bb0
Modify state machine behaviour.
...
Endpoint handlers can still veto all other state handlers by returning SWITCH_STATUS_FALSE
Application handlers can only veto each other by returning SWITCH_STATUS_FALSE.
Global handlers will still be called when application vetos but they can still veto each other.
Default handler will not be called if application or global vetos or if state has changed from any handler.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11610 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-03 17:17:31 +00:00
Anthony Minessale
7a1b866958
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11409 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-22 22:14:37 +00:00
Anthony Minessale
ea5c385281
numerous fixes from regression testing
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11104 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-09 20:34:01 +00:00
Anthony Minessale
748c1dc126
add mutex to crash prot
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11021 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-31 16:06:49 +00:00
Michael Jerris
9528cd56da
remove media bugs on hangup before api_hangup_hook is run
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11002 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-30 15:45:17 +00:00
Anthony Minessale
1eea29a474
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10533 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-25 17:53:35 +00:00
Anthony Minessale
86c523fbb1
code reworking do make current
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10487 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-21 00:09:11 +00:00