[Freeswitch-users] OpenSIPS configuration for 2 or more FreeSWITCH installs

Marcin M. m2m at poczta.fm
Fri Apr 18 13:18:52 MSD 2014


it works, thank you

W dniu 16.04.2014 20:03, Ali Pey pisze:
> 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 at poczta.fm 
> <mailto:m2m at 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
>     <https://contactmonkey.com/api/tracker?cm_session=4d6a68b2-af2d-4bbf-bc8d-dae600440c57&cm_type=link&cm_link=05dd0a5f-3151-432b-a5a3-7a29b6af4fcb&cm_destination=http://wiki.freeswitch.org/>
>
>     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 at poczta.fm
>>     <mailto:m2m at 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 <http://10.11.12.13:5070>
>>>
>>>         Regards,
>>>         Ali Pey
>>>
>>>
>>>
>>>         On Tue, Apr 15, 2014 at 5:23 PM, Marcin M. <m2m at poczta.fm
>>>         <mailto:m2m at 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 at poczta.fm <mailto:m2m at poczta.fm>> wrote:
>>>>
>>>>                 Hi ,
>>>>                 iam using this configuration
>>>>                 http://wiki.freeswitch.org/
>>>>                 <https://contactmonkey.com/api/tracker?cm_session=4d6a68b2-af2d-4bbf-bc8d-dae600440c57&cm_type=link&cm_link=05dd0a5f-3151-432b-a5a3-7a29b6af4fcb&cm_destination=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 at freeswitch.org
>>>>                 <mailto:consulting at freeswitch.org>
>>>>                 http://www.
>>>>                 <https://contactmonkey.com/api/tracker?cm_session=4d6a68b2-af2d-4bbf-bc8d-dae600440c57&cm_type=link&cm_link=79618996-06b4-4891-9228-094746aec60b&cm_destination=http://www.freeswitchsolutions.com>freeswitchsolutions.com
>>>>                 <https://contactmonkey.com/api/tracker?cm_session=4d6a68b2-af2d-4bbf-bc8d-dae600440c57&cm_type=link&cm_link=0f16f3fd-2c45-4f18-80c6-e7fbca3032e8&cm_destination=http://freeswitchsolutions.com>
>>>>
>>>>                 FreeSWITCH-powered IP PBX: The CudaTel
>>>>                 Communication Server
>>>>                 
>>>>                 <https://contactmonkey.com/api/tracker?cm_session=4d6a68b2-af2d-4bbf-bc8d-dae600440c57&cm_type=link&cm_link=471d4ef8-b569-4fb7-9b32-bfb96ea6f218&cm_destination=>
>>>>
>>>>                 Official FreeSWITCH Sites
>>>>                 http://www.freeswitch.org
>>>>                 <https://contactmonkey.com/api/tracker?cm_session=4d6a68b2-af2d-4bbf-bc8d-dae600440c57&cm_type=link&cm_link=edb05f0a-d631-4fb0-8f70-4a7f41745d20&cm_destination=http://www.freeswitch.org>
>>>>                 http://wiki.freeswitch.org
>>>>                 <https://contactmonkey.com/api/tracker?cm_session=4d6a68b2-af2d-4bbf-bc8d-dae600440c57&cm_type=link&cm_link=fb096bf0-692e-4d27-8cd5-755e56193fb0&cm_destination=http://wiki.freeswitch.org>
>>>>                 http://www.cluecon.com
>>>>                 <https://contactmonkey.com/api/tracker?cm_session=4d6a68b2-af2d-4bbf-bc8d-dae600440c57&cm_type=link&cm_link=a604baf7-49ca-42c0-9b79-f758d81e2db2&cm_destination=http://www.cluecon.com>
>>>>
>>>>                 FreeSWITCH-users mailing list
>>>>                 FreeSWITCH-users at lists.
>>>>                 <mailto:FreeSWITCH-users at lists.freeswitch.org>freeswitch.org
>>>>                 <https://contactmonkey.com/api/tracker?cm_session=4d6a68b2-af2d-4bbf-bc8d-dae600440c57&cm_type=link&cm_link=8ecf7e33-0618-4244-80b0-ea4bd934cd57&cm_destination=http://freeswitch.org>
>>>>                 http://lists.freeswitch.org/
>>>>                 <https://contactmonkey.com/api/tracker?cm_session=4d6a68b2-af2d-4bbf-bc8d-dae600440c57&cm_type=link&cm_link=d4cb0543-cbff-4417-8c06-a16ae8eebd04&cm_destination=http://lists.freeswitch.org/>mailman/listinfo/freeswitch-users
>>>>                 UNSUBSCRIBE:http://lists.
>>>>                 <https://contactmonkey.com/api/tracker?cm_session=4d6a68b2-af2d-4bbf-bc8d-dae600440c57&cm_type=link&cm_link=6f341073-81d6-4a90-9a0a-9578de83214a&cm_destination=http://lists.freeswitch.org/mailman/options/freeswitch-users>freeswitch.org/mailman/
>>>>                 <https://contactmonkey.com/api/tracker?cm_session=4d6a68b2-af2d-4bbf-bc8d-dae600440c57&cm_type=link&cm_link=031fcfd4-42c8-4ce5-958a-ba7e79a46a2d&cm_destination=http://freeswitch.org/mailman/>options/freeswitch-users
>>>>                 http://www.freeswitch.org
>>>>                 <https://contactmonkey.com/api/tracker?cm_session=4d6a68b2-af2d-4bbf-bc8d-dae600440c57&cm_type=link&cm_link=58b70249-8147-4cf8-905e-3f160366fed7&cm_destination=http://www.freeswitch.org>
>>>>
>>>>
>>>
>>>
>>
>>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140418/9e4780e3/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list