162 Commits

Author SHA1 Message Date
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
Anthony Minessale
9bcc841bb0 Modify state machine behaviour.
Endpoint handlers can still veto all other state handlers by returning SWITCH_STATUS_FALSE
Application handlers can only veto each other by returning SWITCH_STATUS_FALSE.
Global handlers will still be called when application vetos but they can still veto each other.
Default handler will not be called if application or global vetos or if state has changed from any handler.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11610 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-03 17:17:31 +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
Mathieu Rene
8187f4a3c1 FSCORE-279 Prevent media setup on failed originates
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11462 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-23 14:16:34 +00:00
Anthony Minessale
33a3bcf56c add disposition to monitor_early_media
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11437 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-22 23:50:01 +00:00
Michael Jerris
dbeb3aa47d fix build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11328 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-21 02:18:03 +00:00
Anthony Minessale
effb166bd4 add ignore_ring_ready tone_detect_sleep and tone_detect_expires
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11309 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-20 15:39:32 +00:00
Anthony Minessale
29c616b9a2 refactor
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11299 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-20 00:21:58 +00:00
Anthony Minessale
29d762924c update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11297 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-19 23:30:41 +00:00
Anthony Minessale
697bb6ec6e monitor_media function
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11295 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-19 23:15:59 +00:00
Michael Jerris
dc2a354cbe fix windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11292 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-19 21:11:01 +00:00
Anthony Minessale
0b0ce769f8 more cleanup from refactor of originate code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11289 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-19 19:32:44 +00:00
Anthony Minessale
1dcb3b67e5 refactor pass 2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11286 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-19 17:54:54 +00:00
Michael Jerris
897226f0fe fix windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11281 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-19 17:02:30 +00:00
Anthony Minessale
13c4da7b6d add inherit_codec=true var to set on a leg with late negotiation to force the negotiated b leg codec into the a leg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11256 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-16 16:22:29 +00:00
Anthony Minessale
ea5c385281 numerous fixes from regression testing
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11104 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-09 20:34:01 +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
Anthony Minessale
74e21a82d2 fix issue MODENDP-165
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11061 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-03 03:10:11 +00:00
Brian West
fda8c44ec2 fix early media issue related to group_confirm_file
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10949 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-26 17:09:09 +00:00
Michael Jerris
186c98b6d7 tweaks for windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10719 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-11 20:52:04 +00:00
Anthony Minessale
71054917ac add sync param to sleep so you can choose to sync audio or not on sleep (reswig to follow)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10693 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-10 00:48:24 +00:00
Anthony Minessale
f916b3d411 suppress frame timestamp when raw write mode is set (missed a spot)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10691 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-10 00:06:25 +00:00
Anthony Minessale
59ea2d2f03 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10687 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-09 20:46:26 +00:00
Anthony Minessale
e276f5fe42 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10686 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-09 20:28:12 +00:00
Anthony Minessale
fc1de32ffb cleanup code from yesterday
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10683 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-09 18:52:16 +00:00
Anthony Minessale
1136fcec4a a whole bunch of stuff just to avoid a sonus issue silence_when_idle=400 chanvar to send generated silence duing sleeps etc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10664 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-09 00:32:51 +00:00
Anthony Minessale
8b1ad09dca parse private events during originate
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10655 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-08 17:08:26 +00:00
Anthony Minessale
a579a28324 add vars param to switch_ivr_originate for recursion MODAPP_175
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10610 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-05 14:59:24 +00:00
Anthony Minessale
cb5096db71 FSCORE-240
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10559 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-01 16:21:27 +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
65f179ca92 fix linksys transfers
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10429 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-17 20:13:12 +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
1d74ab745b more ref checking
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10375 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-13 17:40:25 +00:00
Anthony Minessale
722b830652 look out below....(make current)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10363 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-12 19:28:05 +00:00
Anthony Minessale
1af037cf58 allow calls to be stolen from originate
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10328 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-11 14:26: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
1a4321cd02 oops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10143 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-24 19:31:41 +00:00
Anthony Minessale
f95887b13a fix parser err
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10142 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-24 19:25:07 +00:00
Michael Jerris
2d764cc0b0 build tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10121 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-23 01:39:04 +00:00
Michael Jerris
885c1e6144 windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10117 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-22 21:55:06 +00:00
Anthony Minessale
65c91197b9 add patch from FSCORE-208
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10113 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-22 17:51:34 +00:00
Anthony Minessale
30c318b995 clean some old members and naming conventions in the codec structs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10084 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-20 17:48:42 +00:00
Anthony Minessale
f9d1c7990d cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10009 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-14 18:03:14 +00:00
Anthony Minessale
4c44541e40 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9999 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-13 21:17:10 +00:00
Michael Jerris
cb970d8fba windows build tweaks.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9922 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-10 00:29:45 +00:00
Anthony Minessale
a6a2d37c07 clean up some typos
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9921 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-09 23:37:26 +00:00
Michael Jerris
75dc5caf6d fix resampler bug
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9918 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-09 22:50:44 +00:00
Anthony Minessale
4ed389f9d2 per leg timeouts and specific cause codes in reject_on_single_fail
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9904 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-09 00:38:59 +00:00
Anthony Minessale
584669c25e add switch_core_session_get_id function
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9899 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-08 20:59:16 +00:00
Anthony Minessale
f29513f370 allow endpoints to realize the originator is ignoring early media and use that feature in mod_loopback to avoid obscure situation
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9896 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-08 18:15:00 +00:00