Re: [OpenSIPS-Users] Opensip and asterisk
Hello, About the database: it depends on the service you want Asterisk to give to the users. In my plan Asterisk will do only Codec translation for outgoing calls and voicemail. Hence, I have to register the users only in the voicemail table of Asterisk. Regards, __Yehavi: 2009/3/25 Oguzhan Kayhan oguzh...@bilkent.edu.tr Hello, I am testing asterisk for a while, but because i am planning to have a large installation, i decided to install opensips as sip proxy. Just I am all messed up.. I have some questions in my mind.. First of all, There are 2 user databases ..one for asterisk and one for opensips as i see. Where should i create users??? In asterisk?? And, on the web i find only example configs about openser and there are some slight differences in configurations with opensips.. So, Any running config example for opensips or a how-to document will be so helpful for me.. I am planning to install 3 opensip servers in a roundrobin order to serve the users.. And a central asterisk server between my real pbx and opensips.(Maybe with an offline asterisk backup) . So Really any any info will be great..because i am total stranger to opensips right now.. Thanks a lot. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Opensip and asterisk
Although it's a good idea to combine OpenSIPs and Asterisk, the problem you have is a fundamental architecture issue. Both OpenSIPs and Asterisk are telephony toolkits and both provide similar features (some better than others). So you're task is to figure out what you want to do on which box. Even having a complete understanding of Asterisk and OpenSIPs, this is a difficult question to answer. The typical generic recommedation for scalability would be to use Asterisk only for media applicaitons that really need it.. like Voicemail for example. And as another reply had suggested transcoding is another place it could be used. Personally, I'd take the approach to use asterisk in as few places as possible. I'd also seriously consider using Freeswitch as an alternative for asterisk in media applications. -Brett On Wed, Mar 25, 2009 at 7:51 AM, Oguzhan Kayhan oguzh...@bilkent.edu.trwrote: Hello, I am testing asterisk for a while, but because i am planning to have a large installation, i decided to install opensips as sip proxy. Just I am all messed up.. I have some questions in my mind.. First of all, There are 2 user databases ..one for asterisk and one for opensips as i see. Where should i create users??? In asterisk?? And, on the web i find only example configs about openser and there are some slight differences in configurations with opensips.. So, Any running config example for opensips or a how-to document will be so helpful for me.. I am planning to install 3 opensip servers in a roundrobin order to serve the users.. And a central asterisk server between my real pbx and opensips.(Maybe with an offline asterisk backup) . So Really any any info will be great..because i am total stranger to opensips right now.. Thanks a lot. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Opensip and asterisk
Brett Nemeroff wrote: Both OpenSIPs and Asterisk are telephony toolkits and both provide similar features (some better than others). So you're task is to figure out what you want to do on which box. I would have to disagree; there is virtually zero imaginable correlation (that I can see) between what Asterisk provides - or is designed for - and what OpenSIPS does. They seem to be most emphatically dissimilar. -- Alex Balashov Evariste Systems Web: http://www.evaristesys.com/ Tel: (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 Mobile : (+1) (678) 237-1775 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Opensip and asterisk
Those are relatively superficial applications belonging to a narrow class. What is more instructive here, I think, is the formal difference; OpenSIPS is a proxy, which is necessarily a lightweight and relatively transparent network element designed to facilitate *SIP* request and reply *routing*. Asterisk is designed to be an *endpoint* of a SIP call and has an event loop replete with all sorts of application-level features, and is also a B2BUA. For all practical purposes, OpenSIPS is a great, great deal more low-level than Asterisk in terms of the functionality it exposes and the roles for which it is intended. Brett Nemeroff wrote: Both can act as a registrar, both can route calls. You may not like the way asterisk does it (I certainly don't). But they both can do it. Yes, you can setup phones to register to asterisk and opensips to provide LCR. Alternatively, you can have opensips as a registrar and asterisk do the lcr. Yeah, asterisk doing LCR would be nuts, but it can do it. I certainly wouldn't recommend it. But the point is, deciding which platform you want to do what. And as far as what asterisk is designed for. That's entirely a matter of opinion. I personally think it's designed for a low grade pbx. While others will argue that they distribute thousands of calls with it (in fact compare it to opensips even!). I see several places of overlap, and like I said, each product has it's own strenghs. It's simply a matter of opinion. On Wed, Mar 25, 2009 at 8:33 AM, Alex Balashov abalas...@evaristesys.com mailto:abalas...@evaristesys.com wrote: Brett Nemeroff wrote: Both OpenSIPs and Asterisk are telephony toolkits and both provide similar features (some better than others). So you're task is to figure out what you want to do on which box. I would have to disagree; there is virtually zero imaginable correlation (that I can see) between what Asterisk provides - or is designed for - and what OpenSIPS does. They seem to be most emphatically dissimilar. -- Alex Balashov Evariste Systems Web: http://www.evaristesys.com/ Tel: (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 Mobile : (+1) (678) 237-1775 -- Alex Balashov Evariste Systems Web: http://www.evaristesys.com/ Tel: (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 Mobile : (+1) (678) 237-1775 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Opensip and asterisk
Hello, There is working example on http://www.sermyadmin.org/w/index.php/Asterisk_Integration. I have created my own database, sermyadmin, but you can easily adapt the example for the opensips database. It is tested in the version 1.4.x Flavio___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Opensip and asterisk
I agree with you.However, how you integrate the two is still a function of required architecture. The products are completely different beasts. The superficial applications I've mentioned were only to serve as examples as how similar applications can be executed using either product. Yes, one is more appropriate than the other generically speaking. But that is really a matter of opinion. I'm sure there is someone out there running asterisk as a registrar with opensips + sems as the voicemail server. I personally don't agree with that, but it's a perfectly workable architecture. Anyway, this wasn't meant to be and argument. I simply meant to point out before you can try to integrate asterisk with opensips you need to know what it is that you want each box doing and what the overall application and product will be created by the integration. Only from there can you pick a reasonable architecture. -Brett On Wed, Mar 25, 2009 at 9:06 AM, Alex Balashov abalas...@evaristesys.comwrote: Those are relatively superficial applications belonging to a narrow class. What is more instructive here, I think, is the formal difference; OpenSIPS is a proxy, which is necessarily a lightweight and relatively transparent network element designed to facilitate *SIP* request and reply *routing*. Asterisk is designed to be an *endpoint* of a SIP call and has an event loop replete with all sorts of application-level features, and is also a B2BUA. For all practical purposes, OpenSIPS is a great, great deal more low-level than Asterisk in terms of the functionality it exposes and the roles for which it is intended. Brett Nemeroff wrote: Both can act as a registrar, both can route calls. You may not like the way asterisk does it (I certainly don't). But they both can do it. Yes, you can setup phones to register to asterisk and opensips to provide LCR. Alternatively, you can have opensips as a registrar and asterisk do the lcr. Yeah, asterisk doing LCR would be nuts, but it can do it. I certainly wouldn't recommend it. But the point is, deciding which platform you want to do what. And as far as what asterisk is designed for. That's entirely a matter of opinion. I personally think it's designed for a low grade pbx. While others will argue that they distribute thousands of calls with it (in fact compare it to opensips even!). I see several places of overlap, and like I said, each product has it's own strenghs. It's simply a matter of opinion. On Wed, Mar 25, 2009 at 8:33 AM, Alex Balashov abalas...@evaristesys.commailto: abalas...@evaristesys.com wrote: Brett Nemeroff wrote: Both OpenSIPs and Asterisk are telephony toolkits and both provide similar features (some better than others). So you're task is to figure out what you want to do on which box. I would have to disagree; there is virtually zero imaginable correlation (that I can see) between what Asterisk provides - or is designed for - and what OpenSIPS does. They seem to be most emphatically dissimilar. --Alex Balashov Evariste Systems Web: http://www.evaristesys.com/ Tel: (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 Mobile : (+1) (678) 237-1775 -- Alex Balashov Evariste Systems Web: http://www.evaristesys.com/ Tel: (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 Mobile : (+1) (678) 237-1775 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users