[Freeswitch-users] t38_gateway self - no re-Invite?

Anthony Minessale anthony.minessale at gmail.com
Sat Feb 26 01:48:53 MSK 2011


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 at 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 at 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 at 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 at hotmail.com
>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>> IRC: irc.freenode.net #freeswitch
>>
>> FreeSWITCH Developer Conference
>> sip:888 at conference.freeswitch.org
>> googletalk:conf+888 at conference.freeswitch.org
>> pstn:+19193869900
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at 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 at 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 at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



More information about the FreeSWITCH-users mailing list