Re: [asterisk-users] dial, answered and then hangup
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 = '2272' [Dec 15 19:35:35] VERBOSE[2195] logger.c: No Realtime Matches Found. [Dec 15 19:35:35] VERBOSE[2195] logger.c: -- Executing [EMAIL PROTECTED]:2 ] GotoIf(SIP/114-b7d06198, 1?:hu_trunkhk) in new stack [Dec 15 19:35:35] VERBOSE[2195] logger.c: -- Executing [EMAIL PROTECTED]:3 ] Dial(SIP/114-b7d06198, Zap/g0/2272|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 '2272' [Dec 15 19:35:35] DEBUG[2195] chan_zap.c: Deferring dialing... [Dec 15 19:35:35] VERBOSE[2195] logger.c: -- Called g0/2272 [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 [EMAIL PROTECTED]:1] Hangup (SIP/114-b7d06198, ) in new stack On Dec 17, 2007 10:29 AM, dave cantera [EMAIL PROTECTED] 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:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ --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
Re: [asterisk-users] dial, answered and then hangup
On Dec 17, 2007 4:32 PM, Tzafrir Cohen [EMAIL PROTECTED] wrote: 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 = '2272' [Dec 15 19:35:35] VERBOSE[2195] logger.c: No Realtime Matches Found. [Dec 15 19:35:35] VERBOSE[2195] logger.c: -- Executing [EMAIL PROTECTED]:2 ] GotoIf(SIP/114-b7d06198, 1?:hu_trunkhk) in new stack [Dec 15 19:35:35] VERBOSE[2195] logger.c: -- Executing [EMAIL PROTECTED]:3 ] Dial(SIP/114-b7d06198, Zap/g0/2272|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 '2272' [Dec 15 19:35:35] DEBUG[2195] chan_zap.c: Deferring dialing... [Dec 15 19:35:35] VERBOSE[2195] logger.c: -- Called g0/2272 [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) Yes [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 [EMAIL PROTECTED]:1] Hangup (SIP/114-b7d06198, ) in new stack On Dec 17, 2007 10:29 AM, dave cantera [EMAIL PROTECTED] 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:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ --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 ___ --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
Re: [asterisk-users] dial, answered and then hangup
Rilawich, We use a TDM400P here in the UK, and if you set hanguponpolarityswitch=yes in zapata.conf, we get the same result. I think it is country specific, but try switching this to no and see what happens. This cured our problems. I have a note in zapata.conf (not sure if its from the release confs or from someone internal here) that says Fatal on TDM400P if set to yes. Good Luck Phil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rilawich Ango Sent: 17 December 2007 14:19 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] dial, answered and then hangup On Dec 17, 2007 4:32 PM, Tzafrir Cohen [EMAIL PROTECTED] wrote: 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 = '2272' [Dec 15 19:35:35] VERBOSE[2195] logger.c: No Realtime Matches Found. [Dec 15 19:35:35] VERBOSE[2195] logger.c: -- Executing [EMAIL PROTECTED]:2 ] GotoIf(SIP/114-b7d06198, 1?:hu_trunkhk) in new stack [Dec 15 19:35:35] VERBOSE[2195] logger.c: -- Executing [EMAIL PROTECTED]:3 ] Dial(SIP/114-b7d06198, Zap/g0/2272|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 '2272' [Dec 15 19:35:35] DEBUG[2195] chan_zap.c: Deferring dialing... [Dec 15 19:35:35] VERBOSE[2195] logger.c: -- Called g0/2272 [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) Yes [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 [EMAIL PROTECTED]:1] Hangup (SIP/114-b7d06198, ) in new stack On Dec 17, 2007 10:29 AM, dave cantera [EMAIL PROTECTED] 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:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ --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 ___ --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 ___ --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
Re: [asterisk-users] dial, answered and then hangup
Phil, Thanks. The problem gone if it set to no. I want to know what is Polarity Reversal. I can't find it in the web. On Dec 18, 2007 12:02 AM, Phil Knighton [EMAIL PROTECTED] wrote: Rilawich, We use a TDM400P here in the UK, and if you set hanguponpolarityswitch=yes in zapata.conf, we get the same result. I think it is country specific, but try switching this to no and see what happens. This cured our problems. I have a note in zapata.conf (not sure if its from the release confs or from someone internal here) that says Fatal on TDM400P if set to yes. Good Luck Phil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rilawich Ango Sent: 17 December 2007 14:19 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] dial, answered and then hangup On Dec 17, 2007 4:32 PM, Tzafrir Cohen [EMAIL PROTECTED] wrote: 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 = '2272' [Dec 15 19:35:35] VERBOSE[2195] logger.c: No Realtime Matches Found. [Dec 15 19:35:35] VERBOSE[2195] logger.c: -- Executing [EMAIL PROTECTED]:2 ] GotoIf(SIP/114-b7d06198, 1?:hu_trunkhk) in new stack [Dec 15 19:35:35] VERBOSE[2195] logger.c: -- Executing [EMAIL PROTECTED]:3 ] Dial(SIP/114-b7d06198, Zap/g0/2272|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 '2272' [Dec 15 19:35:35] DEBUG[2195] chan_zap.c: Deferring dialing... [Dec 15 19:35:35] VERBOSE[2195] logger.c: -- Called g0/2272 [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) Yes [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 [EMAIL PROTECTED]:1] Hangup (SIP/114-b7d06198, ) in new stack On Dec 17, 2007 10:29 AM, dave cantera [EMAIL PROTECTED] 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:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ --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 ___ --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 ___ --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 ___ --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
[asterisk-users] dial, answered and then hangup
Hi all, I will a TDM card with FXO modules on it. 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 zapata.conf signalling=fxs_ks callerid=asreceived group=0 context=from-pstn ;context=cs channel = 1-8 ___ --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
Re: [asterisk-users] dial, answered and then hangup
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 Rilawich Ango wrote: Hi all, I will a TDM card with FXO modules on it. 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 zapata.conf signalling=fxs_ks callerid=asreceived group=0 context=from-pstn ;context=cs channel = 1-8 ___ --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 -- My wife's sister is in California. I should buy her a Videophone2008! Truly, The Next Best Thing to Being There! -- WorldWideVideoPhones.com 856.380.0894 ___ --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
Re: [asterisk-users] dial, answered and then hangup
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 = '2272' [Dec 15 19:35:35] VERBOSE[2195] logger.c: No Realtime Matches Found. [Dec 15 19:35:35] VERBOSE[2195] logger.c: -- Executing [EMAIL PROTECTED]:2 ] GotoIf(SIP/114-b7d06198, 1?:hu_trunkhk) in new stack [Dec 15 19:35:35] VERBOSE[2195] logger.c: -- Executing [EMAIL PROTECTED]:3 ] Dial(SIP/114-b7d06198, Zap/g0/2272|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 '2272' [Dec 15 19:35:35] DEBUG[2195] chan_zap.c: Deferring dialing... [Dec 15 19:35:35] VERBOSE[2195] logger.c: -- Called g0/2272 [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 [EMAIL PROTECTED]:1] Hangup (SIP/114-b7d06198, ) in new stack On Dec 17, 2007 10:29 AM, dave cantera [EMAIL PROTECTED] 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