Out dialing patch as been included in 1.2.13
This will automatically reset the port when it fail.
However your call will still fail, this will trigger an error event.
^error
slog.crit "*** ERROR ***"
slog.crit %script.error
if %script.error == "dial-failed" then slog.crit "*** REDIAL ***"
if %script.error == "dial-failed" then goto transfer
exit
I hope we will be able to really find the answer on this problem.
Julien
-----Original Message-----
From: address@hidden
[mailto:address@hidden
g] On Behalf Of Michel Stam
Sent: November 16, 2004 6:11 AM
To: address@hidden; address@hidden
Subject: [Bayonne-devel] Sun RPC patches, continued
Ok, just hit a slight bug in one of the RPC calls I was working on,
which triggered a segfault.
Patches attached; use bayonne-1.2.11.sunrpc.diff for Bayonne 1.2.11 and
1.2.12; bayonne-1.2.13.sunrpc.diff for the 1.2.13 release.
I've tested on 1.2.11 but I don't expect any issues on the later
releases. Test utility is attached (rpc_calls.c). It can be compiled
using:
cc bayonne_cl.c bayonne_xdr.c rpc_calls.c -o rpc_calls
in the modules/sunrpc directory. I saw the utility was already included
in the 1.2.13 build process so simply replacing the file there and
executing make should work too.
Secondly;
As to the duration which keeps increasing on idle lines configured for
outbound calls (reported in my previous mail);
It appears that if the call is established successfully using a 'dial'
command the duration is reset back to 0 at the end of the call. In all
other cases (no dial attempt made or dial attempt failed) the duration
only increases.
It might be that the recent outdialing problems which are (were?)
present in the globalcall driver indirectly cause this problem. I know
that this was being worked on; Can anyone tell me if this has been
fixed?
I'll try with Bayonne 1.2.13 in a few days and will post the results
when I have them.
Cheers,
Michel