Commit Graph

295 Commits

Author SHA1 Message Date
Moises Silva 105ce9ff33 Fixes before merging sangoma repo with upstream 2012-05-07 16:26:48 -04:00
Moises Silva 1f08e2b0ec Merge remote branch 'fsorig/master' 2012-05-07 15:46:08 -04:00
Moises Silva f316f9307f freetdm: First GSM working version
- Manually merging latest code from gideon.gsm branch after review/inspection/modifications
2012-05-07 15:35:13 -04:00
Moises Silva cf9f937079 Merge branch 'master' into gsm.merge 2012-05-07 15:15:44 -04:00
Moises Silva de98034145 freetdm: - Extend ftdm interrupt object to notify which IO events are ready in the device
- Add definition of FTDM_MAX_SIG_PARAMETERS to have a standard limit for signaling module parameters
2012-05-07 15:13:26 -04:00
Moises Silva 412c808e0c freetdm: Added GSM module skeleton 2012-05-07 15:10:25 -04:00
David Yat Sin 5226489c39 Merge branch 'releases.3.4' into releases.3.5
Conflicts:
	libs/freetdm/mod_freetdm/mod_freetdm.c
	libs/freetdm/src/ftdm_state.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_out.c
	libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_xml.c
2012-04-26 16:13:26 -04:00
Ken Rice c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
David Yat Sin e3369119e0 Merge branch 'master' into releases.3.5 2012-04-03 18:16:36 -04:00
David Yat Sin 27e4cdb4dd Merge branch 'fsorig'
Conflicts:
	libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_stack_cfg.c
	libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_stack_hndl.c
2012-04-03 18:08:49 -04:00
Anthony Minessale 647740e9a4 cleanup after yourself 2012-04-02 16:20:40 -05:00
James Zhang 8a589435de freetdm: Adding condition to parse sip headers only for non-freetdm channels.
This fixes an issue where ss7 native bridge was accidentally enabled
         any time two freetdm channels were bridged regardless of the freetdm_native_sigbridge
         variable value.
2012-03-30 16:50:00 -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
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
James Zhang 3f43b053a0 freetdm: adding x-ocn-* headers for incoming sip calls 2012-02-16 16:49:51 -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 541aa551c7 Merge branch 'releases.3.4.experimental_head' into releases.3.5 2012-01-31 17:17:25 -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
James Zhang d1a772bfe9 freetdm: Only hangup with user message when release location information is set 2012-01-30 18:02:26 -05:00
Moises Silva 5ef3c94271 OPENZAP-177 --resolve Thanks to Abhishek Singh 2012-01-30 14:15:51 -05:00
Moises Silva 2db41c5c79 freetdm: Fix uninitialized var leading to segfault 2012-01-27 06:34:36 -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
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 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
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
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 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
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
James Zhang cb1d5be5e6 freetdm: fix redirection presentation number in X-header 2011-11-17 15:43:40 -05:00
James Zhang e293c12535 freetdm: fix loc_nadi value 2011-11-15 18:26:13 -05:00
James Zhang dcdb5f18eb freetdm: fixing RDNIS-Screen value mis-displaying string in decimal format 2011-11-14 16:42:23 -05:00
root 08e01bb5a2 freetdm: fix generic number 2011-11-07 17:32:02 -05:00
root f0631fc87e freetdm: change call reference number to HEX string format 2011-11-07 16:37:11 -05:00
root 3552e329ca freetdm: fix sip header wrong value of NADI
error was caused by printing string value to integer
2011-11-07 12:53:32 -05:00
Moises Silva 680d92967f freetdm: mod_freetdm - add SIP x header for FreeTDM-NADI value 2011-10-24 13:22:53 -04:00
Moises Silva 563460ce15 freetdm: mod_freetdm - add SIP x header for FreeTDM-NADI value 2011-10-24 13:21:15 -04:00
James Zhang 4aa0285a22 freetdm: CDR - location number implementation (for incoming and outgoing calls) 2011-10-12 17:44:52 -04:00
Jeff Lenk f0efbd3f08 FS-3599 --resolve correct windows compiler warnings 2011-10-07 08:38:48 -05:00
root c0f988b292 freetdm: changing call reference to generic header; removing location area code 2011-10-06 19:08:25 -04:00
James Zhang 20abac2794 ftdm_ss7: Adding OPC and Call Reference Number to SIP x-headers 2011-10-06 19:07:05 -04:00
root 595454126b freetdm: changing call reference to generic header; removing location area code 2011-09-30 13:09:13 -04:00
James Zhang f43eecbab3 ftdm_ss7: Adding OPC and Call Reference Number to SIP x-headers 2011-09-30 10:25:21 -04:00
Moises Silva b004bcfc6d Merge remote-tracking branch 'fsorig/master'
Conflicts:
	src/mod/endpoints/mod_sofia/mod_sofia.c
	src/mod/endpoints/mod_sofia/sofia_glue.c
