Hi Rodrigo,

If during a parallel forking you get the same reply code (486 in your case) from all branches, OpenSIPS will pick the first one (in order of creation of the branches, not in order of receiving the replies). In your case, the M1 reply will be sent to caller.

Best regards,

Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  http://www.opensips-solutions.com

OpenSIPS Summit May 2017 Amsterdam
  http://www.opensips.org/events/Summit-2017Amsterdam.html

On 05/09/2017 05:52 PM, Rodrigo Pimenta Carvalho wrote:

Hi.


In my system there are 2 UA (in different machines, M1 & M2) registered on my OpenSIPS, both as user 9000.

So, if an UAC calls number 9000, these 2 UA will ring. That is fine for my project.


If UA from machine M1 rejects the call it send a SIP 486 code (busy here). The UA from machine M2 has the same behavior.


In addiction, if UA on M1 rejects the call, OpenSIPS must register data in the database. On the other hand, if UA on M2 rejects the call, the OpenSIPS must do nothing.


How can I know wich of these reject messages (SIP 486) is coming from M1 or M2, by means of OpenSIPS functions?

Any example?


Any hint will be very helpful!


Best regards.


RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979


_______________________________________________
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