You need to have separate group of destinations and dispatch the calls based on where they are coming from:

http://www.opensips.org/html/docs/modules/1.5.x/dispatcher.html#id293400

Regards,
Ali Pey


On Wed, Apr 16, 2014 at 10:39 AM, Marcin M. <m2m@poczta.fm> wrote:
Ali , what i want to reach is SIP proxy (5060,5080) with dispatcher and freeswitch servers in multidomain mode with sip profiles (internal- 5060,external-5080 ).  Now have freeswitch part working , but have no idea how i can modify opensips configuration to work on two ports,5060,5080 .

scenario:
1. From user proxy will recieve  sip msg at port 5060 then this msg will be dispatched to freeswith servers to the same port 5060(internal profile)
2.From provider proxy will recieve sip msg at port 5080 and i need to dispatch it to freeswitch servers to port 5080 (external profile)

Do you know how i can modify opensips configuration from this link  ??:
http://wiki.freeswitch.org/wiki/OpenSIPS_configuration_for_2_or_more_FreeSWITCH_installs#Start_OpenSIPS

Thanks for any help ALI

W dniu 16.04.2014 15:48, Ali Pey pisze:
Then you need two entries. Each are a separate identity and sip profile. There is no such as thing as port range.

Regards,
Ali Pey


On Wed, Apr 16, 2014 at 2:25 AM, Marcin M. <m2m@poczta.fm> wrote:
yes, but i want to use both ports : 5060 and 5080

W dniu 15.04.2014 23:23, Ali Pey pisze:
In opensips, Add the port at the end of your destination ip. e.g. 10.11.12.13:5070

Regards,
Ali Pey



On Tue, Apr 15, 2014 at 5:23 PM, Marcin M. <m2m@poczta.fm> wrote:
Hi Ali,

Iam using dispatcher to load balance . It is the  same configuration as in sample link. On freeswitch side iam using multidomain configuration.
How i can modify opensips conf to handle sip msg on 5080 port ?


W dniu 15.04.2014 19:40, Ali Pey pisze:
Hello,

I use opensips with other ports than 5060. You just need to configure it properly in opensips. What modules do you use for load balancing?

Regards,
Ali Pey




On Tue, Apr 8, 2014 at 8:36 AM, Marcin M. <m2m@poczta.fm> wrote:
Hi ,
iam using this configuration
http://wiki.freeswitch.org/wiki/OpenSIPS_configuration_for_2_or_more_FreeSWITCH_installs#Download_and_compile_OpenSIPS_1.7.1
for load balancing FreeSWITCH servers, everything works fine if i use
port 5060  ( user -> opensips-> freeswitch ). If i want to use other
port for incoming calls  from providers , let say 5080 as is in external
profile in Freeswitch ( provider -> opensips:5080-> freeswitch:5080 ),
how i can do that ?? maybe someone have same situation ?? or maybe i can
configure gateways on internal profile on freeswitch , if that will work ??

Thanks for any info
Marcin

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.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
http://www.freeswitch.org