TE207P Outgoing Calls

All,

Thanks in advance for any help in this matter. I have a TE207P that I am using. Incoming calls work great on the Asterisk but I cannot make outgoing calls. I really need to get this up ASAP! Here is what I am getting:

-- Executing [816789062277@DLPN_SUPER:1] Macro("SIP/2997-08220228", "trunkdial-failover-0.3|Zap/g1/||span_1|") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:1] GotoIf("SIP/2997-08220228", "0?1-fmsetcid|1") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:2] GotoIf("SIP/2997-08220228", "1?1-setgbobname|1") in new stack
-- Goto (macro-trunkdial-failover-0.3,1-setgbobname,1)
-- Executing [1-setgbobname@macro-trunkdial-failover-0.3:1] Set("SIP/2997-08220228", "CALLERID(name)=BAPS Atlanta") in new stack
-- Executing [1-setgbobname@macro-trunkdial-failover-0.3:2] Goto("SIP/2997-08220228", "s|3") in new stack
-- Goto (macro-trunkdial-failover-0.3,s,3)
-- Executing [s@macro-trunkdial-failover-0.3:3] Set("SIP/2997-08220228", "CALLERID(num)=2997") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:4] GotoIf("SIP/2997-08220228", "0?1-dial|1") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:5] Set("SIP/2997-08220228", "CALLERID(all)=6789062277") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:6] Goto("SIP/2997-08220228", "1-dial|1") in new stack
-- Goto (macro-trunkdial-failover-0.3,1-dial,1)
-- Executing [1-dial@macro-trunkdial-failover-0.3:1] Dial("SIP/2997-08220228", "Zap/g1/") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1/
-- Zap/1-1 is proceeding passing it to SIP/2997-08220228
-- Channel 0/1, span 1 got hangup request, cause 1
-- Hungup 'Zap/1-1'

== Everyone is busy/congested at this time (1:0/0/1)
– Executing [1-dial@macro-trunkdial-failover-0.3:2] GotoIf(“SIP/2997-08220228”, “0 > 0 ?1-CHANUNAVAIL|1:1-out|1”) in new stack
– Goto (macro-trunkdial-failover-0.3,1-out,1)
– Executing [1-out@macro-trunkdial-failover-0.3:1] Hangup(“SIP/2997-08220228”, “”) in new stack
== Spawn extension (macro-trunkdial-failover-0.3, 1-out, 1) exited non-zero on ‘SIP/2997-08220228’ in macro ‘trunkdial-failover-0.3’
== Spawn extension (macro-trunkdial-failover-0.3, 1-out, 1) exited non-zero on ‘SIP/2997-08220228’

Here is my zaptel.conf:

Span 1: TE2/0/1 “T2XXP (PCI) Card 0 Span 1” (MASTER) B8ZS/ESF ClockSource

span=1,1,0,esf,b8zs

termtype: te

bchan=1-23
dchan=24

Span 2: TE2/0/2 “T2XXP (PCI) Card 0 Span 2”

span=2,2,0,esf,b8zs

termtype: te

bchan=25-47
dchan=48

Global data

loadzone = us
defaultzone = us

Here is my zapata.conf:

[trunkgroups]

[channels]
context=default
;switchtype=national
;pridialplan=national
;signalling=pri_cpe
;usecallerid=yes
;hidecallerid=no
;callwaiting=yes
;callwaitingcallerid=yes
;threewaycalling=yes
;transfer=yes
;cancallforward=yes
;echocancel=yes
;rxgain=0.0
;txgain=0.0

;group=1
;callgroup=1
;pickupgroup=1

;immediate=no
;callprogress=no

;callerid=asreceived
;group=1

signalling=pri_cpe
channel => 1-23

Howdy,

Something’s screwy in your dialplan macros. See this:

What you’ve got isn’t actually passing the dialed number to the outbound channel.

Cheers.