You can write a ser script to implement session timer, we have indeed done that.
That still does not give you access to call state. You would have to write
own module which keeps it and hope that session timer will provide needed reliability
(which may not be always the case).
-jiri
At 12:26 01/08/2006, Alexandre Snarskii wrote:
Hi!
As far as I know, SER does not have functionality of limiting
number of calls on per-user basis. It was discussed years ago,
and the reason for that was "We don't have ability to know is call
still alive"
(
http://lists.iptel.org/pipermail/serusers/2004-November/013035.html)
But, in April 2005, RFC 4028 (Session Timers in SIP) appeared, and
it (at least theoretically) can be utilised to achieve knowlege of active
dialogs, and, as result - on number of active calls.
And this RFC looks like supported on Cisco gateways:
U X.X.X.X:59104 -> X.X.X.X:5060
INVITE sip:aaaaaaa@X.X.X.X:5060 SIP/2.0.
Supported: 100rel,timer,replaces.
^^^^^
Min-SE: 1800.
^^^^^^^^^^^^^^
User-Agent: Cisco-SIPGateway/IOS-12.x.
Question: is this RFC/functionality planned to be supported in SER ?
If not - are there any good intro on "How to write SER module by yourself" ? :)
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers