Stefan Knoblich
c85271aaf5
ftmod_misdn: Improve debug log messages.
...
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-03-23 01:21:55 +01:00
Stefan Knoblich
28ed1b5076
ftmod_misdn: Move misdn_handle_incoming() up.
...
Only used by misdn_read(), so move it right in front of that one.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-03-23 01:21:55 +01:00
Stefan Knoblich
6b76212324
ftmod_misdn: Decode hfcsusb MPH_INFORMATION_IND state and flags.
...
For diagnostic / debugging purposes.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-03-23 01:21:55 +01:00
James Zhang
bfefbb5522
freetdm: fix isup timers default values
2012-03-21 10:12:59 -04:00
James Zhang
a8e21663ce
Revert "freeswitch: taking out -Ox cflags and have them replaced with -O0"
...
This reverts commit e560ddccde
.
2012-03-21 10:05:51 -04:00
James Zhang
012bc154b0
Revert "freetdm: fixing default values for ISUP"
...
This reverts commit f1d80cd25d
.
2012-03-21 10:00:27 -04:00
James Zhang
e560ddccde
freeswitch: taking out -Ox cflags and have them replaced with -O0
...
we dont want to optimize out symbols for debugging
2012-03-20 11:56:29 -04:00
James Zhang
fbc5322e65
freetdm: fixing wrong default timer values
2012-03-20 10:51:53 -04:00
Moises Silva
57b022c2d4
freetdm: Do not report error for DAHDI RINGER ON/OFF events, they are no-ops at the moment
2012-03-19 09:27:29 -04:00
Moises Silva
681f582b20
freetdm: Try to resolve OPENZAP-173
...
The token count needs to be updated after the master session token is cleared
and before checking for other tokens
2012-03-19 09:20:44 -04:00
Moises Silva
bf652b567f
freetdm: ftmod_zt - Print which DAHDI event number is failing to be processed
2012-03-18 18:54:54 -04:00
James Zhang
f1d80cd25d
freetdm: fixing default values for ISUP
2012-03-16 16:09:54 -04:00
James Zhang
63a2c847eb
freetdm: merge native bridge fix from releases.3.4
...
which solves the crash on outgoing calls after native bridge
2012-03-16 12:24:10 -04:00
James Zhang
10277be8d6
freetdm: synchronizing fixes in releases.3.5 version
...
- glare
- cgb/cgu range bug
- inhibit/uninhibit
2012-03-16 11:40:21 -04:00
James Zhang
46ddfc0ebb
freetdm: fixing glare with different options
2012-03-16 11:19:01 -04:00
James Zhang
19f01bf50a
freetdm: fixing a potential crash on a rarely happened situation
2012-03-15 18:05:47 -04:00
Jeff Lenk
e8fbaa77a4
FS-3997 --resolve
2012-03-14 09:26:32 -05:00
Jeff Lenk
d3078c60ec
update flite to 1.5.4 fixes win64 and kal rate problem
2012-03-13 22:56:02 -05:00
Moises Silva
3c4fdca9e0
freetdm: Fix redmine issue #2931 - Crash on SIP to SS7 call after sigbridge call
...
The code was improperly using peer_data as an indicator that the sigbridge
ss7 mode was enabled. The channel flag FTDM_CHANNEL_NATIVE_SIGBRDIGE should
be used instead
2012-03-07 19:04:31 -05:00
Jeff Lenk
d827cfecb4
corrected managedEsl sample
2012-03-04 17:48:30 -06:00
Anthony Minessale
872a0fe658
FS-3957 --resolve
2012-03-01 10:04:07 -06:00
Anthony Minessale
0626c89d4a
always update the .update file when changing the sofia lib
2012-02-29 14:45:39 -06:00
Jeff Lenk
6aa492d034
vs2010 add some ssl support to curl - test
2012-02-29 08:50:00 -06:00
Jeff Lenk
da36d1f57f
FS-3953 --resolve
2012-02-28 08:38:45 -06:00
Anthony Minessale
23645b6af2
comment assert for windows
2012-02-27 16:49:12 -06:00
James Zhang
eeec65265a
freetdm: fixing format and loc_nadi value according to review board No. 98
2012-02-24 16:32:44 -05:00
James Zhang
b5f69db10f
freetdm: fixing printing in ftmod_sangoma_ss7_support.c functions
2012-02-24 16:21:21 -05:00
James Zhang
938fafb09e
freetdm: fixing problem during review - review board number 98
2012-02-24 16:09:58 -05:00
James Zhang
6ed6fd2c1a
freetdm: latest SPIROU fixes in releases.3.4 branch merged in releases.3.5
2012-02-24 15:43:23 -05:00
Jeff Lenk
5e66db63f1
FS-3896 --resolve that sizeof was incorrect
2012-02-17 08:50:03 -06:00
James Zhang
713b55cd58
freetdm: fixing improper log position in tx acm function
2012-02-16 18:33:00 -05: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
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
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
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
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
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
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
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
Stefan Knoblich
9e0928a7ea
[ftmod_misdn] Undefine MISDN_CONTROL_TYPE helper macro after use.
...
No reason to keep it around for longer.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-02-07 18:39:11 +01:00
Stefan Knoblich
b6ec127194
[ftmod_misdn] Extend misdn_event_types[] and use a helper macro.
...
Add missing mISDN event/message types (e.g. MPH_INFORMATION_IND)
and use a helper macro (MISDN_EVENT_TYPE) to define the entries,
like we already do for misdn_control_types[].
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-02-07 18:39:11 +01:00
Steve Underwood
8b3dd5cc1c
Fixed issue where junk T.38 received after a FAX exchange is totally completed
...
s not simply ignored.
2012-02-04 20:33:06 +08:00
Anthony Minessale
1015883e1b
commenting this out completely until a better solution is implemented. also FYI you should be refreshing .update on each commit that changes the lib or any of its mods to force a rebuild from the top level
2012-02-03 15:23:46 -06:00
James Zhang
460814d871
esl: fix command prompt
2012-02-03 15:32:10 -05:00
David Yat Sin
2ea5686e4d
freetdm: DTMF duration not checked if duration is set to zero
2012-02-03 14:20:08 -05:00
James Zhang
03fee3de39
fs_cli: fix empty prompt in nbss7
2012-02-02 13:48:44 -05:00
Moises Silva
541aa551c7
Merge branch 'releases.3.4.experimental_head' into releases.3.5
2012-01-31 17:17:25 -05:00
Moises Silva
94ceff6842
Merge branch 'master' into smgmaster
...
Conflicts:
build/modules.conf.in
src/mod/loggers/mod_logfile/mod_logfile.c
2012-01-31 16:56:29 -05:00
Moises Silva
1ad0bc250c
Merge remote-tracking branch 'fsorig/master'
2012-01-31 15:57:07 -05:00
Moises Silva
cafff50005
Merge branch 'releases.3.4' into releases.3.4.experimental_head
...
Conflicts:
libs/freetdm/mod_freetdm/mod_freetdm.c
2012-01-31 15:37:33 -05:00
Moises Silva
cca407d09a
freetdm: Fix bug in SS7 state processing introduced during the changes
...
for native bridging that caused infinite SUSPEND state executions
due to peer member not being cleared at the end of the call
2012-01-31 15:18:53 -05:00
Travis Cross
b9b77bd615
fs_cli: make enhanced fs_cli features work on all TERMs
...
FS-3815 --resolve
This is a workaround for the fact that libedit counts terminal control
characters when calculating the length of the prompt. By not using
absolute positioning, we avoid the issue.
Thanks to Ivan Isaev for the workaround and testing.
2012-01-31 18:42:47 +00:00
David Yat Sin
d6c6396e24
Freetdm - ISDN Fix for get_trillium_val function
2012-01-31 12:59:12 -05:00
James Zhang
c9c68a7759
freetdm: Some more clean up for ss7 event cloning
...
- The queue size has been bumped again, long calls could potentially require more elements (multiple resume/suspend)
- The queue is only used when there is a call active
2012-01-30 19:15:02 -05:00
David Yat Sin
a9c10f8c41
FreeTDM - ISDN fix for get_trillium_val function
2012-01-30 18:32:05 -05:00
James Zhang
b6c02364a7
freetdm: Reduce the size of the span peer channels and ss7 info per channel clone event queues
2012-01-30 18:26:08 -05:00
James Zhang
d1a772bfe9
freetdm: Only hangup with user message when release location information is set
2012-01-30 18:02:26 -05:00
James Zhang
c1ad567742
freetdm: removing sus|res|rel commands
2012-01-30 17:37:57 -05:00
Moises Silva
8cade84528
freetdm: Set the call id into the caller data provided as argument to the call place function
2012-01-30 16:15:08 -05:00
Moises Silva
5ef3c94271
OPENZAP-177 --resolve Thanks to Abhishek Singh
2012-01-30 14:15:51 -05:00
James Zhang
14d8b42e58
freetdm: testing code of sending suspend message
2012-01-30 13:19:36 -05:00
James Zhang
777f946e2f
freetdm: adding susp/resm/rels but not finished.
...
disable t6 finished.
2012-01-30 10:28:08 -05:00
Jeff Lenk
c2ac8f5fcc
correct managed esl sample
2012-01-27 16:04:54 -06:00
Moises Silva
8476d66465
freetdm: Cancel ISUP T6 timer when using native bridge (Spirou certification fix)
2012-01-27 18:54:06 +01:00
Moises Silva
3199513c96
freetdm: More spirou certification changes
...
- Send RLC immediately even when in native bridge mode
- Do not enqueue RLC coming from the network
2012-01-27 16:22:45 +01:00
Moises Silva
572154693e
freetdm: spirou certification specific changes about RDNIS/RDINF usage
2012-01-27 16:21:53 +01:00
Moises Silva
de56f3c465
freetdm: spirou transparent IAM fix for called number
2012-01-27 14:42:33 +01:00
Moises Silva
0ff8a087c6
freetdm: Fix incorrect state transition from DOWN to UP when processing an SS7 clone event
2012-01-27 06:44:11 -05:00
Moises Silva
2db41c5c79
freetdm: Fix uninitialized var leading to segfault
2012-01-27 06:34:36 -05:00
Moises Silva
a83f04ab6a
freetdm: Relay the rest of SS7 messages supported by libsng_ss7 when in native bridge mode
2012-01-27 00:13:59 -05:00
Moises Silva
1aa4f87b6a
freetdm: Tweaks to SS7 native bridge feature
...
- Enable native bridge also when receiving the UUID via SIP header
- Remove some debug CRIT messages and set a more proper log level
2012-01-26 23:51:21 -05:00
Moises Silva
9fc8395b31
Merge remote branch 'origin/jz.SPIROU' into releases.3.4.bridge_hack
2012-01-26 23:34:20 -05:00
Moises Silva
f2cdb8c6c7
freetdm: Fixes for native signaling bridge (now tested, and works for basic call flows)
...
- Fix typo when unlocking channel that resulted in deadlock
- Defer clearing of the peer data until it is completely safe (next call)
2012-01-26 23:31:29 -05:00
Moises Silva
23a328389b
freetdm: Initial attempt to bridge natively SS7 signaling between 2 channels
2012-01-26 22:44:19 -05:00
James Zhang
71c3cf365a
FreeTDM: adding sip_h_X-FreeTDM-RDNIS-Presentation in redirecting number
...
to give the ability to change RDNIS Presentation value for
Transparent IAM
2012-01-26 19:25:04 -05:00
James Zhang
977b546f9a
FreeTDM: reuse sip_h_X-FreeTDM-LOC = NULL to indicate disable LOC
2012-01-26 18:52:27 -05:00
James Zhang
3235fa079a
FreeTDM: fix for SPIROU
...
- adding freetdm_iam_fwd_ind_isdn_access_ind (value must be 0 or 1)
to modify forward call indicator's ISDN access indicator value in
transparent IAM
2012-01-26 18:00:34 -05:00
James Zhang
95baef8821
FreeTDM: patch SPIROU requests
...
- adding freetdm_iam_loc_pres variable to disable LOC in transparent IAM
- confirming freetdm_bearer_capability is working properly
2012-01-26 17:37:35 -05:00
Moises Silva
b4e8d5b608
freetdm: Fix incorrect variable name leading to segfault
2012-01-26 17:22:45 -05:00
Moises Silva
a1a1af579b
freetdm: Implement SS7 transparent IAM functionality using the event clones queue
2012-01-26 16:50:38 -05:00
James Zhang
98d566b29c
FreeTDM: adding variable ss7_rel_loc for REL location indicator (to support SPIROU)
2012-01-26 16:39:43 -05:00
Moises Silva
1b964054de
freetdm: Add new queue for ss7 clone messages, all incoming messages are queued now
2012-01-26 15:21:51 -05:00
James Zhang
90f538c0a0
FreeTDM: Fixing issues of SPIROU
...
- redirect number in Transparent IAM
- redirect information in Transparent IAM
- called party number in Transparent IAM
- adding incoming uuid to x-header to check loop calls
2012-01-26 11:19:41 -05:00
James Zhang
28e27248e5
FreeTDM: remove the previous commit
...
- hardcode does not work in this matter
2012-01-25 18:00:41 -05:00
David Yat Sin
6f9c2ae50f
Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch
2012-01-25 16:13:56 -05:00