Commit Graph

223 Commits

Author SHA1 Message Date
Anthony Minessale 70a4ebd3fb sorry windows... 2011-12-14 14:38:00 -06:00
Anthony Minessale f7f9a43a40 use threading in testserver and ivrd 2011-12-14 12:16:09 -06:00
Jeff Lenk 34827a892c fix fs_cli for windows after recent changes - may need more work 2011-09-26 09:15:12 -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
Jeff Lenk 482b319512 FS-3544 --resolve 2011-09-06 21:27:13 -05:00
Anthony Minessale 1c775c3bf0 finish up last commit 2011-09-06 15:07:51 -05:00
Anthony Minessale 2ae688a33b add sendmsg function to esl 2011-09-06 14:53:38 -05:00
Anthony Minessale e420e17f84 FS-3386 Jeff Lenk found this one, Good Catch! 2011-07-08 12:52:18 -05:00
Anthony Minessale 37064511e4 fix bug from the *cough* FRICKING MAILING LIST WHERE IT SHOULD NOT HAVE BEEN REPORTED FROM *cough* 2011-05-31 09:53:39 -05:00
Mathieu Rene 9d756ecc77 FS-3320 --resolve 2011-05-27 12:24:48 -04:00
Anthony Minessale ffa0a07198 add array manipulation to the wraper code 2011-05-26 12:18:18 -05:00
Jeff Lenk 4cd07bc241 fix code analysis warnings - this time while awake 2011-05-26 11:32:07 -05:00
Anthony Minessale 7fb6fb3076 doh merge conflict put back changes 2011-05-26 10:04:15 -05:00
Anthony Minessale c080fb15d9 update on array patch 2011-05-26 10:00:06 -05:00
Mathieu Rene ea38df0aed missed one 2011-05-26 10:52:41 -04:00
Jeff Lenk 6648a4c79e doh this is stupid 2011-05-26 09:50:07 -05:00
Jeff Lenk 140810df78 fix code analysis vs2010 pre sp1 2011-05-26 09:05:12 -05:00
Jeff Lenk 55c24567bd fix windows code analysis problems 2011-05-25 23:51:48 -05:00
Anthony Minessale c1c759526d add arrays to event headers and chanvars 2011-05-25 15:42:36 -05:00
Anthony Minessale 73279f01bf FS-3166 --resolve 2011-04-22 16:43:29 -05:00
Jeff Lenk 0cde6bc039 code analysis warnings fix and acknowledge stack usage warning 2011-03-27 12:09:10 -05:00
Anthony Minessale 9795dd2f0a fix finicky build 2011-03-26 11:07:34 -05:00
Anthony Minessale ae595cd529 use poll instead of select in ESL client lib because select is not your friend.... 2011-03-26 10:59:55 -05:00
Anthony Minessale e8474d602d ESL-57 2011-03-10 00:33:43 -06:00
Anthony Minessale 0444626b72 fix linger support in esl client lib 2011-02-25 16:13:24 -06:00
Anthony Minessale bc397ab600 FS-2971 2011-02-25 10:55:47 -06:00
Anthony Minessale e96acac3c8 add optional job-uuid param to bgapi in oop mod 2011-02-24 17:48:51 -06:00
Anthony Minessale e8a1055854 ESL-56 null terminate buffer after reading from the socket to prevent cross-over to old data that confuses the parser and throws off framing. (regression from 2081bf97b9) 2011-02-22 17:07:18 -06:00
Joao Mesquita eb88304a16 Small fix on ESL that cause event_id to be set wrong on headers that had value failure. 2011-01-12 16:24:04 -03:00
Jeff Lenk 1aa6bc6eec fix assert with standard code analysis macro 2011-01-05 09:59:14 -06:00
Jeff Lenk 5254df0466 FS-2957 esl lib on windows fails to build 2011-01-04 22:57:49 -06:00
Jeff Lenk 7b1de56baa vs2010 fix build 2010-12-16 14:24:54 -06:00
Jeff Lenk dcce6bb510 vs2010 fix build 2010-12-16 13:52:46 -06:00
Jeff Lenk dfdf4e1e23 windows fix for last esl commit 2010-12-16 12:27:55 -06:00
Anthony Minessale 526436fd1f doh 2010-12-16 11:58:18 -06:00
Anthony Minessale 2081bf97b9 use a packet buffer for ESL 2010-12-16 11:33:38 -06:00
Jeff Lenk a15f51d577 ESL-37 [patch] Make last_event pointer last longer 2010-12-09 09:22:17 -06:00
Brian West 413dcc4cd2 ESL-50: Call close on connection handle if the connection fails 2010-10-08 09:03:43 -05:00
Jeff Lenk 184f395553 fix several code analysis problems and mask several that are required 2010-09-20 09:25:14 -05:00
Jeff Lenk 62206e3d43 FSBUILD-296 Fix VS2008 code analysis build 2010-08-24 08:55:00 -05:00
Jeff Lenk 1977aa8684 VS2010 add missing project filters 2010-08-19 10:38:54 -05:00
Mathieu Rene b38909af0e esl: init fd_flags to 0 2010-08-18 18:27:29 -04:00
Mathieu Rene 4263d60e38 esl: fix leak-on-error in esl_connect_timeout() 2010-08-12 12:00:12 -04:00
cypromis 910729b5dd Fix for ESL-44, thank you to Lakschmanan for providing the Patch 2010-07-29 12:09:49 +02:00
Mathieu Rene 46c2d71464 fix windows build 2010-07-20 17:19:30 -04:00
Mathieu Rene 90da341a70 fix git screwup 2010-07-20 17:18:43 -04:00
Jeff Lenk b079eee5fb fix windows build 2010-07-20 15:33:48 -05:00
Mathieu Rene 644a144e19 Add esl_connect_timeout to specify custom connection timeouts 2010-07-20 15:33:46 -05:00
Mathieu Rene 49d6c803d1 use uint32_t instead of long for timeout as in the rest of the lib, 0 means forever. Also added esl_send_recv_timed() 2010-07-20 16:24:50 -04:00
Mathieu Rene 13137e228c esl: use recv_timed in esl_connect_timemout in case we get stuck in a blocking recv 2010-07-20 16:24:50 -04:00
Mathieu Rene 12a0ec741b Add esl_connect_timeout to specify custom connection timeouts 2010-07-20 14:45:53 -04:00
Jeff Lenk 394d545468 doh 2010-07-19 15:27:25 -05:00
Jeff Lenk 6a9a61c79f fix windows build 2010-07-19 15:25:45 -05:00
Mathieu Rene 52885dfc1d esl: make esl_connect thread-safe by using getaddrinfo instead of gethostbyname 2010-07-19 16:13:10 -04:00
Mathieu Rene 84b4b5da62 Fix esl doc, s/ESL_STATUS_SUCESS/ESL_SUCCESS/g 2010-07-19 13:09:21 -04:00
Mathieu Rene c5ad49da17 mod_hash: begin working on remote support 2010-07-16 22:50:58 -04:00
Anthony Minessale 60af226890 deal with empty param to serialize() 2010-07-12 15:37:16 -05:00
Jeff Lenk 7af395ef83 more tweaks for VS2010 2010-07-10 15:22:25 -05:00
Jeff Lenk 9361e2ba9d more tweaks for VS2010 2010-06-29 09:55:08 -05:00
Jeff Lenk a87429ac87 Add initial support for VS2010 2010-06-28 15:49:19 -05:00
Anthony Minessale 4b2f56daf1 fix serialize issue 2010-06-23 13:34:43 -05:00
Jeff Lenk c2bcc926c5 fix line endings 2010-06-17 23:13:32 -05:00
Stefan Knoblich 88b7110014 esl-json: Add limits.h for INT_MIN/_MAX 2010-06-17 22:49:29 +02:00
Jeff Lenk 4ae090ffd9 oops fix this the right way - json malloc and free 2010-06-17 14:17:15 -05:00
Jeff Lenk 091952cab7 fix trivial compile errors under windows 2010-06-17 12:52:20 -05:00
Jeff Lenk 9e1508e23e add new files for json 2010-06-17 12:18:06 -05:00
Anthony Minessale 7048c16fc4 jsonification into the core and ESL (part 2) 2010-06-17 11:49:16 -05:00
Anthony Minessale c752e71afe more work on callstate events 2010-06-07 18:01:02 -05:00
Brian West 5cd066df39 fix issue reported on mailing list along with segfault. 2010-06-06 23:26:09 -05:00
Anthony Minessale 9c9cb5b310 fix esl buffer overflow 2010-05-28 14:20:20 -05:00
Michael Jerris b2ec65a10a more efficient check 2010-04-26 01:13:10 -04:00
Anthony Minessale 5fb3a88f71 ESL-36 2010-04-13 13:35:38 -05:00
Michael Jerris ad581d8c00 fix openbsd build of libesl (FSBUILD-256)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17070 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-22 23:02:48 +00:00
Anthony Minessale 2f8b5c84e2 fix cosmetic change to avoid double content-length header
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16978 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-12 22:11:43 +00:00
Anthony Minessale 1baa8d5eee fix esl sendevent issue and change the sendEvent method to return the reply text like sendRecv etc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16921 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-05 23:10:41 +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
Mathieu Rene 2c7cb1da6b ISO C90 forbids mixed declarations and code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16722 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-22 19:18:11 +00:00
Anthony Minessale 4197a25412 ESL-32
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16721 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-22 18:35:21 +00:00
Anthony Minessale f859964993 fix filters (reported on mailing list use jira next time =/)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16527 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-28 01:00:04 +00:00
Anthony Minessale a53236da7f add support for user level auth to esl and fs_cli
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16161 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-05 20:37:16 +00:00
Anthony Minessale 3cb315d6d4 add SOCKET_EVENT event
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16135 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-04 17:46:55 +00:00
Anthony Minessale c13c187a3a change execute and executeAsync to return the last event instead of status since it will almost always be 0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15973 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-15 19:45:47 +00:00
Michael Jerris 5a97e8c265 add new event
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15856 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-09 14:54:10 +00:00
Anthony Minessale 416beff9d3 use event_clone type internally to not confuse people who think they are getting events in response to commands
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15660 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-24 21:43:33 +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 d2b797fe54 disable duplicate headers on request param events
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14909 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-17 21:38:04 +00:00
Brian West 357c93b999 fix vim format line
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14856 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-14 22:03:37 +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 6c86b1defa Doxygen comments to esl, thanks jmesquita
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14538 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-16 21:08:58 +00:00
Mathieu Rene 6c5becc0c1 ESL-19
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14476 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-10 05:05:22 +00:00
Anthony Minessale d219386b15 remove duplicate memset
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14230 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-13 23:34:22 +00:00
Brian West b76bb2d5a3 swigall
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14159 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-08 16:35:22 +00:00
Brian West b6363dc294 LOOK OUT BELOW... (FSCORE-381)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14055 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-30 18:59:05 +00:00
Anthony Minessale 04a965edb3 add socketDescriptor() method to ESL::Connection obj
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13770 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-12 22:57:13 +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 a2255da097 add CALL_SECURE event
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13487 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-28 17:50:06 +00:00
Anthony Minessale b4a30ae134 ESL-12
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13217 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-01 15:00:31 +00:00
Anthony Minessale 78771b6cbc send content len with body in esl sendevent
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13168 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-27 18:02:44 +00:00
Anthony Minessale 32e2fddef3 ndlb_sendrecv_in_session var NDLB-sendrecv-in-session profile option to reverse the effects of MODENDP-148
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13084 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-20 17:07:54 +00:00
Brian West 1c2ab4a004 don't double encode events when sending them
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13078 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-17 15:59:25 +00:00