Re: [OpenSIPS-Users] QoS Module

2009-05-10 Thread Bogdan-Andrei Iancu
Hi Ovidiu,

Ovidiu Sas wrote:
> Hello Bogdan,
>
> The qos module was written with this purpose in mind.
>   
I just wanted to check with you this :)
> The qos context of each dialog can be inspected via the mi commands.
> Via a similar mechanism as mi, variables from the qos context can be
> exposed to the dialog module.
> For the specific scenario that you have in mind, the required
> bandwidth for up/down-stream can be consolidated per dialog profiles
> and used in routing decisions.
>   
more or less this is what I have  in mind - in LB module, for each peer 
you declare as a new resource the maximum bw and the LB module will also 
take into into consideration when balancing not to overload the server 
(as load) but not to overload the link too.
> Some clients provide the required bw inside sdp, but for some others
> it will need to be computed based on advertised codecs.  We need to
> keep in mind that the required bw is a guess, since from a signaling
> point of view, we don't know which codec will be used from a list of
> multiple codec offer.
>   
That is an issue as (as you said) you cannot say (from signalling level) 
what codec will be used -but maybe considering  the worst one will be a 
safe approach.
> The qos module is keeping track of negotiated sdp sessions via
> INVITE/200ok, 200ok/ACK.  Support for UPDATE is present but not
> implemented.
> Support for early media is available.
>   
Cool :)

Thanks and regards,
Bogdan
>
> Regards,
> Ovidiu Sas
>
> On Fri, May 8, 2009 at 3:18 AM, Bogdan-Andrei Iancu
>  wrote:
>   
>> Hi Ovidiu,
>>
>> From the QoS module perspective, do you think I will be able to reuse it for
>> the load balancer module to get bandwidth info to be used in the LB process?
>> What I have in mind is to expand the LB module to work not only with load
>> like number of channels, but to work with load and used bandwidth per
>> peer...what do you think?
>>
>> Regards,
>> Bogdan
>>
>> Ovidiu Sas wrote:
>> 
>>> Hello k1028,
>>>
>>> For now, the qos modules just keeps track of the SDP sessions
>>> established inside a dialog.
>>> You can inspect the established SDP sessions via the mi interface.
>>> There are no modules using the qos API.  You will need to write your
>>> own module and do whatever you want to do on that module.
>>> If something is unclear on the doc file, let me know and I will improve
>>> it.
>>>
>>>
>>> Regards,
>>> Ovidiu Sas
>>>
>>> On Thu, May 7, 2009 at 3:33 PM, k1028  wrote:
>>>
>>>   
 I tried to google around and look through all the documentation but I am
 still unclear how the QoS module work to test it on my staging network.
 According to the module documenation it keep track of the SDP session and
 provide API to be use by other module. Which other module use the QoS
 module?
 --
 View this message in context:
 http://n2.nabble.com/QoS-Module-tp2835356p2835356.html
 Sent from the OpenSIPS - Users mailing list archive at Nabble.com.


 ___
 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] QoS Module

2009-05-08 Thread Ovidiu Sas
Hello Bogdan,

The qos module was written with this purpose in mind.
The qos context of each dialog can be inspected via the mi commands.
Via a similar mechanism as mi, variables from the qos context can be
exposed to the dialog module.
For the specific scenario that you have in mind, the required
bandwidth for up/down-stream can be consolidated per dialog profiles
and used in routing decisions.
Some clients provide the required bw inside sdp, but for some others
it will need to be computed based on advertised codecs.  We need to
keep in mind that the required bw is a guess, since from a signaling
point of view, we don't know which codec will be used from a list of
multiple codec offer.

The qos module is keeping track of negotiated sdp sessions via
INVITE/200ok, 200ok/ACK.  Support for UPDATE is present but not
implemented.
Support for early media is available.


Regards,
Ovidiu Sas

On Fri, May 8, 2009 at 3:18 AM, Bogdan-Andrei Iancu
 wrote:
