• News
  • Idefisk
  • Tools
  • Tutorials
  • Forum
  • Reviews
  • VoIP Providers
  • Archives
  • Gallery
ZOIPER SIP softphone
AsteriskGuru Archives
Mailing List Archives
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Bristuff-users] "Cause 34" sum up

 
   AsteriskGuru Archives Forum Index -> Bristuff-Users
View previous topic :: View next topic  
Author Message
linux at nowin.de
Guest





PostPosted: Thu Jul 31, 2008 9:12 am    Post subject: [Bristuff-users] "Cause 34" sum up

Hello again,
Today I had the "cause 34" again. Environment:
- bristuff-0.3.0-PRE-1y-s.tar.gz
- qoadbri card with qozap driver
- 1 isdn ptmp link at port 1, zap group 1
- I had no chance to get "pri show span 1"
- Linux kernel 2.6.22-4 in Debian etch

output of qozap driver (line 1001):
Jul 31 10:37:02 borox kernel: card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
Jul 31 10:37:02 borox kernel: card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
Jul 31 10:37:02 borox kernel: card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
Jul 31 10:37:02 borox kernel: card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
Jul 31 10:42:01 borox kernel: card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
Jul 31 10:42:01 borox kernel: card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
Jul 31 10:43:36 borox kernel: card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
Jul 31 10:43:36 borox kernel: card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
Jul 31 10:45:45 borox kernel: card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
Jul 31 10:45:45 borox kernel: card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
Jul 31 10:45:58 borox kernel: card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
Jul 31 10:45:58 borox kernel: card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
Jul 31 10:45:58 borox kernel: card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
Jul 31 10:45:58 borox kernel: card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
Jul 31 10:58:11 borox kernel: card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
Jul 31 10:58:11 borox kernel: card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
Jul 31 11:04:41 borox kernel: card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
Jul 31 11:04:41 borox kernel: card 1 span 1 state F7 (A_ST_RD_STA = 0x17)

short summary of what's going with Asterisk in this timeslot:
Jul 31 10:45:58 external call from SIP-phone to Zap/1-1
Jul 31 10:46:01 Zap/1-1 ringing
Jul 31 10:46:32 Zap/1-1 answered
Jul 31 10:47:30 incoming call Zap/2-1, tried to forward to Zap/g1, failed with "cause 34"
Jul 31 10:53:41 incoming call Zap/2-1, tried to forward to Zap/g1, failed with "cause 34"
Jul 31 10:55:18 incoming call Zap/2-1, tried to forward to Zap/g1, failed with "cause 34"
Jul 31 10:57:26 hungup Zap/1-1 --> all channels should be free now
Jul 31 11:04:41 incoming call Zap/1-1, tried to forward to Zap/g1, failed with "cause 34"
Jul 31 11:05:30 SIP phone tried to call outside with Zap/g1, failed with "cause 34"

