Stuck on demo-congrats, new install, PIAF

I’ve just installed PBX In A Flash (as I have a few times before) and when I call an internal extention from another internal extention all I get is the demo-congrats sound. I have never seen this happen before. I have fully installed and updated PBX In A Flash and FreePBX modules.

I have tried the forums on PIAF first but I didn’t get help there yet and it’s urgant, so I thought I’d try here and if I still have no luck I’ll try wiping and reinstalling.

Let me know if you have any suggestions first. Thanks.

Here is the output when I try to dial 201 from 202:

Connected to Asterisk 1.4.21.2 currently running on pbx (pid = 30622) Verbosity was 0 and is now 9 -- Executing [201@from-internal:1] NoOp("SIP/202-08b1b218", "") in new stack -- Executing [201@from-internal:2] Playback("SIP/202-08b1b218", "demo-congra ts") in new stack -- <SIP/202-08b1b218> Playing 'demo-congrats' (language 'en') == Spawn extension (from-internal, 201, 2) exited non-zero on 'SIP/202-08b1b21 8' -- Executing [h@from-internal:1] Macro("SIP/202-08b1b218", "hangupcall") in new stack -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/202-08b1b218", "w") in new stack -- Executing [s@macro-hangupcall:2] NoCDR("SIP/202-08b1b218", "") in new sta ck -- Executing [s@macro-hangupcall:3] GotoIf("SIP/202-08b1b218", "1?skiprg") i n new stack -- Goto (macro-hangupcall,s,6) -- Executing [s@macro-hangupcall:6] GotoIf("SIP/202-08b1b218", "1?skipblkvm" ) in new stack -- Goto (macro-hangupcall,s,9) -- Executing [s@macro-hangupcall:9] GotoIf("SIP/202-08b1b218", "1?theend") i n new stack -- Goto (macro-hangupcall,s,11) -- Executing [s@macro-hangupcall:11] Hangup("SIP/202-08b1b218", "") in new s tack == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/202-08b1b 218' in macro 'hangupcall' == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/202-08b1b 218'

Greetings,

Aside from the extension numbers in the log file, I am having this problem as well.

This is a new install of PIAF with a Sangoma A102 which will be used for T1 pass-through from the PSTN to a Toshiba Strata CIX-670, and a Sangoma A200 with 2 FXS and 2 FXO ports.

Before installing the A102 the system worked quite well in a test mode.

I’m new to PAIF, and I have been using the “No Tears” and the O’Reilly “Asterisk” books to help me set up the box.

Any thoughts where I should look?

Greetings…

Here is the status screen:
PBX in a Flash Version 1.4 Daemon Status


  • Asterisk * ONLINE * Zaptel * ONLINE * MySQL * ONLINE *
  • SSH * ONLINE * Apache * ONLINE * Iptables * ONLINE *
  • Fail2ban * ONLINE * IP Connect* OFFLINE * Ip6tables * ONLINE *
  • BlueTooth * ONLINE * Hidd * ONLINE * NTPD * ONLINE *
  • Sendmail * ONLINE * Samba * OFFLINE * Webmin * ONLINE *
  • Ethernet0 * ONLINE * Ethernet1 * N/A * Wlan0 * N/A *

  • Running Asterisk Version : Asterisk 1.4.21.2
  • Asterisk Source Version : 1.4.21.2
  • Zaptel Source Version : 1.4.12.1
  • Libpri Source Version : 1.4.7
  • Addons Source Version : 1.4.7

pbx.local on 192.168.1.98 - eth0
CentOS release 5.4 (Final) :32 Bit Kernel: 2.6.18-92.1.22.el5


For help on PBX commands than you can run type help-pbx *


=======================================================================

Here are the log files:

