Unable to make outgoing calls with X100P SE


#1

I’m hoping someone can help me with this one as I cannot figure out where I’ve gone wrong. I have Asterisk 1.8.6.0 running with DAHDI 2.5.0.1 and a Digium X100P analog card. When I connect to the Asterisk server with a SIP softphone and place a call to an external number the call dials and is answered but the X100P never uses the PSTN line it’s connected to, also there is nothing heard on the connection that is created from the SIP phone. Attached are the chan_dahdi.conf, dahdi-channels.conf diles and the diagnostic output from the Asterisk console. Thanks in advance!

[code][trunkgroups]

[channels]
#include /etc/asterisk/dahdi-channels.conf
usecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
group=1
callgroup=1
pickupgroup=1[/code]

[code]; Autogenerated by /usr/sbin/dahdi_genconf on Tue Oct 4 23:24:40 2011
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;

; Span 1: WCFXO/0 “Wildcard X100P Board 1” (MASTER)
;;; line="1 WCFXO/0/0 FXSKS (In use) (EC: MG2 - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
callerid=
group=
context=default[/code]

== Using SIP RTP CoS mark 5 -- Executing [**********@DLPN_DialPlan1:1] Macro("SIP/6000-00000002", "trunkdial-failover-0.3,DAHDI/g1/**********,,trunk_1,") in new stack -- Executing [s@macro-trunkdial-failover-0.3:1] GotoIf("SIP/6000-00000002", "0?1-fmsetcid,1") in new stack -- Executing [s@macro-trunkdial-failover-0.3:2] GotoIf("SIP/6000-00000002", "0?1-setgbobname,1") in new stack -- Executing [s@macro-trunkdial-failover-0.3:3] Set("SIP/6000-00000002", "CALLERID(num)=") in new stack -- Executing [s@macro-trunkdial-failover-0.3:4] Set("SIP/6000-00000002", "CALLERID(all)=") in new stack -- Executing [s@macro-trunkdial-failover-0.3:5] GotoIf("SIP/6000-00000002", "0?1-dial,1") in new stack -- Executing [s@macro-trunkdial-failover-0.3:6] Set("SIP/6000-00000002", "CALLERID(all)=") in new stack -- Executing [s@macro-trunkdial-failover-0.3:7] Set("SIP/6000-00000002", "CALLERID(all)=") in new stack -- Executing [s@macro-trunkdial-failover-0.3:8] Goto("SIP/6000-00000002", "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/6000-00000002", "DAHDI/g1/**********") in new stack -- Called DAHDI/g1/********** -- DAHDI/1-1 answered SIP/6000-00000002 -- Hanging up on 'DAHDI/1-1' -- Hungup 'DAHDI/1-1' == Spawn extension (macro-trunkdial-failover-0.3, 1-dial, 1) exited non-zero on 'SIP/6000-00000002' in macro 'trunkdial-failover-0.3' == Spawn extension (DLPN_DialPlan1, **********, 1) exited non-zero on 'SIP/6000-00000002'


#2

Well, it suddenly started working… No changes were made to the configuration that I’m aware of so I’m at a bit of a loss to explain why. But for the moment it’s sorted. :smile: