logging a singe connection on asterisk

Hi,
I have an asterisk box as our internal PBX hooked up to a PRI. I'm having trouble with calls dropping about 5 min into the call (inbound and outbound) - it only happens on calls over the PRI, I have telco techies coming tomorrow to investigate as it's been going on for about a year and they haven't been able to find any reason.
Is it possible to generate a call on our server to one of their toll free numbers and log that call's activity until such time as is disconnects?
If I can make a script that does this, I could create 4 or 5 calls, and then use the one that gets dropped for trouble shooting?

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.