Bridging Gateway from another server
I'm trying to do an outbound scenario as following : Client --> FS1 --> FS2 --> SBC It maybe more simple if I add the SBC as gateway to FS1, but it only accept IP from FS2 due to IP restriction from provider. Is there any possible solution for this scenario?
on FS1 machine define FS2 as gateway and bridge the call to it... <extension name="To_FS2"> <condition field="destination_number" expression="(.*)"> <action application="bridge" data="sofia/gateway/FS2/$1"/> </condition> </extension> or without creating any gateways just bridge to FS2 IP address... <extension name="To_FS2"> <condition field="destination_number" expression="(.*)"> <action application="bridge" data="sofia/profilename/$1@FS2_IP"/> </condition> </extension> On Thu, May 26, 2011 at 12:06 PM, William Alianto <william@xofap.com> wrote:
I'm trying to do an outbound scenario as following :
Client --> FS1 --> FS2 --> SBC
It maybe more simple if I add the SBC as gateway to FS1, but it only accept IP from FS2 due to IP restriction from provider. Is there any possible solution for this scenario?
_______________________________________________ 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
I tried both scenario, but it return as "Incompatible Destination" instead. Do I missed some step? On 2:59, Tihomir Culjaga wrote:
on FS1 machine define FS2 as gateway and bridge the call to it...
<extension name="To_FS2"> <condition field="destination_number" expression="(.*)"> <action application="bridge" data="sofia/gateway/FS2/$1"/> </condition> </extension>
or without creating any gateways just bridge to FS2 IP address...
<extension name="To_FS2"> <condition field="destination_number" expression="(.*)"> <action application="bridge" data="sofia/profilename/$1@FS2_IP"/> </condition> </extension>
On Thu, May 26, 2011 at 12:06 PM, William Alianto <william@xofap.com <mailto:william@xofap.com>> wrote:
I'm trying to do an outbound scenario as following :
Client --> FS1 --> FS2 --> SBC
It maybe more simple if I add the SBC as gateway to FS1, but it only accept IP from FS2 due to IP restriction from provider. Is there any possible solution for this scenario?
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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
-- Regards, William
yap, can u provide a siptrace (sofia profile <your profile> siptrace on) along with debug logs on both FS ? put them on pastebin. T. On Fri, May 27, 2011 at 11:33 AM, William Alianto <william@xofap.com> wrote:
I tried both scenario, but it return as "Incompatible Destination" instead. Do I missed some step?
On 2:59, Tihomir Culjaga wrote:
on FS1 machine define FS2 as gateway and bridge the call to it...
<extension name="To_FS2"> <condition field="destination_number" expression="(.*)"> <action application="bridge" data="sofia/gateway/FS2/$1"/> </condition> </extension>
or without creating any gateways just bridge to FS2 IP address...
<extension name="To_FS2"> <condition field="destination_number" expression="(.*)"> <action application="bridge" data="sofia/profilename/$1@FS2_IP"/> </condition> </extension>
On Thu, May 26, 2011 at 12:06 PM, William Alianto <william@xofap.com>wrote:
I'm trying to do an outbound scenario as following :
Client --> FS1 --> FS2 --> SBC
It maybe more simple if I add the SBC as gateway to FS1, but it only accept IP from FS2 due to IP restriction from provider. Is there any possible solution for this scenario?
_______________________________________________ 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
-- Regards,
William
_______________________________________________ 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
I found out that it's codec problem. I enabled the wrong codec, so it didn't connect. After I fixed the codec, the call still not successful. I didn't see any incoming log on FS2 either. On 2:59, Tihomir Culjaga wrote:
yap,
can u provide a siptrace (sofia profile <your profile> siptrace on) along with debug logs on both FS ?
put them on pastebin.
T.
On Fri, May 27, 2011 at 11:33 AM, William Alianto <william@xofap.com <mailto:william@xofap.com>> wrote:
I tried both scenario, but it return as "Incompatible Destination" instead. Do I missed some step?
On 2:59, Tihomir Culjaga wrote:
on FS1 machine define FS2 as gateway and bridge the call to it...
<extension name="To_FS2"> <condition field="destination_number" expression="(.*)"> <action application="bridge" data="sofia/gateway/FS2/$1"/> </condition> </extension>
or without creating any gateways just bridge to FS2 IP address...
<extension name="To_FS2"> <condition field="destination_number" expression="(.*)"> <action application="bridge" data="sofia/profilename/$1@FS2_IP"/> </condition> </extension>
On Thu, May 26, 2011 at 12:06 PM, William Alianto <william@xofap.com <mailto:william@xofap.com>> wrote:
I'm trying to do an outbound scenario as following :
Client --> FS1 --> FS2 --> SBC
It maybe more simple if I add the SBC as gateway to FS1, but it only accept IP from FS2 due to IP restriction from provider. Is there any possible solution for this scenario?
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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
-- Regards,
William
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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
We still need to see a debug w/ sip trace if you want us to help you with this. -MC On Mon, May 30, 2011 at 3:21 AM, William Alianto <william@xofap.com> wrote:
I found out that it's codec problem. I enabled the wrong codec, so it didn't connect. After I fixed the codec, the call still not successful. I didn't see any incoming log on FS2 either.
That means a codec negotiation problem. Remember you'll need to configure your dialplan on FS2 so the calls from FS1 go to the gateway. -Steve On 27 May 2011 10:33, William Alianto <william@xofap.com> wrote:
I tried both scenario, but it return as "Incompatible Destination" instead. Do I missed some step?
On 2:59, Tihomir Culjaga wrote:
on FS1 machine define FS2 as gateway and bridge the call to it...
<extension name="To_FS2"> <condition field="destination_number" expression="(.*)"> <action application="bridge" data="sofia/gateway/FS2/$1"/> </condition> </extension>
or without creating any gateways just bridge to FS2 IP address...
<extension name="To_FS2"> <condition field="destination_number" expression="(.*)"> <action application="bridge" data="sofia/profilename/$1@FS2_IP"/> </condition> </extension>
On Thu, May 26, 2011 at 12:06 PM, William Alianto <william@xofap.com>wrote:
I'm trying to do an outbound scenario as following :
Client --> FS1 --> FS2 --> SBC
It maybe more simple if I add the SBC as gateway to FS1, but it only accept IP from FS2 due to IP restriction from provider. Is there any possible solution for this scenario?
_______________________________________________ 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
-- Regards,
William
_______________________________________________ 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
participants (4)
-
Michael Collins
-
Steven Ayre
-
Tihomir Culjaga
-
William Alianto