I'm running Asterisk (stable branch downloaded 2-Sep-05) on RedHat 9 and I have a TDM22B installed (TDM400 w/ 2 FXO and 2 FXS ports). Everything seems to work except threeway calling. I can establish a threeway call, but it uses up BOTH FXO lines. Note that I DO have threeway calling active with my Bell service. Here's a typical scenario: 1) Call 765-1574, 2) When they answer, press flash and call 735-1056, 3) Press Flash again and I have a three way call 4) Try calling 820-2726 on the other line and I get fast busy. Asterisk indicates that it was "Unable to create channel of type 'ZAP'" when I attempt the threeway call. As a result, the second call (735-1056) is placed on the other ZAP channel so there's none left when I attempt the third call (820-2726) on the other FXS line. There's no problem with my Bell service as I can do three way calls on BOTH my FXO lines when Asterisk is bypassed and my phones are connected directly to Bell. Any ideas? My zapata.conf and the log of the example above are provided below FYI Thanks Hugh ; ----------------------------------------------------------- ; /etc/asterisk/zapata.conf ; ; [channels] language=en context=internal signalling=fxo_ks threewaycalling=yes transfer=yes channel=>1 ; language=en context=internal signalling=fxo_ks threewaycalling=yes transfer=yes channel=>2 ; language=en context=external-FXO signalling=fxs_ks usecallerid=yes echocancel=yes echocancelwhenbridged=yes rxgain=5% channel => 4 ; language=en context=external-FXO signalling=fxs_ks usecallerid=yes echocancel=yes echocancelwhenbridged=yes rxgain=5% channel => 3 ; ----------------------------------------------------------- ; Sample output *CLI> -- Starting simple switch on 'Zap/2-1' -- Executing Macro("Zap/2-1", "dial-FXO-only|7651574") in new stack -- Executing Dial("Zap/2-1", "ZAP/3/7651574") in new stack -- Called 3/7651574 -- Zap/3-1 answered Zap/2-1 -- Attempting native bridge of Zap/2-1 and Zap/3-1 -- Starting simple switch on 'Zap/2-2' -- Started three way call on channel 2 -- Started music on hold, class 'default', on Zap/3-1 -- Attempting native bridge of Zap/2-1 and Zap/3-1 -- Executing Macro("Zap/2-2", "dial-FXO-only|7351056") in new stack -- Executing Dial("Zap/2-2", "ZAP/3/7351056") in new stack Sep 2 16:14:16 NOTICE[2652]: app_dial.c:764 dial_exec: Unable to create channel of type 'ZAP' == Everyone is busy/congested at this time -- Executing Dial("Zap/2-2", "ZAP/4/7351056") in new stack -- Called 4/7351056 -- Zap/4-1 answered Zap/2-2 -- Attempting native bridge of Zap/2-2 and Zap/4-1 -- Building conference on call on Zap/2-1 and Zap/2-2 -- Stopped music on hold on Zap/3-1 -- Attempting native bridge of Zap/2-2 and Zap/4-1 -- Attempting native bridge of Zap/2-1 and Zap/3-1 -- Starting simple switch on 'Zap/1-1' -- Executing Macro("Zap/1-1", "dial-FXO-only|8202726") in new stack -- Executing Dial("Zap/1-1", "ZAP/3/8202726") in new stack Sep 2 16:14:25 NOTICE[2652]: app_dial.c:764 dial_exec: Unable to create channel of type 'ZAP' == Everyone is busy/congested at this time -- Executing Dial("Zap/1-1", "ZAP/4/8202726") in new stack Sep 2 16:14:25 NOTICE[2652]: app_dial.c:764 dial_exec: Unable to create channel of type 'ZAP' == Everyone is busy/congested at this time -- Executing Congestion("Zap/1-1", "") in new stack == Spawn extension (macro-dial-FXO-only, s, 1) exited non-zero on 'Zap/2-1' in macro 'dial-FXO-only' == Spawn extension (internal, 7651574, 1) exited non-zero on 'Zap/2-1' -- Executing Hangup("Zap/2-1", "") in new stack == Spawn extension (internal, h, 1) exited non-zero on 'Zap/2-1' -- Hungup 'Zap/2-1' -- Hungup 'Zap/3-1<MASQ>' -- Attempting native bridge of Zap/3-1 and Zap/4-1 == Spawn extension (macro-dial-FXO-only, s, 103) exited non-zero on 'Zap/1-1' in macro 'dial-FXO-only' == Spawn extension (internal, 8202726, 1) exited non-zero on 'Zap/1-1' -- Executing Hangup("Zap/1-1", "") in new stack == Spawn extension (internal, h, 1) exited non-zero on 'Zap/1-1' -- Hungup 'Zap/1-1' -- Hungup 'Zap/4-1' == Spawn extension (macro-dial-FXO-only, s, 102) exited non-zero on 'Zap/3-1' in macro 'dial-FXO-only' == Spawn extension (internal, 7351056, 1) exited non-zero on 'Zap/3-1' -- Executing Hangup("Zap/3-1", "") in new stack == Spawn extension (internal, h, 1) exited non-zero on 'Zap/3-1' -- Hungup 'Zap/3-1' -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050906/94adf670/attachment.htm
Michael Graves
2005-Sep-06 12:11 UTC
[Asterisk-Users] Threeway calling uses up two FXO lines
This is the second time that I've seen questions about this in the past few months. My own impression is that it's not worth the trouble. Get yourself an account with a decent ITSP, perhaps IAX2 based, and get a DID via IP. In this way you can have multiple simultaneous incomming calls ( to the limit of your available bandwidth) on the same number. You can conferece on phone using SIP phones, or use a MeetMe conference on the server. It's a better, more manageable solution that doesn't tie up all your POTS lines. Michael --Original Message Text--- From: hugolivude Date: Tue, 6 Sep 2005 14:42:08 -0400 I'm running Asterisk (stable branch downloaded 2-Sep-05) on RedHat 9 and I have a TDM22B installed (TDM400 w/ 2 FXO and 2 FXS ports). Everything seems to work except threeway calling. I can establish a threeway call, but it uses up BOTH FXO lines. Note that I DO have threeway calling active with my Bell service. Here's a typical scenario: 1) Call 765-1574, 2) When they answer, press flash and call 735-1056, 3) Press Flash again and I have a three way call 4) Try calling 820-2726 on the other line and I get fast busy. Asterisk indicates that it was "Unable to create channel of type 'ZAP'" when I attempt the threeway call. As a result, the second call (735-1056) is placed on the other ZAP channel so there's none left when I attempt the third call (820-2726) on the other FXS line. There's no problem with my Bell service as I can do three way calls on BOTH my FXO lines when Asterisk is bypassed and my phones are connected directly to Bell. Any ideas? My zapata.conf and the log of the example above are provided below FYI Thanks Hugh ; ----------------------------------------------------------- ; /etc/asterisk/zapata.conf ; ; [channels] language=en context=internal signalling=fxo_ks threewaycalling=yes transfer=yes channel=>1 ; language=en context=internal signalling=fxo_ks threewaycalling=yes transfer=yes channel=>2 ; language=en context=external-FXO signalling=fxs_ks usecallerid=yes echocancel=yes echocancelwhenbridged=yes rxgain=5% channel => 4 ; language=en context=external-FXO signalling=fxs_ks usecallerid=yes echocancel=yes echocancelwhenbridged=yes rxgain=5% channel => 3 ; ----------------------------------------------------------- ; Sample output *CLI> -- Starting simple switch on 'Zap/2-1' -- Executing Macro("Zap/2-1", "dial-FXO-only|7651574") in new stack -- Executing Dial("Zap/2-1", "ZAP/3/7651574") in new stack -- Called 3/7651574 -- Zap/3-1 answered Zap/2-1 -- Attempting native bridge of Zap/2-1 and Zap/3-1 -- Starting simple switch on 'Zap/2-2' -- Started three way call on channel 2 -- Started music on hold, class 'default', on Zap/3-1 -- Attempting native bridge of Zap/2-1 and Zap/3-1 -- Executing Macro("Zap/2-2", "dial-FXO-only|7351056") in new stack -- Executing Dial("Zap/2-2", "ZAP/3/7351056") in new stack Sep 2 16:14:16 NOTICE[2652]: app_dial.c:764 dial_exec: Unable to create channel of type 'ZAP' == Everyone is busy/congested at this time -- Executing Dial("Zap/2-2", "ZAP/4/7351056") in new stack -- Called 4/7351056 -- Zap/4-1 answered Zap/2-2 -- Attempting native bridge of Zap/2-2 and Zap/4-1 -- Building conference on call on Zap/2-1 and Zap/2-2 -- Stopped music on hold on Zap/3-1 -- Attempting native bridge of Zap/2-2 and Zap/4-1 -- Attempting native bridge of Zap/2-1 and Zap/3-1 -- Starting simple switch on 'Zap/1-1' -- Executing Macro("Zap/1-1", "dial-FXO-only|8202726") in new stack -- Executing Dial("Zap/1-1", "ZAP/3/8202726") in new stack Sep 2 16:14:25 NOTICE[2652]: app_dial.c:764 dial_exec: Unable to create channel of type 'ZAP' == Everyone is busy/congested at this time -- Executing Dial("Zap/1-1", "ZAP/4/8202726") in new stack Sep 2 16:14:25 NOTICE[2652]: app_dial.c:764 dial_exec: Unable to create channel of type 'ZAP' == Everyone is busy/congested at this time -- Executing Congestion("Zap/1-1", "") in new stack == Spawn extension (macro-dial-FXO-only, s, 1) exited non-zero on 'Zap/2-1' in macro 'dial-FXO-only' == Spawn extension (internal, 7651574, 1) exited non-zero on 'Zap/2-1' -- Executing Hangup("Zap/2-1", "") in new stack == Spawn extension (internal, h, 1) exited non-zero on 'Zap/2-1' -- Hungup 'Zap/2-1' -- Hungup 'Zap/3-1<MASQ>' -- Attempting native bridge of Zap/3-1 and Zap/4-1 == Spawn extension (macro-dial-FXO-only, s, 103) exited non-zero on 'Zap/1-1' in macro 'dial-FXO-only' == Spawn extension (internal, 8202726, 1) exited non-zero on 'Zap/1-1' -- Executing Hangup("Zap/1-1", "") in new stack == Spawn extension (internal, h, 1) exited non-zero on 'Zap/1-1' -- Hungup 'Zap/1-1' -- Hungup 'Zap/4-1' == Spawn extension (macro-dial-FXO-only, s, 102) exited non-zero on 'Zap/3-1' in macro 'dial-FXO-only' == Spawn extension (internal, 7351056, 1) exited non-zero on 'Zap/3-1' -- Executing Hangup("Zap/3-1", "") in new stack == Spawn extension (internal, h, 1) exited non-zero on 'Zap/3-1' -- Hungup 'Zap/3-1' -- Michael Graves mgraves@pixelpower.com Sr. Product Specialist www.pixelpower.com Pixel Power Inc. mgraves@mstvp.com o713-861-4005 o800-905-6412 c713-201-1262 fwd 54245 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050906/30eda762/attachment.htm