Stefan Knoblich
e3698c2067
ftmod_misdn: Make sure misdn_read() doesn't loop forever and improve logging etc.
...
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-03-23 01:21:55 +01:00
Stefan Knoblich
ff4b395956
ftmod_misdn: Rework channel de-/activation and activate d-channel early.
...
The former fixes a strange "bug" with hfcsusb, where a b-channel deactivation
on a inactive channel (caused by a reset cycle) would cause the port to
lock up and stop processing events.
NOTE: this still needs to be investigated further, but this workaround will
at least prevent it from breaking completely.
We'll now keep track of the channel activation state and not send any
PH_ACTIVATE_REQ / PH_DEACTIVATE_REQ requests, if the channel already has the
desired state.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-03-23 01:21:55 +01:00
Stefan Knoblich
a2f3ef7460
ftmod_misdn: Reserve some space for the mISDN message header in misdn_write().
...
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-03-23 01:21:55 +01:00
Stefan Knoblich
f2841e0280
ftmod_misdn: misdn_write() workaround for signalling drivers that do not use write polling.
...
Wait till the channel is actually ready to send data.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-03-23 01:21:55 +01:00
Stefan Knoblich
fc1e1a91f2
ftmod_misdn: Stop using timerfd for b-channel write polling.
...
Use POLLIN on the socket instead, the b-channel should be able
to write when there is something to read.
Several other projects handle it this way, e.g. libosmo-abis.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-03-23 01:21:55 +01:00
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 e560ddccdec0232a040851f088db1adec2cbc7f4.
2012-03-21 10:05:51 -04:00
James Zhang
012bc154b0
Revert "freetdm: fixing default values for ISUP"
...
This reverts commit f1d80cd25d13d78deab88ea7f559e63aa899f319.
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