[chan-capi-users] CAPI Hangingup for PLCI=0xdead0000 in state 4

Armin Schindler armin at melware.de
Wed Mar 12 07:51:28 CET 2008


On Wed, 12 Mar 2008, Thomas Stegbauer wrote:
> hello ml,
>
> i am trying to setup asterisk (1.4.18) with chan_capi (1.0.2) on debian
> etch for voicebox with a avm fritzcard 2.1
>
> so it hangs parallel to a normal pots-pbx with analog-phone's along.
>
>
> on one test-machine it works fine, on the other the call arrive's and
> rings, but if it rings longer than about 5s i get
>
>
> -- Executing [46148001 at capi-in:1] Wait("CAPI/ISDN1#02/4614xxxx-f", "20")
> in new stack
>  == Spawn extension (capi-in, 4614xxxx, 1) exited non-zero on
> 'CAPI/ISDN1#02/4614xxxx-f'
>  == ISDN1#02: CAPI Hangingup for PLCI=0xdead0000 in state 4
>
>
>
> cause the voicebox should beginn after about 20s, all call's are longer
> than 5s ;)
>
> if i turn arround the extension:
>
> exten => 4614xxxx,1,Answer()
> exten => 4614xxxx,n,Wait(20)
> exten => 4614xxxx,n,VoiceMail(52,su)
>
> it work's, but of course i am unable to answer the call on the pots-phone.
>
>
> the normal extension looks like:
>
> exten => 4614xxxx,1,Wait(10)
> exten => 4614xxxx,n,Answer()
> exten => 4614xxxx,n,Wait(1)
> exten => 4614xxxx,n,VoiceMail(52,su)
>
>
> any ideas?

Yes, your wait(10) is too long for the switch. There is a timeout of about 4
seconds where the switch waits for a response of any phone. So if you want 
to wait longer, you need to change that timeout. This can be done easily 
with
   exten => 123456,1,Ringing
where the timeout is changed from 4 seconds to 120 seconds.
After that, you can Wait(10) or longer.

Armin



More information about the Chan-capi-users mailing list