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
Anthony Minessale
9b98c2d512
cleaning up stupid mess (lesson in regressions for Math`)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10472 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-20 02:27:59 +00:00
Anthony Minessale
664ff1e192
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10468 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-19 22:24:17 +00:00
Anthony Minessale
efb3b25e29
fine, have session in hangup hook apps, don't call me if it segs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10467 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-19 21:55:50 +00:00
Anthony Minessale
fe89c35d9a
add chan vars to param event during hangup hook
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10439 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-18 15:24:52 +00:00
Anthony Minessale
2ed601f934
more stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10410 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-14 23:31:21 +00:00
Anthony Minessale
722b830652
look out below....(make current)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10363 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-12 19:28:05 +00:00
Anthony Minessale
81c1dc0de9
redo some stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10206 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-30 22:40:39 +00:00
Anthony Minessale
3ddf3165d2
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10179 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-28 16:01:15 +00:00
Brian West
1cda796da8
spelling
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9864 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-06 23:05:55 +00:00
Anthony Minessale
93ff90696b
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9649 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-25 19:53:43 +00:00
Anthony Minessale
1f5b84aa77
increment app before execute in case it returns to execute it will go to the next item in the list and not the same
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9645 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-25 14:25:59 +00:00
Brian West
40c96d779c
spelling
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9398 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-02 03:25:01 +00:00
Michael Jerris
64997c4d8e
vim extendtab is bad
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8894 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-03 19:12:26 +00:00
Michael Jerris
286362ca64
let configure figure out if we have the header files
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8889 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-03 17:08:46 +00:00
Anthony Minessale
3c349c274e
indent pass 1
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8686 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 04:30:03 +00:00
Michael Jerris
d4d5ed39ba
don't pass null to switch_loadable_module_get_dialplan_interface. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8437 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 15:49:23 +00:00
Anthony Minessale
90bc9ade7d
more name changes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8359 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-12 13:46:07 +00:00
Anthony Minessale
4b929592cc
change names to protect the innocent
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8263 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-05 15:30:55 +00:00
Anthony Minessale
d3be2ae749
add execute_on_answer magic variable
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8003 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-02 15:11:07 +00:00
Anthony Minessale
ecece5885f
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7972 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-27 20:36:03 +00:00
Anthony Minessale
dc3a65388b
the same guy who added att xfer to asterisk was nice enough to add it to freeswitch too
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7885 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-13 01:08:42 +00:00
Michael Jerris
e2b5543df9
add api_hangup_hook
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7878 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-12 07:48:38 +00:00
Anthony Minessale
da754b5098
revert some accidential changes in the last commit
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7856 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-11 14:08:33 +00:00
Anthony Minessale
74a3d8ab95
fix a bunch of stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7854 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-11 03:45:16 +00:00
Anthony Minessale
4a132c95a5
fix super sonic race at 400 cps conditions
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7845 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-08 21:07:15 +00:00
Anthony Minessale
7088c57a25
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7779 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-04 00:52:54 +00:00
Anthony Minessale
e697bf8d26
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7745 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-26 20:31:53 +00:00
Anthony Minessale
cb12f3cfd6
fix sdp pass-thru of 200 OK in proxy mode aka (bypass_media=true)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7717 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-21 17:48:41 +00:00
Anthony Minessale
f9907d1ed1
make the core pre_answer channels when they hit an app that requires media and they have not answered yet to at least establish media
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7527 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-05 17:08:58 +00:00
Anthony Minessale
ccf4e57c8d
make the core pre_answer channels when they hit an app that requires media and they have not answered yet to at least establish media
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7525 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-05 16:46:39 +00:00
Brian West
b0ad7ab50c
set tab mode properly
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7500 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-03 22:14:57 +00:00
Brian West
84161010ab
cleanup and consistency.. blah rain @ PHX fun
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7396 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-27 20:01:02 +00:00
Brian West
c815c0599e
code formating cleanup, More when I land at PHX
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7392 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-27 17:36:53 +00:00
Anthony Minessale
aae0d642da
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7214 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-14 16:10:56 +00:00
Anthony Minessale
221c32e846
add process_cdr variable
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7213 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-14 15:44:05 +00:00
Anthony Minessale
f0e7a5ea1c
add process_cdr variable
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7212 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-14 15:37:00 +00:00
Anthony Minessale
5baaa35b7d
add process_cdr variable
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-14 15:26:46 +00:00
Anthony Minessale
58a8979c6e
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7199 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-13 18:39:51 +00:00
Anthony Minessale
a1c8e63c60
why not
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7143 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-08 19:38:57 +00:00
Anthony Minessale
69120105ee
support crazy transfer crap
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7083 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-05 01:03:08 +00:00
Anthony Minessale
551a799c0b
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6906 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-19 23:24:55 +00:00
Anthony Minessale
911db88a6e
add park_state
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6771 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-13 22:17:20 +00:00
Anthony Minessale
65a045e1db
more rate stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6721 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-13 00:43:59 +00:00
Michael Jerris
55a194e54e
use switch_assert macro
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6661 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 19:23:57 +00:00
Anthony Minessale
4bc03bb392
almost ready for b3
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6573 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-08 00:14:21 +00:00
Anthony Minessale
321b68c5b4
these aren't the droids you're looking for, move along....
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6453 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-30 22:56:01 +00:00
Anthony Minessale
19d18e46ba
fix race on creating new session thread vs. setting init state causing hung channels
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5841 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-11 19:12:18 +00:00
Anthony Minessale
bbb530a6f3
fix (you want this)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5815 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-05 16:09:47 +00:00
Anthony Minessale
4468d35e2b
silly
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5802 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-04 21:01:52 +00:00
Anthony Minessale
f82e478cb5
more cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5800 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-04 20:22:37 +00:00
Anthony Minessale
ffb989e435
tear the hell out of everything and rip it up into itsy bitsy pieces and put it all back together
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5765 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-29 01:06:08 +00:00
Anthony Minessale
189802c555
add exec_after_bridge_app and exec_after_bridge_arg and fix the hangup command in event parse
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5545 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-07-26 00:49:02 +00:00
Anthony Minessale
333fa35773
add reset state (make sure you do full rebuild)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5493 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-07-03 02:10:35 +00:00
Anthony Minessale
a039d870c3
Add events around all application execution:
...
fire SWITCH_EVEHT_CHANNEL_EXECUTE
<execute app>
fire SWITCH_EVEHT_CHANNEL_EXECUTE_COMPLETE
This can be used in async socket connections to tell
when a queued application has finished executing.
Add the "event" application to the dialplan:
<action application="event" data="header1=val1,header2=val2"/>
Events fired from this applcation will always have the type SWITCH_EVENT_CHANNEL_APPLICATION.
You can add up to 25 headers of your own to the event via the application arguements.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5448 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-23 05:41:07 +00:00
Anthony Minessale
bcd32125d0
dox
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5176 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-14 17:10:46 +00:00
Anthony Minessale
ab34a26079
make crash protection a runtime option instead of a compile-time option
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5123 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-10 16:56:29 +00:00
Anthony Minessale
d6efffd9bc
these aren't the droids you're looking for....
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5115 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-09 19:44:15 +00:00
Anthony Minessale
7da3873056
add app log
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4994 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-21 01:03:58 +00:00
Anthony Minessale
b5a10d5a14
add new execute_extension application to execute another extension in the current scope
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4993 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-20 23:45:14 +00:00
Anthony Minessale
a1725ad334
modest core framework for video stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4977 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-19 21:40:50 +00:00
Michael Jerris
d292e9de4f
don't export our private functions. fix crash protection build.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4803 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 02:20:13 +00:00
Anthony Minessale
c15d7892c0
indent again
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4799 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:15:25 +00:00
Anthony Minessale
debdfb1aab
indent
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4798 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:13:31 +00:00
Anthony Minessale
643ca5c4e7
add 'show tasks' and sched_api api commands
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4797 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:10:33 +00:00
Anthony Minessale
e6a60a20bc
spring cleaning 2
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4796 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 22:34:40 +00:00