Commit Graph

20545 Commits

Author SHA1 Message Date
Anthony Minessale ca4c800fb3 FS-3794 2012-02-20 11:11:15 -06:00
Anthony Minessale 2c52f23643 FS-3910 forgot part of this last patch 2012-02-18 08:37:47 -06:00
Anthony Minessale 4bbd967142 FS-3794 this one might solve more issues 2012-02-17 20:21:44 -06:00
Anthony Minessale 341cc2f0fc FS-3917 sneaky sql null vs != crap 2012-02-17 19:47:57 -06:00
Anthony Minessale f6941ca48f FS-3910 It seems to have a problem keeping up with the realtime audio. Try this patch that introduces some prebuffering 2012-02-17 11:23:59 -06:00
Anthony Minessale 3a0cfa9aaa FS-3916 --resolve i don't think its necessary for info but you could try it with another FS process to confirm 2012-02-17 10:04:09 -06:00
Anthony Minessale 33cb10d6c5 FS-3915 --resolve 2012-02-17 09:57:56 -06:00
Anthony Minessale f869fb305a FS-3917 2012-02-17 09:51:04 -06:00
Jeff Lenk 5e66db63f1 FS-3896 --resolve that sizeof was incorrect 2012-02-17 08:50:03 -06:00
Anthony Minessale b05ca56adf FS-3910 remove unnecessary code 2012-02-16 21:41:10 -06:00
Anthony Minessale d99e7ed76d FS-3910 test this patch 2012-02-16 18:15:50 -06:00
Anthony Minessale a822421be1 FS-3901 FS-3870 yay a chain of regressions 2012-02-16 16:09:41 -06:00
Anthony Minessale 90805f6d02 revert part of last patch 2012-02-16 10:40:56 -06:00
Anthony Minessale f24f2b3a1c FS-3901 --resolve alternate solution to FS-3870 2012-02-16 10:20:55 -06:00
Anthony Minessale db9aa0b59b FS-3906 --resolve FS-3907 doh lisdexic 2012-02-16 09:49:41 -06:00
Anthony Minessale 3004fa05d6 FS-3907 2012-02-15 16:24:21 -06:00
Anthony Minessale 5e224c9f93 try to auto guess presence_id where possible 2012-02-15 15:22:28 -06:00
Anthony Minessale 02ea0221ab fix proper return value on input callback in event case 2012-02-15 14:18:01 -06:00
David Yat Sin 08d29b10b6 freetdm - ISDN fix for channel getting stuck if we receive ALERT after sending DISCONNECT 2012-02-15 13:07:07 -05:00
Anthony Minessale 5a349eecc4 fix regression where backwards printf args are messing up a sql stmt that breaks SLA 2012-02-15 11:48:12 -06:00
Anthony Minessale 303de52bad FS-3794 more fun 2012-02-14 18:59:37 -06:00
Anthony Minessale eb4cac9b5e add vmname tag to httapi to play a voicemail recorded name 2012-02-14 13:04:51 -06:00
Anthony Minessale f507f89eb0 wtf 2012-02-14 10:52:38 -06:00
Anthony Minessale 261505accb purposely do presence wrong for snoms since they are broken and its a losing battle doing interop 2012-02-13 13:50:21 -06:00
Anthony Minessale eeeaf41ca9 add debug 2012-02-10 17:27:50 -06:00
Anthony Minessale af439fa574 try alternate technique 2012-02-10 15:14:26 -06:00
Anthony Minessale 0a6dde7baa fire event with result of vm auth attempt 2012-02-10 13:24:02 -06:00
Anthony Minessale b9b72661ea FS-3866 this should take care of the unwanted presence packets with mwi sub 2012-02-10 12:23:58 -06:00
Anthony Minessale 60fd5f9a73 FS-3842 going to go on a hunch and push this change 2012-02-10 12:13:52 -06:00
Anthony Minessale ff379a97e5 fix publish regression 2012-02-10 11:02:41 -06:00
Anthony Minessale 6a1feacc45 FS-3866 --resolve this should work now with send-message-query-on-register 2012-02-10 10:49:19 -06:00
Christopher Rienzo fdaa155b99 Lower super_tone_rx DETECTION_THRESHOLD by a factor of 128 2012-02-10 13:17:54 +00:00
Stefan Knoblich 674dc9850b [FreeTDM] Another round of ftdm_log() format string fixes.
Use FTDM_SIZE_FMT where needed, don't treat ftdm_event_t as an int
(even if the e_type enum is the first member), datalen vs. *datalen fix
and other warnings.

