Hello Vrajendra,

There are several ways to achieve this. The question is what is the reason you're doing this? It would be good to understand the scenario.
In VoIP, you can use prefixes to redirect incoming calls or outgoing calls to specific gateways or even use sip proxy strategies.

In addition, if you share your config here I am pretty sure someone from the mailing list can help you.

Thanks
Jose N Figueroa

On Wed, May 8, 2019 at 12:40 PM Vrajendra VT via FreeSWITCH-users <freeswitch-users@lists.freeswitch.org> wrote:



---------- Forwarded message ----------
From: Vrajendra VT <vrajendra.vt@yahoo.com>
To: "freeswitch-users@lists.freeswitch.org" <freeswitch-users@lists.freeswitch.org>
Cc: 
Bcc: 
Date: Wed, 8 May 2019 14:19:04 +0000 (UTC)
Subject: redirect + swapping of ports
Hi,

I am a novice in Freeswitch.

I have a provider sending me calls on 5060 port only.
I have 2 FS's. Calls are landing on FS1. From FS1, I need to redirect to FS2
(lets assume all calls to be redirected)
With normal config's (I had done few config changes in default and public),
I was able to get some logs albeit (Proxy Authentication error). This may be
because by default internal calls are authenticated.

Thats why I swapped ports 5060 and 5080 of internal and external profiles.
But I am getting 480 error

Any help is appreciated. Thanks.


Thanks.



---------- Forwarded message ----------
From: Vrajendra VT via FreeSWITCH-users <freeswitch-users@lists.freeswitch.org>
To: "freeswitch-users@lists.freeswitch.org" <freeswitch-users@lists.freeswitch.org>
Cc: 
Bcc: 
Date: Wed, 08 May 2019 10:40:28 -0700 (PDT)
Subject: [Freeswitch-users] redirect + swapping of ports
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

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
https://freeswitch.com