[OpenSIPS-Users] Is it possible to avoid calls to a determined UA, by means of the opensips.cfg file?
Rodrigo Pimenta Carvalho
pimenta at inatel.br
Thu Aug 6 14:07:42 CEST 2015
?Thank you very much!
I´m starting to learn about this script language.
Regards.
RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979
________________________________
De: users-bounces at lists.opensips.org <users-bounces at lists.opensips.org> em nome de Max Mühlbronner <mm at 42com.com>
Enviado: quinta-feira, 6 de agosto de 2015 04:39
Para: users at lists.opensips.org
Assunto: Re: [OpenSIPS-Users] Is it possible to avoid calls to a determined UA, by means of the opensips.cfg file?
Hi,
without any additional modules, something like this works out of the box:
if ($rU=="username_of_forbidden_phone") {
t_reply("486", "Busy Here");
exit;
}
Just add this in the correct route block in your config, where the call is going to user location / registered clients and it will block all calls before they are sent to the client.
Best Regards
Max M.
On 05.08.2015 21:51, Rodrigo Pimenta Carvalho wrote:
Hi.
In a network there are OpenSIPS (acting as SIP server) and several softphones registered on it.
One of the softphones is forbidden to receive calls. So, if one tries to call such softphone, the call will not be completed and a (busy here) answer should be sent to the caller.
Can OpenSIPS provide such kind of automatic answer, can´t it?
What OpenSIPS module does help me to implement this idea? Is the module about dialogs ?
Thanks!
RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979
_______________________________________________
Users mailing list
Users at lists.opensips.org<mailto:Users at lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150806/4485d916/attachment-0001.htm>
More information about the Users
mailing list