All reported by __check_printf() (GCC + __attribute__((format(printf,x,y))) ).

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-02-10 13:29:49 +01:00
Stefan Knoblich 9d5eb0737b [FreeTDM] Fix a couple of ftdm_log() format string errors.
... that could cause segmentation faults.

Caught while working on __check_printf() support for ftdm_log().

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-02-10 13:24:57 +01:00
Stefan Knoblich 124c04624a [ftmod_misdn] Add missing braces around condition of ternary operator.
For compilers that seem to do the wrong thing(tm).

Speculative fix for:

  segfault at 1 ip b72145d3 sp b58f8bfc error 4 in libc-2.11.3.so

  #0  0xb7a5d5d3 in vfprintf () from /lib/i686/cmov/libc.so.6
  #1  0xb7a7cec7 in vasprintf () from /lib/i686/cmov/libc.so.6
  #2  0xb7dd7c5b in switch_vasprintf (...)
  #3  0xb6296de2 in ftdm_logger (...)
  #4  0xb621625d in misdn_handle_mph_information_ind (...) at ftmod_misdn.c:658

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-02-10 13:22:47 +01:00
Anthony Minessale e6bfa118ec minor presence tweaks 2012-02-09 16:47:32 -06:00
Anthony Minessale d5f47a87ce FS-3794 2012-02-09 12:03:11 -06:00
Anthony Minessale f4774047b8 FS-3894 --resolve 2012-02-09 11:08:52 -06:00
Stefan Knoblich 36b26c51ac [ftmod_misdn] Fix a couple of ftdm_log() printf format errors
Also adds a local ftdm_channel_get_type_str() helper.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-02-09 12:58:59 +01:00
Anthony Minessale 4c07a00ad7 FS-3883 can you see if this helps 2012-02-08 16:52:13 -06:00
Anthony Minessale 77b8c0785c FS-3882 please try this patch 2012-02-08 12:11:15 -06:00
David Yat Sin 9de1e1ad67 freetdm - disabled dtmf detect duration by default 2012-02-07 14:36:22 -05:00
David Yat Sin c5cc318afa Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2012-02-07 14:28:58 -05:00
David Yat Sin 1377b9c84d freetdm: support for dtmf_on_start 2012-02-07 14:28:47 -05:00
Anthony Minessale 9a8524924a FS-3889 --resolve 2012-02-07 13:03:55 -06:00
Michael S Collins 18289fa013 mod_voicemail: Change vm_announce_cid to be true/false and utilize vm_play_phone_number_macro 2012-02-07 10:22:35 -08:00
Stefan Knoblich 4bb1ab0113 [ftmod_misdn] Add some TODO items at the top of ftmod_misdn.c.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-02-07 18:39:11 +01:00
Stefan Knoblich 810f0d4eaa [ftmod_misdn] Make misdn_handle_mph_information_ind() cope with hfcsusb-style MPH_INFORMATION_IND messages.
Only two mISDN hardware drivers emit MPH_INFORMATION_IND messages and both use a different payload:

	- hfcsusb (HFC-based USB dongle) sends a set of ph_info + ph_info_ch structures
	  which contain the complete state information of the port
	  (including internal hw-specific state and flags).

	- hfcmulti which sends a single integer, a single L1_SIGNAL_* event.

We now try to guess the type of message from the payload length.

The hfcmulti signals are converted to FreeTDM alarm flags; the hfcsusb
state/flags are defined in kernel internal hw-specific headers and are ignored ATM (todo).

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-02-07 18:39:11 +01:00
Stefan Knoblich 452c13573d [ftmod_misdn] Include mISDN message primitive id in channel activation log messages.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-02-07 18:39:11 +01:00
Stefan Knoblich fd3ebc7ae3 [ftmod_misdn] Handle MPH_INFORMATION_IND during channel activation.
Add MISDN_MSG_DATA() helper macro for easy access to mISDN message
payload.

Add forward declaration of misdn_handle_mph_information_ind() and use
it in misdn_activate_channel().

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-02-07 18:39:11 +01:00