[SR-Users] Busy return code when a user has an ongoing transaction

Gholamreza Sabery gr.sabery at gmail.com
Mon Oct 10 20:54:04 CEST 2016


Thanks a lot Daniel.

On Mon, Oct 10, 2016 at 9:31 PM, Daniel-Constantin Mierla <miconda at gmail.com
> wrote:

>
>
> 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
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161010/c9523941/attachment.html>


More information about the sr-users mailing list