<extension name="tdm_to_sip">
  <condition field="destination_number" expression="^1234$">
    <action application="t38_gateway" data="peer"/>
    <action application="bridge" data="sofia/blah/blah"/>
  </condition>
</extension>

<extension name="sip_to_tdm">                                                   
                                                                             
  <condition field="destination_number" expression="^1235$">                    
                                                                            
    <action application="t38_gateway" data="self"/>                             
                                                                            
    <action application="bridge" data="openzap/blah/blah"/>                     
                                                                                
    
  </condition>                                                                  
                                                                            
</extension>


<extension name="t38_passthru">                                                 
                                                                           
  <condition field="destination_number" expression="^1236$">                    
                                                                         
    <action application="export" data="t38_passthru=true"/>                     
                                                                            
    <action application="bridge" data="sofia/blah/blah"/>                       
                                                   
  </condition>                                                                  
                                                                            
</extension>

/b

On Jun 4, 2010, at 9:49 AM, François Delawarde wrote:

> How is t38_gateway used?
> 
> Is it fully automatic and autodetects between all possible cases to
> activate when needed (G711<->G711, T38<->G711, G711<->T38 and
> T38<->T38), or does one has to specify which leg has T.38 and activate
> the gateway only when needed?
> 
> Thanks,
> François.


_______________________________________________
FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org

Reply via email to