[OpenSIPS-Users] I need help in rtpengine module of opensips-2.2
Sasmita Panda
spanda at 3clogic.com
Mon Oct 8 04:37:40 EDT 2018
I have open an issue . Please do help me on this .
Let me know if anything I can do . Its very important for me as I am middle
of delivering my build .
https://github.com/OpenSIPS/opensips/issues/1488
*Thanks & Regards*
*Sasmita Panda*
*Senior Network Testing and Software Engineer*
*3CLogic , ph:07827611765*
On Mon, Oct 8, 2018 at 1:58 PM Sasmita Panda <spanda at 3clogic.com> wrote:
> Yes , you are right . If I am making it 1 , then calls are going to 2nd
> rtpengine even if 1st one is reachable .
>
> I will open an issue . Let me test this for some more calls .
>
>
> *Thanks & Regards*
> *Sasmita Panda*
> *Senior Network Testing and Software Engineer*
> *3CLogic , ph:07827611765*
>
>
> On Mon, Oct 8, 2018 at 1:54 PM Răzvan Crainea <razvan at opensips.org> wrote:
>
>> if you are doing like that, you are dispatching 3 quarters of traffic to
>> the first one, and one quarter to the second one, it's not used just for
>> failover. The second one must be 0 if you want to have it as failover.
>> If it is not working with 0, please open an issue on github[1].
>>
>> [1] https://github.com/OpenSIPS/opensips/issues
>>
>> Best regards,
>> Razvan
>>
>> On 10/8/18 11:11 AM, Sasmita Panda wrote:
>> > After making like below its working fine .
>> >
>> > modparam("rtpengine", "rtpengine_sock", "udp:1st_ip:12000
>> > <http://138.197.47.209:12000/>=3 udp:2nd_ip:1200
>> > <http://104.131.174.53:1200/>0=1")
>> >
>> > OR
>> >
>> > modparam("rtpengine", "rtpengine_sock", "udp:1st_ip:12000
>> > <http://138.197.47.209:12000/>=3")
>> > modparam("rtpengine", "rtpengine_sock", "udp:2nd_ip:1200
>> > <http://104.131.174.53:1200/>0=1")
>> >
>> > Now its working . Let me know if I am doing anything wrong .
>> >
>> > */Thanks & Regards/*
>> > /Sasmita Panda/
>> > /Senior Network Testing and Software Engineer/
>> > /3CLogic , ph:07827611765/
>> >
>> >
>> > On Mon, Oct 8, 2018 at 1:18 PM Sasmita Panda <spanda at 3clogic.com
>> > <mailto:spanda at 3clogic.com>> wrote:
>> >
>> > If I am setting 2nd one to 0 , Then offcource 1st one becomes
>> > primary . But it wont switch to 2nd one when 1st wont reachable .
>> >
>> > I am getting error as bellow .
>> >
>> > INFO:rtpengine:rtpe_test: rtp proxy <udp:2nd_ip:12000> found,
>> > support for it enabled
>> > ERROR:rtpengine:rtpe_function_call: no available proxies
>> > ERROR:rtpengine:send_rtpe_command: can't send command to a RTP proxy
>> > ERROR:rtpengine:send_rtpe_command: proxy <udp:1st_ip:12000> does not
>> > respond, disable it
>> > ERROR:rtpengine:rtpe_test: proxy did not respond to ping
>> >
>> > I have intentionally stopped the 1st one to test if its switching to
>> > 2nd or not . I am getting this in the logs each time I am placing a
>> > call .
>> >
>> > */Thanks & Regards/*
>> > /Sasmita Panda/
>> > /Senior Network Testing and Software Engineer/
>> > /3CLogic , ph:07827611765/
>> >
>> >
>> > On Mon, Oct 8, 2018 at 12:57 PM Răzvan Crainea <razvan at opensips.org
>> > <mailto:razvan at opensips.org>> wrote:
>> >
>> > Hi, Sasmita!
>> >
>> > You can try to set a weight of 0 to the second rtpengine socket,
>> > something like:
>> >
>> > modparam("rtpengine", "rtpengine_sock",
>> > "udp:138.197.47.209:12000 <http://138.197.47.209:12000>
>> > udp:104.131.174.53:1200=0")
>> >
>> > Let me know if this works or you're finding any issues.
>> >
>> > Best regards,
>> > Razvan
>> >
>> > On 10/8/18 8:40 AM, Sasmita Panda wrote:
>> > > Hi All ,
>> > >
>> > > I am using opensips-2.2 with rtpengine . I have 2 server
>> where
>> > > rtpengine is running . I want opensips should do failover
>> > between these
>> > > 2 server .
>> > >
>> > > In my opensips confing is like
>> > >
>> > > loadmodule "rtpengine.so"
>> > > modparam("rtpengine", "rtpengine_sock",
>> > "udp:138.197.47.209:12000 <http://138.197.47.209:12000>
>> > > <http://138.197.47.209:12000> udp:104.131.174.53:1200
>> > <http://104.131.174.53:1200>
>> > > <http://104.131.174.53:1200>")
>> > >
>> > > In this case loadbalance happened between 2 rtpenigne , and
>> > if 1 fails
>> > > then 2nd one get used . But I dont want this . I want to set
>> > 1 always
>> > > 1st priority if that fails then 2nd will get used . How I
>> > will do this .
>> > > I am not getting this is opensips module documentation . Can
>> > anybody
>> > > please help me .
>> > >
>> > > */Thanks & Regards/*
>> > > /Sasmita Panda/
>> > > /Senior Network Testing and Software Engineer/
>> > > /3CLogic , ph:07827611765/
>> > >
>> > > _______________________________________________
>> > > Users mailing list
>> > > Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>> > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> > >
>> >
>> > --
>> > Răzvan Crainea
>> > OpenSIPS Core Developer
>> > http://www.opensips-solutions.com
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> >
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at lists.opensips.org
>> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> >
>>
>> --
>> Răzvan Crainea
>> OpenSIPS Core Developer
>> http://www.opensips-solutions.com
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20181008/8c3a454b/attachment.html>
More information about the Users
mailing list