2011-09-28 12:19:48 -04:00
Anthony Minessale 995d7dcb02 dont clear token on SIGEVENT_STOP for ISDN legs, save it for the hangup handler 2011-09-16 16:44:15 -05:00
Anthony Minessale 42ff14d22a use index in this loop instead of the max val for the iteration 2011-09-16 15:53:49 -05:00
Anthony Minessale 8a3c292534 fix seg in recent change 2011-09-16 14:52:14 -05:00
Moises Silva 25417d3ea8 freetdm: Verify that the uuid that is being hung up is still attached to the FreeTDM device
This avoids hanging up a device that is no longer attached to the session, in the
         weird situation where the FreeSWITCH core takes an awful lot of time (more than 3 seconds)
         to come around to acknowledge the SIGEVENT_STOP signal.
2011-09-15 19:42:39 -04:00
Moises Silva aa0a6c9222 freetdm: print span/chan identifiers on hangup 2011-09-15 13:50:42 -04:00
Moises Silva 9aa887fe2b freetdm: SS7 - CIC value stored in freetdm_ss7_cic variable (cherry-picked from releases.3.3)
Conflicts:

	libs/freetdm/mod_freetdm/mod_freetdm.c
	libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_handle.c
2011-09-15 12:04:23 -04:00
Moises Silva 4ed900eb92 freetdm: add debug stacktrace to track spurious channel_on_hangup call 2011-09-12 18:13:10 -04:00
Moises Silva 23aba09f1b freetdm: mod_freetdm - fix len data type for 64bit systems 2011-09-12 15:48:28 -04:00
Moises Silva 6c5132a507 freetdm: - Clear the IO flag when FreeSWITCH hangs up before notifying freetdm
- Misc fixes to log messages to aid debugging
         - Added ftdm ioread command to read media from the channel
         - Modified the ftdm_channel_open() API to return FTDM_EBUSY if the channel is already open
2011-09-12 15:21:23 -04:00
Michael Jerris 77284b5d21 use system default dtmf duration instead of hardcoded value 2011-08-31 14:45:16 -04:00
Moises Silva f57c33f1ee OPENZAP-112 --resolve 2011-08-06 21:32:21 -04:00
Moises Silva bfabc98f3d freetdm: more CLI improvements 2011-08-04 10:10:13 -04:00
Moises Silva c3f719c80d freetdm: fix typo in iostats command - print proper tx queue size and length 2011-08-03 13:05:02 -04:00
Moises Silva 68b887c760 freetdm: allow IO statistics access to users
added ftdm iostats command
2011-07-30 17:40:32 -04:00
Moises Silva f68d351fdd freetdm: refactoring of the CLI, it was getting way too ugly! 2011-07-29 19:35:10 -04:00
Jeff Lenk 71c66bcf5a OPENZAP-162 -- resolve 2011-06-14 08:47:46 -05:00
Moises Silva 1d3417a97b freetdm: be more tolerant to a few read errors 2011-06-07 17:35:49 -04:00
Moises Silva 5042b21fc5 freetdm: check if the event was created before firing it 2011-06-07 09:54:50 -04:00
David Yat Sin bd7672242c Support for AT&T *8 Transfer (VRU only) 2011-06-03 17:18:30 -04:00
Moises Silva 3fa2fce3f3 freetdm: added fail-on-error global configuration to refuse
to load the module if there is any error

