# b410p and dahdi

**URL:** <https://community.asterisk.org/t/b410p-and-dahdi/29901>\
**Category:** Asterisk Support\
**Created:** [November 28, 2009, 12:25pm UTC](https://community.asterisk.org/t/b410p-and-dahdi/29901 "2009-11-28T12:25:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [November 28, 2009, 12:25pm UTC](https://community.asterisk.org/t/b410p-and-dahdi/29901/1 "2009-11-28T12:25:17Z")

</div>

Hello there

I have a b410p and tmd400. I am unable to make any outgoing calls. Any help would really be appreciated  
the error

` -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/1000-087a59b0", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/1000-087a59b0", "1?AGI(fixlocalprefix)") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
  == fixlocalprefix: Dialpattern 00262|0+X. matched. 00262262295954 -> 0262295954
    -- <SIP/1000-087a59b0>AGI Script fixlocalprefix completed, returning 0
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/1000-087a59b0", "OUTNUM=0262295954") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/1000-087a59b0", "custom=AMP") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/1000-087a59b0", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/1000-087a59b0", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/1000-087a59b0", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/1000-087a59b0", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/1000-087a59b0", "1?customtrunk") in new stack
    -- Goto (macro-dialout-trunk,s,21)
    -- Executing [s@macro-dialout-trunk:21] Set("SIP/1000-087a59b0", "pre_num=AMP:DAHDI/8/") in new stack
    -- Executing [s@macro-dialout-trunk:22] Set("SIP/1000-087a59b0", "the_num=OUTNUM") in new stack
    -- Executing [s@macro-dialout-trunk:23] Set("SIP/1000-087a59b0", "post_num=") in new stack
    -- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/1000-087a59b0", "1?outnum:skipoutnum") in new stack
    -- Goto (macro-dialout-trunk,s,25)
    -- Executing [s@macro-dialout-trunk:25] Set("SIP/1000-087a59b0", "the_num=0262295954") in new stack
    -- Executing [s@macro-dialout-trunk:26] Dial("SIP/1000-087a59b0", "DAHDI/8/0262295954,300,") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called 8/0262295954
    -- DAHDI/8-1 is proceeding passing it to SIP/1000-087a59b0
    -- Channel 0/1, span 3 got hangup request, cause 28
    -- Hungup 'DAHDI/8-1'
  == Everyone is busy/congested at this time (1:0/0/1)
`

chan\_dahdi.conf

[code][channels]  
#include "dahdi-channels.conf"  
switchtype=euroisdn  
usecallerid=yes  
callwaiting=yes  
usecallingpres=yes  
callwaitingcallerid=yes  
threewaycalling=yes  
transfer=yes  
canpark=yes  
cancallforward=yes  
callreturn=yes  
echocancel=yes  
echocancelwhenbridged=yes  
context=from-zaptel

pridialplan=unknown  
prilocaldialplan=unknown  
internationalprefix = 00  
nationalprefix = 0  
[/code]

dahdi-channels.conf

[code]; Span 2: B4/0/1 “B4XXP (PCI) Card 0 Span 1” (MASTER) AMI/CCS  
group=0,12  
context=from-pstn  
switchtype = euroisdn  
signalling = bri\_cpe\_ptmp  
channel =\> 5-6

; Span 3: B4/0/2 “B4XXP (PCI) Card 0 Span 2” AMI/CCS  
group=0,13  
context=from-pstn  
switchtype = euroisdn  
signalling = bri\_cpe\_ptmp  
channel =\> 8-9  
[/code]
