Asterisk
2004-Apr-16 09:40 UTC
[Asterisk-Users] Newbie alert: Cannot get voicemail to answer (have scoured the web for help)
I'm having a bit of a problem here: I have a * box with a fritz isdn card (running capi 2.0 and chan_capi) and a x100p card for testing purposes. As a proof of concept, I wanted to be able to dial into the * using the isdn line, listen to a message, and enter a 3 digit extension number. If this happens, I wanted the * box to dial out using the x100p card, into our PBX (Nortel Meridian). If there was no answer, I wanted to leave a voicemail message. Now, I *can* dial in using isdn, enter the extension, and if someone answers, I can speak to them with no problem. However, if there is no answer, or the extension is busy, * just keeps on trying to connect, and never drops to voicemail (busy or unavailable). Please help - I have tried for hours now to find the problem. It is probably a very obvious thing ... I am using cvs head, downloaded this morning. I have attached my conf files below. Julian. #### extensions.conf #### [general] static=yes writeprotect=yes [default] exten => s,1,Wait,1 exten => s,2,Answer exten => s,3,DigitTimeout,5 exten => s,4,ResponseTimeout,10 exten => s,5,BackGround(tt-monkeysintro) exten => s,6,BackGround(tt-monkeys) exten => _7XX,1,Dial(zap/1/${EXTEN}|5m) exten => _7XX,2,Voicemail(u${EXTEN}) exten => _7XX,3,Hangup exten => _7XX,103,Voicemail(b${EXTEN}) exten => _7XX,104,Hangup exten => #,1,Playback(demo-thanks) exten => #,2,Hangup exten => t,1,Goto(#,1) exten => i,1,Playback(invalid) exten => i,2,Hangup #### capi.conf #### ; ; CAPI config ; ; [general] nationalprefix=0 internationalprefix=00 rxgain=0.8 txgain=0.8 [interfaces] msn=OurNumberHere incomingmsn=* controller=1 softdtmf=1 accountcodecontext=from-isdn ;echosquelch=1 echocancel=yes ;echotail=64 callgroup=1 deflect=12345678 devices=2 #### zapata.conf #### [channels] language=en signalling=fxs_ks usecallerid=yes echocancel=yes channel => 1
Sean Cheesman
2004-Apr-16 09:58 UTC
[Asterisk-Users] Newbie alert: Cannot get voicemail to answer (have scoured the web for help)
> However, if there is no answer, or the extension is busy, * > just keeps on trying to connect, and never drops to voicemail > (busy or unavailable). > > exten => _7XX,1,Dial(zap/1/${EXTEN}|5m)try something like exten => _7XX,1,Dial(zap/1/${EXTEN},20) where 20 is the number of seconds you want it to time out after> exten => _7XX,2,Voicemail(u${EXTEN}) > exten => _7XX,3,Hangup > exten => _7XX,103,Voicemail(b${EXTEN})This should be the Dial priority plus 101 (or 102 in your case) Hope this helps.... Sean
Asterisk
2004-Apr-16 10:35 UTC
[Asterisk-Users] Newbie alert: Cannot get voicemail to answer (have scoured the web for help)
Thanks for the help, but the problem remains: did try the ,20 - same thing (but I tried 5 instead). this was from the console: -- Executing Wait("CAPI[contr1/444970]/5", "1") in new stack -- started pbx on channel (callgroup=2)! -- Executing Answer("CAPI[contr1/444970]/5", "") in new stack -- CAPI Answering for MSN 444970 -- Executing DigitTimeout("CAPI[contr1/444970]/5", "5") in new stack -- Set Digit Timeout to 5 -- Executing ResponseTimeout("CAPI[contr1/444970]/5", "10") in new stack -- Set Response Timeout to 10 -- Executing BackGround("CAPI[contr1/444970]/5", "tt-monkeysintro") in new stack -- Playing 'tt-monkeysintro' (language 'en') == CDR updated on CAPI[contr1/444970]/5 -- Executing Dial("CAPI[contr1/444970]/5", "zap/1/711|5") in new stack -- Called 1/711 -- Zap/1-1 answered CAPI[contr1/444970]/5 -- Hungup 'Zap/1-1' == Spawn extension (default, 711, 1) exited non-zero on 'CAPI[contr1/444970]/5' -- CAPI Hangingup Julian.> ----- Original Message ----- > From: "Sean Cheesman" <scheesman@macarthur-group.com> > To: <asterisk-users@lists.digium.com> > Sent: Friday, April 16, 2004 5:58 PM > Subject: RE: [Asterisk-Users] Newbie alert: Cannot get voicemail to answer > (have scoured the web for help) > > > > > However, if there is no answer, or the extension is busy, * > > > just keeps on trying to connect, and never drops to voicemail > > > (busy or unavailable). > > > > > > exten => _7XX,1,Dial(zap/1/${EXTEN}|5m) > > try something like exten => _7XX,1,Dial(zap/1/${EXTEN},20) where 20 is > > the number of seconds you want it to time out after > > > > > exten => _7XX,2,Voicemail(u${EXTEN}) > > > exten => _7XX,3,Hangup > > > exten => _7XX,103,Voicemail(b${EXTEN}) > > This should be the Dial priority plus 101 (or 102 in your case) > > > > Hope this helps.... > > > > Sean > > _______________________________________________ > > Asterisk-Users mailing list > > Asterisk-Users@lists.digium.com > > http://lists.digium.com/mailman/listinfo/asterisk-users > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > >