[OpenSIPS-Users] Prepay charge by source IP
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Oct 7 09:00:49 CEST 2009
Hello Adam,
There are 2 ways to get this working:
- use opensips 1.6, where via the callcontrol module you can send
custom data (including the source IP)
- in 1.5, you can try to mask the src IP in some of the fields that
are already sent out - maybe RURI ...
Regards,
Bogdan
Adam Botbyl wrote:
>
> 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
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list