Hello Adam, To check the registration state, you can use the "registered()" function - http://www.opensips.org/html/docs/modules/1.9.x/registrar.html#id293152 .
To check if the user is already in a call, you need to use the dialog module with dialog profiles (profiles with values). Another option will be to route to user and if catch the 486 reply in a failure route. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 05/14/2013 04:49 PM, Adam Raszynski wrote: > Hi all, > > I would like to know is it possibble to check in OpenSIPS if user that > is destination of a call is registered and not busy (no other calls to > same username) without sending INVITE request? > > I need this to create some kind of dynamic routing with busy detection > > Any tips? > > > _______________________________________________ > 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
