Well,…
Inbound calls work fine, but I can’t redirect to the second B200E ISDN card
This is what I’ve done:
1.- Do dahid_genconf and edit dahdi-channels.conf. Span 3 and 4 ar in NT mode, so Span 1 and 2 are group 0 and span 3 and 4 are configured in group 1. Have alook at signalling and context. from-internal for span 3 and 4 is ok, isn’t it?:
; Span 1: B4/0/1 “B4XXP (PCI) Card 0 Span 1” (MASTER) RED
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 1-2
context = default
group = 63
; Span 2: B4/0/2 “B4XXP (PCI) Card 0 Span 2” RED
group=0,12
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 4-5
context = default
group = 63
; Span 3: B4/1/1 “B4XXP (PCI) Card 1 Span 1” RED
group=1,13
context=from-internal
switchtype = euroisdn
signalling = bri_net_ptmp
channel => 7-8
context = default
group = 63
; Span 4: B4/1/2 “B4XXP (PCI) Card 1 Span 2” RED
group=1,14
context=from-internal
switchtype = euroisdn
signalling = bri_net_ptmp
channel => 10-11
context = default
group = 63
2.- In freepbx web pannel, i’ve created a new trunk as ZAP Trunk (DAHDi compatibility Mode). Zap identifyer is g1. Do I’ve to do anything in Dialed Number Manipulation Rules? Do I’ve to configure DAHDI trunk instead of Zap Trunk?
3.- In inbound routes, I’ve configured one route named “ISDNINBOUND” and “set destination” >>>> Trunk > g1(zap)
If i make a call to freepbx machine I get this in the CLI:
– Executing [[email protected]:4] ExecIf(“DAHDI/i1/945044455-2b”, “1?Set(CALLERPRES()=allowed)”) in new stack
– Executing [[email protected]:5] Set(“DAHDI/i1/945044455-2b”, “DIAL_NUMBER=s”) in new stack
– Executing [[email protected]:6] GosubIf(“DAHDI/i1/945044455-2b”, “1?sub-flp-2,s,1”) in new stack
– Executing [[email protected]:1] ExecIf(“DAHDI/i1/945044455-2b”, “0?Return()”) in new stack
– Executing [[email protected]:2] Return(“DAHDI/i1/945044455-2b”, “”) in new stack
– Executing [[email protected]:7] Set(“DAHDI/i1/945044455-2b”, “OUTNUM=s”) in new stack
– Executing [[email protected]:8] Dial(“DAHDI/i1/945044455-2b”, “ZAP/g1/s,300,”) in new stack
[2011-07-11 16:19:38] WARNING[4223]: channel.c:5444 ast_request: No channel type registered for ‘ZAP’
[2011-07-11 16:19:38] WARNING[4223]: app_dial.c:2041 dial_exec_full: Unable to create channel of type ‘ZAP’ (cause 66 - Channel not implemented)
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [[email protected]:9] Set(“DAHDI/i1/945044455-2b”, “CALLERID(number)=945044455”) in new stack
– Executing [[email protected]:10] Set(“DAHDI/i1/945044455-2b”, “CALLERID(name)=945044455”) in new stack
– Executing [[email protected]:11] Hangup(“DAHDI/i1/945044455-2b”, “”) in new stack
== Spawn extension (ext-trunk, tdial, 11) exited non-zero on ‘DAHDI/i1/945044455-2b’
– Hungup ‘DAHDI/i1/945044455-2b’
HELP PLEASE!! THANKS AGAIN!