Awesome! I'll add this to the list of things to document...<div><br></div><div>-MC<br><br><div class="gmail_quote">On Mon, Feb 28, 2011 at 10:45 AM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I added a variable to latest GIT<br>
<br>
sip_execute_on_image<br>
<br>
This is like execute_on_answer but it lets you execute an application<br>
as soon as you get a T.38 invite.<br>
This will probably allow you to change over to t38_gateway etc.<br>
<div><div></div><div class="h5"><br>
<br>
On Sat, Feb 26, 2011 at 2:56 PM, Clemens Ebentheuer <<a href="mailto:ce@kapper.net">ce@kapper.net</a>> wrote:<br>
> Extra Info here:<br>
><br>
> 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)<br>
><br>
> T38 FAX was successfully gatewayed to g711.<br>
><br>
> Thx again,<br>
><br>
> clemens<br>
><br>
>> Subject: RE: [Freeswitch-users] t38_gateway self - no re-Invite?<br>
>><br>
>> Ok,<br>
>><br>
>> I think I kick the Zoiper Softphone for testing and get my spa2102 - I<br>
>> think Zoiper does not send any CNG or CED...<br>
>><br>
>> Thanks a lot - I´ll return with ATA experience,<br>
>><br>
>><br>
>> clemens<br>
>><br>
>> ><br>
>> > like I said I don't know you topology but you neeed to get the<br>
>> gateway<br>
>> > to detect the CNG tone going the right way so the app will react to<br>
>> > that and transfer it to the data bridge where it will be ready to<br>
>> > handle t.38 or audio.<br>
>> ><br>
>> > if you don't see it detecting the tone you are not making it very<br>
>> far.<br>
>> ><br>
>> ><br>
>> > On Fri, Feb 25, 2011 at 5:54 PM, Clemens Ebentheuer <<a href="mailto:ce@kapper.net">ce@kapper.net</a>><br>
>> > wrote:<br>
>> > > Yes, tried that too - no luck - both, self and peer<br>
>> > ><br>
>> > > When I try to send the fax to an extension with rxfax, all is<br>
>> working<br>
>> > fine.<br>
>> > ><br>
>> > > Zoiper invites pcma -><br>
>> > > freeswitch OK -><br>
>> > > Zoiper reinvites t38 -><br>
>> > > freeswitch TRYING -><br>
>> > > fresswitch executes rxfax - mod_spandsp_fax.c "reads" the t38 sdp-><br>
>> > > freeswitch sends OK with t38 sdp -><br>
>> > ><br>
>> > > any other ideas?<br>
>> > ><br>
>> > ><br>
>> > >> I dont know what your topology is but did you also try setting the<br>
>> > app<br>
>> > >> on the A leg and try both peer and self<br>
>> > >><br>
>> > >> <action application="t38_gateway" data="self"/><br>
>> > >><br>
>> > >> right before bridge.<br>
>> > >><br>
>> > >><br>
>> > >> On Fri, Feb 25, 2011 at 4:36 PM, Clemens Ebentheuer<br>
>> <<a href="mailto:ce@kapper.net">ce@kapper.net</a>><br>
>> > >> wrote:<br>
>> > >> > Hi<br>
>> > >> ><br>
>> > >> > My way:<br>
>> > >> ><br>
>> > >> > internal:t38(zoiper) -> FS -> external:g711 (provider with no<br>
>> t38<br>
>> > >> support)<br>
>> > >> ><br>
>> > >> > I tried all versions of set and export and peer and self - but<br>
>> no<br>
>> > >> luck- for my understanding it should work with set t38_gateway<br>
>> self<br>
>> > >> ><br>
>> > >> > Set because of aleg and self because FS acts as the T38 fax<br>
>> > >> "receiver".<br>
>> > >> ><br>
>> > >> > Am I wrong here?<br>
>> > >> ><br>
>> > >> > My dialplan:<br>
>> > >> > <extension name="0-sil-p000016" ><br>
>> > >> > <condition field="destination_number" expression="^0(.*)$"><br>
>> > >> > <action application="set" data="fax_enable_t38=true"/><br>
>> > >> > <action application="set"<br>
>> > data="execute_on_answer=t38_gateway<br>
>> > >> self"/><br>
>> > >> > <action application="bridge" data="sofia/gateway/sil-<br>
>> > >> p000016/$1"/><br>
>> > >> > </condition><br>
>> > >> > </extension><br>
>> > >> > (testet with and without fax_enable_t38_request=true)<br>
>> > >> ><br>
>> > >> > Thx,<br>
>> > >> ><br>
>> > >> ><br>
>> > >> > Clemens<br>
>> > >> ><br>
>> > >> ><br>
>> > >> ><br>
>> > >> ><br>
>> > >> >> have you tried the self vs peer args to the t38 gateway app,<br>
>> > maybe<br>
>> > >> you<br>
>> > >> >> have it configured backwards.<br>
>> > >> >><br>
>> > >> >><br>
>> > >> >> On Fri, Feb 25, 2011 at 4:11 PM, Clemens Ebentheuer<br>
>> > <<a href="mailto:ce@kapper.net">ce@kapper.net</a>><br>
>> > >> >> wrote:<br>
>> > >> >> > Hi,<br>
>> > >> >> ><br>
>> > >> >> >> It can be, that in your case the device is simply detecting<br>
>> > the<br>
>> > >> FAX<br>
>> > >> >> >> tones itself before FS does. When the device sends a<br>
>> ReINVITE<br>
>> > to<br>
>> > >> FS<br>
>> > >> >> FS<br>
>> > >> >> >> has no chance to detect CNG anymore and hence never switch<br>
>> to<br>
>> > >> t38.<br>
>> > >> >> ><br>
>> > >> >> > Maybe you´re right here - or zoiper<br>
>> > >> >> (<a href="http://www.zoiper.com/softphone/classic/" target="_blank">http://www.zoiper.com/softphone/classic/</a> which is a softphone<br>
>> > with<br>
>> > >> >> only t38 fax support [no g711 fallback]) sends the reinvite<br>
>> every<br>
>> > >> time<br>
>> > >> >> after answer when it is sending a fax.<br>
>> > >> >> ><br>
>> > >> >> >><br>
>> > >> >> >> Just trace the sending FAX-Device for SIP-Signalling and you<br>
>> > >> should<br>
>> > >> >> se<br>
>> > >> >> >> a<br>
>> > >> >> >> ReINVITE from FAX-device to FS, if this is true.<br>
>> > >> >> ><br>
>> > >> >> > Here is a debug with siptrace:<br>
>> > >> <a href="http://pastebin.freeswitch.org/15439" target="_blank">http://pastebin.freeswitch.org/15439</a><br>
>> > >> >> ><br>
>> > >> >> > If I read the logs in a right way:<br>
>> > >> >> > then FS executes t38_gateway on answer -<br>
>> > >> >> > sends a 200 OK to zoiper -<br>
>> > >> >> > zoiper answers with ACK and then reinvites with t38 -<br>
>> > >> >> > FS answers 100 Trying-<br>
>> > >> >> ><br>
>> > >> >> > And nothing is happening. I´m not sure if this is the<br>
>> scenario<br>
>> > you<br>
>> > >> >> describe below, but shouldn´t FS answer with a t38 sdp so<br>
>> zoiper<br>
>> > >> knows<br>
>> > >> >> where to send it´s t38 fax??<br>
>> > >> >> ><br>
>> > >> >> >><br>
>> > >> >> >> You should check your t38-Device configuration. See if it is<br>
>> > able<br>
>> > >> to<br>
>> > >> >> >> let<br>
>> > >> >> >> the t38 fax detection job only by FS.<br>
>> > >> >> >><br>
>> > >> >> >> Establish a call from the Fax device to a phone. Can your<br>
>> hear<br>
>> > >> the<br>
>> > >> >> CNG<br>
>> > >> >> >> signal when you pickup the phone? Does it suddenly stop? If<br>
>> > so,<br>
>> > >> the<br>
>> > >> >> FAX<br>
>> > >> >> >> device or FS/mod_spandsp has sent a t38-ReINVITE.<br>
>> > >> >> >><br>
>> > >> >> >> Do you see something like "media Bug removed" in FS console<br>
>> > >> (DEBUG<br>
>> > >> >> >> level) after 20 seconds of listening to 1100Hz? If so, then<br>
>> FS<br>
>> > >> >> failed<br>
>> > >> >> >> to<br>
>> > >> >> >> detect CNG, hence it never received it (or for too short to<br>
>> > >> detect<br>
>> > >> >> it).<br>
>> > >> >> >><br>
>> > >> >> >> On my Grandstream ATAs this wasn't possible, so I had to<br>
>> > search<br>
>> > >> for<br>
>> > >> >> a<br>
>> > >> >> >> hack.<br>
>> > >> >> >><br>
>> > >> >> >> Hope this will light up your problems a little bit.<br>
>> > >> >> >><br>
>> > >> >> >><br>
>> > >> >> >> > If so, I´m wondering why rxfax in t38 mode is working fine<br>
>> > then<br>
>> > >> -<br>
>> > >> >> >> with re-invite.<br>
>> > >> >> >> Can't tell you with this, never tried that. sorry.<br>
>> > >> >> ><br>
>> > >> >> > Thx,<br>
>> > >> >> ><br>
>> > >> >> > clemens<br>
>> > >> >> ><br>
>> > >> >> > _______________________________________________<br>
>> > >> >> > FreeSWITCH-users mailing list<br>
>> > >> >> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> > >> >> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> > >> >> ><br>
>> > >><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-</a><br>
>> > >> >> users<br>
>> > >> >> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> > >> >> ><br>
>> > >> >><br>
>> > >> >><br>
>> > >> >><br>
>> > >> >> --<br>
>> > >> >> Anthony Minessale II<br>
>> > >> >><br>
>> > >> >> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
>> > >> >> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
>> > >> >> Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
>> > >> >><br>
>> > >> >> AIM: anthm<br>
>> > >> >> <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
>> > >> >> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
>> > >> >> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
>> > >> >><br>
>> > >> >> FreeSWITCH Developer Conference<br>
>> > >> >> <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
>> > >> >> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
>> > >> >> pstn:+19193869900<br>
>> > >> >><br>
>> > >> >> _______________________________________________<br>
>> > >> >> FreeSWITCH-users mailing list<br>
>> > >> >> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> > >> >> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> > >> >><br>
>> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-</a><br>
>> > >> >> users<br>
>> > >> >> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> > >> ><br>
>> > >> > _______________________________________________<br>
>> > >> > FreeSWITCH-users mailing list<br>
>> > >> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> > >> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> > >> ><br>
>> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-</a><br>
>> > >> users<br>
>> > >> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> > >> ><br>
>> > >><br>
>> > >><br>
>> > >><br>
>> > >> --<br>
>> > >> Anthony Minessale II<br>
>> > >><br>
>> > >> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
>> > >> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
>> > >> Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
>> > >><br>
>> > >> AIM: anthm<br>
>> > >> <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
>> > >> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
>> > >> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
>> > >><br>
>> > >> FreeSWITCH Developer Conference<br>
>> > >> <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
>> > >> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
>> > >> pstn:+19193869900<br>
>> > >><br>
>> > >> _______________________________________________<br>
>> > >> FreeSWITCH-users mailing list<br>
>> > >> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> > >> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> > >><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-</a><br>
>> > >> users<br>
>> > >> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> > ><br>
>> > > _______________________________________________<br>
>> > > FreeSWITCH-users mailing list<br>
>> > > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> > > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> > > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-</a><br>
>> > users<br>
>> > > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> > ><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > Anthony Minessale II<br>
>> ><br>
>> > FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
>> > ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
>> > Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
>> ><br>
>> > AIM: anthm<br>
>> > <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
>> > GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
>> > IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
>> ><br>
>> > FreeSWITCH Developer Conference<br>
>> > <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
>> > <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
>> > pstn:+19193869900<br>
>> ><br>
>> > _______________________________________________<br>
>> > FreeSWITCH-users mailing list<br>
>> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-</a><br>
>> > users<br>
>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>