How to set FS_A as a gateway of FS_B??
I have already set it in my FreeSwitch\conf\sip_profiles\external.xml: <gateways> <gateway name="FreeSwitch"> <param name="username" value="1008"/> <param name="realm" value="218.210.xxx.xxx"/> <param name="password" value="1234"/> <param name="extension" value="1008"/> <param name="proxy" value="218.210.xxx.xxx"/> <param name="expire-seconds" value="3600"/> <param name="retry-seconds" value="10"/> </gateway> </gateways> But my FS_A always return a 403 to FS_B, Where is the problem??
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@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---tp24266777p2426... Sent from the Freeswitch-users mailing list archive at Nabble.com.
participants (2)
-
Brad Tuan
-
Edmar Cruz