Problems with t38 and tone detection
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm using mod_spandsp and t38gateway function for FAX transport. Some months ago I get it up and running and documented it in FS's wiki. What I forgot is, that I had to modify mod_spanddsp.c in the following way: replace this: switch_ivr_tone_detect_session(session, "t38", "1100.0", "rw", timeout, 1, data, NULL, t38_gateway_start); with this: switch_ivr_tone_detect_session(session, "t38", "2100.0", "rw", timeout, 1, data, NULL, t38_gateway_start); I'm not sure whether this is a dirty hack which works just for my environment, or whether this is a general bug. This difference is the frequency to which the gateways is listening. If I use 1100 the gateway never detects the fax tone which is send by the internal fax device. regards Helmut -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1Bj74ACgkQ4tZeNddg3dzmugCgkLtnqsaBnf5Yhqz/BtDBzh35 gz0AniwyCAtR5gKQZHc0GSmF3nxyhNqR =gI21 -----END PGP SIGNATURE-----
are you using 16k audio by any chance? The tone is supposed to be 1100 if 21 is working it's possible you are transcoding it and doubling the frequency? On Thu, Jan 27, 2011 at 9:31 AM, Helmut Kuper <helmut.kuper@ewetel.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
I'm using mod_spandsp and t38gateway function for FAX transport. Some months ago I get it up and running and documented it in FS's wiki. What I forgot is, that I had to modify mod_spanddsp.c in the following way:
replace this: switch_ivr_tone_detect_session(session, "t38", "1100.0", "rw", timeout, 1, data, NULL, t38_gateway_start);
with this: switch_ivr_tone_detect_session(session, "t38", "2100.0", "rw", timeout, 1, data, NULL, t38_gateway_start);
I'm not sure whether this is a dirty hack which works just for my environment, or whether this is a general bug. This difference is the frequency to which the gateways is listening.
If I use 1100 the gateway never detects the fax tone which is send by the internal fax device.
regards Helmut -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk1Bj74ACgkQ4tZeNddg3dzmugCgkLtnqsaBnf5Yhqz/BtDBzh35 gz0AniwyCAtR5gKQZHc0GSmF3nxyhNqR =gI21 -----END PGP SIGNATURE-----
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
erm, afaik no. The used codec is G711-A on both sides. How can I make sure it is 8k? Am 27.01.2011 16:47, schrieb Anthony Minessale:
are you using 16k audio by any chance? The tone is supposed to be 1100 if 21 is working it's possible you are transcoding it and doubling the frequency?
there's a channel var codec_rate maybe it can help you ----- Original Message ----- From: "Helmut Kuper" <helmut.kuper@ewetel.de> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Thursday, January 27, 2011 11:39 AM Subject: Re: [Freeswitch-users] Problems with t38 and tone detection
erm, afaik no. The used codec is G711-A on both sides.
How can I make sure it is 8k?
Am 27.01.2011 16:47, schrieb Anthony Minessale:
are you using 16k audio by any chance? The tone is supposed to be 1100 if 21 is working it's possible you are transcoding it and doubling the frequency?
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Anthony Minessale
-
Helmut Kuper
-
Madovsky