Frank Sautter
2005-Jan-27 05:09 UTC
[Asterisk-Users] Busy - problem with Asterisk spliced between Arcor E1-PRI and Ericsson BP250
hi, well, most of the things work right now due to the help of peter svensson, but after heavy use of our ericsson BP250 today several problems appeared. i split into several mails as they are seperate problems. * i can't signal Busy to the calling party. asterisk receives busy from the ericsson PBX but does not forward this to the external caller. i tried with exten => _.,102,Busy() with no effect. this is the part of the extensions.conf i'm using: [pri-external] exten => _5678.,1,SetCIDNum(0${CALLERIDNUM}) ; Add a leading zero exten => _5678.,2,Goto(${EXTEN:4}|1) ; Strip trunk digits from the DDI exten => h,HangUp() include => durchwahl include => pri-external-route [pri-external-route] exten => _.,1,Dial(Zap/g3/${EXTEN}) exten => _.,2,Hangup() exten => _.,102,Busy() this is a excerpt from /var/log/asterisk/full a call from a mobile phone (017212345678) to extension 134 which is busy: -- Starting simple switch on 'Zap/35-1' -- Executing SetCIDNum("Zap/35-1", "017212345678") in new stack -- Executing Goto("Zap/35-1", "134|1") in new stack -- Goto (pri-external,134,1) -- Executing Dial("Zap/35-1", "Zap/g3/134") in new stack -- Called g3/134 -- Zap/38-1 is making progress passing it to Zap/35-1 Requested indication 14 on channel Zap/35-1 Received AST_CONTROL_PROGRESS on Zap/35-1 Dunno what to do with control type 15 -- Zap/38-1 is busy Set option AUDIO MODE, value: ON(1) on Zap/38-1 Hangup: channel: 38 index = 0, normal = 63, callwait = -1, thirdcall = -1 Not yet hungup... Calling hangup once with icause, and clearing call disabled echo cancellation on channel 38 Set option TDD MODE, value: OFF(0) on Zap/38-1 Updated conferencing on 38, with 0 conference users Set option AUDIO MODE, value: OFF(0) on Zap/38-1 disabled echo cancellation on channel 38 -- Hungup 'Zap/38-1' == Everyone is busy/congested at this time (1:1/0/0) Exiting with DIALSTATUS=BUSY. -- Executing Busy("Zap/35-1", "") in new stack Requested indication 5 on channel Zap/35-1 == Spawn extension (pri-external, 134, 102) exited non-zero on 'Zap/35-1' -- Executing Dial("Zap/35-1", "Zap/g3/h") in new stack -- Called g3/h Set option AUDIO MODE, value: ON(1) on Zap/38-1 Hangup: channel: 38 index = 0, normal = 63, callwait = -1, thirdcall = -1 Not yet hungup... Calling hangup once with icause, and clearing call disabled echo cancellation on channel 38 Set option TDD MODE, value: OFF(0) on Zap/38-1 Updated conferencing on 38, with 0 conference users Set option AUDIO MODE, value: OFF(0) on Zap/38-1 disabled echo cancellation on channel 38 -- Hungup 'Zap/38-1' Exiting with DIALSTATUS=CANCEL. == Spawn extension (pri-external, h, 1) exited non-zero on 'Zap/35-1' Set option AUDIO MODE, value: ON(1) on Zap/35-1 Hangup: channel: 35 index = 0, normal = 60, callwait = -1, thirdcall = -1 Not yet hungup... Calling hangup once with icause, and clearing call disabled echo cancellation on channel 35 Set option TDD MODE, value: OFF(0) on Zap/35-1 Updated conferencing on 35, with 0 conference users Set option AUDIO MODE, value: OFF(0) on Zap/35-1 disabled echo cancellation on channel 35 -- Hungup 'Zap/35-1' regards frank sautter
Peter Svensson
2005-Jan-27 05:36 UTC
[Asterisk-Users] Re: Busy - problem with Asterisk spliced between Arcor E1-PRI and Ericsson BP250
On Thu, 27 Jan 2005, Frank Sautter wrote:> * i can't signal Busy to the calling party. > asterisk receives busy from the ericsson PBX but does not forward > this to the external caller. i tried with exten => _.,102,Busy() with > no effect. this is the part of the extensions.conf i'm using: > > [pri-external] > exten => _5678.,1,SetCIDNum(0${CALLERIDNUM}) ; Add a leading zero > exten => _5678.,2,Goto(${EXTEN:4}|1) ; Strip trunk digits from the DDI > exten => h,HangUp() > include => durchwahl > include => pri-external-route > > [pri-external-route] > exten => _.,1,Dial(Zap/g3/${EXTEN}) > exten => _.,2,Hangup() > exten => _.,102,Busy()The extension "_." will match the 'h' context as well. You need to use "_X." or rearrange your hangup context into a separate context that is included before the pri-external-route context in pri-external. The order of evaluation is only well defined for included contexts. Have you set priindication=outofband in zapata.conf? From the log it seems that way. You have to decide if you want audio notification or isdn notification of the busy condition. You may want to set the variable PRI_CAUSE=17 prior to hangup to explicitly send the busy cause code over isdn. Peter
Frank Sautter
2005-Jan-28 03:23 UTC
[Asterisk-Users] Busy - problem with Asterisk spliced between Arcor E1-PRI and Ericsson BP250
Frank Sautter schrieb:> * i can't signal Busy to the calling party. > asterisk receives busy from the ericsson PBX but does not forward > this to the external caller. i tried with exten => _.,102,Busy() with > no effect. this is the part of the extensions.conf i'm using:peter svensson gave me the hint to set priindication=outofband now i'm able to signal busy to the calling party and with setting PRI_CAUSE there are even more possibilities see http://www.voip-info.org/wiki-Asterisk+cmd+Hangup regards frank
Possibly Parallel Threads
- Problems splicing Asterisk with a TE405P between Arcor E1 PRI and Ericsson Business Phone 250
- Connecting * to a Ericsson BP250
- Q: ISDN / E1-PRI - fax problems - Receiving and setting of Service Indicator (SIN) / Bearer Capability (BC) / High Level Compatibility (HLC) / Low Level Compatibility (LLC)
- delay on pri dialling when asterisk is spliced between E1-Pri and legacy pbx
- Q: How to get the preset callerid from a CLID-no-screen E1-PRI