Charles Wang wrote:
Q2. How can B2BUA know when to tear-down this call if
the call has some limits.
For example, UA1 has only 120 seconds to use this International call.
We're using a simple agi-script for that with code like this:
my $caller_id = GetCallerID();
my $max_min = GetUserMaxMinutes($caller_id);
$agi->set_autohangup($max_min);
--
/Scoundrel