Commit Graph

17114 Commits

Author SHA1 Message Date
Mathieu Rene de417e99f0 Implement switch_queue_pop_timeout() and refactor sofia_profile_worker_thread_run() to use it so it doesn't wake up too often 2010-11-18 21:00:35 -05:00
Anthony Minessale 42a4a3dedf revert FS-2859 2010-11-18 18:24:32 -06:00
Anthony Minessale 0a11b9b433 FS-2859 2010-11-18 16:23:01 -06:00
Anthony Minessale d96eb988ff FS-2857 2010-11-18 16:14:08 -06:00
Stefan Knoblich d4138959b2 freetdm: use m4_ifdef() to check for pkg-config macros and print a warning if they are not available
...instead of failing at runtime

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-18 23:14:46 +01:00
Mathieu Rene ad7c7f1323 adjust switch_yield times in switch_core_sql_db_thread() and pool_thread() 2010-11-18 11:25:03 -05:00
Anthony Minessale 86509640e3 FS-2857 2010-11-18 09:00:24 -06:00
Jeff Lenk de7a984399 correct windows vs2010 mod_valet_parking x64 path issue 2010-11-17 19:37:40 -06:00
Jeff Lenk 4d41a0f3a2 FS-2855 Fix spidermonkey under windows x64 2010-11-17 15:39:33 -06:00
Anthony Minessale 180f58a677 FS-2851 2010-11-17 12:17:27 -06:00
Anthony Minessale b32ceb3c22 part 2 2010-11-17 11:46:20 -06:00
Anthony Minessale b517ddd6d3 fix jitterbuffer 2010-11-17 10:51:14 -06:00
cypromis 5d28a8fa05 ftmod_zt typo ... 2010-11-17 17:15:30 +01:00
cypromis 05d1fd2a66 ftmod_zt rc has changed to result 2010-11-17 17:01:30 +01:00
Rupa Schomaker 1c1df1f772 mod_lcr: FS-2820 - profile support in dialplan module 2010-11-17 09:34:09 -06:00
Moises Silva 5486b8c74d freetdm: retry polling in DAHDI devices when fails due to interrupted system call 2010-11-16 23:41:11 -05:00
Jeff Lenk 21e1f69b98 add spidermonkey back to x64 build and setup 2010-11-16 20:22:24 -06:00
Michael S Collins 8be0cef907 Update ChangeLog through Nov 16 2010-11-16 18:09:27 -08:00
Jeff Lenk 4f343bf892 fix spidermonkey with x64 windows 2010-11-16 17:34:50 -06:00
Stefan Knoblich 9257e0f344 ftmod_isdn: Port(/Fix) span signal handling, remove some dead/unused pieces and close the D-Channel on shutdown.
This fixes a NULL-call segfault in ftdm_span_trigger_signal().

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-16 23:01:21 +01:00
Stefan Knoblich a9b2ced2aa ftmod_libpri: First part of the BRI PTMP channel handling changes.
I really need to dig deeper here, some libpri events never fire for
incoming calls and i'll have to find out how mod_freetdm or the
FreeSWITCH core change states on the channel...

Anyway, incoming and outgoing calls still work for me (BRI PTMP TE),
so commit this now and let a wider audience do some more testing.

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
Tested-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-16 23:01:21 +01:00
Michael S Collins 055c78e61e Update ChangeLog through Oct 15 (more to come) 2010-11-16 12:49:59 -08:00
Mathieu Rene 0b377051af gdbinit: ignore SIGTTIN and SIGPIPE 2010-11-16 11:08:42 -05:00
Anthony Minessale 68f18efe37 add intercept_unanswered_only var akin to intercept_unbridged_only 2010-11-16 09:51:18 -06:00
Moises Silva 3acc5fdb64 mod_sangoma_codec: add SIREN7 24kbps 2010-11-15 20:02:47 -05:00
Moises Silva fcaf267757 mod_sangoma_codec: add siren7 32kbps 2010-11-15 20:02:47 -05:00
Moises Silva 97056b24c0 mod_sangoma_codec: fix samples per packet 2010-11-15 20:02:47 -05:00
Jeff Lenk 97c65a004e reswig 2010-11-15 12:22:09 -06:00
Brian West db91f0e81f FS-2842: ACL for IPv6 address and swigall to boot 2010-11-15 11:37:23 -06:00
Andrew Thompson 6941c6eb71 FS-2775 Rewrite XML fetch conditional wait to be more sane (Reported by James Aimonetti) 2010-11-15 12:39:54 -05:00
Anthony Minessale 04e57577b3 FS-2801 2010-11-15 11:22:34 -06:00
Brian West 0eb33e5761 FS-2844: Patch debian init.d script to set ulimit values 2010-11-15 11:13:04 -06:00
David Yat Sin a09bce346e Fix for compilation errors due to some functions defined as extern 2010-11-15 11:46:47 -05:00
Stefan Knoblich ced7c9ae43 freetdm: Another round of parameter handling fixes (ftmod_{libpri,isdn,pritap})
ftmod_pritap: Abort before overflowing spanparameters array and initialize to all zero
ftmod_isdn:   Fix overflow check, skip over parameters without name or value, initialize spanparameters array to all zero.
ftmod_libpri: Skip over parameters without name or value, initialize spanparameters array to all zero and drop "i < 10" hardcoded check.

