[Users] How do I only INVITE if I am registered?
Daniel-Constantin Mierla
daniel at voice-system.ro
Fri Aug 18 18:48:00 CEST 2006
Hello,
On 08/18/06 02:43, Mahesh Paolini-Subramanya wrote:
> Consider the case where there are two fones, both registered as the
> same subscriber (foo at bar.com)
> I have max_contacts == 2, therefore the fones actually register
> I now add a *third* fone, also registered as foo at bar.com
> Since max_contacts == 2, this fone does *not* register.
> However, if a user makes a call from this fone, the call will go
> through. I wish to prevent this.
>
> What do I do? Something obvious that I am missing?
> Or something weird with twiddling with the RURI and using
> "registered(domain)"?
> Or heavy AVP mucking around?
this might be the best option. To store the source IP for each phone,
and allow calls only from them. avp_db_query() should give enough
flexibility to achieve that.
Cheers,
Daniel
>
> Cheers
> --
> *******************************************
> Mahesh Paolini-Subramanya (703) 386-1500 x9100
> CTO mahesh at aptela.com
> Aptela, Inc. http://www.aptela.com
> "Aptela: How Business Answers The Call"
> *******************************************
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
More information about the sr-users
mailing list