[OpenSIPS-Users] subscriber

chamo chamo4 at darksun.sk
Tue Mar 17 16:29:25 CET 2009


Hi,

i have few questions about opensips configuration
1) i use opensips as sip proxy , for decision of route i use

                               if(uri=~"^sip:0XXXXXXX@") {
                                    rewritehostport("XX.XXX.162.7:5060");
                                    append_hf("P-hint:
outbound-voice4\r\n");
                                    route(1);
                                    return;
                                };
it works great but it would be much better to do it from database, i was
looking in modules, but didn't find any usable for this
i think there could be a solution trough perl script, but i don't know
if it will be fast enought

2) i need to do LNP (local number portability) where i need to decide to
which trunk will be connection made
    i can also do it this way
                               if(uri=~"^sip:0XXXX") {
                                    rewritehostport("XX.XXX.XXX.XX:5060");
                                    append_hf("P-hint:
outbound-to-sip-provider\r\n");
                                    route(1);
                                    return;
                                };
   but it can't be prefix driven, because of LNP and are plenty of records

3) i found in some article (here) problem with Restriction Caller ID,
only i know is that i should use "rpid" field from subscriber table
    ,but i didn't find how
    in my case is rpid usualy group of numbers

4) last problem i have is need to lock subscriber to IP address (or range)

any help will be great,

thanks, chamo


	




More information about the Users mailing list