Commit Graph

13606 Commits

Author SHA1 Message Date
Robert Jongbloed babe1cdb89 Fixed numerous issues with T.38 support on mod_opal, now WORKS!
Added tracing for error conditions in mod_spandsp
2012-09-19 12:33:06 +10:00
Robert Jongbloed 75c3e36009 Added XML config for H.323 User Input Indication (DTMF) mode 2012-09-19 12:32:36 +10:00
Robert Jongbloed 45609f8986 Fix direction flag for outbound H.323 calls, all sorts of consequences there. 2012-09-19 12:32:33 +10:00
Robert Jongbloed f8143eedd4 Fixed outbound H.323 calls correctly marking call as answered when fast connect used.
Fixed correct media "frames/packet" for G.711, default to 20ms worth.
2012-09-19 12:32:26 +10:00
Robert Jongbloed 468739da29 More T.38 fax support changes for mod_opal. Not quite there yet. 2012-09-19 12:32:22 +10:00
Robert Jongbloed a580c31122 Fixed VS2010 issues building mod_opal 2012-09-19 12:32:18 +10:00
Robert Jongbloed 20bb474c0e Added T.38 fax support to mod_opal 2012-09-19 12:32:15 +10:00
Anthony Minessale d80e91d248 doh 2012-09-18 16:00:19 -05:00
Anthony Minessale c5204c2128 FS-4614 --resolve update to dynamic line buffer and use internal buffering to boot for file I/O on preprocessing XML 2012-09-18 15:39:28 -05:00
Anthony Minessale 1b2b456510 add transfer_to variable for call processing 2012-09-18 15:39:28 -05:00
Anthony Minessale dd62f08f04 FS-4596 --resolve 2012-09-18 11:34:45 -05:00
Anthony Minessale 475522b520 tweak 2012-09-18 11:13:09 -05:00
Jeff Lenk 33b22c485d FS-4099 --resolve windows only regression 2012-09-17 23:28:10 -05:00
Jeff Lenk 6803346c94 fix for last commit - tony please check 2012-09-17 23:18:17 -05:00
Anthony Minessale 61f4648aa7 FS-4621 --resolve everyone will want this patch omfg 2012-09-17 20:02:14 -05:00
Anthony Minessale 0d21c81015 FS-4595 please update to this revision and supply full debug logs 2012-09-17 18:59:35 -05:00
Stefan Knoblich 416f026f8c FreeSWITCH: Add preprocessor constant for default callerid number
SWITCH_DEFAULT_CLID_NUMBER and replace all occurrences
in the FreeSWITCH codebase.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-17 21:32:18 +02:00
Jeff Lenk e22f42334d FS-4099 --resolve switch windows to use posix delimiter (/) for base paths. This will correct numerous problems with escaped chars. This change only effects windows builds. Please test. 2012-09-16 14:15:49 -05:00
Anthony Minessale 3b660a06e5 fix small leak in var arrays 2012-09-14 17:07:55 -05:00
Anthony Minessale 3359f04a3f only use the wait_for_aleg_ack when the call is unanswered 2012-09-14 16:21:44 -05:00
Jeff Lenk e74d4ac6e6 FS-4586 --resolve add mod_spy to vs2010 2012-09-14 16:08:23 -05:00
William King 7b0f8ace69 Adding debugging and a default value for disconnect time. Also handle unset times better. 2012-09-14 13:17:08 -07:00
Anthony Minessale 5bbc372c56 fix crash in mod_fifo when deleting a node when its in use 2012-09-14 14:25:20 -05:00
Jeff Lenk 076726a163 vs2008 add missing file mod_sofia 2012-09-14 14:23:28 -05:00
Michael Jerris d1ddb73c0b fix build of mod_freetdm 2012-09-14 14:40:16 -04:00
Jeff Lenk dba0b0e40a vs2010 reswig 2012-09-14 12:28:15 -05:00
Anthony Minessale 83007777a0 lower console output to debug for avmd 2012-09-14 11:24:23 -05:00
Anthony Minessale 6721cd918a hangup unauth calls with rejected cause 2012-09-14 11:19:36 -05:00
Brian West dc599db683 FS-4600 --resolve 2012-09-14 10:30:13 -05:00
Brian West 4100c3b532 FS-4599 --resolve 2012-09-14 10:29:25 -05:00
Jeff Lenk 2e9b4c23de FS-4618 --resolve 2012-09-14 07:38:03 -05:00
William King bf04f8b0c8 Mod_sonar can be useful for collecting specific round trip delay information about a call route. This is a first working draft, so expect it to interfere with the migration habits of your creatures. To use setup a destination with echo, originate a call to that destination and drop the call into &sonar(). Then watch the logs for the results. 2012-09-14 00:26:36 -07:00
Seven Du a32244fe38 Revert "for consistency"
This reverts commit e8c7bb3a88.
2012-09-14 09:41:10 +08:00
Seven Du e8c7bb3a88 for consistency 2012-09-14 09:37:08 +08:00
Anthony Minessale 70898c09ef run serialize test in skel 2012-09-13 17:58:25 -05:00
Anthony Minessale d5e5fb032a add funcs to binary seralize/deserialize switch_events into a contiguous binary frame 2012-09-13 17:46:28 -05:00
William King c28c99c394 If the timer value isn't available it isn't an error. Instead just don't add the field. 2012-09-13 15:12:52 -07:00
Anthony Minessale 5a956890af update json lib in core and ESL and re-apply old patches 2012-09-13 12:54:31 -05:00
Anthony Minessale 0424a81494 build fix on opus 2012-09-13 11:27:50 -05:00
Anthony Minessale 892974f010 update opus to use the standardized release 2012-09-13 10:32:00 -05:00
Seven Du 9c1c911648 fix lost bindings when list 2012-09-13 11:33:16 +08:00
Anthony Minessale 9a193a9cd2 add hold_events variable with start and stop times for each hold 2012-09-12 16:36:17 -05:00
Anthony Minessale 631c976f59 don't put casue from unanswered pickups as result of originate 2012-09-12 10:22:03 -05:00
Anthony Minessale 8f0c726b13 add send-display-update profile param to disable the update method 2012-09-11 15:40:50 -05:00
Anthony Minessale 02c24da081 pull cause from channels in ent originate when none of them answer or the call times out 2012-09-11 10:38:29 -05:00
Anthony Minessale 1400a31cfa plan b 2012-09-10 20:57:07 -05:00
Anthony Minessale a0eef6a111 revert 2012-09-10 20:49:32 -05:00
Anthony Minessale c698de5c07 end faster when only pickup endpoints are left 2012-09-10 20:47:57 -05:00
Brian West 99eee5f528 Support rebooting some more ciscos 2012-09-10 18:25:02 -05:00
Anthony Minessale 273b7f59a5 FS-4595 please test 2012-09-10 18:21:08 -05:00
Anthony Minessale d0117d5c91 missed a spot 2012-09-10 16:57:39 -05:00
Anthony Minessale 40533e7378 set new pt on re-invite video negotiation 2012-09-10 15:20:30 -05:00
Anthony Minessale a696e4a743 sndfile tweak 2012-09-10 14:13:12 -05:00
Raymond Chandler 48f5724c27 Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2012-09-10 14:54:15 -04:00
Anthony Minessale 4ddfedbf71 minor video tweaks 2012-09-10 12:58:23 -05:00
Anthony Minessale 0fd5d7696c video tweaks for echo app 2012-09-10 12:58:06 -05:00
Anthony Minessale f71b67e02c hangup pickup chans with no answer if they are the only ones left 2012-09-10 11:14:19 -05:00
William King 3918d0876f Add better handling of time values when the times aren't defined. Fix formatting of the config values for two config values. 2012-09-10 09:00:00 -07:00
Anthony Minessale 36cee285b0 FS-4602 --resolve 2012-09-08 16:12:35 -05:00
Raymond Chandler bf4bb0028e Merge branch 'master' into FS-4558 2012-09-08 02:29:59 -04:00
Raymond Chandler 8ef13dd8a2 FS-4558 --resolve 2012-09-08 02:28:35 -04:00
Jeff Lenk 6de760992f FS-4591 2012-09-07 18:28:06 -05:00
Anthony Minessale c2893801cb add timestamps for on and off hold times to put in xml cdrs 2012-09-07 18:17:57 -05:00
Anthony Minessale e2544415ad add chan vars to tell sip to break the rfc and expect the codec payload the other side replies with rather than the one it offered which is the correct behaviour 2012-09-07 16:50:50 -05:00
Anthony Minessale bfc46567c1 add uuid_media_reneg api command to tell a channel to send a re-invite with optional list of new codecs 2012-09-07 15:33:09 -05:00
Anthony Minessale cd8814844a FS-4408 fix crash caused by missing or invalid call-id in sip invite 2012-09-07 15:08:10 -05:00
Anthony Minessale cbefc9dae1 fix logic in dmachine parser for overlap bindings so they work regardless of the order they are bound 2012-09-06 11:54:03 -05:00
Anthony Minessale d528ceee19 regression from a9d72bc35d 2012-09-06 11:32:50 -05:00
Anthony Minessale 4cb0e2e5bd protect against case with null sofia_private in callback 2012-09-06 10:59:39 -05:00
Raymond Chandler 3e26caf8ff Merge branch 'master' into FS-4558 2012-09-05 16:55:51 -04:00
Raymond Chandler 9def7a2e8b FS-4558 --resolve 2012-09-05 16:55:39 -04:00
Anthony Minessale 77de3905ee one more try 2012-09-05 13:48:52 -05:00
Anthony Minessale d45db89833 second try at sip_wait_for_aleg_ack 2012-09-05 13:11:32 -05:00
Anthony Minessale 352b1903da FS-4593 please test this and post logs if necessary 2012-09-05 12:47:47 -05:00
Anthony Minessale 8650116d20 move verbos zrtp debug messages to log level DEBUG1 fsctl debug_level 1 to see them 2012-09-05 11:36:11 -05:00
Anthony Minessale 8ec031e7c9 let callers delete themselves on reload 2012-09-05 11:12:06 -05:00
Jeff Lenk 528d10319f fix naming issue in last mod_managed change - trivial 2012-09-04 23:32:59 -05:00
Anthony Minessale a9d72bc35d fix small broadcast bug 2012-09-04 19:08:06 -05:00
Raymond Chandler 5a8fcfb552 Merge branch 'master' into FS-4558 2012-09-04 20:04:50 -04:00
Anthony Minessale de0f311f2d FS-4591 --resolve 2012-09-04 15:07:09 -05:00
Anthony Minessale 76dd6db3a2 swigall 2012-09-04 13:08:41 -05:00
Raymond Chandler c3aeed6409 FS-4558: add conference chat broadcasting 2012-09-04 14:02:02 -04:00
Anthony Minessale b01976942c also allow early_ok flag on caller_channel 2012-09-04 12:38:29 -05:00
Anthony Minessale 455b22480c FS-3971 --resolve 2012-09-04 12:30:23 -05:00
Anthony Minessale 945d1141c5 set channel vars with result of group dial 2012-09-04 11:25:04 -05:00
Steve Underwood 0eb7d60da9 Some cleanups of the FAX code, so it accesses some of the FAX engine's
internal data through the proper mechanisms, instead of directly poking
around inside.
2012-09-04 12:10:16 +08:00
Steve Underwood 7c6f6e306c Added a free space function to the T.31 modem in spandsp, so the app doesn't
need to probe around inside the modem.
2012-09-04 08:58:43 +08:00
Anthony Minessale a5e9f65e31 FS-4582 --resolve 2012-09-01 11:46:45 -05:00
Steve Underwood 92fea4a896 Those damn tiff-3.8.2 entries seem to be everywhere 2012-09-01 23:37:46 +08:00
Steve Underwood 495fd99d5d Patched the new libtiff-4.0.2 code to support TIFF/FX tags and the extra
compression and colour profile codes that go with them.
2012-09-01 21:50:47 +08:00
Anthony Minessale bfee2f5382 pull this code 2012-08-31 17:38:06 -05:00
Michael Jerris 200ca61731 FS-4581: --resolve use specific column names in telecast web_callback 2012-08-31 17:11:08 -04:00
Raymond Chandler f05089b965 Merge branch 'master' of fs-git:freeswitch 2012-08-31 16:41:57 -04:00
Raymond Chandler 6ed3218f8a FS-4558: add uuid 2012-08-31 16:35:13 -04:00
Anthony Minessale 6e39233840 queue in-dialog message to the session 2012-08-31 15:28:02 -05:00
Anthony Minessale 984b27c68d add sip_wait_for_aleg_ack var 2012-08-31 14:49:21 -05:00
Anthony Minessale a8ce9ac29f tweak 2012-08-30 17:17:15 -05:00
Anthony Minessale 7d2e742feb tweak 2012-08-30 16:52:34 -05:00
Anthony Minessale 35f0e2ff3a add uuid_early_ok 2012-08-30 16:51:06 -05:00
Anthony Minessale 722919668d add channel events to message when its in-dialog 2012-08-30 16:38:31 -05:00
Anthony Minessale f43e8246f9 FS-4578 try this on dev branch HEAD 2012-08-30 16:15:03 -05:00
Anthony Minessale fea44bb2c5 add ignore_early_media=consume for hmmhesays 2012-08-30 15:14:38 -05:00
Anthony Minessale 6d2b3256c3 another efficiency pass on sofia and refactoring of 3c685bff25 to be more efficient 2012-08-30 15:26:13 -05:00
Anthony Minessale e67bb432d1 reduce log level of debug data 2012-08-30 13:18:01 -05:00
Anthony Minessale 8ed7bcd88f FS-4576 --resolve 2012-08-29 20:35:05 -05:00
Anthony Minessale c7d7bf23d3 only skip cdr on challenge calls not cancel 2012-08-29 18:35:52 -05:00
Anthony Minessale 65f2961923 add uuid_answer and uuid_pre_answer 2012-08-29 18:14:24 -05:00
Anthony Minessale 4fb38a93a4 add fire-message-events profile param 2012-08-29 15:38:01 -05:00
Anthony Minessale fb9b69f469 add fire-message-events profile param 2012-08-29 15:34:17 -05:00
Anthony Minessale 5c00f6638c clean up mutex app code 2012-08-29 14:42:18 -05:00
Anthony Minessale d1b0b1168a some minor regressions from the last commit 2012-08-29 14:42:00 -05:00
Anthony Minessale 82a9346486 swigall 2012-08-29 11:57:14 -05:00
Anthony Minessale c1d2624ce5 FS-4570 --resolve 2012-08-29 11:50:55 -05:00
Anthony Minessale ada8b78393 FS-4573 --resolve 2012-08-29 11:46:36 -05:00
Anthony Minessale 3c685bff25 fix double sessions on auth challenged calls 2012-08-29 10:38:37 -05:00
Anthony Minessale edad5d3348 finish up mutex app 2012-08-29 01:01:14 -05:00
Anthony Minessale b9dd32ac8f evil typo to cause regression in new core recover engine 2012-08-29 01:00:58 -05:00
Anthony Minessale 5a3a1e3b44 update last 2012-08-28 22:23:50 -05:00
Anthony Minessale 212953bcb4 check-in of mutex app 2012-08-28 21:11:43 -05:00
Anthony Minessale 227ed3036e FS-4488 wrong format macro 2012-08-28 13:17:31 -05:00
Anthony Minessale ffb553bef5 FS-4565 --resolve 2012-08-28 12:57:47 -05:00
Anthony Minessale a8cd9b82da add tmute command 2012-08-27 17:51:07 -05:00
Anthony Minessale a8b89bcc1e add cache param to httapi 2012-08-27 16:13:21 -05:00
Anthony Minessale 90e637cc2f FS-4561 more debug 2012-08-27 12:55:34 -05:00
Anthony Minessale a0f752c564 FS-4561 revert 2012-08-27 12:50:51 -05:00
Anthony Minessale be5fc2c0c5 enable debug 2012-08-27 12:38:48 -05:00
Robert Jongbloed 48b85ca9c1 Added check for PTLib version, can't be too old. 2012-08-27 11:51:28 +10:00
Anthony Minessale 4d8c82c86b FS-4561 please test this 2012-08-26 12:35:36 -05:00
Anthony Minessale 60cd56d1fc FS-4561 send notify with terminate state when we get a SUBSCRIBE with expires 0 2012-08-24 17:53:53 -05:00
Anthony Minessale e0372f57c3 FS-4525 --resolve ok there was 2 parts to this and I missed one, your client actually uses different to and from in the subscribe where the majority use the target name in the request, to and from, this should make it compat 2012-08-24 13:15:57 -05:00
Anthony Minessale fbc83cb0ea revert 2012-08-23 17:52:32 -05:00
Stefan Knoblich a436a3e962 FreeSWITCH: Fix format string error in witch_core_session_thread_pool_worker().
Fixes:
    cc1: warnings being treated as errors
    src/switch_core_session.c: In function 'switch_core_session_thread_pool_worker':
    src/switch_core_session.c:1478: warning: format '%ld' expects type 'long int', but argument 9 has type 'switch_size_t'
    src/switch_core_session.c:1483: warning: format '%ld' expects type 'long int', but argument 9 has type 'switch_size_t'
    gmake[2]: *** [libfreeswitch_la-switch_core_session.lo] Error 1

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-08-24 00:51:36 +02:00
Anthony Minessale f34085965c fix some issues in httapi record parser 2012-08-23 17:49:53 -05:00
Anthony Minessale 4efff5c463 fix small bug, init this value to success so you can record without playing a file first 2012-08-23 16:29:30 -05:00
Anthony Minessale 04924f1694 FS-4079 FS-4540 regression from 5213c764bb please update ASAP if you are running this one 2012-08-23 14:56:37 -05:00
Anthony Minessale 29a3d7ab02 copy channel data into RECV_INFO event 2012-08-23 13:07:08 -05:00
Anthony Minessale cfa02f0e32 FS-4561 please update to this version and retest with new logs if necessary 2012-08-23 13:02:08 -05:00
Anthony Minessale 5213c764bb FS-4079 FS-4540 minor refactoring to fix some minor side effects of recent changes 2012-08-23 11:10:03 -05:00
Jeff Lenk 3d34215919 vs2010 reswig 2012-08-22 18:08:55 -05:00
Anthony Minessale d38b905606 remove debug 2012-08-22 17:49:42 -05:00
Anthony Minessale b3140af073 cleanup 2012-08-22 17:05:25 -05:00
Anthony Minessale 2a8841ab66 change mod_sofia to use new core based recovery engine 2012-08-22 16:27:07 -05:00
Anthony Minessale 66677c940a move recovery engine up into the core 2012-08-22 16:27:07 -05:00
Anthony Minessale 8aaca1cef3 make sure recovering calls start with re-invite instead of invite handler 2012-08-22 16:27:07 -05:00
Anthony Minessale 33e642e98c remove unused resurrect code 2012-08-22 16:27:07 -05:00
Anthony Minessale a6bdbb2c09 FS-4559 --resolve 2012-08-22 16:03:47 -05:00
Anthony Minessale e008af0e50 refactor some unneeded code and move artoo code into the core 2012-08-22 10:08:20 -05:00
Anthony Minessale ebc2e8d01b update to session thread cache 2012-08-22 09:52:20 -05:00
Steve Underwood ea58df8456 Fixed Cairo's entry in the timezone files
Changed mod_spandsp so it tries to resolve timezone names like Asia/HongKong
to a POSIX timezone descriptor string, like other parts of FreeSwitch do.
2012-08-22 22:25:54 +08:00
Anthony Minessale 00f586ca5a fix endless 5xx race when system is paused or overloaded 2012-08-21 16:19:25 -05:00
Anthony Minessale d0dd441380 FS-4554 --resolve 2012-08-21 12:09:10 -05:00
Anthony Minessale f882f053e6 FS-4490 --resolve 2012-08-21 10:04:37 -05:00
Anthony Minessale 3dcf89e472 add timeout 2012-08-21 09:58:27 -05:00
Anthony Minessale 17faa239fe ammendment to last commit 2012-08-21 00:39:56 -05:00
Anthony Minessale 142c051d68 cache session threads and reuse them if possible 2012-08-21 00:14:50 -05:00
Anthony Minessale b6f64dc1c2 FS-4079 FS-4540 please update and test 2012-08-21 00:14:50 -05:00
Moises Silva 3155c6c786 mod_sangoma_codec: Remove debug message that is seldom needed anymore and
seems to be causing confusion and annoying users
2012-08-20 18:39:04 -04:00
Michael Jerris 780acf0d33 FS-4264: --resolve make sure directory exists 2012-08-20 16:49:52 -04:00
William King 802af6e5cb git merge failure fixed. wrong side of the merge was kept in previous commit 2012-08-20 10:27:39 -07:00
William King 7f74f7fbc8 On accounting start and end properly error checking on new handle creation. 2012-08-20 10:24:01 -07:00
Anthony Minessale 679921d914 FS-4548 --resolve such a little patch for a big problem, good find 2012-08-20 12:11:17 -05:00
Anthony Minessale e804d95618 add _preconfigured_t38_options as a back door for opal 2012-08-20 12:06:42 -05:00
William King 863e6f792f After chasing down a few memory leaks that two of which were in the freeradius library, the result is more standardized memory cleanup. 2012-08-18 23:11:54 -07:00
Anthony Minessale 8c6b8edfea FS-4542 --resolve ok if this causes any problems it should lead us back to this commit 2012-08-17 14:07:20 -05:00
Anthony Minessale b81e780a26 FS-4079 FS-4540 new patch 2012-08-17 13:24:20 -05:00
Jeff Lenk bdb73beb8e FS-4526 --resolve 2012-08-17 19:46:54 -05:00
Jeff Lenk 0807b39c8d FS-4543 --resolve thanks Peter 2012-08-17 19:31:47 -05:00
Anthony Minessale fabd633727 FS-4525 --resolve 2012-08-16 13:34:14 -05:00
Anthony Minessale f454b79b9b fix color coding to be OS appropriate 2012-08-16 13:04:33 -05:00
Anthony Minessale 0f71d9cc08 up date 2012-08-16 12:30:26 -05:00
Anthony Minessale d24ed6124c FS-4539 please test this and post new logs if necessary 2012-08-16 12:10:10 -05:00
Anthony Minessale cc351ca004 revert 2012-08-16 12:09:19 -05:00
Anthony Minessale 42bf44de51 FS-4539 please test this and post new logs if necessary 2012-08-16 11:56:55 -05:00
Robert Jongbloed cd21b67c1d Updated mod_opal to latest stable OPAL version.
Enhancements to trace logging, include threads and context ID.

