Commit Graph

22008 Commits

Author SHA1 Message Date
William King 8eb36ec92d DelphiWorld found another typo. Also remove the condition for auth since all dialplan lookups should be authed to prevent fraud. 2012-08-05 12:01:33 -04:00
Steve Underwood 04e93f4c0b Fix fixed point builds of spandsp, and improve logging of modem performance during tests 2012-08-05 22:20:39 +08:00
Steve Underwood 72566f6a3f Fixed V.22bis fixed point builds 2012-08-05 18:39:41 +08:00
Steve Underwood f088d971f3 Sorted out fixed point builds of the V.22bis modem 2012-08-05 18:38:47 +08:00
William King d1b98ab388 Good find DelphiWorld. 2012-08-04 19:54:48 -04:00
William King d648a05ed1 Adding a new configurable radius module that will support both authentication based on a dialplan app, as well as digest based radius authentication by hooking into the directory. It is also fully configurable on which fields to send by the config file. 2012-08-04 19:19:04 -04:00
Jeff Lenk d1c3f910a6 windows -fix build for recent spandsp changes 2012-08-03 16:46:48 -05:00
Steve Underwood e523076274 FAX T.6 decompression fixed for images with black in the last pixel of lines.
Colour and grey images can down be dithered down to bi-level images for transmission as faxes.
More movement towards T.42 support
2012-08-04 03:45:09 +08:00
Steve Underwood e35221b981 Fixed the way T.85/T.85-L0 selection is handled when decoding DCS messages 2012-08-03 20:26:30 +08:00
Stefan Knoblich ac0eec9de4 ftmod_isdn: Fix set-but-unused warning.
Resolves OPENZAP-189

Fixes:
	src/ftmod/ftmod_isdn/ftmod_isdn.c: In function 'ftdm_isdn_931_34':
	src/ftmod/ftmod_isdn/ftmod_isdn.c:902:21: error: variable 'status' set but not used [-Werror=unused-but-set-variable]

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-08-03 12:33:40 +02:00
Giovanni Maruzzelli ccae5cd6b2 gsmopen and skypopen: better printout from function gsm (or sk) list 2012-08-02 19:13:32 +02:00
Giovanni Maruzzelli 716f89f2d1 gsmopen: indent 2012-08-02 18:47:18 +02:00
Giovanni Maruzzelli c5d72d9bd0 FS-4379 gsmopen: 'gsm remove interface' works now 2012-08-02 18:39:02 +02:00
Anthony Minessale e97da8e20a remove debug 2012-07-31 16:35:56 -05:00
Anthony Minessale beed0336c0 FS-4484 I missed the part about gateways, that is a different story. Try this patch 2012-07-31 15:53:00 -05:00
Anthony Minessale f6ca367fff doh 2012-07-31 15:44:57 -05:00
Anthony Minessale 258afd4704 FS-4480 try this 2012-07-31 15:32:04 -05:00
Anthony Minessale a7b10081c8 send notifies for refer for 4579 2012-07-31 15:26:03 -05:00
Anthony Minessale e40e8696fc update 4579 stuff 2012-07-31 14:01:56 -05:00
Anthony Minessale 1b355edf18 FS-4483 --resolve 2012-07-31 08:03:07 -05:00
Anthony Minessale b3e6730de8 indent 2012-07-31 07:59:58 -05:00
Stefan Knoblich 3b5b59e693 Revert "FreeSWITCH: Fix warn-unused-result error in rtp_common_read()."
*sigh* of course there are two versions of strerror_r():

	char *strerror_r() - GNU
	int strerror_r() - non-GNU

Revert and back the drawing board...

