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