[OpenSIPS-Users] Opensips as a $si differentiator

Maciej Bylica mbsip at gazeta.pl
Fri Oct 14 11:26:27 CEST 2011


Hello,

I am in need to build a box which should have some functions of SBC.
To be more precisely server will be heaving two interfaces, the first
one i could say on access side, the last one on core/private side. I
want to implement a kind of call limitation mechanism (by using pike
module as a trigger) and to make routing mechanism like following
- if $si = X.X.X.X then t_relay the call by using second interface and
its subinterface Z1
- if $si = Y.Y.Y.Y then t_relay the call by using second interface and
its subinterface Z2
and so on.
So in other words i need to have mechanism that is checking source
address of all incoming sip messages and then make decision which
subinterface to use for t_relay.
Each subinterface will be heaving different ip address to achieve
customer differentiation.

I am puzzling over how to build such a mechanism, which modules to use?

Could you please give me some hints here.

Thanks,
Maciej



More information about the Users mailing list