Hi Georgy,
In OpenSIPS, you have different module offering different
functionalities, like src_IP detection, prefix based routing,
groups/ACLS, etc.
In order to get complex routing scenarios, you have to combine these
functionalities in your routing script - routing logic.
Now, in your email you provide only the input data for routing logic
(src IP, A and B number) without saying anything about the logic
itself...So cannot help you further..
Nevertheless, opensips can do a lot of crazy routing logics, it is up to
you to script it...
Regards,
Bogdan
Georgy Goshin wrote:
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: [email protected]
[mailto:[email protected]] 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" <[email protected]> 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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Bogdan-Andrei Iancu
OpenSIPS eBootcamp - 28th February 2011
OpenSIPS solutions and "know-how"
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users