[OpenSIPS-Users] How to detect current calls or previous INVITES and return 'busy here'?

Rodrigo Pimenta Carvalho pimenta at inatel.br
Thu Oct 22 15:59:29 CEST 2015


In a test case with OpenSIPS, I have:

C1 = caller 1.

C2 = caller 2.

D1 = callee 1.

D2 = callee 2.

C1, C2, D1, D2 are all SIP UAs and they are registered in my OpenSIPS.

C1 wants to call D1.

C2 wants to call D2.

According to special requirements in my current project, C2 must receive SIP  'busy here' from OpenSIPS, whenever C1 is already talking to D1 or when D1 has already received SIP INVITE from C1 but not answered it yet.

Is it possible, by means of OpenSIPS configuration file, create an solution to return 'busy here' to C2, for such test case?

How could be a kind of example of code for that?

Any hint will be very helpful!

Best regards.

Inatel Competence Center
Ph: +55 35 3471 9200 RAMAL 979
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20151022/d2e3def7/attachment.htm>

More information about the Users mailing list