i have installed B400p with dahdi drivers on elastix 2.03.
i can make outgoing call, but i have some problems with incoming call.
here is my /etc/asterisk/dahdi-channels.conf ; Span 1: B4/0/1 "B4XXP (PCI) Card 0 Span 1" (MASTER) RED group=0,11 context=from-pstn switchtype = euroisdn signalling = bri_cpe channel => 1-2 context = default group = 63
line is connected to span 4. i had to set to bri_cpe_ptmp because on bri_cpe i had no incomming signal.
so when i make a call to this line on my cli i get: == Spawn extension (macro-exten-vm, s-BUSY, 4) exited non-zero on 'DAHDI/10-1' in macro 'exten-vm'
== Spawn extension (from-did-direct, 84, 1) exited non-zero on 'DAHDI/10-1'
-- Hungup 'DAHDI/10-1'
-- Accepting call from '08119571057' to '8119571058' on channel 0/1, span 4
-- Executing [[email protected]:1] NoOp("DAHDI/10-1", "Catch-All DID Match - Found 8119571058 - You probably want a DID for this.") in new stack
-- Executing [[email protected]:2] Goto("DAHDI/10-1", "ext-did,s,1") in new stack
-- Goto (ext-did,s,1)
-- Executing [[email protected]:1] Set("DAHDI/10-1", "__FROM_DID=s") in new stack
-- Executing [[email protected]:2] Gosub("DAHDI/10-1", "app-blacklist-check,s,1") in new stack
-- Executing [[email protected]:1] GotoIf("DAHDI/10-1", "0?blacklisted") in new stack
-- Executing [[email protected]:2] Set("DAHDI/10-1", "CALLED_BLACKLIST=1") in new stack
-- Executing [[email protected]:3] Return("DAHDI/10-1", "") in new stack
-- Executing [[email protected]:3] ExecIf("DAHDI/10-1", "1 ?Set(CALLERID(name)=08119571057)") in new stack
-- Executing [[email protected]:4] Set("DAHDI/10-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [[email protected]:5] Set("DAHDI/10-1", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [[email protected]:6] Goto("DAHDI/10-1", "from-did-direct,84,1") in new stack
-- Goto (from-did-direct,84,1)
-- Executing [[email protected]:1] Macro("DAHDI/10-1", "exten-vm,novm,84") in new stack
-- Executing [[email protected]:1] Macro("DAHDI/10-1", "user-callerid,") in new stack
-- Executing [[email protected]:1] Set("DAHDI/10-1", "AMPUSER=08119571057") in new stack
-- Executing [[email protected]:2] GotoIf("DAHDI/10-1", "0?report") in new stack
-- Executing [[email protected]:3] ExecIf("DAHDI/10-1", "1?Set(REALCALLERIDNUM=08119571057)") in new stack
-- Executing [[email protected]:4] Set("DAHDI/10-1", "AMPUSER=") in new stack
-- Executing [[email protected]:5] Set("DAHDI/10-1", "AMPUSERCIDNAME=") in new stack
-- Executing [[email protected]:6] GotoIf("DAHDI/10-1", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [[email protected]:10] GotoIf("DAHDI/10-1", "0?continue") in new stack
-- Executing [[email protected]:11] Set("DAHDI/10-1", "__TTL=64") in new stack
-- Executing [[email protected]:12] GotoIf("DAHDI/10-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [[email protected]:19] NoOp("DAHDI/10-1", "Using CallerID "08119xxxxx" <08119xxxxxx>") in new stack
-- Executing [[email protected]:2] Set("DAHDI/10-1", "RingGroupMethod=none") in new stack
-- Executing [[email protected]:3] Set("DAHDI/10-1", "VMBOX=novm") in new stack
-- Executing [[email protected]:4] Set("DAHDI/10-1", "EXTTOCALL=84") in new stack
-- Executing [[email protected]:5] Set("DAHDI/10-1", "CFUEXT=") in new stack
-- Executing [[email protected]:6] Set("DAHDI/10-1", "CFBEXT=") in new stack
-- Executing [[email protected]:7] Set("DAHDI/10-1", "RT=""") in new stack
-- Executing [[email protected]:8] Macro("DAHDI/10-1", "record-enable,84,IN") in new stack
-- Executing [[email protected]:1] GotoIf("DAHDI/10-1", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [[email protected]:4] ExecIf("DAHDI/10-1", "0?MacroExit()") in new stack
-- Executing [[email protected]:5] GotoIf("DAHDI/10-1", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [[email protected]:15] GotoIf("DAHDI/10-1", "1?IN") in new stack
-- Goto (macro-record-enable,s,20)
-- Executing [[email protected]:20] ExecIf("DAHDI/10-1", "1?MacroExit()") in new stack
-- Executing [[email protected]:9] Macro("DAHDI/10-1", "dial,,tm,84") in new stack
-- Executing [[email protected]:1] GotoIf("DAHDI/10-1", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [[email protected]:3] AGI("DAHDI/10-1", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is '08119xxxxxx' number is '08119xxxxxx'
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 84 to extension map
-- dialparties.agi: Extension 84 cf is disabled
-- dialparties.agi: Extension 84 do not disturb is disabled
dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
-- dialparties.agi: dbset CALLTRACE/84 to 08119xxxxxx
-- dialparties.agi: Filtered ARG3: 84
-- <DAHDI/10-1>AGI Script dialparties.agi completed, returning 0
-- Executing [[email protected]:7] Dial("DAHDI/10-1", "SIP/84,,tm") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called 84
-- Started music on hold, class 'default', on DAHDI/10-1
-- SIP/84-00000001 is ringing
but i completely hear no audio! but there should be some music. after few seconds my call gets dropped. but if i press answer on my ip phone i get:
-- SIP/84-00000001 answered DAHDI/10-1
-- Stopped music on hold on DAHDI/10-1
but still no audio. i think it cannot pass audio for this i hear nothing and i cannot pick up call..