Commit Graph

323 Commits

Author SHA1 Message Date
Anthony Minessale 56d98aab4f extended data from hangup_complete event
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13525 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-01 12:45:56 +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 d875d23de5 FSCORE-370
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13414 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-21 20:10:24 +00:00
Anthony Minessale f7d55aecb8 treat app::arg syntax in execute_on_answer as a broadcast request
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13400 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-20 13:02:41 +00:00
Anthony Minessale 8286dedd5d FSCORE-357
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13285 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-12 14:54:34 +00:00
Anthony Minessale bf4dbe097a FSCORE-357
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13274 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-11 16:52:01 +00:00
Anthony Minessale 4619f83a40 wait for cdr to be generated in failed cdr_x
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13253 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-07 17:27:15 +00:00
Anthony Minessale e7470e882c FSCORE-357
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13167 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-27 17:45:04 +00:00
Anthony Minessale 0071cedcd0 only pass 2833 while bridged and while bridged to another channel that uses our RTP stack
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13131 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-23 13:15:03 +00:00
Anthony Minessale 131be776f1 add calls count and failed calls count to sofia profile sorted by direction
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13103 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-21 17:47:22 +00:00
Anthony Minessale 5b5d8da571 add echo api command (echo back exact input)
add expand api command (executes another api command with variable expansion)
e.g. expand originate sofia/default/1000@${some_domain}
e.g. expand uuid:958b6c3c-2e82-11de-a717-2731820639f9 echo ${variable_read_codec}


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13101 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-21 14:57:43 +00:00
Anthony Minessale 21538b2bf9 run expand_vars if input contains a special escaped character not just when it contains a variable to eat up back slashes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13015 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-14 15:24:30 +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 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