One incoming call disconnects the other

Hi,

In our setup, we have three phone lines connected to Digium card. We are running Asterisk version 1.2.

Lately, I have noticed a strange problem with our setup. While in the middle of one call, if we get another call on the same extension, the first call gets disconnected instantaneously. This problem does not happen if the second call goes to a different extension.

When I run Asterisk with -vvvgc flag, here is the output I get.

Can someone please help me understand what is going wrong? As far as I remember, this used to work fine earlier. I don’t recall if the problem coincides with the day we upgraded to Asterisk 1.2.

Thank you in advance for your help.

Pradeep

-- Starting simple switch on 'Zap/2-1'

Feb 12 19:30:30 NOTICE[29445]: chan_zap.c:6031 ss_thread: Got event 18 (Ring Begin)…
Feb 12 19:30:31 NOTICE[29445]: chan_zap.c:6031 ss_thread: Got event 2 (Ring/Answered)…
– Executing Goto(“Zap/2-1”, “mainmenu|s|1”) in new stack
– Goto (mainmenu,s,1)
– Executing Answer(“Zap/2-1”, “”) in new stack
– Executing Set(“Zap/2-1”, “TIMEOUT(digit)=5”) in new stack
– Digit timeout set to 5
– Executing Set(“Zap/2-1”, “TIMEOUT(response)=10”) in new stack
– Response timeout set to 10
– Executing BackGround(“Zap/2-1”, “SL/mainmenuannounce”) in new stack
– Playing ‘SL/mainmenuannounce’ (language ‘en’)
== CDR updated on Zap/2-1
– Executing Macro(“Zap/2-1”, “stdexten|SIP/101”) in new stack
– Executing Playback(“Zap/2-1”, “voicemail/default/101/greet”) in new stack
– Playing ‘voicemail/default/101/greet’ (language ‘en’)
– Executing Ringing(“Zap/2-1”, “”) in new stack
– Executing Dial(“Zap/2-1”, “SIP/101|20”) in new stack
– Called 101
– SIP/101-bf67 is ringing
– SIP/101-bf67 answered Zap/2-1

-- Starting simple switch on 'Zap/4-1'

Feb 12 19:31:08 NOTICE[29472]: chan_zap.c:6031 ss_thread: Got event 18 (Ring Begin)…
Feb 12 19:31:11 NOTICE[29472]: chan_zap.c:6031 ss_thread: Got event 2 (Ring/Answered)…
– Executing Goto(“Zap/4-1”, “mainmenu|s|1”) in new stack
– Goto (mainmenu,s,1)
– Executing Answer(“Zap/4-1”, “”) in new stack
– Executing Set(“Zap/4-1”, “TIMEOUT(digit)=5”) in new stack
– Digit timeout set to 5
– Executing Set(“Zap/4-1”, “TIMEOUT(response)=10”) in new stack
– Response timeout set to 10
– Executing BackGround(“Zap/4-1”, “SL/mainmenuannounce”) in new stack
– Playing ‘SL/mainmenuannounce’ (language ‘en’)
== CDR updated on Zap/4-1
– Executing Macro(“Zap/4-1”, “stdexten|SIP/101”) in new stack
– Executing Playback(“Zap/4-1”, “voicemail/default/101/greet”) in new stack
– Playing ‘voicemail/default/101/greet’ (language ‘en’)
– Executing Ringing(“Zap/4-1”, “”) in new stack
– Executing Dial(“Zap/4-1”, “SIP/101|20”) in new stack
– Called 101
– SIP/101-88c1 is ringing
== Spawn extension (macro-stdexten, s, 3) exited non-zero on ‘Zap/2-1’ in macro ‘stdexten’
== Spawn extension (mainmenu, 101, 1) exited non-zero on ‘Zap/2-1’
– Hungup ‘Zap/2-1’
– SIP/101-88c1 answered Zap/4-1
== Spawn extension (macro-stdexten, s, 3) exited non-zero on ‘Zap/4-1’ in macro ‘stdexten’
== Spawn extension (mainmenu, 101, 1) exited non-zero on ‘Zap/4-1’
– Hungup ‘Zap/4-1’