[asterisk-users] dial, answered and then hangup

Rilawich Ango maillisting at gmail.com
Sun Dec 16 21:34:42 CST 2007


Below is the log I got.  It seems related to Polarity Reversal.

--zapata.conf--
;answeronpolarityswitch=yes
hanguponpolarityswitch=yes

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

On Dec 17, 2007 10:29 AM, dave cantera <david.cantera at iacnet.net> wrote:
> rilawich,
> can you post the CLI output so we can see what is going on?
> from the exten, it is doing exactly what you tell it to do...  dial then
> hangup
> daveC



More information about the asterisk-users mailing list