Summary:ASTERISK-01752: Zap does take calls automatically
Reporter:jp (jp)Labels:
Date Opened:2004-06-03 15:22:19Date Closed:2008-01-15 14:57:12.000-0600
Versions:Frequency of
Description:I just compiled the current CVS head version and realized that no one can call me. If I get an incoming call it is routed successfully to my phone as described in my dialplan.
But instead of ringing Zap answers the call immediately. The caller get connected and hears nothing. The callee does not note that there's an active call.

vice versa I have no problem with outgoing calls.

****** STEPS TO REPRODUCE ******

I use the CVS-HEAD-06/03/04-21:54:54 with bristuff 0.0.2 and this normaly worked fine untill now.
See transcrition of an incoming and outgoing call below.
I noticed that * prints out "Zap/-2-1" instead of normally "Zap/2-1". So there is a hyphen overkill. It also seems that Zap is answering itself (due to "Zap/-2-1 answered Zap/2-1")


   -- Executing Dial("Zap/2-1", "Zap/g1/32110|25|Ttr") in new stack
   -- Called g1/32110
   -- Zap/-2-1 answered Zap/2-1
   -- Attempting native bridge of Zap/2-1 and Zap/-2-1
   -- Channel 2, span 1 got hangup
   -- Hungup 'Zap/-2-1'

   -- Executing GotoIf("Zap/2-1", "1?6:2") in new stack
   -- Goto (out,99599,6)
   -- Executing SetVar("Zap/2-1", "MYDAILEDNUMBER=99599") in new stack
   -- Executing Goto("Zap/2-1", "acl|2110|1") in new stack
   -- Goto (acl,2110,1)
   -- Executing Goto("Zap/2-1", "out-international|99599|1") in new stack
   -- Goto (out-international,99599,1)
   -- Executing SetLanguage("Zap/2-1", "de") in new stack
   -- Executing Answer("Zap/2-1", "") in new stack
   -- Executing Wait("Zap/2-1", "1") in new stack
   -- Accepting call from '2110' to '99599' on channel 2, span 1
   -- Executing VoiceMailMain("Zap/2-1", "s2110") in new stack
   -- Playing 'vm-youhave' (language 'de')
   -- Playing 'vm-no' (language 'de')
   -- Playing 'vm-messages' (language 'de')
   -- Channel 2, span 1 got hangup
 == Spawn extension (out-international, 99599, 4) exited non-zero on 'Zap/2-1'
   -- Hungup 'Zap/2-1'
Comments:By: Mark Spencer (markster) 2004-06-03 17:38:43

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 14:57:12.000-0600

Repository: asterisk
Revision: 3140

U   trunk/channels/chan_zap.c

r3140 | markster | 2008-01-15 14:57:12 -0600 (Tue, 15 Jan 2008) | 2 lines

Make sure that auto created "pseudo" isn't a member of any groups (bugs ASTERISK-1751, ASTERISK-1752)