I am working on one AS54000 to deploy several IVR scripts. Since I need tone generator and transcoding I am using 2 T1 interface ports connected with loopback cable. The call comes to the gateway and goes to the T1, then comes back to the gateway from another T1 port. It works well as long as there is only one application. But I can't figure out what dial-peers are required to call different applications based on access number.
I have come up with such scheme:
But it doesn't work. The call goes into loopback via 7/0:D, comes back again but the IVR script isn't called, I hear strange sounds and from debug it's very difficult to understand what's going on. I suppose something's wrong in my dial-peers configuration, but what is that?