This reverts commit 3c82033e53.
2012-07-31 01:58:48 +02:00
Anthony Minessale 0f4ecab5e9 FS-4481 --resolve seg is fixed but just utf-8 will not work. you need type/subtype format like text/utf-8 2012-07-30 16:36:20 -05:00
Stefan Knoblich 3c82033e53 FreeSWITCH: Fix warn-unused-result error in rtp_common_read().
strerror_r() returns the error message string (and expects you to use it).

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-30 13:56:48 +02:00
Anthony Minessale 293429f78d add api-expansion to switch.conf.xml and fsctl api_expansion command to control allowing apis to be expanded via variable expansion 2012-07-27 18:53:04 -05:00
Anthony Minessale cfb2335406 FS-4462 add log message to point out this problem in the future 2012-07-27 15:27:01 -05:00
Anthony Minessale 365b9feb72 457x tweaks 2012-07-27 15:07:11 -05:00
Anthony Minessale b6de76cb8c tweak 2012-07-27 14:49:08 -05:00
Anthony Minessale aba2b391fb fix seg 2012-07-27 13:23:30 -05:00
Anthony Minessale 71b64412b9 FS-4470 --resolve 2 for one fix 2012-07-27 10:44:16 -05:00
Stefan Knoblich dc1422998a FreeTDM: Add FTDM_XINT64_FMT 64bit hex format string and use it in ftmod_misdn.
Fixes:
  src/ftmod/ftmod_misdn/ftmod_misdn.c: In function 'misdn_handle_mph_information_ind':
  src/ftmod/ftmod_misdn/ftmod_misdn.c:871:3: error: format '%lx' expects argument of type 'long unsigned int', but argument 13 has type 'uint64_t' [-Werror=format]

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-27 14:33:46 +02:00
Anthony Minessale f5af7ae2b1 FS-4471 --resolve 2012-07-26 21:25:50 -05:00
Anthony Minessale 034d3741c1 4569 tweaks 2012-07-26 21:07:10 -05:00
Anthony Minessale 772f60d235 4569 tweaks 2012-07-26 16:47:50 -05:00
Anthony Minessale cd88211d0a FS-4470 try this, the tmp_hanguphook will flag the b leg with CF_REDIRECT in the event that it hangs up which should spare it from the codepath in exchange_media state 2012-07-26 14:33:45 -05:00
Anthony Minessale 696fb9c28b expand vars in hold music variable 2012-07-26 13:17:39 -05:00
Anthony Minessale 93f96addc3 FS-4453 confirm this fixes your problem please 2012-07-26 12:32:51 -05:00
Anthony Minessale 1dd4bd4926 add core-uuid attr to xml cdr tag 2012-07-26 11:45:06 -05:00
Anthony Minessale 1d5b5f218a add core_uuid global variable to expose the runtime uuid 2012-07-26 11:38:02 -05:00
Stefan Knoblich 5ebc68fb51 ftmod_isdn: Fix per-channel teletone buffer offset wraparound.
Do a "soft" wraparound with modulo, removes the ~0.5s tone glitch.
(Multiply ts.rate (samples) by two to match the offset unit (bytes, 2 per sample).)

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-26 09:14:51 +02:00
Anthony Minessale 32b3f3e224 doh 2012-07-25 19:09:03 -05:00
Stefan Knoblich 5367b96153 ftmod_isdn: Rework teletone buffer offset handling in isdn_tones_run().
Store the offset in the teletone buffer in the b-channel private data.

An NT-mode setup with ftmod_misdn showed severe (dial-)tone distortions
in a sound editor (330Hz sine wave phase errors), caused by
using a global teletone buffer offset.

Switching to a per-channel offset, that is advanced by the amount
of data actually written to the channel, removes (almost) all
distortions.

There is still a minimal phase error every ~500ms (audible) that
needs more investigating.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-26 01:21:47 +02:00
Anthony Minessale c9e172789c FS-4467 try this patch that will sanity check for dups to catch this case when the ambigous method is used 2012-07-25 16:34:43 -05:00
Stefan Knoblich 7a93ae2d95 FreeTDM: Add ftdm_offset_of() and ftdm_container_of() macros.
Might as well import these too...

ftdm_offset_of() - Get offset of member in structure.

ftdm_container_of() - Get pointer to enclosing structure from pointer to structure member.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-25 16:10:35 +02:00
Stefan Knoblich fb57605df7 ftmod_misdn: Drop custom MIN(),MAX(),CLAMP() macros and use the common ones.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-25 16:08:51 +02:00
Stefan Knoblich c3d13d5e00 ftmod_libpri: Drop custom MIN() macro and use common ftdm_min()
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-25 16:07:39 +02:00
Stefan Knoblich e71bacb2f5 FreeTDM: Add convenience macros ftdm_min(), ftdm_max() and ftdm_clamp().
ftdm_min(x,y) - Returns the smaller of the two values x and y.

ftdm_max(x,y) - Returns the larger of the two values x and y.

ftdm_clamp(val, min, max) - Returns value that is in the range [vmin,vmax].

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-25 14:03:22 +02:00
Stefan Knoblich 7d0dcb6175 ftmod_misdn: Rework mISDN channel de-/activation.
Remove the 'state' variable of per-channel data, use active flag exclusively to track
open/close state.

Add misdn_activate_channel()/misdn_deactivate_channel() helper functions, rename old
one to _misdn_toggle_channel() (internal).

Add _nowait variant of channel de-/activation function, that just sends the mISDN request message.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-25 14:03:22 +02:00
Stefan Knoblich 890ecc6d45 ftmod_isdn: Use span trunk_mode to select default mode and print warning if final modes do not match.
Same as ftmod_libpri.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-25 14:03:22 +02:00
Stefan Knoblich 200438d18f ftmod_isdn: Use ftmod_log_chan(_msg)() and ftdm_strlen_zero().
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-25 14:03:21 +02:00