> Hi Ovidiu,
>
> From the QoS module perspective, do you think I will be able to reuse it for
> the load balancer module to get bandwidth info to be used in the LB process?
> What I have in mind is to expand the LB module to work not only with load
> like number of channels, but to work with load and used bandwidth per
> peer...what do you think?
>
> Regards,
> Bogdan
>
> Ovidiu Sas wrote:
>>
>> Hello k1028,
>>
>> For now, the qos modules just keeps track of the SDP sessions
>> established inside a dialog.
>> You can inspect the established SDP sessions via the mi interface.
>> There are no modules using the qos API.  You will need to write your
>> own module and do whatever you want to do on that module.
>> If something is unclear on the doc file, let me know and I will improve
>> it.
>>
>>
>> Regards,
>> Ovidiu Sas
>>
>> On Thu, May 7, 2009 at 3:33 PM, k1028  wrote:
>>
>>>
>>> I tried to google around and look through all the documentation but I am
>>> still unclear how the QoS module work to test it on my staging network.
>>> According to the module documenation it keep track of the SDP session and
>>> provide API to be use by other module. Which other module use the QoS
>>> module?
>>> --
>>> View this message in context:
>>> http://n2.nabble.com/QoS-Module-tp2835356p2835356.html
>>> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>>>
>>>
>>> ___
>>> 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] QoS Module

2009-05-08 Thread Bogdan-Andrei Iancu
Hi Ovidiu,

 From the QoS module perspective, do you think I will be able to reuse 
it for the load balancer module to get bandwidth info to be used in the 
LB process? What I have in mind is to expand the LB module to work not 
only with load like number of channels, but to work with load and used 
bandwidth per peer...what do you think?

Regards,
Bogdan

Ovidiu Sas wrote:
> Hello k1028,
>
> For now, the qos modules just keeps track of the SDP sessions
> established inside a dialog.
> You can inspect the established SDP sessions via the mi interface.
> There are no modules using the qos API.  You will need to write your
> own module and do whatever you want to do on that module.
> If something is unclear on the doc file, let me know and I will improve it.
>
>
> Regards,
> Ovidiu Sas
>
> On Thu, May 7, 2009 at 3:33 PM, k1028  wrote:
>   
>> I tried to google around and look through all the documentation but I am
>> still unclear how the QoS module work to test it on my staging network.
>> According to the module documenation it keep track of the SDP session and
>> provide API to be use by other module. Which other module use the QoS
>> module?
>> --
>> View this message in context: 
>> http://n2.nabble.com/QoS-Module-tp2835356p2835356.html
>> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>>
>>
>> ___
>> 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] QoS Module

2009-05-07 Thread k1028

First thought it my my mind is QoS module will help do something to help
improve the quality by keep tracking of the dialog SDP session. Now I
understand and will play with it more ;). Thank you very much for the
explanation.


Ovidiu Sas wrote:
> 
> Hello k1028,
> 
> For now, the qos modules just keeps track of the SDP sessions
> established inside a dialog.
> You can inspect the established SDP sessions via the mi interface.
> There are no modules using the qos API.  You will need to write your
> own module and do whatever you want to do on that module.
> If something is unclear on the doc file, let me know and I will improve
> it.
> 
> 
> Regards,
> Ovidiu Sas
> 
> On Thu, May 7, 2009 at 3:33 PM, k1028  wrote:
>>
>> I tried to google around and look through all the documentation but I am
>> still unclear how the QoS module work to test it on my staging network.
>> According to the module documenation it keep track of the SDP session and
>> provide API to be use by other module. Which other module use the QoS
>> module?
>> --
>> View this message in context:
>> http://n2.nabble.com/QoS-Module-tp2835356p2835356.html
>> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>>
>>
>> ___
>> 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
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/QoS-Module-tp2835356p2838335.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.


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


Re: [OpenSIPS-Users] QoS Module

2009-05-07 Thread Ovidiu Sas
Hello k1028,

For now, the qos modules just keeps track of the SDP sessions
established inside a dialog.
You can inspect the established SDP sessions via the mi interface.
There are no modules using the qos API.  You will need to write your
own module and do whatever you want to do on that module.
If something is unclear on the doc file, let me know and I will improve it.


Regards,
Ovidiu Sas

On Thu, May 7, 2009 at 3:33 PM, k1028  wrote:
>
> I tried to google around and look through all the documentation but I am
> still unclear how the QoS module work to test it on my staging network.
> According to the module documenation it keep track of the SDP session and
> provide API to be use by other module. Which other module use the QoS
> module?
> --
> View this message in context: 
> http://n2.nabble.com/QoS-Module-tp2835356p2835356.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
>
> ___
> 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] QoS Module

2009-05-07 Thread k1028

I tried to google around and look through all the documentation but I am
still unclear how the QoS module work to test it on my staging network.
According to the module documenation it keep track of the SDP session and
provide API to be use by other module. Which other module use the QoS
module?
-- 
View this message in context: 
http://n2.nabble.com/QoS-Module-tp2835356p2835356.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.


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