When you do the mongo query of the location table, the socket field corresponds 
to the transport being used by the UAS. That can be used along with the 
$branch(q) to construct the branch. 

From: Tito Cumpen 
Sent: Friday, January 22, 2016 6:46 PM
To: OpenSIPS users mailling list 
Subject: [OpenSIPS-Users] User location replication

Group, 

At the previous opensips summit I heard mention of a new module that could aid 
with user replication to other servers. I am currently using a dns srv aware 
client and I'd like to know how this would work with active-active scenarios? 
Say a user exist in several servers. I am currently using a rabbit&mongo 
solution to keep track of where a user is registered and a mongo query add the 
branch and fork calls to other servers. Is there another solution to this? I am 
hitting a roadblock due to the necessity to change priority of a branch based 
on the callee transport type. This requirement is one that is enforced by 
rtpengine since it cannot deal with parallel branches that require different 
media attributes. My issue is if the user exist in another server how do I 
prioritize based on transport without knowing?


Thanks,
Tito


--------------------------------------------------------------------------------
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to