This should fix:
	2010-11-15 09:24:34.609515 [ERR] ftmod_libpri.c:1741 Unknown parameter '', aborting configuration
	2010-11-15 09:24:34.609515 [ERR] mod_freetdm.c:3080 Error configuring FreeTDM span BRI_1

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
Reported-by: Ingmar Schraub <is@eseco.de>
2010-11-15 12:33:58 +01:00
Stefan Knoblich e98b4a6b8d ftmod_libpri: Set RDNIS
Signed-off-by: lakshmanan ganapathy <lakindia89@gmail.com>
Reviewed-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-15 11:38:45 +01:00
Stefan Knoblich c1517e99d1 ftmod_zt: B-Channels need to have audio mode disabled upon closing the channel.
Preparation for fixing channel handling for BRI PTMP (Point-To-MultiPoint) setups.

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-14 23:38:16 +01:00
Stefan Knoblich 0286af421b freeswitch: Update .gitignore file (libcodec2, esl binaries, mod_hash + mod_osp autogenerated files)
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-14 18:04:19 +01:00
Stefan Knoblich 96b0ef9ce9 ftmod_libpri: Use ftdm_array_len(), remove custom ARRAY_SIZE macro.
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-14 17:48:53 +01:00
Stefan Knoblich e17201bbac freetdm: Add ftdm_channel_get_state(), ftdm_channel_get_last_state() and ftdm_span_get_trunk_type_str().
Remove custom versions from ftmod_isdn and ftmod_libpri.

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-14 17:48:09 +01:00
Stefan Knoblich 4f4aee4f07 Merge branch 'ftmod_isdn' 2010-11-14 16:47:43 +01:00
Stefan Knoblich b0cca151e6 ftmod_isdn: Major cleanup: use accessor functions, coding-style, etc.
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-14 16:45:35 +01:00
Stefan Knoblich 47af9933c4 freetdm: convert ftmod_isdn to use (+ pri_spans) to use ftdm_configure_span_signaling() interface.
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-14 15:44:50 +01:00
Brian West c12f81cd0f Use the right variable 2010-11-12 13:50:12 -06:00
Anthony Minessale b160942bc0 test 2010-11-12 12:03:40 -06:00
Stefan Knoblich 197e4b71d6 mod_freetdm: Really avoid overwriting the last element of spanparameters.
"if (ftdm_array_len(spanparameters) == paramindex)" is still off-by-one,
we want to stop at "ftdm_array_len(spanparameters) - 1", before we overwrite
the last (= terminating, NULL) element.

NOTE: i'd prefer an "argc, argv"-style interface here

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-12 11:42:26 +01:00
Marc Olivier Chouinard 025c82e76f ivr_enterprise_originate: Fix export of variable from the originator channel to the called channels 2010-11-11 20:21:35 -05:00
Stefan Knoblich eeaab3a02e mod_freetdm: Avoid overflowing the spanparameters array of libpri spans, and make other span types use ftdm_array_len() too.
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-11 23:56:55 +01:00
Anthony Minessale b2f8041790 fix file string when being used in ringback 2010-11-11 16:48:59 -06:00
Anthony Minessale 0100eff635 update 2010-11-11 15:37:58 -06:00
Stefan Knoblich 1e777c2ce9 ftmod_libpri: While we're at it, drop the cast too
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-11 22:21:18 +01:00