Changed default opal_conf.xml to allow more than just G.711 uLaw and not to clutter log file with debug logs.

Added to opal_conf.xml item for "disable-transcoding".

Updated build/buildopal.sh to use correct ./configure items for PTLib, allow for something other than standard install directory for PTLib/OPAL and be able to easily bind to a specific release of PTLib/OPAL.
2012-08-16 14:23:48 +10:00
Anthony Minessale bb69310259 FS-4079 FS-4540 please update to this version 2012-08-15 22:51:41 -05:00
William King c6d7417aec Adding functionality to mod_xml_radius. Now you can do conditional accounting. And you can pull values from the other leg, specify an alternate variable name in case the variable doesn't exist and you can have default values. 2012-08-15 14:52:13 -07:00
Anthony Minessale 8f22c4acef add debug 2012-08-15 15:20:49 -05:00
Anthony Minessale e5a15cde31 debug lost read lock 2012-08-15 15:11:57 -05:00
Anthony Minessale 6758070903 fix format 2012-08-15 12:15:09 -05:00
Anthony Minessale b3a6bb9c2b improve parsing 2012-08-15 11:19:16 -05:00
Seven Du 376f137392 Fix rtp payload number and possibly other params, since we ALWAYS use PCMU all params should be hardcoded 2012-08-15 14:35:42 +08:00
Brian West 90ce980c61 STFU already 2012-08-14 21:10:43 -05:00
Anthony Minessale 0d05762085 FS-4079 revert 4ef9b3fe56 2012-08-14 17:06:02 -05:00
Anthony Minessale ed09914642 add email function to js 2012-08-14 11:10:26 -05:00
Stefan Knoblich eca5c0ad73 FreeSWITCH: Add WIN32 strerror_s() variant to custom switch_strerror_r() helper function and fix more strerror_r() users.
Convert mod_xml_cdr, mod_json_cdr and mod_conference to the new function.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-08-14 14:54:06 +02:00
Stefan Knoblich 8bcf3b4fb8 FreeSWITCH: Add switch_strerror_r() to fix problems with XSI and GNU variants of strerror_r().
GNU variant of strerror_r() returns char *, while the XSI version returns int.

