Sangoma a200 not dialing but pickup ok

I just re-installed because of a hard disk failure. No big deal, I wanted to use a solid state drive to reduce the noise.

after the install (which went very smoothly), I created my extensions (and could make internal calls).

I created the trunk and used it in a route. Inbound route gave no grief and the system can answer POTS calls.

However nothing I do will make it call out. I know that I googled last time and found a solution to comment out a few lines in one of the .conf files. but no amount of googling has given me an answer.

This must be a known issue. The sangoma A200 will answer calls but will not make them.

this is the end of the log when I attempt to make a call:

Goto (sub-flp-1,s,4)
– Executing [[email protected]:4] Set(“SIP/350-00000001”, “DIAL_NUMBER=19178864934”) in new stack
– Executing [[email protected]:5] Return(“SIP/350-00000001”, “”) in new stack
– Executing [[email protected]:13] Set(“SIP/350-00000001”, “OUTNUM=19178864934”) in new stack
– Executing [[email protected]:14] Set(“SIP/350-00000001”, “custom=DAHDI/g0”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/350-00000001”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))”) in new stack
– Executing [[email protected]:16] ExecIf(“SIP/350-00000001”, “0?Set(DIAL_TRUNK_OPTIONS=M(confirm))”) in new stack
– Executing [[email protected]:17] Macro(“SIP/350-00000001”, “dialout-trunk-predial-hook,”) in new stack
– Executing [[email protected]:1] MacroExit(“SIP/350-00000001”, “”) in new stack
– Executing [[email protected]:18] GotoIf(“SIP/350-00000001”, “0?bypass,1”) in new stack
– Executing [[email protected]:19] ExecIf(“SIP/350-00000001”, “1?Set(CONNECTEDLINE(num,i)=19178864934)”) in new stack
– Executing [[email protected]:20] ExecIf(“SIP/350-00000001”, “1?Set(CONNECTEDLINE(name,i)=CID:350)”) in new stack
– Executing [[email protected]:21] GotoIf(“SIP/350-00000001”, “0?customtrunk”) in new stack
– Executing [[email protected]:22] Dial(“SIP/350-00000001”, “DAHDI/g0/19178864934,300,”) in new stack
– Called DAHDI/g0/19178864934
– DAHDI/1-1 answered SIP/350-00000001

dahdi show channels
Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
1 from-zaptel en default In Service
2 from-zaptel en default In Service
3 from-internal en default In Service
4 from-internal en default In Service

any ideas please. I am going to try to resurrect the old drive and see if I can find the edited conf file.

Ted

You gotta show the log after the DAHDI dial group 0.

Are you channels in group 0? Try the channels one at a time in your trunk. On small 4 port card it is more instructive to make a trunk per channel and concatanate them together in your routes.

here is the whole log. is there some other log setting to get more info?

[[email protected] ~]# asterisk -vvvvr
Asterisk 1.8.9.3, Copyright © 1999 - 2011 Digium, Inc. and others.
Created by Mark Spencer [email protected]
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.

