Commit Graph

6417 Commits

Author SHA1 Message Date
Ken Rice 7300fe0837 FS-4265 --resolve 2013-01-28 07:43:43 +00:00
Steve Underwood 36492e522b Minor tweak to last spandsp change 2013-01-26 03:30:21 +08:00
Steve Underwood 7e79b37c0b Make spandsp's T.38 features tolerate the non-compliant inclusion of data
in some T.38 packets from Commetrex and Cisco machines.
2013-01-26 01:54:20 +08:00
Steve Underwood 6cb3be7d8b Some cleanups of FAX modem tone handling 2013-01-19 23:55:23 +08:00
Jeff Lenk 4df19edb3a FS-4768 applied hopefully final patch(for now) to util.vbs 2013-01-18 11:16:44 -06:00
Anthony Minessale ff5b702886 FS-4971 please try this 2013-01-17 09:03:40 -06:00
Michael Jerris 63deed9fc9 fix double-destroy seg 2013-01-14 12:02:28 -05:00
Michael Jerris 41b2ce51d2 add support for RTP/SAVPF to sofia stack 2013-01-14 08:31:10 -05:00
Steve Underwood ef22570afa T.38 now gets reset as a T.31 call starts 2013-01-12 16:21:42 +08:00
Moises Silva 29bfcb16be freetdm: ftmod_pritap: Allow specifying different audio mixing modes 2013-01-11 14:52:33 -05:00
Stefan Knoblich 42bb1040de ftmod_pritap: Use strcmp() for "none" and "all" in parse_debug()
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-01-10 18:41:16 +01:00
Stefan Knoblich fe4d5748c6 ftmod_pritap: Hexdump I/O buffers if q921_raw debug is enabled, improve parse_debug()
Add support for "q921_all"/"q931_all" to parse_debug() ("debug" span parameter), taken from
ftmod_libpri.

Passive libpri's raw dump feature is broken (e.g. I-frames missing), so
add "q921_raw" hexdump support to the pritap I/O read/write function.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-01-10 18:31:30 +01:00
Jeff Lenk 1c24e8fb6b FS-4768 windows add libmpg download depends 2013-01-09 11:17:38 -06:00
Steve Underwood 17a523ec33 Eliminate a warning with some compilers 2013-01-10 00:16:32 +08:00
Jeff Lenk fe4b003759 FS-4768 correct download names 2013-01-09 09:31:48 -06:00
Jeff Lenk a73fd2877a FS-4768 fix mpg123 download 2013-01-09 09:23:05 -06:00
Jeff Lenk 1a3323a9d1 FS-4768 4768-again applied 2013-01-09 09:20:28 -06:00
Stefan Knoblich bfef3e57c4 ftmod_libpri: Disable on_facility() event handler on older libpri versions
Those that lack PRI_EVENT_FACILITY (<= 1.4.10)

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-01-08 15:07:29 +01:00
Stefan Knoblich 221bcc9e90 ftmod_libpri: Also conditionally disable pri_set_service_message_support() call
Same as pri_maintenance_service(), use HAVE_LIBPRI_MAINT_SERVICE.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-01-08 15:07:29 +01:00
Stefan Knoblich 88e75bf9d7 ftmod_libpri: Add configure check for pri_maintenance_service()
Said function has been added in libpri-1.4.11 and breaks
building with older libpri versions (i.e. the passive one for ftmod_pritap).

Check for pri_maintenance_service() in configure and disable
the "maintenance" subcommand if it is not available.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-01-08 15:07:29 +01:00
Stefan Knoblich 2bb859e2b4 ftmod_misdn: Fix brown paperbag logic bug in handle_b_channel_event()
Yeah, right, discard the incoming audio data when the b-channel is active...

Reverse the check, so ftdm_read() on an active mISDN b-channel will
be able to read audio data from the RX socketpair and not kill
the call from repeatedly timing out in poll().

