Barry L. Kline
2009-May-21 01:52 UTC
[asterisk-users] Bridging INBOUND PRI to OUTBOUND PRI fails with Monitor()
I wrote a note earlier about this problem but have done quite a bit more debugging. Now I'm stuck at what to do next. I have inbound calls being answered by our Asterisk box, which then dials our answering service and bridges those calls. The inbound and outbound are both PRIs. The answering service takes our calls on a PRI. If I don't use the Monitor() application, things work find and have been for a few thousand calls. If I add the Monitor() application, no audio ever gets passed from the caller to the answering service. I have noted the following things while testing with Monitor(): 1) If I have it call my cell phone instead of the service, it works fine. 2) If I have it call my home phone instead of the services, it works fine. 3) I tried calling another number (in another state) that I know terminates into a PRI and it worked fine. 4) If I call the service without Monitor(), it works fine. Throw in Monitor() and it's virtually guaranteed not to work. My dial plan and debug output for both the working and failing call is at http://www.pastebin.ca/1429504 . Things start to diverge around lines 28-31 and 68-72. Can anyone tell me what I can do to further trace this problem? Thanks in advance for anything you may be able to offer. Barry
Danny Nicholas
2009-May-21 13:40 UTC
[asterisk-users] Bridging INBOUND PRI to OUTBOUND PRI fails withMonitor()
You should try Answer before Dial on the Monitored call. Bridging can be very unhappy. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Barry L. Kline Sent: Wednesday, May 20, 2009 8:52 PM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Bridging INBOUND PRI to OUTBOUND PRI fails withMonitor() I wrote a note earlier about this problem but have done quite a bit more debugging. Now I'm stuck at what to do next. I have inbound calls being answered by our Asterisk box, which then dials our answering service and bridges those calls. The inbound and outbound are both PRIs. The answering service takes our calls on a PRI. If I don't use the Monitor() application, things work find and have been for a few thousand calls. If I add the Monitor() application, no audio ever gets passed from the caller to the answering service. I have noted the following things while testing with Monitor(): 1) If I have it call my cell phone instead of the service, it works fine. 2) If I have it call my home phone instead of the services, it works fine. 3) I tried calling another number (in another state) that I know terminates into a PRI and it worked fine. 4) If I call the service without Monitor(), it works fine. Throw in Monitor() and it's virtually guaranteed not to work. My dial plan and debug output for both the working and failing call is at http://www.pastebin.ca/1429504 . Things start to diverge around lines 28-31 and 68-72. Can anyone tell me what I can do to further trace this problem? Thanks in advance for anything you may be able to offer. Barry _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Barry L. Kline
2009-May-21 14:04 UTC
[asterisk-users] Bridging INBOUND PRI to OUTBOUND PRI fails withMonitor()
Danny Nicholas wrote:> You should try Answer before Dial on the Monitored call. Bridging can be > very unhappy.Hi Danny. Already done earlier in the dial plan, when the call first comes in but before it gets routed to the part that I showed. Thanks for looking though! Barry
Danny Nicholas
2009-May-21 14:15 UTC
[asterisk-users] Bridging INBOUND PRI to OUTBOUND PRI fails withMonitor()
To clarify: Inbound - Answer Outbound - Answer (again) Dial. If I missed that, please disregard. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Barry L. Kline Sent: Thursday, May 21, 2009 9:05 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Bridging INBOUND PRI to OUTBOUND PRI fails withMonitor() Danny Nicholas wrote:> You should try Answer before Dial on the Monitored call. Bridging can be > very unhappy.Hi Danny. Already done earlier in the dial plan, when the call first comes in but before it gets routed to the part that I showed. Thanks for looking though! Barry _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Barry L. Kline
2009-May-21 16:29 UTC
[asterisk-users] Bridging INBOUND PRI to OUTBOUND PRI fails withMonitor()
Danny Nicholas wrote:> To clarify: > Inbound - Answer > Outbound - Answer (again) > Dial.Hmmm... that seems like it would be from the department of redundancy department but I gave it a try, both before and after the Monitor() command with the same result... it fails. Thanks! Barry