Anthony Minessale
93c2ed941a
silent recovery
2010-10-13 16:17:43 -05:00
Anthony Minessale
fdba0e07fa
make parens optional on functions as vars ${foo(bar)} is now the same as ${foo bar}
2010-10-08 15:59:22 -05:00
Anthony Minessale
1d921b1cfa
improve dmachine stuff some more
2010-10-08 13:50:15 -05:00
Brian West
e7cafae29d
tweak
2010-10-05 09:59:23 -05:00
Anthony Minessale
4aa9a83898
refactor export code and add new bridge_export app which is like export but exports across when one channel bridges another
2010-10-01 17:26:12 -05:00
Anthony Minessale
633f193dae
add bitrate patch from moc with some extra stuff for late neg mode
2010-09-29 16:52:43 -05:00
Anthony Minessale
4e567a28a2
fix logic in app flags
2010-09-15 18:57:54 -05:00
Anthony Minessale
977a8ad7ce
add origination_caller_profile to log all attempted calls for a paticular leg
2010-09-08 13:19:56 -05:00
Anthony Minessale
a62e2cf7bc
presence tweaks
2010-08-23 17:02:15 -05:00
Anthony Minessale
7f075c0c28
more presence tweaks
2010-08-19 12:09:30 -05:00
Anthony Minessale
c44a097156
doh
2010-08-17 19:26:28 -05:00
Anthony Minessale
5f763d0d1b
fix caller id fields in show channels show calls etc
2010-08-17 17:26:36 -05:00
Anthony Minessale
44450cb013
fix some small mem leaks
2010-07-23 00:37:08 -05:00
Anthony Minessale
09c1815c42
change channel app_flags to be realm specific and default old version to use __FILE__ as the realm name to avoid cross fire between apps using app flags
2010-07-22 14:37:34 -05:00
Anthony Minessale
8a7f38c650
FSCORE-636
2010-07-20 15:22:31 -05:00
Anthony Minessale
67c07ee1d1
avoidance a different way
2010-07-16 11:43:14 -05:00
Anthony Minessale
1381d02a58
fifo tweaks
2010-07-15 20:36:54 -05:00
Mathieu Rene
ade0dcd7cb
declinato mortuus obfirmo!
2010-07-15 11:22:17 -04:00
Anthony Minessale
32f6aa3b9e
update
2010-07-13 00:47:41 -05:00
Anthony Minessale
ff1a52ab18
add call_uuid
2010-06-25 13:25:13 -05:00
Anthony Minessale
10b8cfa18e
be more strict about changing callstate based on clearing hold flag
2010-06-24 10:09:39 -05:00
Anthony Minessale
92bd8966fa
FSCORE-598
2010-06-18 13:40:10 -05:00
Anthony Minessale
3c688a95f8
MODENDP-310
2010-06-15 15:48:12 -05:00
Anthony Minessale
c752e71afe
more work on callstate events
2010-06-07 18:01:02 -05:00
Anthony Minessale
0f133eae2d
add new callstate field to channels table
2010-06-04 19:03:36 -05:00
Anthony Minessale
2cc59f1ed4
FSCORE-615
2010-06-02 21:57:30 -05:00
Brian West
848a4a6909
dup off the right pool
2010-05-12 21:23:49 -05:00
Anthony Minessale
9096501ee4
fix race condition when hangup happends after answer indication but before the session thread is started
2010-05-03 13:36:23 -04:00
Anthony Minessale
19dca2e3e9
add callee id to events and add global param verbose-channel-events and fsctl verbose_events [on|off] to globally configure verbose events
2010-04-27 16:52:40 -05:00
Michael Jerris
002896a4a2
add 'direction' chan var
2010-04-26 05:18:46 -04:00
Anthony Minessale
b6146a44f5
add sanity check to launch threads that catch hangup and are not in a thread to make sure they clean up
2010-04-23 12:14:37 -05:00
Mathieu Rene
2c830f84aa
remove switch_channel_export_variable's nolocal argument, more confusing than anything else
2010-04-07 15:02:00 -04:00
Mathieu Rene
ada27c2f70
add switch_channel_export_variable_printf
2010-04-07 14:55:55 -04:00
Mathieu Rene
019c4471ad
add switch_channel_export_variable
2010-04-01 15:49:32 -04:00
Anthony Minessale
38b36e91af
never do anything when you call switch_channel_answer on an outbound channel leg
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16970 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-11 20:41:46 +00:00
Anthony Minessale
178be32842
declinatio mortuus obfirmo!
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16904 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-04 23:03:51 +00:00
Brian West
9819eed509
skip dialplan args with bad char sequences
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16882 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-03 18:31:19 +00:00
Mathieu Rene
f129bc4a64
include variables in channel_create
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16873 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-03 03:20:27 +00:00
Michael Jerris
40a660cdf8
fix silly conundrum
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16872 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-03 02:34:55 +00:00
Anthony Minessale
cc39f9e4bc
add events for bug start and stop
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16858 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-02 01:11:15 +00:00
Anthony Minessale
995fd35ada
debugging tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16692 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-18 17:26:15 +00:00
Anthony Minessale
886e1ddb4d
run indent on the whole tree and update copyright dates in prep for 1.0.5
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-06 03:38:24 +00:00
Anthony Minessale
fa9b1379cd
fix uuid_bridge issue
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16574 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-05 02:46:45 +00:00
Brian West
b45f71bbe8
ZRTP Video works with ZFone (but you have to set your endpoint to use 99 for the payload for video or 125 in mod_h26x.c for H264 becuase the payloads MUST match or it can't figure it out
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16563 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-03 19:19:10 +00:00
Anthony Minessale
1b37831bd6
try this wasim
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16540 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-30 02:55:49 +00:00
Anthony Minessale
bbd8027e72
don't print pre-answer message if you pre answer after you answer
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16469 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-22 21:04:50 +00:00
Anthony Minessale
98edcdb345
you should get more than a steak dinner if you can make asterisk do this
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16426 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-21 00:12:24 +00:00
Brian West
e435cd8271
put math patch back
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16423 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-20 19:19:48 +00:00
Anthony Minessale
da82398e07
add uuid_simplify and sip_auto_simplify
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16420 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-20 18:55:38 +00:00
Mathieu Rene
edcf706d2a
backport per-session loglevel from stkn's branch
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16390 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-18 19:29:39 +00:00
Brian West
21234215f0
finally fix private hold
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16315 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-15 00:31:43 +00:00
Brian West
b24c018c45
SCA tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16271 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-13 01:40:11 +00:00
Anthony Minessale
478f165d25
share and share alike, only nothing is alike in sip =/
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16194 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-07 06:09:35 +00:00
Anthony Minessale
88a21f40f2
xmas presence 2009
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16053 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-24 05:44:23 +00:00
Anthony Minessale
d13a46acd5
stop race condition in sofia where we tried to send an ack on a dead call and turn off early hangup by default (if you dont know that that is, good, do not document this)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15891 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-11 00:28:54 +00:00
Anthony Minessale
aea73d4677
fix caller_profile race in hangup that may cause some missing cdr data in certian cases
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15839 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-08 01:20:22 +00:00
Anthony Minessale
6592c9a616
remove unnecessary line and add NULL check
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15832 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-07 19:07:53 +00:00
Anthony Minessale
5d815cfdfe
add support for running core-db over odbc
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15487 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-17 00:12:54 +00:00
Anthony Minessale
5964e31873
missed a spot
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15359 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-04 22:55:33 +00:00
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