As far as I know, you can't, because T38 is not advertised at first.T38 starts with regular codecs in the SDP, and then later, a T38 REINVITE is negotiated.
I guess the easiest way to handle that is:
-enable proxy media based on DID for inbound fax
-enable proxy media based on CLID for outbound fax
This requires to have specific extensions in your dialplan.
For outbound, you can also have a dedicated SIP profile for T38 ATAs so you can enable proxy-media for the whole profile.
For inbound, you may do the same if your ITSP/gateway can send you the fax DIDs on a specific trunk (so to a specific SIP profile).
Be aware that T38 is a PITA, and that you really need to validate that your T38 device is compatible with the other endpoint, which is probably a gateway.
If this gateway is yours, that's fine because you control it, and you can rely on it for your T38 service.
If it's not yours, you could have issues if some day, your iTSP decices to change it.
David Ponzone Direction Technique
tel: 01 74 03 18 97
gsm: 06 66 98 76 34
Service Client IPeva
tel: 0811 46 26 26
Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.
Le 05/04/2010 à 00:00, Max Clark a écrit :
How would one detect T38 and convert the session into proxy media?
On Sun, Apr 4, 2010 at 11:35 AM, David Ponzone <
david.ponzone@gmail.com> wrote:
No, FreeSWITCH does NOT need to be in bypass media or proxy media.
You just need the regular passthrough module: mod_g729 and to allow G729 as
inbound and outbound codecs in vars.xml.
To summarize:
-normal mode (proxy disabled, bypass disabled): FreeSWITCH is in the RTP
path, it relays the audio stream between endpoints, but can still detect
DTMFs
-proxy media enabled: FreeSWITCH relays the audio stream transparently, DTMF
detection is impossible. In this mode, FS is really a "dumb" transparent
RTP-forwarder (this is required to get T38 working between the 2 endpoints)
-bypass media enabled: FreeSWITCH is not in the RTP path
David Ponzone Direction Technique
email: david.ponzone@ipeva.fr
tel: 01 74 03 18 97
gsm: 06 66 98 76 34
Service Client IPeva
tel: 0811 46 26 26
www.ipeva.fr - www.ipeva-studio.com
Ce message et toutes les pièces jointes sont confidentiels et établis à
l'intention exclusive de ses destinataires. Toute utilisation ou diffusion
non autorisée est interdite. Tout message électronique est susceptible
d'altération. IPeva décline toute responsabilité au titre de ce message s'il
a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce
message, merci de le détruire immédiatement et d'avertir l'expéditeur.
Le 04/04/2010 à 20:12, Max Clark a écrit :
Clarification - for G729 does freeswitch need to be in "bypass media"
or "proxy media"? My understanding was that G729 would work with
"proxy media" enabled and without the new fangled module?
-Max
On Fri, Apr 2, 2010 at 2:23 AM, Jason White <jason@jasonjgw.net> wrote:
Frank Church <vfclists@googlemail.com> wrote:
I am just trialling Freeswitch with Linksys adapters, whose default
codec I have set to G729 with 'Use Pref Codec Only:' set to no.
When I change that setting to 'yes' the calls don't go through. I am
using the latest Windows SVN.
FreeSWITCH only supports G.729 in pass-through mode (i.e., with bypass media
enabled). Apparently you can buy a G.729 licence for FreeSWITCH if you
really
need it.
My recommendation would be to use a codec other than G.729 unless you have a
compelling reason, for example a carrier that only supports G.729.
_______________________________________________
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
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org