Commit Graph

335 Commits

Author SHA1 Message Date
Anthony Minessale aa9361d79f add CALL_UPDATE event
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15119 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-08 16:52:55 +00:00
Anthony Minessale aaeb69d613 make moc happy
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15105 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-07 04:30:19 +00:00
Brian West dcfe0f5743 FSCORE-442
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14893 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-16 21:24:22 +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 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
Anthony Minessale c0dbb3e561 add recursive flags and workaround for nested broadcast in controlled situations
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14644 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-26 17:42:36 +00:00
Anthony Minessale 74da51e862 add answersec answermsec and answerusec to time how long it took for a call to be answered
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14620 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-24 17:12:36 +00:00
Anthony Minessale 2c0eaac332 add record_start and record_stop events
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14591 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-21 22:29:44 +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
Mathieu Rene 60ec88985a oops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13628 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-05 01:46:09 +00:00
Mathieu Rene 35bdae4aa2 add hunt_caller_profile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13626 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-05 01:16:02 +00:00
Anthony Minessale ef5b6d76a8 add hunt_caller_profile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13625 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-05 01:05:11 +00:00
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