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
David Yat Sin
81188c34a5
Fix for not evaluating digit upon T302 timeout
2012-01-25 16:13:43 -05:00
James Zhang
34c8e58ae1
FreeTDM: location value in REL message set to 0x04
...
- only available to SPIROU
2012-01-25 16:00:20 -05:00
Moises Silva
eb7d52aaa9
freetdm: improve some isdn logging
...
try to fool-proof the size of the read D channel buffer by not hard-coding it in 2 places
2012-01-22 21:54:35 -05:00
James Zhang
8d1d930085
FreeTDM: fixing OPC bug using local SPC
...
- take the DPC of the link and set it as OPC in x-header
- this is what the user want's to have
2012-01-19 18:04:03 -05:00
James Zhang
63ecf4e909
FreeTDM: remove the portion of opc fix
2012-01-19 16:55:15 -05:00
James Zhang
5ac80d3939
FreeTDM: fixing redirect information outgoing call bug
2012-01-19 16:31:52 -05:00
Moises Silva
e3cb0352b0
freetdm: Fill in DAHDI function pointer to retrieve the next channel event
2012-01-19 16:18:30 -02:00
David Yat Sin
40c9dc4149
freetdm - SS7: Removed unnecessary curse words
2012-01-18 12:07:34 -05:00
David Yat Sin
44ed952a7b
freetdm - ISDN support for sending Network Specific Facility
2012-01-16 17:14:59 -05:00
David Yat Sin
badc80ad3e
freetdm: Added dtmfdetect duration option
2012-01-04 11:16:29 -05:00
David Yat Sin
393ba72c1a
freetdm - ISDN added Q.931 timers
2012-01-03 14:11:47 -05:00
David Yat Sin
959e4ab22d
freetdm: ISDN - Added check for receiving frames that are too big
2012-01-03 11:29:41 -05:00
Moises Silva
2b904c0b9e
freetdm: ftmod_wanpipe - Do not set the output read length unless the read operation is successful
2011-12-30 18:28:27 -05:00
Moises Silva
c15a252a2b
OPENZAP-176 --resolve
...
Fix DAHDI/Zaptel incorrect FXO signaling status on module load
2011-12-30 17:14:36 -05:00
William Adam
8eeb37a81b
Fixed bug#2215 - SPIROU transparent IAM max size error
2011-12-21 14:56:03 -05:00
Marc Olivier Chouinard
1bf99e818f
OPENZAP-164 --resolve
...
I think this will be fine for the moment. Thanks
2011-12-19 07:38:37 -05:00
Nenad Corbic
b6ca6c5b1d
freetdm: Added sng_cc_resource_check()
...
On SIG Down we must not fail a call instead try hunting for another.
The only time we can fail the call and not bother hunting is
if sng_cc_resource_check fails.
Took out configuration retry as the config code is now
fixed in sng_ss7 library. Transaction id fix.
Unit Tested:
NSG UP -- start full load
kill NSG
NSG UP again on full load
make sure it comes up fine.
2011-12-19 02:27:38 -05:00
Nenad Corbic
7e2ef3a55c
freetdm: The remote hangup logic that waits for 3sec for FS to hanup up
...
before hanging up the freetdm channel by force
seems to have a memory leak. I have increased the timeout
to 30sec and made the print statement WARNING level.
2011-12-18 23:02:59 -05:00
Moises Silva
83b5929e48
freetdm: remove duplicated ss7 code for location number (previous git merge duplicated it)
2011-12-17 19:36:47 -05:00
Moises Silva
7bd2d154d6
Merge branch 'smgmaster' into releases.3.4.experimental_head
...
Conflicts:
libs/freetdm/mod_freetdm/mod_freetdm.c
libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_handle.c
libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_main.c
libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_main.h
libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_relay.c
src/mod/endpoints/mod_sofia/mod_sofia.c
src/mod/endpoints/mod_sofia/sofia_glue.c
2011-12-17 17:42:34 -05:00
Moises Silva
7e31b9cc28
Merge remote branch 'fsorig/master'
...
Conflicts:
libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_stack_rcv.c
libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_support.c
2011-12-17 17:21:14 -05:00
Nenad Corbic
485746305a
Set the cpu thresholds to 92 and 82
...
Set the 3000ms warning to NOTICE not CRIT
2011-12-16 10:06:57 -05:00
Nenad Corbic
732a0ed2de
Fix for 3000ms timeout on hangup.
...
Where FS does not hangup the channel with in 3sec.
Without this fix, it was possible that 2 FS sessions
use the single span/chan freetdm session.
Merged the feature from git master of freetdm
2011-12-15 20:39:38 -05:00
Moises Silva
4b22c22c33
freetdm: fix potential bug in MFCR2 where the channel token is cleared too soon
2011-12-15 20:29:32 -05:00
Nenad Corbic
494947bf59
Reverted the previous commit of doing nothing on RESTART while in PAUSE
2011-12-15 15:50:58 -05:00
Nenad Corbic
b057d873cf
Added a retry on configuraiton.
...
Its possible to timeout on ISUP ckt config in scenarios
of huge load.
2011-12-15 15:47:41 -05:00
Nenad Corbic
ce9ce53b2d
Fixed the previous commit
2011-12-14 20:06:57 -05:00
Nenad Corbic
9db322f2e0
Fixed hw alarm crash. When we get hw alarm in the middle of configuration.
...
It can happen with large number of circuits.
On RESTART if we are PAUSED do not try to send RESET and stay in RESTART state
2011-12-14 19:56:25 -05:00
James Zhang
1cbeb33b2d
freetdm: adding support of x-headers for Redirection Information
...
X-FreeTDM-RDINF-Indicator
X-FreeTDM-RDINF-OrigReason
X-FreeTDM-RDINF-Count
X-FreeTDM-RDINF-Reason
2011-12-06 15:38:05 -05:00
James Zhang
e582586876
Freetdm: adding X-FreeTDM-ANI-NADI and X-FreeTDM-DNIS-NADI support
2011-12-05 16:58:26 -05:00
Moises Silva
b3297c7f3b
freetdm: fix license path to use sngss7 path limits
...
do not use strcpy, use ftdm_set_string which is safer
do not use strcpy when snprintf is safer and cleaner
2011-12-02 11:37:55 -05:00
James Zhang
9bf25413ed
Merge branch 'releases.3.4' of git.sangoma.com:smg_freeswitch into releases.3.4
2011-12-01 19:22:27 -05:00
James Zhang
35df4f468c
Update to the SUSPEND state machine updated 2 commits ago.
...
SUSPEND will not only change the return state in few
cases.
I have retested all test cases from previous 2 commits.
What is missing is timer for each Tx Event. RSC,BLO,UBL.
Its possible to loose a message from Slave via relay to Master.
If that ever occours we will not know what state we are in.
Thus we need a timer that will re-transmit a packet if
it does not get acknowledged.
2011-12-01 19:18:54 -05:00
Moises Silva
3432dccfc2
freetdm: fix cpu monitor inconsistent messages, variable names etc
...
changed parameter name from cpu_reset_alarm_threshold to cpu_clear_alarm_threshold
(old parameter name still valid for backwards compatibility in configuration files)
2011-12-01 12:21:46 -05:00
wadam
16c2da1369
Merge branch 'releases.3.4' of ssh://git.sangoma.com/smg_freeswitch into releases.3.4
2011-12-01 11:43:08 -05:00
wadam
6dabe5409b
Fixed Bug#2018 - The threshold of cpu warning message should be increased
2011-12-01 11:40:18 -05:00
James Zhang
7b83dd4c96
Fixed the exception condition - trigger reset
...
used to clear ckt_flags, this was wrong.
if ctk_flags are blindly cleard a PAUSE might be cleared.
changed the code to clear only TX RESET and try to reset again.
Release Collision
If we get out of sync with other side we must
reset the circuit.
This condition occoured at 1+3 test box
Local Management Block
Its possible for stack to send us a BLO indicating to us
that we are local blocked. This case never worked and
we would get stuck there forever.
If we never manaully sent a LOCAL block, the BLO from
the stack will be acked and then unblocked.
This condition occoured at 1+3 test box
2011-12-01 03:16:59 -05:00