Commit Graph

21227 Commits

Author SHA1 Message Date
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
James Zhang 713b55cd58 freetdm: fixing improper log position in tx acm function 2012-02-16 18:33:00 -05:00
Anthony Minessale a822421be1 FS-3901 FS-3870 yay a chain of regressions 2012-02-16 16:09:41 -06:00
James Zhang 3f43b053a0 freetdm: adding x-ocn-* headers for incoming sip calls 2012-02-16 16:49:51 -05:00
Moises Silva 1f34c9301e freetdm: Remove optimistic sanity check, prints spurious error messages 2012-02-16 16:08:21 -05:00
James Zhang 4ccc26f08b freetdm: Fix improper logging statement when doing native ss7 bridge (peer_chan was set to the SIP leg) 2012-02-16 15:15:22 -05:00
James Zhang 8c8d649221 freetdm: Add support to set/receive location and original call number SS7 elements through variables (including SIP X headers) 2012-02-16 15:14:06 -05:00
Moises Silva a6e868f588 freetdm: Fix spirou certification native bridge issue
- The outgoing tdm leg should not move to UP until
           after the IAM is sent at the end of the function
         - The UP state should be processed immediately otherwise
           the state processor is not run due to the way the main
           ss7 processing loop currently works
2012-02-16 14:49:18 -05: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
James Zhang a46c03ef65 freetdm: fixing glare
- adding configuration of glare handling rule
         - fixed cic status remains COLLECTING
2012-02-10 17:29:28 -05: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
James Zhang 7b3a3d86b9 freetdm: fixed cgu/cgb commands wrongly setting cic status when
the range covers one or more signaling links
2012-02-09 14:32:08 -05:00
James Zhang b78b612b47 freetdm: fixing cgu with signaling link in unblock range 2012-02-09 14:11:21 -05:00
James Zhang 024a043e2c freetdm: initial fix to rx cgb 2012-02-09 14:04:45 -05: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
James Zhang b0ee65b45a freetdm: adding new commands and removing unused ones
- ftdm ss7 show
         - ftdm ss7 show span X
         - ftdm ss7 show status linkset X
         - ftdm ss7 inhibit X
         - ftdm ss7 uninhibit X
2012-02-09 11:15:48 -05: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