== Parsing ‘/etc/asterisk/asterisk.conf’: == Found
Connected to Asterisk 1.8.9.3 currently running on new-host-3 (pid = 3892)
Verbosity is at least 6
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [[email protected]:1] Macro(“SIP/350-00000009”, “user-callerid,LIMIT,”) in new stack
– Executing [[email protected]:1] Set(“SIP/350-00000009”, “AMPUSER=350”) in new stack
– Executing [[email protected]:2] GotoIf(“SIP/350-00000009”, “0?report”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/350-00000009”, “1?Set(REALCALLERIDNUM=350)”) in new stack
– Executing [[email protected]:4] Set(“SIP/350-00000009”, “AMPUSER=350”) in new stack
– Executing [[email protected]:5] Set(“SIP/350-00000009”, “AMPUSERCIDNAME=Kitchen”) in new stack
– Executing [[email protected]:6] GotoIf(“SIP/350-00000009”, “0?report”) in new stack
– Executing [[email protected]:7] Set(“SIP/350-00000009”, “AMPUSERCID=350”) in new stack
– Executing [[email protected]:8] Set(“SIP/350-00000009”, “CALLERID(all)=“Kitchen” <350>”) in new stack
– Executing [[email protected]:9] GotoIf(“SIP/350-00000009”, “0?limit”) in new stack
– Executing [[email protected]:10] ExecIf(“SIP/350-00000009”, “1?Set(GROUP(concurrency_limit)=350)”) in new stack
– Executing [[email protected]:11] ExecIf(“SIP/350-00000009”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [[email protected]:12] GosubIf(“SIP/350-00000009”, “7?sub-ccss,s,1(from-internal,9178864934)”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/350-00000009”, “0?Return()”) in new stack
– Executing [[email protected]:2] Set(“SIP/350-00000009”, “CCSS_SETUP=TRUE”) in new stack
– Executing [[email protected]:3] GosubIf(“SIP/350-00000009”, “0?monitor_config,1(from-internal,9178864934):monitor_default,1(from-internal,9178864934)”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/350-00000009”, “0?is_exten”) in new stack
– Executing [[email protected]:2] StackPop(“SIP/350-00000009”, “”) in new stack
– Executing [[email protected]:3] Return(“SIP/350-00000009”, “FALSE”) in new stack
– Executing [[email protected]:13] GotoIf(“SIP/350-00000009”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,26)
– Executing [[email protected]:26] Set(“SIP/350-00000009”, “CALLERID(number)=350”) in new stack
– Executing [[email protected]:27] Set(“SIP/350-00000009”, “CALLERID(name)=Kitchen”) in new stack
– Executing [[email protected]:28] Set(“SIP/350-00000009”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:2] Set(“SIP/350-00000009”, “MOHCLASS=default”) in new stack
– Executing [[email protected]:3] Set(“SIP/350-00000009”, “_NODEST=”) in new stack
– Executing [[email protected]:4] Gosub(“SIP/350-00000009”, “sub-record-check,s,1(out,9178864934,)”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/350-00000009”, “1?check”) in new stack
– Goto (sub-record-check,s,6)
– Executing [[email protected]:6] Set(“SIP/350-00000009”, “__MON_FMT=wav”) in new stack
– Executing [[email protected]:7] GotoIf(“SIP/350-00000009”, “1?next”) in new stack
– Goto (sub-record-check,s,10)
– Executing [[email protected]:10] ExecIf(“SIP/350-00000009”, “0?Return()”) in new stack
– Executing [[email protected]:11] GotoIf(“SIP/350-00000009”, “0?out,1”) in new stack
– Executing [[email protected]:12] Set(“SIP/350-00000009”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/350-00000009”, “0?Set(__REC_POLICY_MODE=)”) in new stack
– Executing [[email protected]:14] Set(“SIP/350-00000009”, “NOW=1349016721”) in new stack
– Executing [[email protected]:15] Set(“SIP/350-00000009”, “__DAY=30”) in new stack
– Executing [[email protected]:16] Set(“SIP/350-00000009”, “__MONTH=09”) in new stack
– Executing [[email protected]:17] Set(“SIP/350-00000009”, “__YEAR=2012”) in new stack
– Executing [[email protected]:18] Set(“SIP/350-00000009”, “__TIMESTR=20120930-105201”) in new stack
– Executing [[email protected]:19] Set(“SIP/350-00000009”, “__FROMEXTEN=350”) in new stack
– Executing [[email protected]:20] Set(“SIP/350-00000009”, “__CALLFILENAME=out-9178864934-350-20120930-105201-1349016721.15”) in new stack
– Executing [[email protected]:21] Goto(“SIP/350-00000009”, “out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [[email protected]:1] ExecIf(“SIP/350-00000009”, “1?Set(__REC_POLICY_MODE=dontcare)”) in new stack
– Executing [out[email protected]:2] GosubIf(“SIP/350-00000009”, “0?record,1(exten,9178864934,350)”) in new stack
– Executing [[email protected]:3] Return(“SIP/350-00000009”, “”) in new stack
– Executing [[email protected]:5] Macro(“SIP/350-00000009”, “dialout-trunk,1,9178864934,”) in new stack
– Executing [[email protected]:1] Set(“SIP/350-00000009”, “DIAL_TRUNK=1”) in new stack
– Executing [[email protected]:2] GosubIf(“SIP/350-00000009”, “0?sub-pincheck,s,1()”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/350-00000009”, “0?disabletrunk,1”) in new stack
– Executing [[email protected]:4] Set(“SIP/350-00000009”, “DIAL_NUMBER=9178864934”) in new stack
– Executing [[email protected]:5] Set(“SIP/350-00000009”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
– Executing [[email protected]:6] Set(“SIP/350-00000009”, “OUTBOUND_GROUP=OUT_1”) in new stack
– Executing [[email protected]:7] GotoIf(“SIP/350-00000009”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [[email protected]:9] GotoIf(“SIP/350-00000009”, “0?skipoutcid”) in new stack
– Executing [[email protected]:10] Set(“SIP/350-00000009”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [[email protected]:11] Macro(“SIP/350-00000009”, “outbound-callerid,1”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/350-00000009”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [[email protected]:2] ExecIf(“SIP/350-00000009”, “0?Set(REALCALLERIDNUM=350)”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/350-00000009”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [[email protected]:6] Set(“SIP/350-00000009”, “USEROUTCID=”) in new stack
– Executing [[email protected]:7] Set(“SIP/350-00000009”, “EMERGENCYCID=”) in new stack
– Executing [[email protected]:8] Set(“SIP/350-00000009”, “TRUNKOUTCID=”) in new stack
– Executing [[email protected]:9] GotoIf(“SIP/350-00000009”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,12)
– Executing [[email protected]:12] ExecIf(“SIP/350-00000009”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/350-00000009”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:14] ExecIf(“SIP/350-00000009”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/350-00000009”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [[email protected]:12] GosubIf(“SIP/350-00000009”, “1?sub-flp-1,s,1()”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/350-00000009”, “1?Set(TARGET_FLP_1=19178864934)”) in new stack
– Executing [[email protected]:2] GotoIf(“SIP/350-00000009”, “1?match”) in new stack
– Goto (sub-flp-1,s,4)
– Executing [[email protected]:4] Set(“SIP/350-00000009”, “DIAL_NUMBER=19178864934”) in new stack
– Executing [[email protected]:5] Return(“SIP/350-00000009”, “”) in new stack
– Executing [[email protected]:13] Set(“SIP/350-00000009”, “OUTNUM=w19178864934”) in new stack
– Executing [[email protected]:14] Set(“SIP/350-00000009”, “custom=DAHDI/g0”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/350-00000009”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))”) in new stack
– Executing [[email protected]:16] ExecIf(“SIP/350-00000009”, “0?Set(DIAL_TRUNK_OPTIONS=M(confirm))”) in new stack
– Executing [[email protected]:17] Macro(“SIP/350-00000009”, “dialout-trunk-predial-hook,”) in new stack
– Executing [[email protected]:1] MacroExit(“SIP/350-00000009”, “”) in new stack
– Executing [[email protected]:18] GotoIf(“SIP/350-00000009”, “0?bypass,1”) in new stack
– Executing [[email protected]:19] ExecIf(“SIP/350-00000009”, “1?Set(CONNECTEDLINE(num,i)=19178864934)”) in new stack
– Executing [[email protected]:20] ExecIf(“SIP/350-00000009”, “1?Set(CONNECTEDLINE(name,i)=CID:350)”) in new stack
– Executing [[email protected]:21] GotoIf(“SIP/350-00000009”, “0?customtrunk”) in new stack
– Executing [[email protected]:22] Dial(“SIP/350-00000009”, “DAHDI/g0/w19178864934,300,”) in new stack
– Called DAHDI/g0/w19178864934
– DAHDI/1-1 answered SIP/350-00000009
new-host-3*CLI>

nothing but air.

Please follow directions next time. I asked for the log after the dial and you sent it all. Also use the [code]tags[/code] to make it more readable.

The call is going through. Not sure why no audio.

You need to provide more info. Have you tested the line? Made sure plugged into correct port?

I also suggested you change your trunk to dial out one channel at a time for troubleshooting, have you done that?

Why are you prepending a wait?

you said, “The call is going through”.

i don’t understand. I am dailing my cell sitting next to me. it never rings. however, if I call the POTS line from my cell, the call goes through and I can answer it.

I also know the line is working as I have a POTS telephone on it and I can directly dial out.

you suggested to “change your trunk to dial out one channel at a time for troubleshooting”

sorry, how do I do that. can I use a CLI to accomplish this, or do I tell Freepbx?

lastly, why prepend the wait. When I googling for a solution, I came across a person with a similar problem and adding the wait was the solution.

In the FreePBX trunk you define the channel. You have group 0

Asterisk selected channel 1, you must have that in group 0 and dialed your number.

As to why it does not complete, can’t tell you.

Send the output of ‘dahdi show channel 1’ I want to make sure you don’t have the cards reversed.

Pleas use the tags

here is the output. what did you mean by “Pleas use the tags”

BTW, you understand that this is a complete new install. the HD failed and I installed a new drive and did a complete new install.

new-host-3*CLI> dahdi show channel 1
Channel: 1
File Descriptor: 12
Span: 1
Extension:
Dialing: no
Context: from-zaptel
Caller ID:
Calling TON: 0
Caller ID subaddress:
Caller ID name:
Mailbox: none
Destroy: 0
InAlarm: 0
Signalling Type: FXS Kewlstart
Radio: 0
Owner:
Real:
Callwait:
Threeway:
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Busy Detection: yes
Busy Count: 10
Busy Pattern: 0,0
TDD: no
Relax DTMF: yes
Dialing/CallwaitCAS: 0/0
Default law: ulaw
Fax Handled: no
Pulse phone: no
Gains (RX/TX): 0.00/0.00
Dynamic Range Compression (RX/TX): 0.00/0.00
DND: no
Echo Cancellation:
128 taps
(unless TDM bridged) currently OFF
Wait for dialtone: 0ms
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
Hookstate (FXS only): Offhook

I asked you to use the code tags to make the text more readable when you cut and paste from the console. I gave you an example.

It’s a courtesy in forums, the fixed pitch fonts from the screen capture don’t line up properly unless you format the text right. For those of us that read logs all day it makes a big difference.

I think it is still covered in the “how to ask for help” however that thread is old.

Anyway, sure looks like you have your FXS and FXO ports reversed.

you commented:

“Anyway, sure looks like you have your FXS and FXO ports reversed.”

if I understand these config this is chan_dahdi.confs:

;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[channels]

language=en
context=from-zaptel
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
busydetect=yes
busycount=10
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=0
immediate=no
relaxdtmf = yes
;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no

#include dahdi-channels.conf

group=1

**end

dahdi-channels.conf is commented out. this section:

group=0
callgroup=1
pickupgroup=0

I have tried changing the callgroup and the pickupgroup. if set like the above, I get a ‘all circuits are busy’ recording.

am I missing the point of where to adjust these settings?

Ted