[asterisk-users] dial, answered and then hangup

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Dec 17 02:32:54 CST 2007


On Mon, Dec 17, 2007 at 11:34:42AM +0800, Rilawich Ango wrote:
> 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

Answer and then an immediate hangup? (as signalled by the provider)

> [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
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list