<div dir="ltr">You need to have separate group of destinations and dispatch the calls based on where they are coming from:<div><br></div><div><a href="http://www.opensips.org/html/docs/modules/1.5.x/dispatcher.html#id293400">http://www.opensips.org/html/docs/modules/1.5.x/dispatcher.html#id293400</a></div>
<div><br></div><div>Regards,</div><div>Ali Pey<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 16, 2014 at 10:39 AM, Marcin M. <span dir="ltr"><<a href="mailto:m2m@poczta.fm" target="_blank">m2m@poczta.fm</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
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 .<br>
<br>
scenario:<br>
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)<br>
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)<br>
<br>
Do you know how i can modify opensips configuration from this link
??:<br>
<a href="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/" target="_blank">http://wiki.freeswitch.org/wiki/OpenSIPS_configuration_for_2_or_more_FreeSWITCH_installs#Start_OpenSIPS</a><br>
<br>
Thanks for any help ALI<br>
<br>
<div>W dniu 16.04.2014 15:48, Ali Pey pisze:<br>
</div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">Then you need two entries. Each are a separate
identity and sip profile. There is no such as thing as port
range.
<div><br>
</div>
<div>Regards,</div>
<div>Ali Pey<br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">
On Wed, Apr 16, 2014 at 2:25 AM, Marcin M. <span dir="ltr"><<a href="mailto:m2m@poczta.fm" target="_blank">m2m@poczta.fm</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> yes, but i want
to use both ports : 5060 and 5080 <br>
<br>
<div>W dniu 15.04.2014 23:23, Ali Pey pisze:<br>
</div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr">In opensips, Add the port at the
end of your destination ip. e.g. <a href="http://10.11.12.13:5070" target="_blank">10.11.12.13:5070</a>
<div><br>
</div>
<div>Regards,</div>
<div>Ali Pey</div>
<div><br>
</div>
</div>
<div class="gmail_extra"> <br>
<br>
<div class="gmail_quote">On Tue, Apr 15, 2014
at 5:23 PM, Marcin M. <span dir="ltr"><<a href="mailto:m2m@poczta.fm" target="_blank">m2m@poczta.fm</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> Hi
Ali,<br>
<br>
Iam using dispatcher to load balance .
It is the same configuration as in
sample link. On freeswitch side iam
using multidomain configuration.<br>
How i can modify opensips conf to handle
sip msg on 5080 port ? <br>
<br>
<br>
<div>W dniu 15.04.2014 19:40, Ali Pey
pisze:<br>
</div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr">Hello,
<div><br>
</div>
<div>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?</div>
<div><br>
</div>
<div>Regards,</div>
<div> Ali Pey</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Tue,
Apr 8, 2014 at 8:36 AM, Marcin
M. <span dir="ltr"><<a href="mailto:m2m@poczta.fm" target="_blank">m2m@poczta.fm</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi ,<br>
iam using this configuration<br>
<a href="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/" target="_blank">http://wiki.freeswitch.org/</a>wiki/OpenSIPS_configuration_for_2_or_more_FreeSWITCH_installs#Download_and_compile_OpenSIPS_1.7.1<br>
for load balancing
FreeSWITCH servers,
everything works fine if i
use<br>
port 5060 ( user ->
opensips-> freeswitch ).
If i want to use other<br>
port for incoming calls
from providers , let say
5080 as is in external<br>
profile in Freeswitch (
provider ->
opensips:5080->
freeswitch:5080 ),<br>
how i can do that ?? maybe
someone have same situation
?? or maybe i can<br>
configure gateways on
internal profile on
freeswitch , if that will
work ??<br>
<br>
Thanks for any info<br>
Marcin<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH
Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="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" target="_blank">http://www.</a><a href="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" target="_blank">freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX:
The CudaTel Communication
Server<br>
<a href="https://contactmonkey.com/api/tracker?cm_session=4d6a68b2-af2d-4bbf-bc8d-dae600440c57&cm_type=link&cm_link=471d4ef8-b569-4fb7-9b32-bfb96ea6f218&cm_destination=http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="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" target="_blank">http://www.freeswitch.org</a><br>
<a href="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" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="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" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing
list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.</a><a href="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" target="_blank">freeswitch.org</a><br>
<a href="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/" target="_blank">http://lists.freeswitch.org/</a>mailman/listinfo/freeswitch-users<br>
UNSUBSCRIBE:<a href="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" target="_blank">http://lists.</a><a href="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/" target="_blank">freeswitch.org/mailman/</a>options/freeswitch-users<br>
<a href="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" target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div></div></div>