Conflicts:

	libs/freetdm/mod_freetdm/mod_freetdm.c
2011-06-01 15:24:09 -04:00
Moises Silva e56d8934fe freetdm: make codec configurable for unrestricted digital calls (for G722 calls in Sangoma ISDN) 2011-05-19 17:17:46 -03:00
Moises Silva b22fc869dd freetdm: update bearer capability macro 2011-05-17 20:02:18 -04:00
Moises Silva 0b59756edd Merge remote-tracking branch 'smgfs/master'
Conflicts:
	libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_support.c
2011-05-17 19:57:49 -04:00
David Yat Sin ea428669d3 chlog: freetdm - SS7: Support for Transparent IAM 2011-05-17 17:27:05 -04:00
Moises Silva e544e4cff1 freetdm: Add initial testing support for unrestricted digital calls using G722 codec 2011-05-10 23:35:20 -04:00
David Yat Sin 3b2019cd1f minor changes 2011-05-10 16:09:02 -04:00
David Yat Sin 32bf306af5 freetdm: ss7 - CPC 2011-05-10 15:56:30 -04:00
David Yat Sin 95f2d6de0d freetdm: Changed SS7 to use global CPC variable 2011-05-10 15:28:10 -04:00
David Yat Sin 05fa93f831 chlog: freetdm: ss7 - Support for Calling Party's Category 2011-05-10 11:38:23 -04:00
Moises Silva 929b69ea5d Merge remote branch 'smgfs/master' 2011-05-06 22:29:20 -04:00
David Yat Sin e9f8fb4942 freetdm - SS7 Support for custom SIP headers for RDNIS and Generic Number 2011-05-06 17:52:41 -04:00
Michael Jerris b7da00209f too much perl 2011-05-05 22:04:43 -04:00
Michael Jerris 7c971707b1 add specific alarm status in dump 2011-05-04 12:51:49 -04:00
Jeff Lenk 5510618660 OPENZAP-154 --resolve 2011-04-29 08:57:00 -05:00
David Yat Sin 2e8b3d75d0 chlog: freetdm: SS7 - Fix for Screening Ind and Presentation Ind not being sent out 2011-04-26 15:13:11 -04:00
root f235d95537 freetdm: SS7 - Support for receiving RDNIS variables 2011-04-26 14:52:53 -04:00
David Yat Sin 6558b9bba9 freetdm: fix compile errors from previous commit 2011-04-26 13:21:55 -04:00
David Yat Sin dd6853cb98 freetdm: ss7 - Fix for some SIP RDNIS headers being overwritten 2011-04-26 11:07:40 -04:00
Marc Olivier Chouinard ba7dc9fde8 Fix for -Wunused-but-set-variable required compiler. : mod_freetdm mod_avmd mod_cidlookup mod_ladspa mod_lcr mod_nibblebill mod_rss mod_vdm mod_dahdi_codec mod_skinny mod_cdr_pg_csv 2011-04-22 22:49:41 -04:00
David Yat Sin 358e9aab22 chlog:FreeTDM - SS7 Support for transmitting Redirecting Number 2011-04-06 17:25:29 -04:00
David Yat Sin 3013a9a02a Merge branch 'fsorig' 2011-04-04 16:04:13 -04:00
Daniel Swarbrick 73a9e05eaa fixed a couple of typos 2011-03-31 15:29:32 +02:00
David Yat Sin 2fba005764 freetdm: added support to restart all channels on a span 2011-03-25 16:48:57 -04:00
Moises Silva 244fd68dfd freetdm: added command complete for ftdm queuesize 2011-03-21 14:27:57 -04:00
Moises Silva 63706a839f freetdm: add support for setting the channel tx/rx queue size from config file (wanpipe.conf) and from CLI 2011-03-21 14:25:20 -04:00
Jeff Lenk a8f01d5bc6 Correct gains usage example 2011-03-10 16:58:16 -06:00
Moises Silva 865d04ef2f Merge remote branch 'fsorig/master' 2011-03-05 20:46:30 -05:00
Moises Silva 7e5befc2ba freetdm: use ftdm_channel_hangup_with_cause for CAS channels (ftmod_r2) 2011-03-01 12:16:27 -05:00