t38_gateway self - no re-Invite?
Hi to all from austria, I´m very new to freeswitch and I´m trying to get t38_gateway self working - but no success. for testing I use zoiper or spa2102 as t38 "device" - i have troubles in outbound direction: t38 device(internal) -> FS:t38_gateway self -> sip-provider (external - no t38 support) freeswitch sends no re-invite, I guess and Zoiper BYEs with Reason: SIP;description="Stale re-Invite" also see: http://pastebin.freeswitch.org/15439 inbound (t38_gateway peer) works fine - also when I do t38 device -> FS:rxfax my simple dialplan for the outbound call: <extension name="scpa" > <condition field="destination_number" expression="^1(.*)$"> <action application="set" data="fax_enable_t38_request=true"/> <action application="set" data="fax_enable_t38=true"/> <action application="set" data="execute_on_answer=t38_gateway self"/> <action application="bridge" data="sofia/gateway/scpa567/$1"/> </condition> </extension> Maybe I have to mention that I´m using Fusionpbx?! Thanks for any advice! I allready tried different examples I found, but no luck... Clemens
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello Clemens, I'm using t38 a few month now. And I have had also big problems to get FS and mod_spandsp as a t38-Gateway up and running. The only way I found to get it work in most cases was to change the code in mod_spandsp.c I changed line 99 from switch_ivr_tone_detect_session(session, "t38", "1100", "rw", timeout, 1, data, NULL, t38_gateway_start) to switch_ivr_tone_detect_session(session, "t38", "2100", "rw", timeout, 1, data, NULL, t38_gateway_start) The recompile mod_spandsp and reload it into FS. This could affected the inbound way. So you have to play with the frequency to detect. Maybe you have to listen to both 1100Hz and 2100Hz. t38 is not really easy with mod_spandsp. Am 22.02.2011 02:50, schrieb Clemens Ebentheuer:
Hi to all from austria,
I´m very new to freeswitch and I´m trying to get t38_gateway self working - but no success. for testing I use zoiper or spa2102 as t38 "device" - i have troubles in outbound direction:
t38 device(internal) -> FS:t38_gateway self -> sip-provider (external - no t38 support)
freeswitch sends no re-invite, I guess and Zoiper BYEs with Reason: SIP;description="Stale re-Invite"
also see: http://pastebin.freeswitch.org/15439
inbound (t38_gateway peer) works fine - also when I do
t38 device -> FS:rxfax
my simple dialplan for the outbound call:
<extension name="scpa" > <condition field="destination_number" expression="^1(.*)$"> <action application="set" data="fax_enable_t38_request=true"/> <action application="set" data="fax_enable_t38=true"/> <action application="set" data="execute_on_answer=t38_gateway self"/> <action application="bridge" data="sofia/gateway/scpa567/$1"/> </condition> </extension>
Maybe I have to mention that I´m using Fusionpbx?! Thanks for any advice! I allready tried different examples I found, but no luck...
Clemens -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk1jgcAACgkQ4tZeNddg3dx9ZgCfZQ6SgFv87Jag5SVaXX5E3QvV jkAAoK0prDieLE2onX2t3QfJk06BsjEs =afeV -----END PGP SIGNATURE-----
Thx Helmut, I´ve allready tried this:
switch_ivr_tone_detect_session(session, "t38", "2100", "rw", timeout, 1, data, NULL, t38_gateway_start)
The recompile mod_spandsp and reload it into FS.
But no luck, I´ll try different frequencies. Is it because FS doesn´t recognize it as a t38 fax? If so, I´m wondering why rxfax in t38 mode is working fine then - with re-invite. Any other ideas? Clemens
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Clemens, Am 22.02.2011 13:31, schrieb Clemens Ebentheuer:
Thx Helmut,
I´ve allready tried this:
switch_ivr_tone_detect_session(session, "t38", "2100", "rw", timeout, 1, data, NULL, t38_gateway_start)
The recompile mod_spandsp and reload it into FS.
But no luck, I´ll try different frequencies.
Is it because FS doesn´t recognize it as a t38 fax?
Yes, no ReINVITE from FS means no detection of CNG or CED. AFAIK t38 works like this: a) establish a call to FAX b) exchange CNG and CED via G.711 c) Listen to CNG and/or CED and when present, switch to t.38 via ReINVITE More about FAX process is here: http://telecom.tbi.net/fax-call.htm It can be, that in your case the device is simply detecting the FAX tones itself before FS does. When the device sends a ReINVITE to FS FS has no chance to detect CNG anymore and hence never switch to t38. Just trace the sending FAX-Device for SIP-Signalling and you should se a ReINVITE from FAX-device to FS, if this is true. You should check your t38-Device configuration. See if it is able to let the t38 fax detection job only by FS. Establish a call from the Fax device to a phone. Can your hear the CNG signal when you pickup the phone? Does it suddenly stop? If so, the FAX device or FS/mod_spandsp has sent a t38-ReINVITE. Do you see something like "media Bug removed" in FS console (DEBUG level) after 20 seconds of listening to 1100Hz? If so, then FS failed to detect CNG, hence it never received it (or for too short to detect it). On my Grandstream ATAs this wasn't possible, so I had to search for a hack. Hope this will light up your problems a little bit.
If so, I´m wondering why rxfax in t38 mode is working fine then - with re-invite. Can't tell you with this, never tried that. sorry.
regards helmut -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1jx5AACgkQ4tZeNddg3dy78gCfbnz5X5oZV1zICQfvcCGrVJE2 J9kAoJOhh36CtV02o/H8yILNIWEffrk0 =R6VY -----END PGP SIGNATURE-----
Hi,
It can be, that in your case the device is simply detecting the FAX tones itself before FS does. When the device sends a ReINVITE to FS FS has no chance to detect CNG anymore and hence never switch to t38.
Maybe you´re right here - or zoiper (http://www.zoiper.com/softphone/classic/ which is a softphone with only t38 fax support [no g711 fallback]) sends the reinvite every time after answer when it is sending a fax.
Just trace the sending FAX-Device for SIP-Signalling and you should se a ReINVITE from FAX-device to FS, if this is true.
Here is a debug with siptrace: http://pastebin.freeswitch.org/15439 If I read the logs in a right way: then FS executes t38_gateway on answer - sends a 200 OK to zoiper - zoiper answers with ACK and then reinvites with t38 - FS answers 100 Trying- And nothing is happening. I´m not sure if this is the scenario you describe below, but shouldn´t FS answer with a t38 sdp so zoiper knows where to send it´s t38 fax??
You should check your t38-Device configuration. See if it is able to let the t38 fax detection job only by FS.
Establish a call from the Fax device to a phone. Can your hear the CNG signal when you pickup the phone? Does it suddenly stop? If so, the FAX device or FS/mod_spandsp has sent a t38-ReINVITE.
Do you see something like "media Bug removed" in FS console (DEBUG level) after 20 seconds of listening to 1100Hz? If so, then FS failed to detect CNG, hence it never received it (or for too short to detect it).
On my Grandstream ATAs this wasn't possible, so I had to search for a hack.
Hope this will light up your problems a little bit.
If so, I´m wondering why rxfax in t38 mode is working fine then - with re-invite. Can't tell you with this, never tried that. sorry.
Thx, clemens
have you tried the self vs peer args to the t38 gateway app, maybe you have it configured backwards. On Fri, Feb 25, 2011 at 4:11 PM, Clemens Ebentheuer <ce@kapper.net> wrote:
Hi,
It can be, that in your case the device is simply detecting the FAX tones itself before FS does. When the device sends a ReINVITE to FS FS has no chance to detect CNG anymore and hence never switch to t38.
Maybe you´re right here - or zoiper (http://www.zoiper.com/softphone/classic/ which is a softphone with only t38 fax support [no g711 fallback]) sends the reinvite every time after answer when it is sending a fax.
Just trace the sending FAX-Device for SIP-Signalling and you should se a ReINVITE from FAX-device to FS, if this is true.
Here is a debug with siptrace: http://pastebin.freeswitch.org/15439
If I read the logs in a right way: then FS executes t38_gateway on answer - sends a 200 OK to zoiper - zoiper answers with ACK and then reinvites with t38 - FS answers 100 Trying-
And nothing is happening. I´m not sure if this is the scenario you describe below, but shouldn´t FS answer with a t38 sdp so zoiper knows where to send it´s t38 fax??
You should check your t38-Device configuration. See if it is able to let the t38 fax detection job only by FS.
Establish a call from the Fax device to a phone. Can your hear the CNG signal when you pickup the phone? Does it suddenly stop? If so, the FAX device or FS/mod_spandsp has sent a t38-ReINVITE.
Do you see something like "media Bug removed" in FS console (DEBUG level) after 20 seconds of listening to 1100Hz? If so, then FS failed to detect CNG, hence it never received it (or for too short to detect it).
On my Grandstream ATAs this wasn't possible, so I had to search for a hack.
Hope this will light up your problems a little bit.
If so, I´m wondering why rxfax in t38 mode is working fine then - with re-invite. Can't tell you with this, never tried that. sorry.
Thx,
clemens
_______________________________________________ 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
Hi My way: internal:t38(zoiper) -> FS -> external:g711 (provider with no t38 support) I tried all versions of set and export and peer and self - but no luck- for my understanding it should work with set t38_gateway self Set because of aleg and self because FS acts as the T38 fax "receiver". Am I wrong here? My dialplan: <extension name="0-sil-p000016" > <condition field="destination_number" expression="^0(.*)$"> <action application="set" data="fax_enable_t38=true"/> <action application="set" data="execute_on_answer=t38_gateway self"/> <action application="bridge" data="sofia/gateway/sil-p000016/$1"/> </condition> </extension> (testet with and without fax_enable_t38_request=true) Thx, Clemens
have you tried the self vs peer args to the t38 gateway app, maybe you have it configured backwards.
On Fri, Feb 25, 2011 at 4:11 PM, Clemens Ebentheuer <ce@kapper.net> wrote:
Hi,
It can be, that in your case the device is simply detecting the FAX tones itself before FS does. When the device sends a ReINVITE to FS FS has no chance to detect CNG anymore and hence never switch to t38.
Maybe you´re right here - or zoiper (http://www.zoiper.com/softphone/classic/ which is a softphone with only t38 fax support [no g711 fallback]) sends the reinvite every time after answer when it is sending a fax.
Just trace the sending FAX-Device for SIP-Signalling and you should
se
a ReINVITE from FAX-device to FS, if this is true.
Here is a debug with siptrace: http://pastebin.freeswitch.org/15439
If I read the logs in a right way: then FS executes t38_gateway on answer - sends a 200 OK to zoiper - zoiper answers with ACK and then reinvites with t38 - FS answers 100 Trying-
And nothing is happening. I´m not sure if this is the scenario you describe below, but shouldn´t FS answer with a t38 sdp so zoiper knows where to send it´s t38 fax??
You should check your t38-Device configuration. See if it is able to let the t38 fax detection job only by FS.
Establish a call from the Fax device to a phone. Can your hear the
CNG
signal when you pickup the phone? Does it suddenly stop? If so, the FAX device or FS/mod_spandsp has sent a t38-ReINVITE.
Do you see something like "media Bug removed" in FS console (DEBUG level) after 20 seconds of listening to 1100Hz? If so, then FS failed to detect CNG, hence it never received it (or for too short to detect it).
On my Grandstream ATAs this wasn't possible, so I had to search for a hack.
Hope this will light up your problems a little bit.
If so, I´m wondering why rxfax in t38 mode is working fine then - with re-invite. Can't tell you with this, never tried that. sorry.
Thx,
clemens
_______________________________________________ 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
_______________________________________________ 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
I dont know what your topology is but did you also try setting the app on the A leg and try both peer and self <action application="t38_gateway" data="self"/> right before bridge. On Fri, Feb 25, 2011 at 4:36 PM, Clemens Ebentheuer <ce@kapper.net> wrote:
Hi
My way:
internal:t38(zoiper) -> FS -> external:g711 (provider with no t38 support)
I tried all versions of set and export and peer and self - but no luck- for my understanding it should work with set t38_gateway self
Set because of aleg and self because FS acts as the T38 fax "receiver".
Am I wrong here?
My dialplan: <extension name="0-sil-p000016" > <condition field="destination_number" expression="^0(.*)$"> <action application="set" data="fax_enable_t38=true"/> <action application="set" data="execute_on_answer=t38_gateway self"/> <action application="bridge" data="sofia/gateway/sil-p000016/$1"/> </condition> </extension> (testet with and without fax_enable_t38_request=true)
Thx,
Clemens
have you tried the self vs peer args to the t38 gateway app, maybe you have it configured backwards.
On Fri, Feb 25, 2011 at 4:11 PM, Clemens Ebentheuer <ce@kapper.net> wrote:
Hi,
It can be, that in your case the device is simply detecting the FAX tones itself before FS does. When the device sends a ReINVITE to FS FS has no chance to detect CNG anymore and hence never switch to t38.
Maybe you´re right here - or zoiper (http://www.zoiper.com/softphone/classic/ which is a softphone with only t38 fax support [no g711 fallback]) sends the reinvite every time after answer when it is sending a fax.
Just trace the sending FAX-Device for SIP-Signalling and you should
se
a ReINVITE from FAX-device to FS, if this is true.
Here is a debug with siptrace: http://pastebin.freeswitch.org/15439
If I read the logs in a right way: then FS executes t38_gateway on answer - sends a 200 OK to zoiper - zoiper answers with ACK and then reinvites with t38 - FS answers 100 Trying-
And nothing is happening. I´m not sure if this is the scenario you describe below, but shouldn´t FS answer with a t38 sdp so zoiper knows where to send it´s t38 fax??
You should check your t38-Device configuration. See if it is able to let the t38 fax detection job only by FS.
Establish a call from the Fax device to a phone. Can your hear the
CNG
signal when you pickup the phone? Does it suddenly stop? If so, the FAX device or FS/mod_spandsp has sent a t38-ReINVITE.
Do you see something like "media Bug removed" in FS console (DEBUG level) after 20 seconds of listening to 1100Hz? If so, then FS failed to detect CNG, hence it never received it (or for too short to detect it).
On my Grandstream ATAs this wasn't possible, so I had to search for a hack.
Hope this will light up your problems a little bit.
If so, I´m wondering why rxfax in t38 mode is working fine then - with re-invite. Can't tell you with this, never tried that. sorry.
Thx,
clemens
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
Yes, tried that too - no luck - both, self and peer When I try to send the fax to an extension with rxfax, all is working fine. Zoiper invites pcma -> freeswitch OK -> Zoiper reinvites t38 -> freeswitch TRYING -> fresswitch executes rxfax - mod_spandsp_fax.c "reads" the t38 sdp-> freeswitch sends OK with t38 sdp -> any other ideas?
I dont know what your topology is but did you also try setting the app on the A leg and try both peer and self
<action application="t38_gateway" data="self"/>
right before bridge.
Hi
My way:
internal:t38(zoiper) -> FS -> external:g711 (provider with no t38 support)
I tried all versions of set and export and peer and self - but no luck- for my understanding it should work with set t38_gateway self
Set because of aleg and self because FS acts as the T38 fax "receiver".
Am I wrong here?
My dialplan: <extension name="0-sil-p000016" > <condition field="destination_number" expression="^0(.*)$"> <action application="set" data="fax_enable_t38=true"/> <action application="set" data="execute_on_answer=t38_gateway self"/> <action application="bridge" data="sofia/gateway/sil- p000016/$1"/> </condition> </extension> (testet with and without fax_enable_t38_request=true)
Thx,
Clemens
have you tried the self vs peer args to the t38 gateway app, maybe you have it configured backwards.
On Fri, Feb 25, 2011 at 4:11 PM, Clemens Ebentheuer <ce@kapper.net> wrote:
Hi,
It can be, that in your case the device is simply detecting the FAX tones itself before FS does. When the device sends a ReINVITE to FS FS has no chance to detect CNG anymore and hence never switch to t38.
Maybe you´re right here - or zoiper (http://www.zoiper.com/softphone/classic/ which is a softphone with only t38 fax support [no g711 fallback]) sends the reinvite every time after answer when it is sending a fax.
Just trace the sending FAX-Device for SIP-Signalling and you
should se
a ReINVITE from FAX-device to FS, if this is true.
Here is a debug with siptrace: http://pastebin.freeswitch.org/15439
If I read the logs in a right way: then FS executes t38_gateway on answer - sends a 200 OK to zoiper - zoiper answers with ACK and then reinvites with t38 - FS answers 100 Trying-
And nothing is happening. I´m not sure if this is the scenario you describe below, but shouldn´t FS answer with a t38 sdp so zoiper knows where to send it´s t38 fax??
You should check your t38-Device configuration. See if it is able
to
let the t38 fax detection job only by FS.
Establish a call from the Fax device to a phone. Can your hear the CNG signal when you pickup the phone? Does it suddenly stop? If so, the FAX device or FS/mod_spandsp has sent a t38-ReINVITE.
Do you see something like "media Bug removed" in FS console (DEBUG level) after 20 seconds of listening to 1100Hz? If so, then FS failed to detect CNG, hence it never received it (or for too short to detect it).
On my Grandstream ATAs this wasn't possible, so I had to search for a hack.
Hope this will light up your problems a little bit.
If so, I´m wondering why rxfax in t38 mode is working fine then
On Fri, Feb 25, 2011 at 4:36 PM, Clemens Ebentheuer <ce@kapper.net> wrote: -
with re-invite. Can't tell you with this, never tried that. sorry.
Thx,
clemens
_______________________________________________ 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
-- 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
like I said I don't know you topology but you neeed to get the gateway to detect the CNG tone going the right way so the app will react to that and transfer it to the data bridge where it will be ready to handle t.38 or audio. if you don't see it detecting the tone you are not making it very far. On Fri, Feb 25, 2011 at 5:54 PM, Clemens Ebentheuer <ce@kapper.net> wrote:
Yes, tried that too - no luck - both, self and peer
When I try to send the fax to an extension with rxfax, all is working fine.
Zoiper invites pcma -> freeswitch OK -> Zoiper reinvites t38 -> freeswitch TRYING -> fresswitch executes rxfax - mod_spandsp_fax.c "reads" the t38 sdp-> freeswitch sends OK with t38 sdp ->
any other ideas?
I dont know what your topology is but did you also try setting the app on the A leg and try both peer and self
<action application="t38_gateway" data="self"/>
right before bridge.
Hi
My way:
internal:t38(zoiper) -> FS -> external:g711 (provider with no t38 support)
I tried all versions of set and export and peer and self - but no luck- for my understanding it should work with set t38_gateway self
Set because of aleg and self because FS acts as the T38 fax "receiver".
Am I wrong here?
My dialplan: <extension name="0-sil-p000016" > <condition field="destination_number" expression="^0(.*)$"> <action application="set" data="fax_enable_t38=true"/> <action application="set" data="execute_on_answer=t38_gateway self"/> <action application="bridge" data="sofia/gateway/sil- p000016/$1"/> </condition> </extension> (testet with and without fax_enable_t38_request=true)
Thx,
Clemens
have you tried the self vs peer args to the t38 gateway app, maybe you have it configured backwards.
On Fri, Feb 25, 2011 at 4:11 PM, Clemens Ebentheuer <ce@kapper.net> wrote:
Hi,
It can be, that in your case the device is simply detecting the FAX tones itself before FS does. When the device sends a ReINVITE to FS FS has no chance to detect CNG anymore and hence never switch to t38.
Maybe you´re right here - or zoiper (http://www.zoiper.com/softphone/classic/ which is a softphone with only t38 fax support [no g711 fallback]) sends the reinvite every time after answer when it is sending a fax.
Just trace the sending FAX-Device for SIP-Signalling and you
should se
a ReINVITE from FAX-device to FS, if this is true.
Here is a debug with siptrace: http://pastebin.freeswitch.org/15439
If I read the logs in a right way: then FS executes t38_gateway on answer - sends a 200 OK to zoiper - zoiper answers with ACK and then reinvites with t38 - FS answers 100 Trying-
And nothing is happening. I´m not sure if this is the scenario you describe below, but shouldn´t FS answer with a t38 sdp so zoiper knows where to send it´s t38 fax??
You should check your t38-Device configuration. See if it is able
to
let the t38 fax detection job only by FS.
Establish a call from the Fax device to a phone. Can your hear the CNG signal when you pickup the phone? Does it suddenly stop? If so, the FAX device or FS/mod_spandsp has sent a t38-ReINVITE.
Do you see something like "media Bug removed" in FS console (DEBUG level) after 20 seconds of listening to 1100Hz? If so, then FS failed to detect CNG, hence it never received it (or for too short to detect it).
On my Grandstream ATAs this wasn't possible, so I had to search for a hack.
Hope this will light up your problems a little bit.
> If so, I´m wondering why rxfax in t38 mode is working fine then
On Fri, Feb 25, 2011 at 4:36 PM, Clemens Ebentheuer <ce@kapper.net> wrote: -
with re-invite. Can't tell you with this, never tried that. sorry.
Thx,
clemens
_______________________________________________ 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
-- 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
Ok, I think I kick the Zoiper Softphone for testing and get my spa2102 - I think Zoiper does not send any CNG or CED... Thanks a lot - I´ll return with ATA experience, clemens
like I said I don't know you topology but you neeed to get the gateway to detect the CNG tone going the right way so the app will react to that and transfer it to the data bridge where it will be ready to handle t.38 or audio.
if you don't see it detecting the tone you are not making it very far.
On Fri, Feb 25, 2011 at 5:54 PM, Clemens Ebentheuer <ce@kapper.net> wrote:
Yes, tried that too - no luck - both, self and peer
When I try to send the fax to an extension with rxfax, all is working fine.
Zoiper invites pcma -> freeswitch OK -> Zoiper reinvites t38 -> freeswitch TRYING -> fresswitch executes rxfax - mod_spandsp_fax.c "reads" the t38 sdp-> freeswitch sends OK with t38 sdp ->
any other ideas?
I dont know what your topology is but did you also try setting the app on the A leg and try both peer and self
<action application="t38_gateway" data="self"/>
right before bridge.
Hi
My way:
internal:t38(zoiper) -> FS -> external:g711 (provider with no t38 support)
I tried all versions of set and export and peer and self - but no luck- for my understanding it should work with set t38_gateway self
Set because of aleg and self because FS acts as the T38 fax "receiver".
Am I wrong here?
My dialplan: <extension name="0-sil-p000016" > <condition field="destination_number" expression="^0(.*)$"> <action application="set" data="fax_enable_t38=true"/> <action application="set" data="execute_on_answer=t38_gateway self"/> <action application="bridge" data="sofia/gateway/sil- p000016/$1"/> </condition> </extension> (testet with and without fax_enable_t38_request=true)
Thx,
Clemens
have you tried the self vs peer args to the t38 gateway app, maybe you have it configured backwards.
On Fri, Feb 25, 2011 at 4:11 PM, Clemens Ebentheuer <ce@kapper.net> wrote:
Hi,
> It can be, that in your case the device is simply detecting the FAX > tones itself before FS does. When the device sends a ReINVITE to FS FS > has no chance to detect CNG anymore and hence never switch to t38.
Maybe you´re right here - or zoiper (http://www.zoiper.com/softphone/classic/ which is a softphone with only t38 fax support [no g711 fallback]) sends the reinvite every time after answer when it is sending a fax.
> > Just trace the sending FAX-Device for SIP-Signalling and you should se > a > ReINVITE from FAX-device to FS, if this is true.
Here is a debug with siptrace: http://pastebin.freeswitch.org/15439
If I read the logs in a right way: then FS executes t38_gateway on answer - sends a 200 OK to zoiper - zoiper answers with ACK and then reinvites with t38 - FS answers 100 Trying-
And nothing is happening. I´m not sure if this is the scenario you describe below, but shouldn´t FS answer with a t38 sdp so zoiper knows where to send it´s t38 fax??
> > You should check your t38-Device configuration. See if it is able to > let > the t38 fax detection job only by FS. > > Establish a call from the Fax device to a phone. Can your hear the CNG > signal when you pickup the phone? Does it suddenly stop? If so, the FAX > device or FS/mod_spandsp has sent a t38-ReINVITE. > > Do you see something like "media Bug removed" in FS console (DEBUG > level) after 20 seconds of listening to 1100Hz? If so, then FS failed > to > detect CNG, hence it never received it (or for too short to detect it). > > On my Grandstream ATAs this wasn't possible, so I had to search for a > hack. > > Hope this will light up your problems a little bit. > > > > If so, I´m wondering why rxfax in t38 mode is working fine then
On Fri, Feb 25, 2011 at 4:36 PM, Clemens Ebentheuer <ce@kapper.net> wrote: -
> with re-invite. > Can't tell you with this, never tried that. sorry.
Thx,
clemens
_______________________________________________ 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
-- 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
_______________________________________________ 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-
_______________________________________________ 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
-- 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
Extra Info here: Just to verify that zoiper is not sending the CNG and that it is not a frequency issue like Helmut had, I downloaded a tonegenerator and played an 1100HZ tone when T38_gateway waits for it (switch_ivr_async.c:2608 Adding tone spec 1100.0 index 0 hits 1) T38 FAX was successfully gatewayed to g711. Thx again, clemens
Subject: RE: [Freeswitch-users] t38_gateway self - no re-Invite?
Ok,
I think I kick the Zoiper Softphone for testing and get my spa2102 - I think Zoiper does not send any CNG or CED...
Thanks a lot - I´ll return with ATA experience,
clemens
like I said I don't know you topology but you neeed to get the
gateway
to detect the CNG tone going the right way so the app will react to that and transfer it to the data bridge where it will be ready to handle t.38 or audio.
if you don't see it detecting the tone you are not making it very far.
On Fri, Feb 25, 2011 at 5:54 PM, Clemens Ebentheuer <ce@kapper.net> wrote:
Yes, tried that too - no luck - both, self and peer
When I try to send the fax to an extension with rxfax, all is working fine.
Zoiper invites pcma -> freeswitch OK -> Zoiper reinvites t38 -> freeswitch TRYING -> fresswitch executes rxfax - mod_spandsp_fax.c "reads" the t38 sdp-> freeswitch sends OK with t38 sdp ->
any other ideas?
I dont know what your topology is but did you also try setting the app on the A leg and try both peer and self
<action application="t38_gateway" data="self"/>
right before bridge.
Hi
My way:
internal:t38(zoiper) -> FS -> external:g711 (provider with no t38 support)
I tried all versions of set and export and peer and self - but no luck- for my understanding it should work with set t38_gateway self
Set because of aleg and self because FS acts as the T38 fax "receiver".
Am I wrong here?
My dialplan: <extension name="0-sil-p000016" > <condition field="destination_number" expression="^0(.*)$"> <action application="set" data="fax_enable_t38=true"/> <action application="set" data="execute_on_answer=t38_gateway self"/> <action application="bridge" data="sofia/gateway/sil- p000016/$1"/> </condition> </extension> (testet with and without fax_enable_t38_request=true)
Thx,
Clemens
have you tried the self vs peer args to the t38 gateway app, maybe you have it configured backwards.
On Fri, Feb 25, 2011 at 4:11 PM, Clemens Ebentheuer <ce@kapper.net> wrote: > Hi, > >> It can be, that in your case the device is simply detecting the FAX >> tones itself before FS does. When the device sends a ReINVITE to FS FS >> has no chance to detect CNG anymore and hence never switch to t38. > > Maybe you´re right here - or zoiper (http://www.zoiper.com/softphone/classic/ which is a softphone with only t38 fax support [no g711 fallback]) sends the reinvite every time after answer when it is sending a fax. > >> >> Just trace the sending FAX-Device for SIP-Signalling and you should se >> a >> ReINVITE from FAX-device to FS, if this is true. > > Here is a debug with siptrace: http://pastebin.freeswitch.org/15439 > > If I read the logs in a right way: > then FS executes t38_gateway on answer - > sends a 200 OK to zoiper - > zoiper answers with ACK and then reinvites with t38 - > FS answers 100 Trying- > > And nothing is happening. I´m not sure if this is the scenario you describe below, but shouldn´t FS answer with a t38 sdp so zoiper knows where to send it´s t38 fax?? > >> >> You should check your t38-Device configuration. See if it is able to >> let >> the t38 fax detection job only by FS. >> >> Establish a call from the Fax device to a phone. Can your hear the CNG >> signal when you pickup the phone? Does it suddenly stop? If so, the FAX >> device or FS/mod_spandsp has sent a t38-ReINVITE. >> >> Do you see something like "media Bug removed" in FS console (DEBUG >> level) after 20 seconds of listening to 1100Hz? If so, then FS failed >> to >> detect CNG, hence it never received it (or for too short to detect it). >> >> On my Grandstream ATAs this wasn't possible, so I had to search for a >> hack. >> >> Hope this will light up your problems a little bit. >> >> >> > If so, I´m wondering why rxfax in t38 mode is working fine then
On Fri, Feb 25, 2011 at 4:36 PM, Clemens Ebentheuer <ce@kapper.net> wrote: -
>> with re-invite. >> Can't tell you with this, never tried that. sorry. > > Thx, > > clemens > > _______________________________________________ > 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
_______________________________________________ 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-
_______________________________________________ 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
-- 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
_______________________________________________ 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-
_______________________________________________ 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
_______________________________________________ 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
I added a variable to latest GIT sip_execute_on_image This is like execute_on_answer but it lets you execute an application as soon as you get a T.38 invite. This will probably allow you to change over to t38_gateway etc. On Sat, Feb 26, 2011 at 2:56 PM, Clemens Ebentheuer <ce@kapper.net> wrote:
Extra Info here:
Just to verify that zoiper is not sending the CNG and that it is not a frequency issue like Helmut had, I downloaded a tonegenerator and played an 1100HZ tone when T38_gateway waits for it (switch_ivr_async.c:2608 Adding tone spec 1100.0 index 0 hits 1)
T38 FAX was successfully gatewayed to g711.
Thx again,
clemens
Subject: RE: [Freeswitch-users] t38_gateway self - no re-Invite?
Ok,
I think I kick the Zoiper Softphone for testing and get my spa2102 - I think Zoiper does not send any CNG or CED...
Thanks a lot - I´ll return with ATA experience,
clemens
like I said I don't know you topology but you neeed to get the
gateway
to detect the CNG tone going the right way so the app will react to that and transfer it to the data bridge where it will be ready to handle t.38 or audio.
if you don't see it detecting the tone you are not making it very far.
On Fri, Feb 25, 2011 at 5:54 PM, Clemens Ebentheuer <ce@kapper.net> wrote:
Yes, tried that too - no luck - both, self and peer
When I try to send the fax to an extension with rxfax, all is working fine.
Zoiper invites pcma -> freeswitch OK -> Zoiper reinvites t38 -> freeswitch TRYING -> fresswitch executes rxfax - mod_spandsp_fax.c "reads" the t38 sdp-> freeswitch sends OK with t38 sdp ->
any other ideas?
I dont know what your topology is but did you also try setting the app on the A leg and try both peer and self
<action application="t38_gateway" data="self"/>
right before bridge.
Hi
My way:
internal:t38(zoiper) -> FS -> external:g711 (provider with no t38 support)
I tried all versions of set and export and peer and self - but no luck- for my understanding it should work with set t38_gateway self
Set because of aleg and self because FS acts as the T38 fax "receiver".
Am I wrong here?
My dialplan: <extension name="0-sil-p000016" > <condition field="destination_number" expression="^0(.*)$"> <action application="set" data="fax_enable_t38=true"/> <action application="set" data="execute_on_answer=t38_gateway self"/> <action application="bridge" data="sofia/gateway/sil- p000016/$1"/> </condition> </extension> (testet with and without fax_enable_t38_request=true)
Thx,
Clemens
> have you tried the self vs peer args to the t38 gateway app, maybe you > have it configured backwards. > > > On Fri, Feb 25, 2011 at 4:11 PM, Clemens Ebentheuer <ce@kapper.net> > wrote: > > Hi, > > > >> It can be, that in your case the device is simply detecting the FAX > >> tones itself before FS does. When the device sends a ReINVITE to FS > FS > >> has no chance to detect CNG anymore and hence never switch to t38. > > > > Maybe you´re right here - or zoiper > (http://www.zoiper.com/softphone/classic/ which is a softphone with > only t38 fax support [no g711 fallback]) sends the reinvite every time > after answer when it is sending a fax. > > > >> > >> Just trace the sending FAX-Device for SIP-Signalling and you should > se > >> a > >> ReINVITE from FAX-device to FS, if this is true. > > > > Here is a debug with siptrace: http://pastebin.freeswitch.org/15439 > > > > If I read the logs in a right way: > > then FS executes t38_gateway on answer - > > sends a 200 OK to zoiper - > > zoiper answers with ACK and then reinvites with t38 - > > FS answers 100 Trying- > > > > And nothing is happening. I´m not sure if this is the scenario you > describe below, but shouldn´t FS answer with a t38 sdp so zoiper knows > where to send it´s t38 fax?? > > > >> > >> You should check your t38-Device configuration. See if it is able to > >> let > >> the t38 fax detection job only by FS. > >> > >> Establish a call from the Fax device to a phone. Can your hear the > CNG > >> signal when you pickup the phone? Does it suddenly stop? If so, the > FAX > >> device or FS/mod_spandsp has sent a t38-ReINVITE. > >> > >> Do you see something like "media Bug removed" in FS console (DEBUG > >> level) after 20 seconds of listening to 1100Hz? If so, then FS > failed > >> to > >> detect CNG, hence it never received it (or for too short to detect > it). > >> > >> On my Grandstream ATAs this wasn't possible, so I had to search for > a > >> hack. > >> > >> Hope this will light up your problems a little bit. > >> > >> > >> > If so, I´m wondering why rxfax in t38 mode is working fine then
On Fri, Feb 25, 2011 at 4:36 PM, Clemens Ebentheuer <ce@kapper.net> wrote: -
> >> with re-invite. > >> Can't tell you with this, never tried that. sorry. > > > > Thx, > > > > clemens > > > > _______________________________________________ > > 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 > > _______________________________________________ > 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
_______________________________________________ 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
-- 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
_______________________________________________ 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-
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
Awesome! I'll add this to the list of things to document... -MC On Mon, Feb 28, 2011 at 10:45 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
I added a variable to latest GIT
sip_execute_on_image
This is like execute_on_answer but it lets you execute an application as soon as you get a T.38 invite. This will probably allow you to change over to t38_gateway etc.
On Sat, Feb 26, 2011 at 2:56 PM, Clemens Ebentheuer <ce@kapper.net> wrote:
Extra Info here:
Just to verify that zoiper is not sending the CNG and that it is not a frequency issue like Helmut had, I downloaded a tonegenerator and played an 1100HZ tone when T38_gateway waits for it (switch_ivr_async.c:2608 Adding tone spec 1100.0 index 0 hits 1)
T38 FAX was successfully gatewayed to g711.
Thx again,
clemens
Subject: RE: [Freeswitch-users] t38_gateway self - no re-Invite?
Ok,
I think I kick the Zoiper Softphone for testing and get my spa2102 - I think Zoiper does not send any CNG or CED...
Thanks a lot - I´ll return with ATA experience,
clemens
like I said I don't know you topology but you neeed to get the
gateway
to detect the CNG tone going the right way so the app will react to that and transfer it to the data bridge where it will be ready to handle t.38 or audio.
if you don't see it detecting the tone you are not making it very far.
On Fri, Feb 25, 2011 at 5:54 PM, Clemens Ebentheuer <ce@kapper.net> wrote:
Yes, tried that too - no luck - both, self and peer
When I try to send the fax to an extension with rxfax, all is working fine.
Zoiper invites pcma -> freeswitch OK -> Zoiper reinvites t38 -> freeswitch TRYING -> fresswitch executes rxfax - mod_spandsp_fax.c "reads" the t38 sdp-> freeswitch sends OK with t38 sdp ->
any other ideas?
I dont know what your topology is but did you also try setting the app on the A leg and try both peer and self
<action application="t38_gateway" data="self"/>
right before bridge.
On Fri, Feb 25, 2011 at 4:36 PM, Clemens Ebentheuer <ce@kapper.net> wrote: > Hi > > My way: > > internal:t38(zoiper) -> FS -> external:g711 (provider with no t38 support) > > I tried all versions of set and export and peer and self - but no luck- for my understanding it should work with set t38_gateway self > > Set because of aleg and self because FS acts as the T38 fax "receiver". > > Am I wrong here? > > My dialplan: > <extension name="0-sil-p000016" > > <condition field="destination_number" expression="^0(.*)$"> > <action application="set" data="fax_enable_t38=true"/> > <action application="set" data="execute_on_answer=t38_gateway self"/> > <action application="bridge" data="sofia/gateway/sil- p000016/$1"/> > </condition> > </extension> > (testet with and without fax_enable_t38_request=true) > > Thx, > > > Clemens > > > > >> have you tried the self vs peer args to the t38 gateway app, maybe you >> have it configured backwards. >> >> >> On Fri, Feb 25, 2011 at 4:11 PM, Clemens Ebentheuer <ce@kapper.net> >> wrote: >> > Hi, >> > >> >> It can be, that in your case the device is simply detecting the FAX >> >> tones itself before FS does. When the device sends a ReINVITE to FS >> FS >> >> has no chance to detect CNG anymore and hence never switch to t38. >> > >> > Maybe you´re right here - or zoiper >> (http://www.zoiper.com/softphone/classic/ which is a softphone with >> only t38 fax support [no g711 fallback]) sends the reinvite every time >> after answer when it is sending a fax. >> > >> >> >> >> Just trace the sending FAX-Device for SIP-Signalling and you should >> se >> >> a >> >> ReINVITE from FAX-device to FS, if this is true. >> > >> > Here is a debug with siptrace: http://pastebin.freeswitch.org/15439 >> > >> > If I read the logs in a right way: >> > then FS executes t38_gateway on answer - >> > sends a 200 OK to zoiper - >> > zoiper answers with ACK and then reinvites with t38 - >> > FS answers 100 Trying- >> > >> > And nothing is happening. I´m not sure if this is the scenario you >> describe below, but shouldn´t FS answer with a t38 sdp so zoiper knows >> where to send it´s t38 fax?? >> > >> >> >> >> You should check your t38-Device configuration. See if it is able to >> >> let >> >> the t38 fax detection job only by FS. >> >> >> >> Establish a call from the Fax device to a phone. Can your hear the >> CNG >> >> signal when you pickup the phone? Does it suddenly stop? If so, the >> FAX >> >> device or FS/mod_spandsp has sent a t38-ReINVITE. >> >> >> >> Do you see something like "media Bug removed" in FS console (DEBUG >> >> level) after 20 seconds of listening to 1100Hz? If so, then FS >> failed >> >> to >> >> detect CNG, hence it never received it (or for too short to detect >> it). >> >> >> >> On my Grandstream ATAs this wasn't possible, so I had to search for >> a >> >> hack. >> >> >> >> Hope this will light up your problems a little bit. >> >> >> >> >> >> > If so, I´m wondering why rxfax in t38 mode is working fine then - >> >> with re-invite. >> >> Can't tell you with this, never tried that. sorry. >> > >> > Thx, >> > >> > clemens >> > >> > _______________________________________________ >> > 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 >> >> _______________________________________________ >> 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 > > _______________________________________________ > 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
_______________________________________________ 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-
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
Helmet, If you had to change the code why do you not Open a JIRA? And how are you doing this that it doesn't work? I have many people using this without a single problem. /b On Feb 22, 2011, at 3:28 AM, Helmut Kuper wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello Clemens,
I'm using t38 a few month now. And I have had also big problems to get FS and mod_spandsp as a t38-Gateway up and running. The only way I found to get it work in most cases was to change the code in mod_spandsp.c
I changed line 99 from switch_ivr_tone_detect_session(session, "t38", "1100", "rw", timeout, 1, data, NULL, t38_gateway_start)
to switch_ivr_tone_detect_session(session, "t38", "2100", "rw", timeout, 1, data, NULL, t38_gateway_start)
The recompile mod_spandsp and reload it into FS.
This could affected the inbound way. So you have to play with the frequency to detect. Maybe you have to listen to both 1100Hz and 2100Hz.
t38 is not really easy with mod_spandsp.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Brian, I never opened a Jira because, I have the same thoughts as you. The code should work without a change. It is logical to listen to 1100 instead to 2100. I have no idea why this problems happens here on my site. Maybe there is a bug in the code, not very likely I guess. Maybe it is a special problem with Grandstream ATA HT502. Maybe it is a wrong configuration in my FS e.g wrong codec sample rate as Anthony mentioned. The hack just helped to get it working for me. I'm still lost a bit with my t38 problem. Am 25.02.2011 17:32, schrieb Brian West:
Helmet, If you had to change the code why do you not Open a JIRA? And how are you doing this that it doesn't work? I have many people using this without a single problem.
/b
best regards helmut -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1n+Q0ACgkQ4tZeNddg3dwQqwCggmUumkt2y/ZyUCwkR4GSsHuM 7CkAn2fiLEJFecvhBxce8zHDpr+nNZYI =UAy8 -----END PGP SIGNATURE-----
participants (5)
-
Anthony Minessale
-
Brian West
-
Clemens Ebentheuer
-
Helmut Kuper
-
Michael Collins