[Serusers] Automatic end of call

Stefan Sayer stefan.sayer at iptego.com
Thu Apr 10 02:28:41 CEST 2008



Martin Hoffmann wrote:
> inge wrote:
>> SO it's difficult to send a BYE after 2 hours exactly. Any other
>> solution maybe or more help on this workarround ?
> 
> You could probably build an app that, based on accounting information
> keeps track of ongoing call and then BYEs them off after exactly two
> hours.
afaik for openser there is a 'bye2bye' on top of the dialog module, that 
sends BYE in both directions from the proxy.

> 
> Just keep in mind that this kind of thing actually is some sort of a man
> in the middle attack and border line evil. If you want to do this
> properly, you need a B2BUA.
you could use SEMS for that, i just added a call timer application:
http://svn.berlios.de/wsvn/sems/trunk/doc/Readme.call_timer

it's easy, for a test run just do

svn co https://svn.berlios.de/svnroot/repos/sems/trunk sems_trunk
make -C sems_trunk/core
make -C sems_trunk/apps/call_timer
PREFIX=~/test_call_timer make -C sems_trunk/core install
PREFIX=~/test_call_timer make -C sems_trunk/apps/call_timer install
PREFIX=~/test_call_timer make -C sems_trunk/apps/call_timer install-cfg

and
~/test_call_timer/sbin/sems -f ~/test_call_timer/etc/sems/sems.conf -D 3 -E

and send your call to your_local_ip:5080

Stefan

> 
> Regards,
> Martin
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers

-- 
Stefan Sayer
VoIP Services

stefan.sayer at iptego.com
www.iptego.com

iptego GmbH
Am Borsigturm 40
13507 Berlin
Germany

Amtsgericht Charlottenburg, HRB 101010
Geschaeftsfuehrer: Alexander Hoffmann



More information about the sr-users mailing list