Page 1 of 1

goautodial 2.0 , auto hangup after 30s

PostPosted: Wed Dec 15, 2010 12:46 pm
by unicorncn
I use goautodial 2.0 , when dial out it will auto hangup after every 30s.

Goautodial 2.0 + sangoma A102 + 2T1 with echo cancel. Location at HongKong.

chan_dahdi.conf
Code: Select all
;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
;autogenrated on 2010-12-15
;Dahdi Channels Configurations
;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.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:4 bus:4 span:1] <wanpipe1>
switchtype=national
context=from-pstn
group=0
echocancel=yes
signalling=pri_cpe
channel =>1-23

;Sangoma A102 port 2 [slot:4 bus:4 span:2] <wanpipe2>
switchtype=national
context=from-pstn
group=0
echocancel=yes
signalling=pri_cpe
channel =>25-47

system.conf
Code: Select all
loadzone=us
defaultzone=us

#Sangoma A102 port 1 [slot:4 bus:4 span:1] <wanpipe1>
span=1,1,0,esf,b8zs
bchan=1-23
echocanceller=mg2,1-23
hardhdlc=24

#Sangoma A102 port 2 [slot:4 bus:4 span:2] <wanpipe2>
span=2,2,0,esf,b8zs
bchan=25-47
echocanceller=mg2,25-47
hardhdlc=48

I have no any change after install, just use x-lite directly dial out. agi show hangup return 0

Log Message:
Code: Select all
[Dec 15 12:09:14] VERBOSE[25002] logger.c: [Dec 15 12:09:14]   == Spawn extension (default, 993348092, 1) exited non-zero on 'SIP/5810-0000001e'
[Dec 15 12:09:21] VERBOSE[25126] logger.c: [Dec 15 12:09:21]     -- Executing [993348092@default:1] Dial("SIP/5810-0000001f", "DAHDI/g0/93348092|30|tTo") in new stack
[Dec 15 12:09:21] VERBOSE[25126] logger.c: [Dec 15 12:09:21]     -- Requested transfer capability: 0x00 - SPEECH
[Dec 15 12:09:21] VERBOSE[25126] logger.c: [Dec 15 12:09:21]     -- Called g0/93348092
[Dec 15 12:09:21] DEBUG[3188] chan_dahdi.c: Queuing frame from PRI_EVENT_PROCEEDING on channel 0/1 span 1
[Dec 15 12:09:21] VERBOSE[25126] logger.c: [Dec 15 12:09:21]     -- DAHDI/1-1 is proceeding passing it to SIP/5810-0000001f
[Dec 15 12:09:24] VERBOSE[25126] logger.c: [Dec 15 12:09:24]     -- DAHDI/1-1 is ringing
[Dec 15 12:09:30] DEBUG[3188] chan_dahdi.c: Echo cancellation already on
[Dec 15 12:09:30] VERBOSE[25126] logger.c: [Dec 15 12:09:30]     -- DAHDI/1-1 answered SIP/5810-0000001f
[Dec 15 12:10:01] VERBOSE[25126] logger.c: [Dec 15 12:10:01]     -- Executing [h@default:1] DeadAGI("SIP/5810-0000001f", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----40-----31") in new stack
[Dec 15 12:10:01] VERBOSE[25126] logger.c: [Dec 15 12:10:01]     -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----40-----31 completed, returning 0
[Dec 15 12:10:01] DEBUG[25126] chan_dahdi.c: Set option AUDIO MODE, value: ON(1) on DAHDI/1-1
[Dec 15 12:10:01] DEBUG[25126] chan_dahdi.c: Not yet hungup...  Calling hangup once with icause, and clearing call
[Dec 15 12:10:01] DEBUG[25126] chan_dahdi.c: Set option AUDIO MODE, value: OFF(0) on DAHDI/1-1
[Dec 15 12:10:01] VERBOSE[25126] logger.c: [Dec 15 12:10:01]     -- Hungup 'DAHDI/1-1'
[Dec 15 12:10:01] VERBOSE[25126] logger.c: [Dec 15 12:10:01]   == Spawn extension (default, 993348092, 1) exited non-zero on 'SIP/5810-0000001f'


If you any advice with this?

Thanks a lot.

PostPosted: Wed Dec 15, 2010 11:58 pm
by williamconley
is your x-lite phone set to a max of 30 seconds?

PostPosted: Thu Dec 16, 2010 7:42 am
by unicorncn
Should not set x-lite limit 30s, for my colleague test it with another vnow 1.3, it work well. I'll do a detail debug later, it seem strange. Another, I find one IDAP alarm red in the log at the same time. Thank you, Williamconley.

PostPosted: Thu Dec 16, 2010 4:14 pm
by williamconley
check your sip debug to find out WHO canceled the call. that's where you start.