FXS extensions cannot dial IP Phone extensions or feature codes ***RESOLVED***

kevern
Posts: 134
Member Since:
2008-08-16

I am using a SANGOMA A20101 with Hardware Echo Cancellation.
Can Anyone point me in the right direction on this problem?
I have included zapata.conf as a starting point.

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

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=1
immediate=no

faxdetect=both

faxdetect=incoming

faxdetect=outgoing
faxdetect=no
Include genzaptelconf configs
  1. include zapata-auto.conf

group=1

Include AMP configs
  1. include zapata_additional.conf


SkykingOH
Posts: 9677
Member Since:
2007-12-17
Context needs to be

Context needs to be from-internal

--

Scott

aka "Skyking"



kevern
Posts: 134
Member Since:
2008-08-16
the extension contexts are from-internal, here are the rest of;

channel = 2
context = from-internal
immediate = no
signalling = fxo_ks
echocancel = yes
echocancelwhenbridged = no
echotraining = 800
busydetect = no
busycount = 7
callprogress = no
dial = Zap/2



SkykingOH
Posts: 9677
Member Since:
2007-12-17
Check your log to see where

Check your log to see where the call is entering the dialplan. I bet you can dial any inbound route from that extension. That would indicate it is in the wrong context.

--

Scott

aka "Skyking"



kevern
Posts: 134
Member Since:
2008-08-16
Look like from-internal all the way?

== Parsing '/etc/asterisk/asterisk.conf': Found
Connected to Asterisk 1.4.21.2-2 RPM by vc-rpms@voipconsulting.nl currently running on skldhotrixbox (pid = 3634)
Verbosity is at least 3
-- Starting simple switch on 'Zap/2-1'
-- Executing [03@from-internal:1] ResetCDR("Zap/2-1", "") in new stack
-- Executing [03@from-internal:2] NoCDR("Zap/2-1", "") in new stack
-- Executing [03@from-internal:3] Wait("Zap/2-1", "1") in new stack
-- Executing [03@from-internal:4] Playback("Zap/2-1", "silence/1&cannot-complete-as-dialed&check-number-dial-again|noanswer") in new stack
-- Playing 'silence/1' (language 'en')
-- Playing 'cannot-complete-as-dialed' (language 'en')
-- Playing 'check-number-dial-again' (language 'en')
-- Executing [03@from-internal:5] Wait("Zap/2-1", "1") in new stack
-- Executing [03@from-internal:6] Congestion("Zap/2-1", "20") in new stack
== Spawn extension (from-internal, 03, 6) exited non-zero on 'Zap/2-1'
-- Executing [h@from-internal:1] Macro("Zap/2-1", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("Zap/2-1", "w") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("Zap/2-1", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("Zap/2-1", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("Zap/2-1", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("Zap/2-1", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("Zap/2-1", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Zap/2-1' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Zap/2-1'
-- Hungup 'Zap/2-1'



kevern
Posts: 134
Member Since:
2008-08-16
very interesting

If I change the analog phones from tone to pulse it sucessfully dials internal IP phones - no problems, however when I dial using the tone setting from any FXS connected analog phone it doesn't work, what do you think?



kevern
Posts: 134
Member Since:
2008-08-16
more interestingly the dtmf

more interestingly the dtmf tones for digits 1,2,3 are unresponsive.
outbound and extensions containing/dialling digits 4,5,6,7,8,9,0 work just fine.
Do I have a faulty FXS card?



kevern
Posts: 134
Member Since:
2008-08-16
*********** RESOLVED ******************

Setting Up Sangoma A20101

Make sure only necesary modules load by editing the vi /etc/sysconfig/zaptel
refer to attached doc.
comment out the unecesary modules.

Make sure additional lines are added to address the hangup and dtmf tone problems by adding;
relaxdtmf=yes and busypattern=2500,500 (country specific and can be set under general country spec settings)
vi /etc/asterisk/zapata.conf
refer to attached doc.

Check all cards/devices are loaded by typing lspci and check verbose by typing lspci -vb.
Check to see if there are any IRQ clashes by typing cat /proc/interrupts or cat /proc/int(tab) enter



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.