At first there was a call from a SIP-phone to the outside. So first
B-channel was in use while another calls came in. Asterisk tried to
forward these calls to another external number.
Executing Dial("Zap/2-1", "ZAP/g1/XXXXXX")
That failed cause there was no free B-channel, so "cause 34" was
normal and correct. But after all two B-channels were free it was also
not possible to dial out. First there was a try from Zap/1-1 to Zap/g1
at 11:04:41, later a try from a SIP-phone to Zap/g1 at 11:05:30. Both
not successful with "cause 34".
I think Asterisk came in trouble at 10:47:30. Is it possible Asterisk
"forget" to reset some internal variables to mark the channels as free
channels? What debug output is needed to find out more (beside "pri
show span 1")?


Regards,
Gunnar Schaller

_______________________________________________
Bristuff-users mailing list
Bristuff-users@lists.three-dimensional.net
http://lists.three-dimensional.net/mailman/listinfo/bristuff-users
Back to top
linux at nowin.de
Guest





PostPosted: Fri Aug 01, 2008 7:53 am    Post subject: [Bristuff-users] "Cause 34" sum up

It happened again (no one is one the phone, but "cause 34" when trying
to make a call) and now I have some output.

Regards,
Gunnar Schaller



asterisk*CLI> pri show span 1
Primary D-channel: 3
Status: Provisioned, Up, Active
Switchtype: EuroISDN
Type: CPE (PtMP)
Window Length: 0/7
Sentrej: 0
SolicitFbit: 0
Retrans: 0
Busy: 0
Overlap Dial: 0
T200 Timer: 1000
T203 Timer: 10000
T305 Timer: 30000
T308 Timer: 4000
T313 Timer: 4000
N200 Counter: 3




asterisk*CLI> zap show channel 1
Channel: 1
File Descriptor: 19
Span: 1
Extension:
Dialing: no
Context: extern-if01
Caller ID: 0797001076
Calling TON: 1
Caller ID name:
Destroy: 0
InAlarm: 0
Signalling Type: PRI Signalling
Radio: 0
Owner: <None>
Real: <None>
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: alaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 128 taps unless TDM bridged, currently OFF
PRI Flags: Call
PRI Logical Span: Implicit
Hookstate (FXS only): Onhook




asterisk*CLI> zap show channel 2
Channel: 2
File Descriptor: 20
Span: 1
Extension:
Dialing: no
Context: extern-if01
Caller ID: 0715770199
Calling TON: 1
Caller ID name:
Destroy: 0
InAlarm: 0
Signalling Type: PRI Signalling
Radio: 0
Owner: <None>
Real: <None>
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: alaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 128 taps unless TDM bridged, currently OFF
PRI Flags: Call
PRI Logical Span: Implicit
Hookstate (FXS only): Onhook




cat /proc/zaptel/*
Span 1: ztqoz/1/1 "4-port PCI ISDN Card 1 Span 1 [TE] (cardID 0) Layer 1 DEACTIVATED (F3)" AMI/CCS

1 ztqoz1/1/1 Clear (In use)
2 ztqoz1/1/2 Clear (In use)
3 ztqoz1/1/3 HDLCFCS (In use)
Span 2: ztqoz/1/2 "4-port PCI ISDN Card 1 Span 2 [TE] (cardID 0) Layer 1 DEACTIVATED (F3)" AMI/CCS

4 ztqoz1/2/1 Clear (In use)
5 ztqoz1/2/2 Clear (In use)
6 ztqoz1/2/3 HDLCFCS (In use)
Span 3: ztqoz/1/3 "4-port PCI ISDN Card 1 Span 3 [TE] (cardID 0) Layer 1 DEACTIVATED (F3)" AMI/CCS

7 ztqoz1/3/1 Clear (In use)
8 ztqoz1/3/2 Clear (In use)
9 ztqoz1/3/3 HDLCFCS (In use)
Span 4: ztqoz/1/4 "4-port PCI ISDN Card 1 Span 4 [TE] (cardID 0) Layer 1 DEACTIVATED (F3)" AMI/CCS

10 ztqoz1/4/1 Clear (In use)
11 ztqoz1/4/2 Clear (In use)
12 ztqoz1/4/3 HDLCFCS (In use)

_______________________________________________
Bristuff-users mailing list
Bristuff-users@lists.three-dimensional.net
http://lists.three-dimensional.net/mailman/listinfo/bristuff-users
Back to top
davies147 at gmail.com
Guest





PostPosted: Fri Aug 01, 2008 9:25 am    Post subject: [Bristuff-users] "Cause 34" sum up

I think this has been suggested previously, but I would definitely
consider switching the signalling to Point-to-Point (PtP) rather than
point-to-multipoint (PtMP).

The difference is that PtMP has no pre-setup channel between the NTE
and CPE. The caller sends a "broadcast" to the D-channel saying "does
anybody want this number", and if it gets a response, it sets up a
shared B-channel for the duration of the call. PtP will effectively
associate each B-channel in advance with a known endpoint, and will
send keepalives to ensure that the endpoint is still there and able to
accept calls.

The biggest problem with PtMP is it is horrible at determining that
there is a fault - It basically waits about 10 seconds for the
broadcast to time out. Also, because there is no pre-agreed channel,
it does not know what the fault really is. It just knows that the
broadcast is getting no response.

Regards,
Steve


2008/8/1 Gunnar Schaller <linux@nowin.de>:
Quote:
It happened again (no one is one the phone, but "cause 34" when trying
to make a call) and now I have some output.

Regards,
Gunnar Schaller



asterisk*CLI> pri show span 1
Primary D-channel: 3
Status: Provisioned, Up, Active
Switchtype: EuroISDN
Type: CPE (PtMP)
Window Length: 0/7
Sentrej: 0
SolicitFbit: 0
Retrans: 0
Busy: 0
Overlap Dial: 0
T200 Timer: 1000
T203 Timer: 10000
T305 Timer: 30000
T308 Timer: 4000
T313 Timer: 4000
N200 Counter: 3




asterisk*CLI> zap show channel 1
Channel: 1
File Descriptor: 19
Span: 1
Extension:
Dialing: no
Context: extern-if01
Caller ID: 0797001076
Calling TON: 1
Caller ID name:
Destroy: 0
InAlarm: 0
Signalling Type: PRI Signalling
Radio: 0
Owner: <None>
Real: <None>
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: alaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 128 taps unless TDM bridged, currently OFF
PRI Flags: Call
PRI Logical Span: Implicit
Hookstate (FXS only): Onhook




asterisk*CLI> zap show channel 2
Channel: 2
File Descriptor: 20
Span: 1
Extension:
Dialing: no
Context: extern-if01
Caller ID: 0715770199
Calling TON: 1
Caller ID name:
Destroy: 0
InAlarm: 0
Signalling Type: PRI Signalling
Radio: 0
Owner: <None>
Real: <None>
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: alaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 128 taps unless TDM bridged, currently OFF
PRI Flags: Call
PRI Logical Span: Implicit
Hookstate (FXS only): Onhook




cat /proc/zaptel/*
Span 1: ztqoz/1/1 "4-port PCI ISDN Card 1 Span 1 [TE] (cardID 0) Layer 1 DEACTIVATED (F3)" AMI/CCS

1 ztqoz1/1/1 Clear (In use)
2 ztqoz1/1/2 Clear (In use)
3 ztqoz1/1/3 HDLCFCS (In use)
Span 2: ztqoz/1/2 "4-port PCI ISDN Card 1 Span 2 [TE] (cardID 0) Layer 1 DEACTIVATED (F3)" AMI/CCS

4 ztqoz1/2/1 Clear (In use)
5 ztqoz1/2/2 Clear (In use)
6 ztqoz1/2/3 HDLCFCS (In use)
Span 3: ztqoz/1/3 "4-port PCI ISDN Card 1 Span 3 [TE] (cardID 0) Layer 1 DEACTIVATED (F3)" AMI/CCS

7 ztqoz1/3/1 Clear (In use)
8 ztqoz1/3/2 Clear (In use)
9 ztqoz1/3/3 HDLCFCS (In use)
Span 4: ztqoz/1/4 "4-port PCI ISDN Card 1 Span 4 [TE] (cardID 0) Layer 1 DEACTIVATED (F3)" AMI/CCS

10 ztqoz1/4/1 Clear (In use)
11 ztqoz1/4/2 Clear (In use)
12 ztqoz1/4/3 HDLCFCS (In use)

_______________________________________________
Bristuff-users mailing list
Bristuff-users@lists.three-dimensional.net
http://lists.three-dimensional.net/mailman/listinfo/bristuff-users

_______________________________________________

Bristuff-users mailing list
Bristuff-users@lists.three-dimensional.net
http://lists.three-dimensional.net/mailman/listinfo/bristuff-users
Back to top
linux at nowin.de
Guest





PostPosted: Mon Aug 04, 2008 6:36 pm    Post subject: [Bristuff-users] "Cause 34" sum up

Hello Steve,
In Switzland it is not possible to switch from p2mp to ptp without
loosing the phone numbers. Yes I know p2p works as described and that
it would solve the problem, but not for me without loosing my
well-known phone numbers.
I want to find the bug. Can anyone please read my logs or tell me how
to isolate the bug?

Thanks,
Gunnar Schaller



Friday, August 1, 2008, 12:25:23 PM, you wrote:

Quote:
I think this has been suggested previously, but I would definitely
consider switching the signalling to Point-to-Point (PtP) rather than
point-to-multipoint (PtMP).

Quote:
The difference is that PtMP has no pre-setup channel between the NTE
and CPE. The caller sends a "broadcast" to the D-channel saying "does
anybody want this number", and if it gets a response, it sets up a
shared B-channel for the duration of the call. PtP will effectively
associate each B-channel in advance with a known endpoint, and will
send keepalives to ensure that the endpoint is still there and able to
accept calls.

Quote:
The biggest problem with PtMP is it is horrible at determining that
there is a fault - It basically waits about 10 seconds for the
broadcast to time out. Also, because there is no pre-agreed channel,
it does not know what the fault really is. It just knows that the
broadcast is getting no response.

Quote:
Regards,
Steve

_______________________________________________
Bristuff-users mailing list
Bristuff-users@lists.three-dimensional.net
http://lists.three-dimensional.net/mailman/listinfo/bristuff-users
Back to top
Display posts from previous:   
   AsteriskGuru Archives Forum Index -> Bristuff-Users All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™