No audio on incoming calls

ramoncio

Joined
May 12, 2010
Messages
1,663
Likes
0
Points
0
#1
I have problems with zap channels in 0.9 again. Outgoing calls work perfect, but incoming calls have no audio in both parties!!
I send the incoming call in ZAP/5 to a ringroup with extensions 101, 102 (ZAP/1, ZAP/2) and 3004 (SIP Phone).
The call enters through ZAP/5, and caller can listen the music on hold, but when I pickup the extension (101 in this case) the audio stops for both parties.
But the card and modules seem to work ok because if you call out everything works fine.

I don't know what is happening, maybe someone can point out the config error?


[root@elastix ~]# asterisk -rvvvvvvvvvvvvvvvvvvvvvvvvv
Asterisk 1.4.13, Copyright (C) 1999 - 2007 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for detail s.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.13 currently running on elastix (pid = 4525)
Verbosity is at least 25
-- Starting simple switch on 'Zap/5-1'
-- Executing [s@from-pstn:1] Set("Zap/5-1", "__FROM_DID=s") in new stack
-- Executing [s@from-pstn:2] GotoIf("Zap/5-1", "1 ?cidok") in new stack
-- Goto (from-pstn,s,4)
-- Executing [s@from-pstn:4] NoOp("Zap/5-1", "CallerID is "" <965780000>") in new stack
-- Executing [s@from-pstn:5] Goto("Zap/5-1", "ext-group|110|1") in new stack
-- Goto (ext-group,110,1)
-- Executing [110@ext-group:1] Macro("Zap/5-1", "user-callerid|") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("Zap/5-1", "user-callerid: 965780000") in new stack
-- Executing [s@macro-user-callerid:2] Set("Zap/5-1", "AMPUSER=965780000") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("Zap/5-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] GotoIf("Zap/5-1", "0?start") in new stack
-- Executing [s@macro-user-callerid:5] Set("Zap/5-1", "REALCALLERIDNUM=965780000") in new stack
-- Executing [s@macro-user-callerid:6] NoOp("Zap/5-1", "REALCALLERIDNUM is 965780000") in new stack
-- Executing [s@macro-user-callerid:7] Set("Zap/5-1", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:8] Set("Zap/5-1", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("Zap/5-1", "1?report") in new stack
-- Goto (macro-user-callerid,s,13)
-- Executing [s@macro-user-callerid:13] NoOp("Zap/5-1", "TTL: ARG1: ") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("Zap/5-1", "0?continue") in new stack
-- Executing [s@macro-user-callerid:15] Set("Zap/5-1", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:16] GotoIf("Zap/5-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("Zap/5-1", "Using CallerID "" <965780000>") in new stack
-- Executing [110@ext-group:2] GotoIf("Zap/5-1", "1?skipdb") in new stack
-- Goto (ext-group,110,4)
-- Executing [110@ext-group:4] Set("Zap/5-1", "__NODEST=") in new stack
-- Executing [110@ext-group:5] Set("Zap/5-1", "__BLKVM_OVERRIDE=BLKVM/110/Zap/5-1") in new stack
-- Executing [110@ext-group:6] Set("Zap/5-1", "__BLKVM_BASE=110") in new stack
-- Executing [110@ext-group:7] Set("Zap/5-1", "DB(BLKVM/110/Zap/5-1)=TRUE") in new stack
-- Executing [110@ext-group:8] Set("Zap/5-1", "RRNODEST=") in new stack
-- Executing [110@ext-group:9] Set("Zap/5-1", "__NODEST=110") in new stack
-- Executing [110@ext-group:10] Set("Zap/5-1", "RecordMethod=Group") in new stack
-- Executing [110@ext-group:11] Macro("Zap/5-1", "record-enable|101-102-3004|Group") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("Zap/5-1", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("Zap/5-1", "recordingcheck|20071121-170836|1195661314.31") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20071121-170836|1195661314.31: No DB Entry AMPUSER/3004/recording - Not recording
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("Zap/5-1", "No recording needed") in new stack
-- Executing [110@ext-group:12] Set("Zap/5-1", "RingGroupMethod=ringall") in new stack
-- Executing [110@ext-group:13] GotoIf("Zap/5-1", "0?DIALGRP") in new stack
-- Executing [110@ext-group:14] Answer("Zap/5-1", "") in new stack
-- Executing [110@ext-group:15] Wait("Zap/5-1", "1") in new stack
-- Executing [110@ext-group:16] Playback("Zap/5-1", "custom/bienvenido_car_ra") in new stack
-- <Zap/5-1> Playing 'custom/bienvenido_car_ra' (language 'es')
-- Executing [110@ext-group:17] Macro("Zap/5-1", "dial|20|m(default)Tt|101-102-3004") in new stack
-- Executing [s@macro-dial:1] GotoIf("Zap/5-1", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("Zap/5-1", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is '' number is '965780000'
dialparties.agi: USE_CONFIRMATION: 'FALSE'
dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is 'ringall'
-- dialparties.agi: Added extension 101 to extension map
-- dialparties.agi: Added extension 102 to extension map
-- dialparties.agi: Added extension 3004 to extension map
-- dialparties.agi: Extension 101 cf is disabled
-- dialparties.agi: Extension 102 cf is disabled
-- dialparties.agi: Extension 3004 cf is disabled
-- dialparties.agi: Extension 101 do not disturb is disabled
-- dialparties.agi: Extension 102 do not disturb is disabled
-- dialparties.agi: Extension 3004 do not disturb is disabled
> dialparties.agi: extnum 101 has: cw: 0; hascfb: 0 [] hascfu: 0 []
> dialparties.agi: ExtensionState: 0
dialparties.agi: Extension 101 has ExtensionState: 0
-- dialparties.agi: Checking CW and CFB status for extension 101
-- dialparties.agi: dbset CALLTRACE/101 to 965780000
> dialparties.agi: extnum 102 has: cw: 0; hascfb: 0 [] hascfu: 0 []
> dialparties.agi: ExtensionState: 0
dialparties.agi: Extension 102 has ExtensionState: 0
-- dialparties.agi: Checking CW and CFB status for extension 102
-- dialparties.agi: dbset CALLTRACE/102 to 965780000
> dialparties.agi: extnum 3004 has: cw: 0; hascfb: 0 [] hascfu: 0 []
> dialparties.agi: ExtensionState: -1
dialparties.agi: Extension 3004 has ExtensionState: -1
-- dialparties.agi: Checking CW and CFB status for extension 3004
-- dialparties.agi: dbset CALLTRACE/3004 to 965780000
> dialparties.agi: NODEST: 110 adding M(auto-blkvm) to dialopts: m(default)TtM(auto-blkvm)
> dialparties.agi: NODEST: 110 blkvm enabled macro already in dialopts: m(default)TtM(auto-blkvm)
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:10] Dial("Zap/5-1", "ZAP/1&ZAP/2|20|m(default)TtM(auto-blkvm)") in new stack
-- Called 1
-- Called 2
-- Started music on hold, class 'default', on Zap/5-1
-- Zap/1-1 is ringing
-- Zap/2-1 is ringing
== Manager 'admin' logged off from 127.0.0.1
-- Zap/1-1 is ringing
-- Zap/2-1 is ringing
-- Zap/1-1 answered Zap/5-1
-- Hungup 'Zap/2-1'
-- Executing [s@macro-auto-blkvm:1] Set("Zap/1-1", "__MACRO_RESULT=") in new stack
-- Executing [s@macro-auto-blkvm:2] DBdel("Zap/1-1", "BLKVM/110/Zap/5-1") in new stack
-- DBdel: family=BLKVM, key=110/Zap/5-1
-- Stopped music on hold on Zap/5-1
-- Hungup 'Zap/1-1'
== Spawn extension (macro-dial, s, 10) exited non-zero on 'Zap/5-1' in macro 'dial'
== Spawn extension (macro-dial, s, 10) exited non-zero on 'Zap/5-1'
-- Executing [h@macro-dial:1] Macro("Zap/5-1", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("Zap/5-1", "w") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("Zap/5-1", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("Zap/5-1", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("Zap/5-1", "0?skipblkvm") in new stack
-- Executing [s@macro-hangupcall:7] NoOp("Zap/5-1", "Cleaning Up Block VM Flag: BLKVM/110/Zap/5-1") in new stack
-- Executing [s@macro-hangupcall:8] DBdel("Zap/5-1", "BLKVM/110/Zap/5-1") in new stack
-- DBdel: family=BLKVM, key=110/Zap/5-1
-- DBdel: Error deleting key from database.
-- Executing [s@macro-hangupcall:9] GotoIf("Zap/5-1", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("Zap/5-1", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Zap/5-1' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Zap/5-1'
-- Hungup 'Zap/5-1'
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top