On 10/10/16 13:21, Gholamreza Sabery wrote:
I want to be able to return a Busy code foe a user
that is talking to
someone else and receives an INVITE for a new call. How can I
implement this in Kamailio?
You can use dialog module to track active calls and group them in
profiles using user id. When a new call is coming you check the dialog
profile size for the user id and send a 486 if the profile is not empty.
Look at the readme of the dialog and sl module for the functions that
you can use in the kamailio.cfg.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Oct 24-26, 2016 -
http://www.asipto.com