[2009-12-20 17:31:23] VERBOSE[3438] logger.c: – Executing [2101@from-internal:1] NoOp(“SIP/2100-0a064bd8”, “”) in new stack
[2009-12-20 17:31:23] VERBOSE[3438] logger.c: – Executing [2101@from-internal:2] Playback(“SIP/2100-0a064bd8”, “demo-congrats”) in new stack
[2009-12-20 17:31:23] VERBOSE[3438] logger.c: – <SIP/2100-0a064bd8> Playing ‘demo-congrats’ (language ‘en’)
[2009-12-20 17:31:38] VERBOSE[3438] logger.c: == Spawn extension (from-internal, 2101, 2) exited non-zero on ‘SIP/2100-0a064bd8’
[2009-12-20 17:31:38] VERBOSE[3438] logger.c: – Executing [h@from-internal:1] Macro(“SIP/2100-0a064bd8”, “hangupcall”) in new stack
[2009-12-20 17:31:38] VERBOSE[3438] logger.c: – Executing [s@macro-hangupcall:1] ResetCDR(“SIP/2100-0a064bd8”, “w”) in new stack
[2009-12-20 17:31:38] DEBUG[3438] app_macro.c: Executed application: ResetCDR
[2009-12-20 17:31:38] VERBOSE[3438] logger.c: – Executing [s@macro-hangupcall:2] NoCDR(“SIP/2100-0a064bd8”, “”) in new stack
[2009-12-20 17:31:38] DEBUG[3438] app_macro.c: Executed application: NoCDR
[2009-12-20 17:31:38] VERBOSE[3438] logger.c: – Executing [s@macro-hangupcall:3] GotoIf(“SIP/2100-0a064bd8”, “1?skiprg”) in new stack
[2009-12-20 17:31:38] VERBOSE[3438] logger.c: – Goto (macro-hangupcall,s,6)
[2009-12-20 17:31:38] DEBUG[3438] app_macro.c: Executed application: GotoIf
[2009-12-20 17:31:38] VERBOSE[3438] logger.c: – Executing [s@macro-hangupcall:6] GotoIf(“SIP/2100-0a064bd8”, “1?skipblkvm”) in new stack
[2009-12-20 17:31:38] VERBOSE[3438] logger.c: – Goto (macro-hangupcall,s,9)
[2009-12-20 17:31:38] DEBUG[3438] app_macro.c: Executed application: GotoIf
[2009-12-20 17:31:38] VERBOSE[3438] logger.c: – Executing [s@macro-hangupcall:9] GotoIf(“SIP/2100-0a064bd8”, “1?theend”) in new stack
[2009-12-20 17:31:38] VERBOSE[3438] logger.c: – Goto (macro-hangupcall,s,11)
[2009-12-20 17:31:38] DEBUG[3438] app_macro.c: Executed application: GotoIf
[2009-12-20 17:31:38] VERBOSE[3438] logger.c: – Executing [s@macro-hangupcall:11] Hangup(“SIP/2100-0a064bd8”, “”) in new stack
[2009-12-20 17:31:38] VERBOSE[3438] logger.c: == Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/2100-0a064bd8’ in macro ‘hangupcall’
[2009-12-20 17:31:38] VERBOSE[3438] logger.c: == Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/2100-0a064bd8’
[2009-12-20 17:42:36] VERBOSE[2966] logger.c: – Remote UNIX connection
[2009-12-20 17:42:36] VERBOSE[3678] logger.c: – Remote UNIX connection disconnected
[2009-12-20 17:42:36] VERBOSE[2966] logger.c: – Remote UNIX connection
[2009-12-20 17:42:37] VERBOSE[3681] logger.c: – Remote UNIX connection disconnected

===================================================================================

As mentioned, I am running a Sangoma A102 with 2 T1 lines for passthrough from the PSTN to a Toshiba CIX 670, and a Sangoma A200 with 2 each FXS and FXO ports.

I’ve installed and updated this evening, so I am running the latest CentOS 5.4, and you have already seen the version numbers for Asterisk and PAIF.

============================ configuration files ================================

ZAPTEL.CONF

#autogenerated by /usr/sbin/wancfg_zaptel do not hand edit
#autogenrated on 2009-12-20
#Zaptel Channels Configurations
#For detailed Zaptel options, view /etc/zaptel.conf.bak
loadzone=us
defaultzone=us

#Sangoma A102 port 1 [slot:1 bus:6 span:1]
span=1,1,0,esf,b8zs
bchan=1-23
hardhdlc=24

#Sangoma A102 port 2 [slot:1 bus:6 span:2]
span=2,2,0,esf,b8zs
bchan=25-47
hardhdlc=48

#Sangoma AFT-A200 [slot:0 bus:6 span:3]
fxsks=49
fxsks=50
fxoks=51
fxoks=52

=========================================================================

zapata.conf

;autogenerated by /usr/sbin/wancfg_zaptel do not hand edit
;autogenrated on 2009-12-20
;Zaptel Channels Configurations
;For detailed Zaptel options, view /etc/asterisk/zapata.conf.bak

[trunkgroups]

[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no

;Sangoma A102 port 1 [slot:1 bus:6 span:1]
context=default
group=0
signalling=pri_cpe
channel =>1-23

;Sangoma A102 port 2 [slot:1 bus:6 span:2]
context=toshiba
group=1
signalling=pri_cpe
channel =>25-47

;Sangoma AFT-A200 [slot:0 bus:6 span:3]
context=from-zaptel
group=0
faxdetect=incoming
signalling = fxs_ks
channel => 49

context=from-zaptel
group=0
faxdetect=incoming
signalling = fxs_ks
channel => 50

context=from-internal
group=1
faxdetect=incoming
signalling = fxo_ks
channel => 51

context=from-internal
group=1
faxdetect=incoming
signalling = fxo_ks
channel => 52

==============================================================

Thanks again for your help.

…and I went back to the extensions.conf file and found:

;Sangoma BRI Incoming Contexts
;By default, the wancfg_smg utility will add
; 1. TE spans to the from-pstn context
; 2. NT spans to the from-internal context

;[from-pstn]
;exten => _X.,1,noop
;exten => _X.,n,Playback(demo-congrats)
;;exten => _X.,n,Goto(1)
;exten => _X.,n,Hangup

;[from-internal]
;exten => _X.,1,noop
;exten => _X.,n,Playback(demo-congrats)
;;exten => _X.,n,Goto(1)
;exten => _X.,n,Hangup

which I commented out. All works. Now to deal with the passthrough from and to the PSTN and Toshiba boxes.