TRY THIS Incoming call woes

Huckda

Guru
Joined
May 28, 2013
Messages
143
Reaction score
27
any incoming call being answered on DAHDI/1-1 rings and rings(on caller side) and then when they hear the pickup they get fax-like tones... below is the log:

[2014-04-18 11:25:18] VERBOSE[14355] sig_analog.c: -- Starting simple switch on 'DAHDI/1-1'
[2014-04-18 11:25:24] VERBOSE[14355] pbx.c: -- Executing [s@from-pstn:1] ExecIf("DAHDI/1-1", "1?Set(__FROM_DID=s)") in new stack
[2014-04-18 11:25:24] VERBOSE[14355] pbx.c: -- Executing [s@from-pstn:2] Gosub("DAHDI/1-1", "cidlookup,cidlookup_3,1()") in new stack
[2014-04-18 11:25:24] VERBOSE[14355] pbx.c: -- Executing [cidlookup_3@cidlookup:1] Set("DAHDI/1-1", "CURLOPT(httptimeout)=7") in new stack
[2014-04-18 11:25:24] VERBOSE[14357] manager.c: == Manager 'admin' logged on from 127.0.0.1
[2014-04-18 11:25:25] VERBOSE[14357] manager.c: == Manager 'admin' logged off from 127.0.0.1
[2014-04-18 11:25:25] VERBOSE[14355] pbx.c: -- Executing [cidlookup_3@cidlookup:2] Set("DAHDI/1-1", "CALLERID(name)=") in new stack
[2014-04-18 11:25:25] VERBOSE[14355] pbx.c: -- Executing [cidlookup_3@cidlookup:3] Return("DAHDI/1-1", "") in new stack
[2014-04-18 11:25:25] VERBOSE[14355] pbx.c: -- Executing [s@from-pstn:3] Gosub("DAHDI/1-1", "app-blacklist-check,s,1()") in new stack
[2014-04-18 11:25:25] VERBOSE[14355] pbx.c: -- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/1-1", "0?blacklisted") in new stack
[2014-04-18 11:25:25] VERBOSE[14355] pbx.c: -- Executing [s@app-blacklist-check:2] Set("DAHDI/1-1", "CALLED_BLACKLIST=1") in new stack
[2014-04-18 11:25:25] VERBOSE[14355] pbx.c: -- Executing [s@app-blacklist-check:3] Return("DAHDI/1-1", "") in new stack
[2014-04-18 11:25:25] VERBOSE[14355] pbx.c: -- Executing [s@from-pstn:4] AGI("DAHDI/1-1", "/var/www/html/admin/modules/sak/agi/bwlist.agi") in new stack
[2014-04-18 11:25:25] VERBOSE[14355] res_agi.c: -- Launched AGI Script /var/www/html/admin/modules/sak/agi/bwlist.agi
[2014-04-18 11:25:25] VERBOSE[14355] res_agi.c: -- <DAHDI/1-1>AGI Script /var/www/html/admin/modules/sak/agi/bwlist.agi completed, returning 0
[2014-04-18 11:25:25] VERBOSE[14355] pbx.c: -- Executing [s@from-pstn:5] Set("DAHDI/1-1", "CDR(did)=s") in new stack
[2014-04-18 11:25:25] VERBOSE[14355] pbx.c: -- Executing [s@from-pstn:6] ExecIf("DAHDI/1-1", "1 ?Set(CALLERID(name)=)") in new stack
[2014-04-18 11:25:25] VERBOSE[14355] pbx.c: -- Executing [s@from-pstn:7] Wait("DAHDI/1-1", "5") in new stack
[2014-04-18 11:25:30] VERBOSE[14355] pbx.c: -- Executing [s@from-pstn:8] Set("DAHDI/1-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
[2014-04-18 11:25:30] VERBOSE[14355] pbx.c: -- Executing [s@from-pstn:9] Set("DAHDI/1-1", "CALLERPRES()=allowed_not_screened") in new stack
[2014-04-18 11:25:30] VERBOSE[14355] pbx.c: -- Executing [s@from-pstn:10] Goto("DAHDI/1-1", "app-daynight,1,1") in new stack
[2014-04-18 11:25:30] VERBOSE[14355] pbx.c: -- Goto (app-daynight,1,1)
[2014-04-18 11:25:30] VERBOSE[14355] pbx.c: -- Executing [1@app-daynight:1] GotoIf("DAHDI/1-1", "0?ext-local,vmu210,1:ivr-4,s,1") in new stack
[2014-04-18 11:25:30] VERBOSE[14355] pbx.c: -- Goto (ivr-4,s,1)
[2014-04-18 11:25:30] VERBOSE[14355] pbx.c: -- Executing [s@ivr-4:1] Set("DAHDI/1-1", "TIMEOUT_LOOPCOUNT=0") in new stack
[2014-04-18 11:25:30] VERBOSE[14355] pbx.c: -- Executing [s@ivr-4:2] Set("DAHDI/1-1", "INVALID_LOOPCOUNT=0") in new stack
[2014-04-18 11:25:30] VERBOSE[14355] pbx.c: -- Executing [s@ivr-4:3] Set("DAHDI/1-1", "_IVR_CONTEXT_ivr-4=") in new stack
[2014-04-18 11:25:30] VERBOSE[14355] pbx.c: -- Executing [s@ivr-4:4] Set("DAHDI/1-1", "_IVR_CONTEXT=ivr-4") in new stack
[2014-04-18 11:25:30] VERBOSE[14355] pbx.c: -- Executing [s@ivr-4:5] Set("DAHDI/1-1", "__IVR_RETVM=RETURN") in new stack
[2014-04-18 11:25:30] VERBOSE[14355] pbx.c: -- Executing [s@ivr-4:6] GotoIf("DAHDI/1-1", "0?skip") in new stack
[2014-04-18 11:25:30] VERBOSE[14355] pbx.c: -- Executing [s@ivr-4:7] Answer("DAHDI/1-1", "") in new stack
[2014-04-18 11:25:30] VERBOSE[14355] pbx.c: -- Executing [s@ivr-4:8] Wait("DAHDI/1-1", "1") in new stack
[2014-04-18 11:25:31] VERBOSE[14355] pbx.c: -- Executing [s@ivr-4:9] Set("DAHDI/1-1", "IVR_MSG=custom/dawn1") in new stack
[2014-04-18 11:25:31] VERBOSE[14355] pbx.c: -- Executing [s@ivr-4:10] Set("DAHDI/1-1", "TIMEOUT(digit)=3") in new stack
[2014-04-18 11:25:31] VERBOSE[14355] func_timeout.c: -- Digit timeout set to 3.000
[2014-04-18 11:25:31] VERBOSE[14355] pbx.c: -- Executing [s@ivr-4:11] ExecIf("DAHDI/1-1", "1?Background(custom/dawn1)") in new stack
[2014-04-18 11:25:31] VERBOSE[14355] file.c: -- <DAHDI/1-1> Playing 'custom/dawn1.slin' (language 'en')
[2014-04-18 11:26:03] VERBOSE[14355] pbx.c: -- Executing [s@ivr-4:12] WaitExten("DAHDI/1-1", "10,") in new stack

********RIGHT HERE is where the ringing stops and the FAX-like sounds start**********

[2014-04-18 11:26:08] VERBOSE[14355] pbx.c: == Spawn extension (ivr-4, s, 12) exited non-zero on 'DAHDI/1-1'
[2014-04-18 11:26:08] VERBOSE[14355] pbx.c: -- Executing [h@ivr-4:1] Hangup("DAHDI/1-1", "") in new stack
[2014-04-18 11:26:08] VERBOSE[14355] pbx.c: == Spawn extension (ivr-4, h, 1) exited non-zero on 'DAHDI/1-1'
[2014-04-18 11:26:08] VERBOSE[14355] sig_analog.c: -- Hanging up on 'DAHDI/1-1'
[2014-04-18 11:26:08] VERBOSE[14355] chan_dahdi.c: -- Hungup 'DAHDI/1-1'

********CALLER HANGUP.... the system doesn't seem to drop caller for a loooooooong time********
 
Yes, 4 -pstn line and 1 -internal .. B600 I believe with the echo cancellation.
 
My wanpipe1.conf

cat wanpipe1.conf
#================================================
# WANPIPE1 Configuration File
#================================================
#
# Date: Mon Jul 31 17:10:23 EDT 2006
#
# Note: This file was generated automatically
# by /usr/local/sbin/setup-sangoma program.
#
# If you want to edit this file, it is
# recommended that you use wancfg program
# to do so.
#================================================
# Sangoma Technologies Inc.
#================================================

[devices]
wanpipe1 = WAN_AFT_ANALOG, Comment

[interfaces]
w1g1 = wanpipe1, , TDM_VOICE, Comment

[wanpipe1]
CARD_TYPE = AFT
S514CPU = A
CommPort = PRI
AUTO_PCISLOT = NO
PCISLOT = 4
PCIBUS = 2
FE_MEDIA = FXO/FXS
TDMV_LAW = MULAW
TDMV_OPERMODE = FCC
RM_BATTTHRESH = 3
RM_BATTDEBOUNCE = 16
FE_NETWORK_SYNC = NO
MTU = 1500
UDPPORT = 9000
TTL = 255
IGNORE_FRONT_END = NO
TDMV_SPAN = 1
TE_AIS_MAINTENANCE = NO #NO: defualt YES: Start port in AIS Blue Alarm and keep line down
#wanpipemon -i w1g1 -c Ttx_ais_off to disable AIS maintenance mode
#wanpipemon -i w1g1 -c Ttx_ais_on to enable AIS maintenance mode
TDMV_HW_DTMF = YES # YES: receive dtmf events from hardware
TDMV_HW_FAX_DETECT = YES # YES: receive fax 1100hz events from hardware
HWEC_OPERATION_MODE = OCT_NORMAL # OCT_NORMAL: echo cancelation enabled with nlp (default)
# OCT_SPEECH: improves software tone detection by disabling NLP (echo possible)
# OCT_NO_ECHO:disables echo cancelation but allows VQE/tone functions.
HWEC_DTMF_REMOVAL = NO # NO: default YES: remove dtmf out of incoming media (must have hwdtmf enabled)
HWEC_NOISE_REDUCTION = NO # NO: default YES: reduces noise on the line - could break fax
HWEC_ACUSTIC_ECHO = NO # NO: default YES: enables acustic echo cancelation
HWEC_NLP_DISABLE = NO # NO: default YES: guarantees software tone detection (possible echo)
HWEC_TX_AUTO_GAIN = 0 # 0: disable -40-0: default tx audio level to be maintained (-20 default)
HWEC_RX_AUTO_GAIN = 0 # 0: disable -40-0: default tx audio level to be maintained (-20 default)
HWEC_TX_GAIN = 0 # 0: disable -24-24: db values to be applied to tx signal
HWEC_RX_GAIN = 0 # 0: disable -24-24: db values to be applied to tx signal

[w1g1]
ACTIVE_CH = ALL
MTU = 8
TDMV_HWEC = YES
 
I have seen this before with HW DTMF enabled, so I turned it off.

You should contact Sangoma support. I have never had the opportunity to. Also, check your drivers are up to date.
 

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top