Fixes:
    [WARNING] mod_freetdm.c:775 Too many timeouts while waiting I/O in channel FreeTDM/1:1/XX device 1:1!
    [ERR] mod_freetdm.c:820 clearing IO in channel FreeTDM/1:1/XX device 1:1!

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-01-07 18:04:00 +01:00
Stefan Knoblich 95ac0ecc2f ftmod_misdn: Retry recvfrom() in case of EAGAIN
epoll_wait() on the B-channel socket may indicate pending messages, but
recvfrom() returns EAGAIN. Retry a few more times (up to 5 retries)
to get the pending message.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-01-07 13:35:38 +01:00
Stefan Knoblich f2c325bf3e ftmod_misdn: Fix %lx vs.__u64 format string error
Fixes:
      src/ftmod/ftmod_misdn/ftmod_misdn.c:924:3: error: format '%lx' expects
      argument of type 'long unsigned int', but argument 13 has type '__u64'
      [-Werror=format]

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
Reported-by: hyper_ch #freetdm @ irc.freenode.net
2013-01-06 13:47:06 +01:00
Jeff Lenk 6d4e0862bc FS-4768 update windows to mpg123-1.14.4 2013-01-05 15:48:07 -06:00
Jeff Lenk 40cbc5c0e5 FS-4768 rest of garmts changes mostly cosmetic 2013-01-04 14:10:51 -06:00
Jeff Lenk dd25e7ea36 FS-4768 part of garmts changes 2013-01-04 13:53:05 -06:00
Jeff Lenk e381422fc0 FS-4768 download changes for openssl 2013-01-04 07:22:40 -06:00
Jeff Lenk 99a8052096 FS-4768 windows fix long term initial build problem 2013-01-02 16:11:34 -06:00
Steve Underwood f9d4e290cf Tiny mismatch with current code 2013-01-02 22:44:14 +08:00
Steve Underwood c6c03827b8 T.31 now has basically functional T.38 mode - needs more testing, though
Various modules which lacked routines to get at the sub-structures now
have them.
The tests have been tweaked so they only access internals where essential.
2013-01-01 23:07:55 +08:00
Jeff Lenk 5788195fd7 FS-4768 fix compile error on other platforms 2012-12-30 08:58:44 -06:00
Jeff Lenk dc2c11f13f FS-4768 initial add of vs2012 build support 2012-12-29 14:57:15 -06:00
Steve Underwood e22ce3e611 Improved detection of machines that need fixed point support 2012-12-25 03:14:59 +08:00
Brian West 1ea1773b5d clean up my mess now 2012-12-20 20:21:43 -06:00
Brian West 68913681a4 git status -u, learn something new every day. 2012-12-20 20:17:20 -06:00
Brian West 59205c7678 sigh... git you failed 2012-12-20 20:15:24 -06:00
Brian West 17294cb608 grr more 2012-12-20 20:14:35 -06:00
Brian West c7005ef138 woops 2012-12-20 20:13:58 -06:00
Brian West d67b96af8a i've tested, now you can too 2012-12-20 20:08:42 -06:00
Moises Silva 56846c02c6 freetdm: ftmod_analog_em: If the destination number DTMF was already generated, do not generate it again
This bug was cause when answer-supervision is used because now we do not move from DIALING to UP
         as soon as the line is ringing, but instead we wait for the CAS bit change
2012-12-20 12:18:24 -05:00
Jeff Lenk ca78de0192 FS-4950 --resolve vs2008 project 2012-12-20 08:34:57 -06:00
Moises Silva 27a8ec93de freetdm: Added Analog E&M outbound call answer supervision
You must add answer-supervision=yes in your freetdm.conf.xml
         Also added dial-timeout parameter which was previously hard-coded
2012-12-18 22:55:14 -05:00
Moises Silva 6e9dc465cc freetdm: ftmod_analog_em: Fix incorrect read length 2012-12-18 14:24:00 -05:00
Moises Silva 6f5438eded freetdm: ftmod_zt:
Handle driver events while reading media

         ftmod_analog_em:
         Initialize read data len to avoid crashing when
         the freetdm read function does not read anything
2012-12-18 14:23:31 -05:00
Michael Jerris c3e3f818e8 more pedantic standards? 2012-12-18 11:01:51 -05:00
Michael Jerris 216ca57338 missed uncommenting header 2012-12-17 22:53:52 -05:00
Michael Jerris a4923bbe54 add PL_strtok_r 2012-12-17 22:50:49 -05:00
Anthony Minessale 86487ed459 remove listed missing files 2012-12-17 20:12:31 -06:00
Michael Jerris 9d44329b2c builds with warnings, still not linking 2012-12-17 21:28:13 -05:00
Michael Jerris ab3ac5ed99 not building yet 2012-12-17 21:13:00 -05:00