[OpenSIPS-Users] Prepay charge by source IP

Adam Botbyl adam at skywitelecomm.com
Wed Oct 7 04:59:52 CEST 2009


I am trying to setup a opensips/cdrtool/callcontrol gateway for pre-pay ratings. My conundrum is that I need to debit account by IP alone (not username). I found that I can auth by IP by just inserting it into the database, but cannot seem to wild-card the username. Is there a way to do this without re-writing the source?

Basically all calls from 1.2.3.4 will rate as the account for 1.2.3.4 instead of having to have 1234 at 1.2.3.4<mailto:1234 at 1.2.3.4> 1235 at 1.2.3.4<mailto:1235 at 1.2.3.4> etc, etc.

Documentation and googling seems sparse on this.

Regards,
 --Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20091006/05ec2737/attachment.htm 


More information about the Users mailing list