[sr-dev] lcr possible modifications

Juha Heinanen jh at tutpro.com
Wed Sep 11 07:56:29 CEST 2013


Victor Seva writes:

> Actually, we are planing to use a new "extra" field to be able to get
> arbitrary information onto an avp and to remove the restriction of one
> gw per ip.

there already is tag column and tag_avp module param.  why is "extra"
needed?

how would more than one ip per same gw work?  are they sharing the same
gw id?

> We are planning to:
>  - add an "extra" field ( accessible via an avp )
>  - remove UNIQUE KEY `lcr_id_ip_addr_idx` (`lcr_id`,`ip_addr`)
>    to just KEY `lcr_idx` (`lcr_id`,`ip_addr`, 'port', 'transport').
>  - add the parameter "port" to all from_* to_* config functions

usually the sender selects whatever source port it wishes.  how would
you know the port to place in from_* calls?

-- juha



More information about the sr-dev mailing list