keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

dial, answered and then hangup

16 years 4 months ago #581 by rilawich
Hi all,

I have two A-800Ps with all FXO modules on them. Below is the dial plan. When someone can 9123456, CLI will show dialing to 123456 and answered. After answered, the call hangup. I would like to know what will cause the case to happen. Anyone can give me some advice to solve it?

exten => _9X.,n,Dial(Zap/g0/${EXTEN:1}|${RINGTIMEOUT})
exten => _9X.,n,Hangup

--full log--
[Dec 15 19:35] DEBUG[2195] res_config_mysql.c: MySQL RealTime: Retrieve SQL:
SELECT * FROM oi_systemalias WHERE alias = '22720000'
[Dec 15 19:35] VERBOSE[2195] logger.c: > No Realtime Matches Found.
[Dec 15 19:35] VERBOSE[2195] logger.c: -- Executing [927220000@internal:2
] GotoIf("SIP/114-b7d06198", "1?:hu_trunkhk") in new stack
[Dec 15 19:35] VERBOSE[2195] logger.c: -- Executing [927220000@internal:3
] Dial("SIP/114-b7d06198", "Zap/g0/22720000|25") in new stack
[Dec 15 19:35] DEBUG[2195] dsp.c: dsp busy pattern set to 0,0
[Dec 15 19:35] DEBUG[2195] chan_zap.c: Dialing '22720000'
[Dec 15 19:35] DEBUG[2195] chan_zap.c: Deferring dialing...
[Dec 15 19:35] VERBOSE[2195] logger.c: -- Called g0/22720000
[Dec 15 19:35] VERBOSE[2195] logger.c: -- Zap/1-1 answered SIP/114-b7d061
98
[Dec 15 19:35] DEBUG[2195] chan_zap.c: Ignore switch to REVERSED Polarity on
channel 1, state 6
[Dec 15 19:35] DEBUG[2195] chan_zap.c: Polarity Reversal event occured - DEBU
G 1: channel 1, state 6, pol= 1, aonp= 0, honp= 1, pdelay= 600, tv= 864361
[Dec 15 19:35] DEBUG[2195] chan_zap.c: Polarity Reversal detected and now Han
ging up on channel 1
[Dec 15 19:35] DEBUG[2195] chan_zap.c: Polarity Reversal event occured - DEBU
G 2: channel 1, state 6, pol= 0, aonp= 0, honp= 1, pdelay= 600, tv= 864361
[Dec 15 19:35] VERBOSE[2195] logger.c: -- Hungup 'Zap/1-1'
[Dec 15 19:35] VERBOSE[2195] logger.c: == Spawn extension (internal, 922720
000, 3) exited non-zero on 'SIP/114-b7d06198'
[Dec 15 19:35] VERBOSE[2195] logger.c: -- Executing [h@internal] Hangup
("SIP/114-b7d06198", "") in new stack

--zapata.conf--
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1-8

signalling=fxs_ks
callerid=asreceived
group=1
context=cs
channel => 13-16
;channel => 13-20
16 years 4 months ago #586 by james.zhu
hello, rilawich:
i think that your task can be done. but make sure the zapata.conf is in a good format.
dialplan:
exten => _9X.,n,Dial(Zap/g1/${EXTEN:1})|
exten => _9X.,n,Hangup
zapata.conf
signalling=fxs_ks
callerid=asreceived
group=1
context=from-pstn
channel => 1-8

signalling=fxs_ks
callerid=asreceived
group=2
context=cs
channel => 13-16
make sure the there are from-pstn and cs in your dialplan.
regards!
James.zhu

Time to create page: 0.032 seconds
Powered by Kunena Forum