[OpenSIPS-Users] need some help using opensips 3.0 cluster module .

Sasmita Panda spanda at 3clogic.com
Wed Jul 24 08:33:16 EDT 2019


I have some doubts .

 I have cluster having 3 opensips node . 1 mysql DB in which cluster data
is saved and all access that Db . 1 mongo db in which userlocation is saved
.

Questions :
1. In user location of mongo db , it saves the data of the user with the
node IP . Its not the actual AOR of the user . Where does the actual AOR
get saved ? Is that saved in the memory of opensips node only?
 2. As the cluster info is in the mysql DB  , If 1 node will get down ,
then I have to update the DB immediately and restart the service ? OR that
node will be disabled automatically no need of service restart ?

*Thanks & Regards*
*Sasmita Panda*
*Senior Network Testing and Software Engineer*
*3CLogic , ph:07827611765*


On Tue, Jul 23, 2019 at 12:41 PM Sasmita Panda <spanda at 3clogic.com> wrote:

> Thank you so much . Its needed to have 5060 port open . Even though there
> was no IP table for restriction but 5060 port was not opened in my
> application .
> When 1 node sends INVITE to other node that sends without port so default
> port must be getting used which was 5060 .
> I opened that port and it works for me .
>
> Thank you again .
>
> *Thanks & Regards*
> *Sasmita Panda*
> *Senior Network Testing and Software Engineer*
> *3CLogic , ph:07827611765*
>
>
> On Mon, Jul 22, 2019 at 6:39 PM Liviu Chircu <liviu at opensips.org> wrote:
>
>> Hi Sasmita,
>>
>> As you can see in the network trace, the "x.x" server is seeing the Mongo
>> data and trying
>> to reach the "x.y" server.  But, for some reason, the UDP packets reach
>> the "x.y" OpenSIPS
>> listener, as "x.x" keeps retransmitting both the INVITE and the CANCEL.
>>
>> * is there a firewall in between that's absorbing packets?
>> * do you have some iptables blocking rules on either "x.x" or "x.y"?
>> * are you able send UDP packets to "172.21.x.y:5060" from "172.21.x.x" at
>> all?
>>
>> Liviu Chircu
>> OpenSIPS Developerhttp://www.opensips-solutions.com
>>
>> On 17.07.2019 15:16, Sasmita Panda wrote:
>>
>> > db.userlocation.find()
>> { "_id" : "454545 at opensips.3c.com172.21.x.y"
>> <454545 at opensips.3c.com172.21.x.y>, "home_ip" : "172.21.x.y", "aor" : "
>> 454545 at opensips.3c.com" }
>> { "_id" : "3344 at opensips.3c.com172.21.x.x"
>> <3344 at opensips.3c.com172.21.x.x>, "home_ip" : "172.21.x.x", "aor" : "
>> 3344 at opensips.3c.com" }
>> not working . both registered through different server .
>>
>>    12 3.602658267 219.65.44.210 → 172.21.x.x  SIP/SDP 1064 Request:
>> INVITE sip:454545 at opensips.3c.com:5508 |
>>    13 3.603565974  172.21.x.x → 219.65.44.210 SIP 446 Status: 100 Giving
>> a try |
>>    14 3.603633107  172.21.x.x → 172.21.x.y SIP/SDP 1231 Request: INVITE
>> sip:454545 at opensips.3c.com |
>>    18 4.074865764  172.21.x.x → 172.21.x.y SIP/SDP 1231 Request: INVITE
>> sip:454545 at opensips.3c.com |
>>    22 5.018386440  172.21.x.x → 172.21.x.y SIP/SDP 1231 Request: INVITE
>> sip:454545 at opensips.3c.com |
>>    29 7.025502596  172.21.x.x → 172.21.x.y SIP/SDP 1231 Request: INVITE
>> sip:454545 at opensips.3c.com |
>>    36 8.831041991  172.21.x.x → 172.21.x.y SIP 478 Request: CANCEL
>> sip:454545 at opensips.3c.com |
>>    37 9.332232752  172.21.x.x → 172.21.x.y SIP 478 Request: CANCEL
>> sip:454545 at opensips.3c.com |
>>    41 10.264532825  172.21.x.x → 172.21.x.y SIP 478 Request: CANCEL
>> sip:454545 at opensips.3c.com |
>>    49 12.271423465  172.21.x.x → 172.21.x.y SIP 478 Request: CANCEL
>> sip:454545 at opensips.3c.com |
>>
>> I am not getting any error in the logs . How will I solve this ? Please
>> do help me .
>>
>> _______________________________________________
>> 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/20190724/4f29d38f/attachment.html>


More information about the Users mailing list