[Freeswitch-users] How to set FS_A as a gateway of FS_B??

Edmar Cruz darklion11 at yahoo.com
Mon Jun 29 23:37:27 PDT 2009


Create a dialplan for FS A to communicate to FS B.

dialplan/default/00_fsa.xml

 <extension name="dialfreeswitch">
   
    <condition field="destination_number" expression="^(\d+)$">
      <action application="set"
data="effective_caller_id_number=${outbound_caller_id_number}"/>
      <action application="set"
data="effective_caller_id_name=${outbound_caller_id_name}"/>
      <action application="bridge"
data="sofia/gateway/FreeSwitch/1$218.210.xxx.xxx"/> -> IP of FS B
    </condition>
  </extension>

To check if your gateway succeed

just type on sofia status check if gateway FreeSWITCH is there connection is
set and ready to go :)


Brad Tuan wrote:
> 
> I have already set it in my FreeSwitch\conf\sip_profiles\external.xml:
> 
> <gateways>
>   <gateway name="FreeSwitch">
>            
>            
>            
>            
>            
>            
>            
>    </gateway>
>  </gateways>
> But my FS_A always return a 403 to FS_B, Where is the problem??
> 
> _______________________________________________
> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-set-FS_A-as-a-gateway-of-FS_B---tp24266777p24266862.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.





More information about the FreeSWITCH-users mailing list