[OpenSIPS-Users] OpenSIPS-CP for admin, what for user provisioning?
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Tue May 26 17:03:05 CEST 2009
Hi Gavin,
Gavin Henry wrote:
> 2009/5/25 Bogdan-Andrei Iancu <bogdan at voice-system.ro>:
>
>> Hi Gavin,
>>
>> Gavin Henry wrote:
>>
>>> Hi,
>>>
>>> Couple of questions as I'm setting up OpenSIPS for a charity and need
>>> to pick some off the shelf tools:
>>>
>>> 1. I've watched most of the great new vids for the cp and actually
>>> installed it, but looks like only rtpproxy is supported? (will double
>>> check)
>>>
>>>
>> what you mean by "only" rtpproxy is supported?
>>
>
> I mean:
>
> http://opensips-cp.sourceforge.net/screenshots/nathelper-db_list.jpg
> http://opensips-cp.sourceforge.net/screenshots/nathelper-cache_list.jpg
>
> I see no tabs for MediaProxy module config etc.
>
yes, OpenSIPS CP has RTPproxy support, but if someone is willing to
write a new tool for CP to add MEdia Proxy support, why not :)
>
>>> 2. What is the minimum opensips.cfg you need to drive everything from the
>>> cp?
>>>
>>>
>> well, normally you go the other way around - what functionality you need for
>> your service?
>>
>
> I meant that do you just need some modules pointing OpenSIPS to MySQL and then
> the control panel puts everything in there, or does the control panel
> edit opensips.cfg?
>
CP does not changes the cfg.
How it actually works:
- cfg provides the routing logic
- CP (via DB) provides the routing data
So, you put the logic (as script) in opensips.cfg and then use the CP to
provision (at runtime) the data used by the script logic.
> You must need to bootstrap OpenSIPS so everything can be driven via the cp?
>
Not really.
>>> 5. I would also like to put auth and DDI lookup in OpenLDAP. What are
>>> your experiences of this?
>>>
>>>
>> LDAP works fine with opensips (use for more than auth and DIDs) , but
>> openSIPS CP has no support for LDAP.
>>
>
> Are there any plans for LDAP auth to login into the CP with roles? That
> way you could just add some config for an admin group and junior admin
> group LDAP lookup etc, for authentication to login.
>
I think this kind of change is simple to do - so, if anybody comes
across such a requirements, it should be really easy to change the auth
part from the actual implementation.
>
>>> 6. Asterisk with res_config_ldap will be used for media as I maintain
>>> it and wonder if there is a specific LDAP schema file for OpenSIPS?
>>>
>>>
>> you can use whatever scheme you want from openSIPS script - the LDAP
>> interface allows you to push any kind of lookup
>>
>
> Ok, but no specific ones you've seen or can point me too? Don't want to have
> to write one specifically. But yeah, will look at some RFCs and see if
> there is anything.
>
Has nothing to do with examples and RFCs ...See:
http://www.opensips.org/html/docs/modules/1.5.x/ldap.html#ldap-search-fn
it like using ldapsearch command line.
>>> 9. I have the OpenSER book. Are the technologies and packages listed
>>> in there still the best way to deploy a pure open source platform?
>>>
>>>
>> 95% yes..some things improved, but the lines are still good.
>>
>
> OK, great. Read a lot about rtpproxy and mediaproxy, but I guess it just depends
> on what you need (billing fixes). Maybe also depends if you're a Emacs
> or Vi guy ;-)
>
>
yes, something like this :)
Regards,
Bogdan
More information about the Users
mailing list