Hi,
I have the following problem on a Suse 10.0 with asterisk version 1.0.9-4 and BRI AVM Fritz Card USB:
I tried to set up a callback solution ( the same code is running on one of my other machines without errors ). If I call the phone number asterisk is listening on for example with my mobile, it calls me back. That’s working. But if I pick up the call asterisk doesn’t recognize that I picked up. Several seconds later it cancels the call and tries again. By the way Dial-in works… Any ideas?
THANKS!!!
-- started pbx on channel (callgroup=0)!
-- Executing Wait("CAPI[contr1/49....]/0", "1") in new stack
-- Executing NoOp("CAPI[contr1/49....]/0", "0179590...") in new stack
-- Executing NoOp("CAPI[contr1/49.....]/0", "0179590....") in new stack
-- Executing NoOp("CAPI[contr1/49....]/0", "0179590...") in new stack
-- Executing AGI("CAPI[contr1/49......]/0", "callback.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/callback.agi
-- AGI Script callback.agi completed, returning 0
-- Executing SetGlobalVar("CAPI[contr1/49.....]/0", "anrufer=01795903455") in new stack
-- Setting global variable 'anrufer' to '0179590...'
-- Executing NoOp("CAPI[contr1/49.....]/0", "0179590...") in new stack
-- Executing Hangup("CAPI[contr1/49....]/0", "") in new stack
== Spawn extension (capiin, 4..., 8) exited non-zero on 'CAPI[contr1/49400749]/0'
-- CAPI Hangingup
-- Attempting call on CAPI/49...:030... for s@capidialtone:1 (Retry 1)
-- CAPI Hangingup
Feb 20 14:54:07 NOTICE[20758]: pbx_spool.c:229 attempt_thread: Call failed to go through, reason 4
-- Attempting call on CAPI/494...:030.... for s@capidialtone:1 (Retry 2)
-- CAPI Hangingup
Feb 20 14:55:02 NOTICE[20758]: pbx_spool.c:229 attempt_thread: Call failed to go through, reason 4
-- Attempting call on CAPI/494...:030.... for s@capidialtone:1 (Retry 3)
-- CAPI Hangingup
Feb 20 14:55:57 NOTICE[20758]: pbx_spool.c:229 attempt_thread: Call failed to go through, reason 4
-- Attempting call on CAPI/4....:030....... for s@capidialtone:1 (Retry 4)
-- CAPI Hangingup
Feb 20 14:56:52 NOTICE[20758]: pbx_spool.c:229 attempt_thread: Call failed to go through, reason 4
…and sometimes it starts playing messages although nobody is on the phone…
> Channel CAPI[contr1/4...]/6 was answered.
-- Executing Goto("CAPI[contr1/4....]/6", "menu|1") in new stack
-- Goto (capidialtone,menu,1)
-- Executing DigitTimeout("CAPI[contr1/4....]/6", "10") in new stack
-- Set Digit Timeout to 10
-- Executing ResponseTimeout("CAPI[contr1/4.....]/6", "15") in new stack
-- Set Response Timeout to 15
-- Executing Wait("CAPI[contr1/4.....]/6", "1") in new stack
-- Executing SetLanguage("CAPI[contr1/4....]/6", "de") in new stack
-- Executing Read("CAPI[contr1/4....]/6", "Secret|auswahl|0") in new stack
-- Playing 'auswahl' (language 'de')
-- User entered ''
-- Executing NoOp("CAPI[contr1/4.....]/6", "") in new stack
-- Executing SetCIDNum("CAPI[contr1/4....]/6", "") in new stack
-- Executing SetMusicOnHold("CAPI[contr1/4....]/6", "default") in new stack