To make things worse, glibc ships both and added a unused result warning
in recent versions (2.16) causing the build to fail.

Add our own custom wrapper that always returns a pointer to the message buffer
and additionally make XSI versions of strerror_r() GNU compatible by
returning "Unknown error xxx" if no error message is available.

Fixes:
    src/switch_rtp.c: In function 'rtp_common_read':
    src/switch_rtp.c:3313:15: error: ignoring return value of 'strerror_r',
    declared with attribute warn_unused_result [-Werror=unused-result]
    cc1: all warnings being treated as errors

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-08-14 14:11:44 +02:00
William King 26cefbdb87 Fixing issue with which xml pointer used. oops. 2012-08-13 14:45:47 -07:00
Anthony Minessale a073221a6a building stub module 2012-08-13 15:50:52 -05:00
Anthony Minessale fa5113557b stub for mod_html5 2012-08-13 15:20:41 -05:00
Anthony Minessale 4ef9b3fe56 FS-4079 new patch, please test 2012-08-13 13:48:06 -05:00
William King aad07c6243 Add condition matching capability to only account for one or more subset of channel directions to radius. 2012-08-12 21:13:10 -07:00
Anthony Minessale 527ad97001 add chatExecute method to events so you can respond from chatplan in js 2012-08-11 18:34:49 -05:00
Moises Silva 6732eae971 Fix typo on rtp.c causing compiler error (FS-4511) 2012-08-11 16:19:11 -04:00
Anthony Minessale 618392299b add javascript chatplan app 2012-08-10 20:12:26 -05:00
Anthony Minessale 75abcd2099 fix build 2012-08-09 16:27:15 -05:00
Michael Jerris f044f46250 add apr stub to get the real OS socket 2012-08-09 11:56:29 -05:00
Christopher Rienzo f254f2a5fe Add default configuration example to mod_speex/conf/autoload_configs 2012-08-09 15:57:51 +00:00
Jeff Lenk e9ce6ae0e9 FS-4504 vs2010 only - plus mod_sofia fix - anybody want to help with 2008 2012-08-08 21:18:06 -05:00
Anthony Minessale ef5c1256f3 add rtp endpoint contributed by sangoma 2012-08-08 14:46:38 -05:00
Anthony Minessale 210acdd165 FS-4505 --resolve 2012-08-08 10:08:29 -05:00
Anthony Minessale 47f614d40a FS-4507 --resolve 2012-08-08 09:59:36 -05:00
Daniel Swarbrick f3c1f5aa68 missed this one 2012-08-08 14:14:54 +02:00
Daniel Swarbrick 14a6e0cfc2 CGI specifies that REQUEST_URI is relative to the root (and does not include scheme name, hostname, port) 2012-08-08 14:08:31 +02:00
William King 9ac586adc8 Add param variable where needed. 2012-08-07 21:57:58 -05:00
Anthony Minessale d806014009 FS-4079 try this 2012-08-07 17:23:01 -05:00
Anthony Minessale 48857cc7a7 typo 2012-08-07 09:03:02 -05:00
Anthony Minessale c0626e6801 FS-4487 --resolve 2012-08-07 07:35:41 -05:00
Anthony Minessale 63b6fa5f24 FS-4487 revert 2ed9281d19 2012-08-07 07:30:22 -05:00
Anthony Minessale d23b74e66a FS-4352 --resolve alternate implementation as multiset to avoid regressions on set 2012-08-06 23:50:39 -05:00
Anthony Minessale 8e14fd2039 FS-4348 --resolve 2012-08-06 22:34:31 -05:00
Anthony Minessale 2ed9281d19 FS-4487 --resolve 2012-08-06 22:30:34 -05:00
Anthony Minessale 06ed24b2d4 FS-4501 try this 2012-08-06 19:38:56 -05:00
Anthony Minessale 0b852eb3d1 FS-4493 does this work 2012-08-06 18:30:08 -05:00
Anthony Minessale c3de9637af FS-4079 please test 2012-08-06 16:12:03 -05:00
Anthony Minessale 40ed0b31c1 FS-4499 --resolve this is a different fix but this will implicitly fix it 2012-08-06 11:20:27 -05:00
Anthony Minessale b843e8fd8b FS-4495 --resolve 2012-08-06 10:49:48 -05:00
Anthony Minessale 996c5378a1 4579 tweaks 2012-08-05 16:45:14 -05:00
William King 8eb36ec92d DelphiWorld found another typo. Also remove the condition for auth since all dialplan lookups should be authed to prevent fraud. 2012-08-05 12:01:33 -04:00
William King d1b98ab388 Good find DelphiWorld. 2012-08-04 19:54:48 -04:00
William King d648a05ed1 Adding a new configurable radius module that will support both authentication based on a dialplan app, as well as digest based radius authentication by hooking into the directory. It is also fully configurable on which fields to send by the config file. 2012-08-04 19:19:04 -04:00
Giovanni Maruzzelli ccae5cd6b2 gsmopen and skypopen: better printout from function gsm (or sk) list 2012-08-02 19:13:32 +02:00
Giovanni Maruzzelli 716f89f2d1 gsmopen: indent 2012-08-02 18:47:18 +02:00
Giovanni Maruzzelli c5d72d9bd0 FS-4379 gsmopen: 'gsm remove interface' works now 2012-08-02 18:39:02 +02:00
Anthony Minessale e97da8e20a remove debug 2012-07-31 16:35:56 -05:00
Anthony Minessale beed0336c0 FS-4484 I missed the part about gateways, that is a different story. Try this patch 2012-07-31 15:53:00 -05:00
Anthony Minessale f6ca367fff doh 2012-07-31 15:44:57 -05:00
Anthony Minessale 258afd4704 FS-4480 try this 2012-07-31 15:32:04 -05:00
Anthony Minessale a7b10081c8 send notifies for refer for 4579 2012-07-31 15:26:03 -05:00
Anthony Minessale e40e8696fc update 4579 stuff 2012-07-31 14:01:56 -05:00
Anthony Minessale 1b355edf18 FS-4483 --resolve 2012-07-31 08:03:07 -05:00
Anthony Minessale b3e6730de8 indent 2012-07-31 07:59:58 -05:00
Stefan Knoblich 3b5b59e693 Revert "FreeSWITCH: Fix warn-unused-result error in rtp_common_read()."
*sigh* of course there are two versions of strerror_r():

	char *strerror_r() - GNU
	int strerror_r() - non-GNU

