[OpenSIPS-Users] how to fit OpenSIPS into my scenario of	database routing with more params?
    Georgy Goshin 
    gosha at inbox.ee
       
    Tue Feb 22 21:36:20 CET 2011
    
    
  
I'd prefer to realize in the database my own routing logic and looking the
way to pass all parameters needed for accepting and directing a call (SRC
IP, SRC NUM, DST NUM, TIME and maybe SRC media format) to the database with
a SELECT statement and return the gateway or gateway list and processed call
parameters (rewritten numbers and so on).
Is there a possibility to do this way?
Thanks,
G.
-----Original Message-----
From: users-bounces at lists.opensips.org
[mailto:users-bounces at lists.opensips.org] On Behalf Of Sven Schulz
Sent: Tuesday, February 22, 2011 10:21 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] how to fit OpenSIPS into my scenario of
database routing with more params?
Yes you can use the permissions module to check the incoming IP. Use the
function called  check_source_address() before calling do_routing.
Sven
On 2/22/11 2:05 PM, "Georgy Goshin" <gosha at inbox.ee> wrote:
> Hello!
> 
> I need to replace Mera MVTS in VoIP wholesale setup, need help with it 
> because I did not found any instructions that will fit my needs. My 
> OpenSIPS instance should do the following:
> 
> It should route and proxy calls between SIP servers with T.38 support 
> and transcoding, do accounting.
> Decision about routing should be made by SQL database by:
> 
> 1. originator IP OR username (gateway) 2. A number 3. B number
> 
> 
> Module drouting does not pass neither A number nor originator's IP
address.
> 
> Is it possible to support my needs with OpenSIPS?
> 
> 
> 
> Thanks in advance,
> Georgy.
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
    
    
More information about the Users
mailing list