611 Commits

Author SHA1 Message Date
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
dd19c3c2ec fix var events to not have stamp info
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12765 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 23:44:03 +00:00
Anthony Minessale
14415b29f1 add mutex to global mem pool and tweak var code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12705 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-21 16:47:57 +00:00
Anthony Minessale
a9223882fc make switch_channel_get_variable strdup so the pointer returned is safe and clean up the state locking
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12674 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-20 01:50:50 +00:00
Mathieu Rene
574b7b1e3e Fix a bunch of const (-Wcast-qual checking start)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12640 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-17 13:25:02 +00:00
Anthony Minessale
ca2fcf9b9f dont fire presence event for the reporting state
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12542 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-09 19:48:17 +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
Mathieu Rene
52dba90640 Revert 12369 since inserting NULL is the same as deleting in sqlite3
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12373 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:14:58 +00:00
Mathieu Rene
d34e710211 MODAPP-244 bkw stop trying to commit faster than me :P
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12369 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 16:58:24 +00:00
Mathieu Rene
9b2b1f3691 fix leak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12332 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-27 19:29:52 +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
Anthony Minessale
22f8489043 FSCORE-308
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12257 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-24 00:05:19 +00:00
Anthony Minessale
9886f369c3 add direction col to sql db, add direction param to session_create, log dtmf digits to digits_dialed variable for cdr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12244 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-23 16:31:59 +00:00
Anthony Minessale
99026e02e7 event socket / ESL improvements
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12228 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-21 23:19:58 +00:00
Anthony Minessale
e66b78047a fix some language issues and move media bug removal to hangup state
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12225 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-21 22:50:35 +00:00
Anthony Minessale
add7616a0a add separate mutex for state related methods
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12191 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-20 18:31:08 +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
Anthony Minessale
502f43b9ad fix typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11931 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 20:10:51 +00:00
Anthony Minessale
be25cc9631 spring cleaning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11730 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-10 19:09:06 +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
478efc5f71 tweaks to call setup code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11616 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-03 20:33:24 +00:00
Brian West
8344666d5e doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11580 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-31 19:42:40 +00:00
Brian West
5433ba1daa clean up arg vs expanded
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11574 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-31 00:16:27 +00:00
Anthony Minessale
0463541d61 change low res sleep func api names
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11486 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-25 21:23:07 +00:00
Anthony Minessale
f776a727b0 tweak fifo and add app_flags
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11356 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-22 14:01:15 +00:00
Michael Jerris
7fbb5fa9f4 more const madness
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11354 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-22 04:07:47 +00:00
Anthony Minessale
80900446a9 beastie
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11352 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-22 03:42:22 +00:00
Anthony Minessale
1d5dd03f14 taint check MODW00T-00
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11339 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-21 21:34:31 +00:00
Anthony Minessale
f71c5ae4c3 FSCORE-274
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11315 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-20 18:36:02 +00:00
Brian West
87ebaded7e just fail silently in these cases. see FSCORE-272
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11278 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-19 16:25:49 +00:00
Anthony Minessale
30e74fca2c FSCORE-272
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11274 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-19 16:00:11 +00:00
Anthony Minessale
0ae2abd374 FSCORE-268
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11186 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-14 13:36:32 +00:00
Anthony Minessale
d6290803ac add bridge/unbridge too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11098 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-08 16:43:07 +00:00
Anthony Minessale
dd7897420a add park/unpark to verbose event list
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11097 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-08 16:41:32 +00:00
Anthony Minessale
abb2691bde ditto
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11082 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-06 23:26:49 +00:00
Brian West
1a401ee77b doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11076 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-05 20:51:45 +00:00
Anthony Minessale
71011217cb make conference verbose-events param to control if events have all the channel data or not
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11074 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-05 20:43:53 +00:00
Michael Jerris
42c11dd764 FSCORE-237 make channel flags array based so we do not have 32 flag limit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10710 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-11 15:20:24 +00:00
Anthony Minessale
bd3e06846e index veriables on SWITCH_EVENT_CHANNEL_EXECUTE_COMPLETE
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10656 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-08 17:17:29 +00:00
Michael Jerris
643d5ac364 use correct format string
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10626 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-05 19:14:51 +00:00
Michael Collins
4e9026b7cd Fix progressmsec issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10603 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-05 00:05:22 +00:00
Anthony Minessale
ed0c26010a add private flags to channel for endpoints to use
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10587 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-04 04:46:10 +00:00
Anthony Minessale
7bc685dcca update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10556 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-27 04:02:57 +00:00
Anthony Minessale
1576530c3e update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10555 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-27 02:41:08 +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
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
c9a24dd36e Add ability to choose uuid from originate string (use at your own risk)
[origination_uuid=someid]sofia/default/100@dom.com

it's only valid in [], cannot be used on 2 existing calls at once and is not
reccommended if you don't need it.

event_socket users can use it to do

api create_uuid   
#### (then save uuid into a local variable say $uuid) ###
filter unique-id $uuid
events all
originate [origination_uuid=$uuid]sofia/default/100@dom.com

Then you can get all the events in anticipation on that channel.

Anything people do to cause problems misusing this will not be supported.




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10239 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-04 16:46:33 +00:00
Anthony Minessale
f4904d09c5 fix FSCORE-215
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10220 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-03 15:45:38 +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