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@bar.com) I have max_contacts == 2, therefore the fones actually register I now add a *third* fone, also registered as foo@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@aptela.com Aptela, Inc. http://www.aptela.com "Aptela: How Business Answers The Call"
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users