<div dir="ltr">Thanks Daniel.<div><br></div><div>I was looking into <a href="http://nil.uniza.sk/ip-telephony/voip/kamailio-call-establishment-permission-rules">this option </a>but your suggestion seems to be cleaner.</div><div><br></div><div>Cheers,</div><div>Peter</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 26, 2015 at 1:40 PM, Daniel Tryba <span dir="ltr"><<a href="mailto:d.tryba@pocos.nl" target="_blank">d.tryba@pocos.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Friday 26 June 2015 13:26:05 Peter Villeneuve wrote:<br>
> Is it possible for Kamailio to restrict certain users (like in a group) to<br>
> only receive calls but never dial out or send SIP Simple messages outbound,<br>
> while allowing all other "regular" users to make outgoing calls and text<br>
> messages as well as receive them?<br>
<br>
</span>Yes (of course)<br>
<span class=""><br>
> If so, which module do you guys recommend I look into?<br>
<br>
</span>Put a flag in usr_preferences and check for it using avp_db_query (avpops) or<br>
sqlops. If flag exists after authenticating an invite:<br>
send_reply your favorite appropriate 4xx message.<br>
<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br></div>