[SR-Users] limit calls to incoming only?

Daniel Tryba d.tryba at pocos.nl
Fri Jun 26 14:40:15 CEST 2015


On Friday 26 June 2015 13:26:05 Peter Villeneuve wrote:
> Is it possible for Kamailio to restrict certain users (like in a group) to
> only receive calls but never dial out or send SIP Simple messages outbound,
> while allowing all other "regular" users to make outgoing calls and text
> messages as well as receive them?

Yes (of course)

> If so, which module do you guys recommend I look into?

Put a flag in usr_preferences and check for it using avp_db_query (avpops) or 
sqlops. If flag exists after authenticating an invite:
send_reply your favorite appropriate 4xx message.




More information about the sr-users mailing list