179 Commits

Author SHA1 Message Date
Seven Du
aa15994c7f fix return value 2014-09-06 18:29:19 +08:00
Seven Du
1a4e6e3093 FS-6796 #comment avoid use c++ string since it causing troubles 2014-09-06 07:18:38 +08:00
Seven Du
31f78d8cac add ability to read from a stream
do not use this unless you understand what you are doing and you want to take the risk,
you are warnned
2014-09-04 09:45:16 +08:00
Anthony Minessale
3a00260dc6 FS-6615 test this patch 2014-07-16 19:33:10 +05:00
Travis Cross
d1ec643286 Improve name of new console log function
The new console log function here isn't any more of a channel log than
the old one.  The name was bad, and no one could have been using this
yet since we just ran reswig.  We'll take the same tack the kernel
developers do when replacing a function with an otherwise equivalent
one with a better API.
2014-07-16 03:52:08 +00:00
Travis Cross
74262ee964 Add session::consoleLog2()
This allows emitting log messages that include the file name and line
number of the call.  Because we have the session object here, the log
messages can be correctly associated with the session from which they
were emitted.

As when the kernel developers need to 'fix' a system call, we'll just
add a number to the name of the existing function.
2014-07-16 03:52:08 +00:00
Brian West
a99df48984 FS-4861 improve logging when using c++ wrapper 2014-07-09 09:09:45 -05:00
Michael Jerris
44401e842a CID:1023936 Unused pointer value 2014-05-15 17:00:32 +00:00
Michael Jerris
3ff3f327ee FS-6484: guess at fixing seg from mod_managed, this function should never be called without a channel, but if it does, throw an error instead 2014-05-05 19:19:03 -04:00
Ken Rice
6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Anthony Minessale
1af72288d1 FS-6061 --resolve 2013-12-23 22:43:06 +05:00
Anthony Minessale
802794b9f1 FS-5794 --resolve 2013-09-16 19:56:02 -05:00
Brian West
fb34ff9ade adding transfer-sound to ivr menu so you can specifiy a sound file to pay when a transfer takes place 2013-07-24 18:40:45 -05:00
Nathan Neulinger
32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Anthony Minessale
e60f37f651 FS-5529 --resolve 2013-06-20 12:36:30 -05:00
Brian West
cc2efd5597 Fix silly warning 2013-04-16 12:13:45 -05:00
Anthony Minessale
0e41c484a3 FS-5284 --resolve ready is meant to signify that the object is ready for external use so setting it to 1 before the bind is sufficient 2013-04-08 13:00:24 -05:00
William King
3199f5ce0a Fixing the only place where parms is used instead of params. 2013-02-04 12:20:25 -06:00
Anthony Minessale
1e22ba2ba5 add cleanup method to event consumer 2013-01-29 09:34:23 -06:00
Anthony Minessale
428cd029de FS-4868 --resolve This patch also adds freeswitch.ready() which will return false once shutdown has started 2012-11-26 15:18:58 -06:00
Anthony Minessale
fe7580b13d FS-4738 --resolve 2012-10-19 15:48:13 -04:00
Anthony Minessale
830755ac85 allow event consumer to supply size as optional arg 2012-06-14 11:31:46 -05:00
Ken Rice
7a147e4762 Update a ton of copyright statements to make sure the dates are proper 2012-04-25 17:14:55 -05:00
Jeff Lenk
b992e29640 FS-3553 --resolve 2011-11-16 16:00:14 -06:00
Anthony Minessale
2faaee0e6e add getGlobalVariable and setGlobalVariable to swig stuff 2011-10-21 08:56:42 -05:00
Anthony Minessale
7333d46d5b add new chatplan concept and mod_sms. Apps for chat messages: copy new base freeswitch.xml and chatplan dir if you are upgrading on existing config base 2011-09-21 14:31:18 -05:00
Anthony Minessale
301ea9fbce locate session even when it's hungup in script constructor 2011-08-26 08:30:27 -05:00
Michael S Collins
e4d473190d mod_dptools: add transfer_on_failure ext/dp/context to play_and_get_digits
If max tries is reach and user has not made a valid entry then system transfers the call leg to the specified destination.
2011-08-18 20:29:52 -07:00
Anthony Minessale
0ba25358b9 FS-3119 2011-03-03 14:21:02 -06:00
Anthony Minessale
f33e9c6ede FS-2966 I already fixed this in the wait_for_state, so i copied the same fix to wait_for_state_timeout, the lua one needed a similar call to wait for the state to change to avoid a race, both of you should be fixed with this patch 2011-03-02 20:50:33 -06:00
Brian West
89c5f3bf82 FS-3023 2011-02-02 11:04:49 -06:00
Brian West
3734f4cd44 bump copyright date and fix some email and typos from diego. 2011-01-05 10:09:04 -06:00
Anthony Minessale
c4e350ab0c add insertFile front end to switch_ivr_insert_file and reswig 2010-12-29 15:09:57 -06:00
Anthony Minessale
93cc3dc556 normalize tests for outbound channels to use switch_channel_direction instead of testing for CF_OUTBOUND 2010-12-15 20:59:42 -06:00
Anthony Minessale
c4369fc84d add uuid_fileman <uuid> <cmd>:<val> <-- same vals as the callbacks in js and lua to control the currently playing file of a channel from the cli or ESL (for the people who were ignoring me on the conference call so I decided to implement it instead of try to explain it ) 2010-11-30 15:34:22 -06:00
Anthony Minessale
cfa30468e8 sprinkle digit_timeout into switch_ivr_read and switch_ivr_play_and_get_digits and the higher level variants 2010-09-23 18:37:45 -05:00
Anthony Minessale
5cd072a3fb allow vars to be set containing vars from languages 2010-07-15 08:42:51 -05:00
Anthony Minessale
3a6bb506c0 passing non-null value to generate_xml_cdr now implies its an initalized xml object 2010-07-01 15:22:13 -05:00
Anthony Minessale
c5086b1517 jsonification into the core and ESL 2010-06-17 11:43:09 -05:00
Brian West
ea5e699cb2 FSBUILD-278 2010-05-26 09:33:16 -05:00
Anthony Minessale
c017c24b8e FSCORE-612 with mods 2010-05-25 16:54:31 -05:00
Michael Jerris
05bf1d8384 initialize node_index 2010-05-21 09:19:51 -04:00
Anthony Minessale
7fd3aff6f0 fix eventConsumer issue and add flush() method 2010-05-17 18:38:25 -05:00
Anthony Minessale
a7f74af7d0 add bind method to EventConsumer takes same args as constructor to bind more events to an existing consumer 2010-05-10 13:07:34 -05:00
Michael Jerris
7c16b84aac first cut and say interface rework to include gender and put all args into a struct for easier future extension
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16929 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-07 19:34:05 +00:00
Anthony Minessale
334abcdae7 add bridged method to scripting langs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16854 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-01 20:04:12 +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
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
540445cb1f FSCORE-508
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15830 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-07 16:40:42 +00:00
Mathieu Rene
c27a26e30e Const-ify Event::getHeader()'s param
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15758 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-02 18:19:14 +00:00