Detect T.38 reinvite and transcode?
Hi there, Is there a way to have FreeSWITCH detect a T.38 reinvite, accept it, and transcode that into ULAW before sending it on to the B-leg? The fax is neither originated nor terminated on the FS gateway. FS would simply transcode T.38 to ULAW. I looked at the mod_spandsp documentation and it wasn't readily apparent. To be clear host_a -> FS -> host_b host_a sends an INVITE host_b responds with 100, 180, 200 then host_a sends another INVITE with SDP for T.38 Can FS ack that RE-INVITE and transcode, so the legs look like this? host_a -> T.38 -> FS -> ULAW -> host_b Thanks! Bill
that is exactly what t38_gateway does. /b On Apr 14, 2011, at 5:52 PM, Bill W. wrote:
Hi there,
Is there a way to have FreeSWITCH detect a T.38 reinvite, accept it, and transcode that into ULAW before sending it on to the B-leg?
The fax is neither originated nor terminated on the FS gateway. FS would simply transcode T.38 to ULAW.
I looked at the mod_spandsp documentation and it wasn't readily apparent.
To be clear host_a -> FS -> host_b
host_a sends an INVITE host_b responds with 100, 180, 200 then host_a sends another INVITE with SDP for T.38
Can FS ack that RE-INVITE and transcode, so the legs look like this? host_a -> T.38 -> FS -> ULAW -> host_b
Thanks! Bill
_______________________________________________ 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
Thanks so much Brian! Seriously, the whole FreeSWITCH team deserves a big round of applause. It's such a pleasure to get the answer "Oh yeah, it already does that". I documented this in the Wiki too. For posterity: <extension name="t38_reinvite"> <condition> <action application="set" data="fax_enable_t38=true"/> <action application="set" data="fax_enable_t38_request=true"/> <action application="set" data="t38_gateway_format=udptl"/> <action application="set" data="execute_on_answer=t38_gateway self"/> <action application="bridge" data="sofia/external/1234@host"/> </condition> </extension> Aastral Communications bweidman@aastral.net Tel: 786-522-0440 Tel: 888-404-3280 Cell: 954-540-4931 On 4/14/11 7:04 PM, Brian West wrote:
that is exactly what t38_gateway does.
/b
On Apr 14, 2011, at 5:52 PM, Bill W. wrote:
Hi there,
Is there a way to have FreeSWITCH detect a T.38 reinvite, accept it, and transcode that into ULAW before sending it on to the B-leg?
The fax is neither originated nor terminated on the FS gateway. FS would simply transcode T.38 to ULAW.
I looked at the mod_spandsp documentation and it wasn't readily apparent.
To be clear host_a -> FS -> host_b
host_a sends an INVITE host_b responds with 100, 180, 200 then host_a sends another INVITE with SDP for T.38
Can FS ack that RE-INVITE and transcode, so the legs look like this? host_a -> T.38 -> FS -> ULAW -> host_b
Thanks! Bill
_______________________________________________ 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
Thanks for paying the wiki tax! Now you just need to sign up for cluecon... ;) -MC On Thu, Apr 14, 2011 at 8:33 PM, Bill W. <freeswitch@aastral.net> wrote:
Thanks so much Brian!
Seriously, the whole FreeSWITCH team deserves a big round of applause. It's such a pleasure to get the answer "Oh yeah, it already does that".
I documented this in the Wiki too.
For posterity: <extension name="t38_reinvite"> <condition> <action application="set" data="fax_enable_t38=true"/> <action application="set" data="fax_enable_t38_request=true"/> <action application="set" data="t38_gateway_format=udptl"/> <action application="set" data="execute_on_answer=t38_gateway self"/> <action application="bridge" data="sofia/external/1234@host"/> </condition> </extension>
Aastral Communications bweidman@aastral.net Tel: 786-522-0440 Tel: 888-404-3280 Cell: 954-540-4931
On 4/14/11 7:04 PM, Brian West wrote:
that is exactly what t38_gateway does.
/b
On Apr 14, 2011, at 5:52 PM, Bill W. wrote:
Hi there,
Is there a way to have FreeSWITCH detect a T.38 reinvite, accept it, and transcode that into ULAW before sending it on to the B-leg?
The fax is neither originated nor terminated on the FS gateway. FS would simply transcode T.38 to ULAW.
I looked at the mod_spandsp documentation and it wasn't readily apparent.
To be clear host_a -> FS -> host_b
host_a sends an INVITE host_b responds with 100, 180, 200 then host_a sends another INVITE with SDP for T.38
Can FS ack that RE-INVITE and transcode, so the legs look like this? host_a -> T.38 -> FS -> ULAW -> host_b
Thanks! Bill
_______________________________________________ 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
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Bill W.
-
Brian West
-
Michael Collins