Hi all,
Thanks for your answer. I don't use SEMS and OpenSER, so I think that application will probably be the good workaround. Just need knwoledges and documentations.
Wich languages could be pertinent to do that according to you ?
Thanks.
Le jeudi 10 avril 2008 à 02:28 +0200, Stefan Sayer a écrit :
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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers