Re: [OpenSIPS-Users] Diameter

2009-09-22 Thread Ghaith ALKAYYEM
this looks a very good starting point, this module is designed to work
with SER.
I'll try to check it.
Thank you.

Regards

On Tue, 2009-09-22 at 19:26 +0200, Stefan Sayer wrote:
> Hi,
> 
> o Ghaith ALKAYYEM [09/21/09 19:59]:
> > Hello lists,
> > 
> > I'm interested in AAA functions according to Diameter which is newer
> > than Radius.
> > There's a module in OpenSIPS which is called "AUTH_DIAMETER Module" and
> > it's mentioned that this module is obsolete. So I'd like your
> > recommendations about this matter, should I work from the scratch to
> > develop something that does this functionalities or is it possible to
> > integrate other open source software with OpenSIPS.
> also have a look at cdp module from openimscore 
> (http://www.openimscore.org/docs/ser_ims/CDP.html), its based on the old 
> disc implementation, but extended a lot from that point - chances are 
> you can use/reuse many things from there.
> 
> hth
> Stefan
> 
> 
> > 
> > Thank you very much.
> > 
> > 
> > 
> > ___
> > 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] Diameter

2009-09-22 Thread Stefan Sayer
Hi,

o Ghaith ALKAYYEM [09/21/09 19:59]:
> Hello lists,
> 
> I'm interested in AAA functions according to Diameter which is newer
> than Radius.
> There's a module in OpenSIPS which is called "AUTH_DIAMETER Module" and
> it's mentioned that this module is obsolete. So I'd like your
> recommendations about this matter, should I work from the scratch to
> develop something that does this functionalities or is it possible to
> integrate other open source software with OpenSIPS.
also have a look at cdp module from openimscore 
(http://www.openimscore.org/docs/ser_ims/CDP.html), its based on the old 
disc implementation, but extended a lot from that point - chances are 
you can use/reuse many things from there.

hth
Stefan


> 
> Thank you very much.
> 
> 
> 
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-- 
Stefan Sayer
VoIP Services

stefan.sa...@iptego.com
www.iptego.com

IPTEGO GmbH
Wittenbergplatz 1
10789 Berlin
Germany

Amtsgericht Charlottenburg, HRB 101010
Geschaeftsfuehrer: Alexander Hoffmann

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Diameter

2009-09-22 Thread Ghaith ALKAYYEM
Actually, openblox project has two versions, one is proposed as a
commercial and the other as an open license version.
It's implemented in JAVA and they mentioned in their web site that
there's a C++ implementation but I couldn't reach it through their web
site.
you can see the product in the following link:
http://traffixsystems.com/site/content/t2.asp?Sid=49&Pid=241

Regards.

On Tue, 2009-09-22 at 17:58 +0300, Bogdan-Andrei Iancu wrote:
> Hi Ghaith,
> 
> Ghaith ALKAYYEM wrote:
> > Thank you for response,
> >
> > I see in the details of that module (auth_diameter) this diagram:
> >
> >  ++ SIP INVITE   +=+  DIAMETER  +--+   +--+
> >  || no Auth hdr  #/#  AA-Request|  |   |  |
> >  ||-1--->#/#---2--->|  |---2-->|  |
> >  |UAC |  #UAS//#|DClnt |   |DSrv  |
> >  ||<-4---#(SER)#<--3|(DISC)|<--3---|(DISC)|
> >  || 401  #/#  DIAMETER  |  |   |  |
> >  ++ Unauthorized +=+  AA-Answer +--+   +--+
> >
> > We notice in this architecture that we have two diameter blocks, the
> > first one plays the role of diameter client(DClnt) and the second one
> > plays the role of diameter server(DSrv).
> >   
> as said, this was an old approach and both the design and software are 
> outdated.
> > But in Radius modules the OpenSIPS interacts with Radius server
> > directly, so maybe I have a misunderstood in this regard but I'd like to
> > know whether it's possible to make OpenSIPS interact with Diameter
> > server directly or this is not possible due to the nature of diameter
> > protocol.
> >   
> yes, opensips talks directly to RADIUS server because it is using the 
> libradiusclient-ng (which acts as radius client)
> > Opendiameter is written in C++ so I think it's not possible to integrate
> > it directly in OpenSIPS as a module, so we have to design something
> > similar to the above diagram, isn't it? What would be the type of
> > communication between OpenSIPS & Diameter Client, is it diameter based
> > also?
> >   
> no, the diameter client should be provided by a library and opensips 
> will link against that library (like we do for RADIUS now).
> 
> Also, looking at the opendiameter project, not sure how active it is - 
> there are no code changes since February 2008.
> > The implementation of Openblox looks promising as well, so do you think
> > it would be a good candidate for building the module?
> >   
> Do you have a link to the project? is this project GPL compatible? also, 
> does it provide a C API ?
> 
> Regards,
> Bogdan
> 
> > Regards.
> >
> >
> > On Tue, 2009-09-22 at 14:17 +0300, Bogdan-Andrei Iancu wrote:
> >   
> >> Hi Ghaith,
> >>
> >> Ghaith ALKAYYEM wrote:
> >> 
> >>> Hello lists,
> >>>
> >>> I'm interested in AAA functions according to Diameter which is newer
> >>> than Radius.
> >>>   
> >>>   
> >> yes, the new AAA interface will simplify a lot the addition of DIAMETER 
> >> in OpenSIPS. All modules using the AAA interface will be automatically 
> >> able to use the DIAMETER support.
> >> 
> >>> There's a module in OpenSIPS which is called "AUTH_DIAMETER Module" and
> >>> it's mentioned that this module is obsolete. 
> >>>   
> >> yes ,it is obsolete as it is using an old and obsolete DIAMETER 
> >> client-server implementation (DISC).
> >>
> >> 
> >>> So I'd like your
> >>> recommendations about this matter, should I work from the scratch to
> >>> develop something that does this functionalities or is it possible to
> >>> integrate other open source software with OpenSIPS.
> >>>   
> >>>   
> >> Our plan is to use some opensource libraries to build a DIAMETER 
> >> (aaa_diameter module)  implementation for the AAA API in OpenSIPS. We 
> >> tried to evaluate opendiameter project for this 
> >> (http://www.opendiameter.org/)
> >>
> >> Regards,
> >> Bogdan
> >> 
> >>> Thank you very much.
> >>>
> >>>
> >>>
> >>> ___
> >>> 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
> >>
> >> 
> >
> >
> > ___
> > 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
> 


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Diameter

2009-09-22 Thread Bogdan-Andrei Iancu
Hi Ghaith,

Ghaith ALKAYYEM wrote:
> Thank you for response,
>
> I see in the details of that module (auth_diameter) this diagram:
>
>  ++ SIP INVITE   +=+  DIAMETER  +--+   +--+
>  || no Auth hdr  #/#  AA-Request|  |   |  |
>  ||-1--->#/#---2--->|  |---2-->|  |
>  |UAC |  #UAS//#|DClnt |   |DSrv  |
>  ||<-4---#(SER)#<--3|(DISC)|<--3---|(DISC)|
>  || 401  #/#  DIAMETER  |  |   |  |
>  ++ Unauthorized +=+  AA-Answer +--+   +--+
>
> We notice in this architecture that we have two diameter blocks, the
> first one plays the role of diameter client(DClnt) and the second one
> plays the role of diameter server(DSrv).
>   
as said, this was an old approach and both the design and software are 
outdated.
> But in Radius modules the OpenSIPS interacts with Radius server
> directly, so maybe I have a misunderstood in this regard but I'd like to
> know whether it's possible to make OpenSIPS interact with Diameter
> server directly or this is not possible due to the nature of diameter
> protocol.
>   
yes, opensips talks directly to RADIUS server because it is using the 
libradiusclient-ng (which acts as radius client)
> Opendiameter is written in C++ so I think it's not possible to integrate
> it directly in OpenSIPS as a module, so we have to design something
> similar to the above diagram, isn't it? What would be the type of
> communication between OpenSIPS & Diameter Client, is it diameter based
> also?
>   
no, the diameter client should be provided by a library and opensips 
will link against that library (like we do for RADIUS now).

Also, looking at the opendiameter project, not sure how active it is - 
there are no code changes since February 2008.
> The implementation of Openblox looks promising as well, so do you think
> it would be a good candidate for building the module?
>   
Do you have a link to the project? is this project GPL compatible? also, 
does it provide a C API ?

Regards,
Bogdan

> Regards.
>
>
> On Tue, 2009-09-22 at 14:17 +0300, Bogdan-Andrei Iancu wrote:
>   
>> Hi Ghaith,
>>
>> Ghaith ALKAYYEM wrote:
>> 
>>> Hello lists,
>>>
>>> I'm interested in AAA functions according to Diameter which is newer
>>> than Radius.
>>>   
>>>   
>> yes, the new AAA interface will simplify a lot the addition of DIAMETER 
>> in OpenSIPS. All modules using the AAA interface will be automatically 
>> able to use the DIAMETER support.
>> 
>>> There's a module in OpenSIPS which is called "AUTH_DIAMETER Module" and
>>> it's mentioned that this module is obsolete. 
>>>   
>> yes ,it is obsolete as it is using an old and obsolete DIAMETER 
>> client-server implementation (DISC).
>>
>> 
>>> So I'd like your
>>> recommendations about this matter, should I work from the scratch to
>>> develop something that does this functionalities or is it possible to
>>> integrate other open source software with OpenSIPS.
>>>   
>>>   
>> Our plan is to use some opensource libraries to build a DIAMETER 
>> (aaa_diameter module)  implementation for the AAA API in OpenSIPS. We 
>> tried to evaluate opendiameter project for this 
>> (http://www.opendiameter.org/)
>>
>> Regards,
>> Bogdan
>> 
>>> Thank you very much.
>>>
>>>
>>>
>>> ___
>>> 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
>>
>> 
>
>
> ___
> 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] Diameter

2009-09-22 Thread Ghaith ALKAYYEM
Thank you for response,

I see in the details of that module (auth_diameter) this diagram:

 ++ SIP INVITE   +=+  DIAMETER  +--+   +--+
 || no Auth hdr  #/#  AA-Request|  |   |  |
 ||-1--->#/#---2--->|  |---2-->|  |
 |UAC |  #UAS//#|DClnt |   |DSrv  |
 ||<-4---#(SER)#<--3|(DISC)|<--3---|(DISC)|
 || 401  #/#  DIAMETER  |  |   |  |
 ++ Unauthorized +=+  AA-Answer +--+   +--+

We notice in this architecture that we have two diameter blocks, the
first one plays the role of diameter client(DClnt) and the second one
plays the role of diameter server(DSrv).
But in Radius modules the OpenSIPS interacts with Radius server
directly, so maybe I have a misunderstood in this regard but I'd like to
know whether it's possible to make OpenSIPS interact with Diameter
server directly or this is not possible due to the nature of diameter
protocol.

Opendiameter is written in C++ so I think it's not possible to integrate
it directly in OpenSIPS as a module, so we have to design something
similar to the above diagram, isn't it? What would be the type of
communication between OpenSIPS & Diameter Client, is it diameter based
also?

The implementation of Openblox looks promising as well, so do you think
it would be a good candidate for building the module?

Regards.


On Tue, 2009-09-22 at 14:17 +0300, Bogdan-Andrei Iancu wrote:
> Hi Ghaith,
> 
> Ghaith ALKAYYEM wrote:
> > Hello lists,
> >
> > I'm interested in AAA functions according to Diameter which is newer
> > than Radius.
> >   
> yes, the new AAA interface will simplify a lot the addition of DIAMETER 
> in OpenSIPS. All modules using the AAA interface will be automatically 
> able to use the DIAMETER support.
> > There's a module in OpenSIPS which is called "AUTH_DIAMETER Module" and
> > it's mentioned that this module is obsolete. 
> yes ,it is obsolete as it is using an old and obsolete DIAMETER 
> client-server implementation (DISC).
> 
> > So I'd like your
> > recommendations about this matter, should I work from the scratch to
> > develop something that does this functionalities or is it possible to
> > integrate other open source software with OpenSIPS.
> >   
> Our plan is to use some opensource libraries to build a DIAMETER 
> (aaa_diameter module)  implementation for the AAA API in OpenSIPS. We 
> tried to evaluate opendiameter project for this 
> (http://www.opendiameter.org/)
> 
> Regards,
> Bogdan
> > Thank you very much.
> >
> >
> >
> > ___
> > 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
> 


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Diameter

2009-09-22 Thread Bogdan-Andrei Iancu
Hi Ghaith,

Ghaith ALKAYYEM wrote:
> Hello lists,
>
> I'm interested in AAA functions according to Diameter which is newer
> than Radius.
>   
yes, the new AAA interface will simplify a lot the addition of DIAMETER 
in OpenSIPS. All modules using the AAA interface will be automatically 
able to use the DIAMETER support.
> There's a module in OpenSIPS which is called "AUTH_DIAMETER Module" and
> it's mentioned that this module is obsolete. 
yes ,it is obsolete as it is using an old and obsolete DIAMETER 
client-server implementation (DISC).

> So I'd like your
> recommendations about this matter, should I work from the scratch to
> develop something that does this functionalities or is it possible to
> integrate other open source software with OpenSIPS.
>   
Our plan is to use some opensource libraries to build a DIAMETER 
(aaa_diameter module)  implementation for the AAA API in OpenSIPS. We 
tried to evaluate opendiameter project for this 
(http://www.opendiameter.org/)

Regards,
Bogdan
> Thank you very much.
>
>
>
> ___
> 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


[OpenSIPS-Users] Diameter

2009-09-21 Thread Ghaith ALKAYYEM
Hello lists,

I'm interested in AAA functions according to Diameter which is newer
than Radius.
There's a module in OpenSIPS which is called "AUTH_DIAMETER Module" and
it's mentioned that this module is obsolete. So I'd like your
recommendations about this matter, should I work from the scratch to
develop something that does this functionalities or is it possible to
integrate other open source software with OpenSIPS.

Thank you very much.



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Diameter interface for OpenSIPS

2008-12-15 Thread mahesh.peddi
Hi,

I want to communicate between OpenSIPS and HSS through diameter interface.
Any suggestions, on how can I have a diameter module in OpenSIPS.. so that I 
can communicate between two diameter peers?

Regards,
Mahesh Peddi


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users