Revert and back the drawing board...

This reverts commit 3c82033e53.
2012-07-31 01:58:48 +02:00
Anthony Minessale 0f4ecab5e9 FS-4481 --resolve seg is fixed but just utf-8 will not work. you need type/subtype format like text/utf-8 2012-07-30 16:36:20 -05:00
Stefan Knoblich 3c82033e53 FreeSWITCH: Fix warn-unused-result error in rtp_common_read().
strerror_r() returns the error message string (and expects you to use it).

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-30 13:56:48 +02:00
Anthony Minessale 293429f78d add api-expansion to switch.conf.xml and fsctl api_expansion command to control allowing apis to be expanded via variable expansion 2012-07-27 18:53:04 -05:00
Anthony Minessale cfb2335406 FS-4462 add log message to point out this problem in the future 2012-07-27 15:27:01 -05:00
Anthony Minessale 365b9feb72 457x tweaks 2012-07-27 15:07:11 -05:00
Anthony Minessale b6de76cb8c tweak 2012-07-27 14:49:08 -05:00
Anthony Minessale aba2b391fb fix seg 2012-07-27 13:23:30 -05:00
Anthony Minessale 71b64412b9 FS-4470 --resolve 2 for one fix 2012-07-27 10:44:16 -05:00
Anthony Minessale f5af7ae2b1 FS-4471 --resolve 2012-07-26 21:25:50 -05:00
Anthony Minessale 034d3741c1 4569 tweaks 2012-07-26 21:07:10 -05:00
Anthony Minessale 772f60d235 4569 tweaks 2012-07-26 16:47:50 -05:00
Anthony Minessale cd88211d0a FS-4470 try this, the tmp_hanguphook will flag the b leg with CF_REDIRECT in the event that it hangs up which should spare it from the codepath in exchange_media state 2012-07-26 14:33:45 -05:00
Anthony Minessale 696fb9c28b expand vars in hold music variable 2012-07-26 13:17:39 -05:00
Anthony Minessale 93f96addc3 FS-4453 confirm this fixes your problem please 2012-07-26 12:32:51 -05:00
Anthony Minessale 1dd4bd4926 add core-uuid attr to xml cdr tag 2012-07-26 11:45:06 -05:00
Anthony Minessale 1d5b5f218a add core_uuid global variable to expose the runtime uuid 2012-07-26 11:38:02 -05:00
Anthony Minessale 32b3f3e224 doh 2012-07-25 19:09:03 -05:00
Anthony Minessale c9e172789c FS-4467 try this patch that will sanity check for dups to catch this case when the ambigous method is used 2012-07-25 16:34:43 -05:00