Commit Graph

347 Commits

Author SHA1 Message Date
Anthony Minessale 4a2e4ffc0e add flags to state_handler table
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15356 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-04 21:07:18 +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
Anthony Minessale 757aa19e4e refactor ringback so it does not start early_media until it has to
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15266 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-29 05:47:17 +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 095683b878 add api_on_answer var
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15207 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-23 15:01:34 +00:00
Anthony Minessale e072a6095d Let's go Camping!
Call Campon (part of bridge app)
Variables:
campon=[true|false]
campon_retries=<number of call attempts>
campon_timeout=<duration of each call attempt>
campon_sleep=<seconds to sleep between retries>
campon_fallback_exten=<extension to transfer to on failure>
campon_fallback_dialplan=<dialplan>
campon_fallback_context=<context>
campon_hold_music=<alternate music>



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15201 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-22 22:11:28 +00:00
Anthony Minessale 4d9f7de25b FSCORE-471 and any other update related bugs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15186 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-21 18:48:28 +00:00
Anthony Minessale 3dfe67800f clear up some more display issues and fix resume-media-on-hold sofia option
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15177 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-19 19:58:23 +00:00
Anthony Minessale 39f93c4eea delay update till after media has been confirmed to prevent SOA race in sip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15159 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-14 19:26:10 +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 06c1349b08 cleanup more on att-xfer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15134 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-09 22:28:31 +00:00
Anthony Minessale 7681f944b4 fix att-xfer...AGAIN
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15133 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-09 20:48:24 +00:00
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