[Users] Active sessions - dialog

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Feb 22 10:50:21 CET 2007


Hi Michel,

you need to enable the usage of the dialog module in order to work that 
PV. So, load the dialog module, define a flag for triggering the dialog 
creation and set it for INVITEs...
       http://www.openser.org/docs/modules/1.2.x/dialog.html#DLG-FLAG-ID

regards,
bogdan

Michel Bensoussan wrote:
> Hi Bogdan
>
> Thanks for your help.
> I always get a zero value. Do you have a cfg file example that use 
> dialog module?
> I'm using v1.1.1. Do I have to move to the devel version? If yes Can I 
> just take the devel version for dialog module and 1.1.1 for the rest?
>
> Regards,
> Michel.
>
> Bogdan-Andrei Iancu wrote:
>> Hi Michel,
>>
>> the module is in beta stage - there are still things to fix / 
>> improve, but it works :)...
>> For your purpose, you should use the $DLG_count pseudo variable:
>>    http://www.openser.org/docs/modules/1.2.x/dialog.html#AEN187
>>
>> regards,
>> bogdan
>>
>> Michel Bensoussan wrote:
>>> Hello
>>>
>>> I need to write a CAC (Call Admission Control) module for an 802.11 
>>> AP (Access Point).
>>> The idea is to use a SIP Proxy to monitoring bandwith utilization 
>>> according to codec, and allow or disallow new sessions, depending on 
>>> resources.
>>> On a first stage I just want to limit the session to a fix number. 
>>> For that, for each new session request (INVITE), I need to know how 
>>> many active session there is already.
>>> I think using the module dialog but it is experimental.
>>> What is exactly its status? Is it usable for now?
>>> Is there another way to get information about the number of active 
>>> sessions?
>>>
>>> Thanks.
>>>
>>> Regards,
>>> Michel
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at openser.org
>>> http://openser.org/cgi-bin/mailman/listinfo/users
>>>
>>
>>
>>
>





More information about the sr-users mailing list