Re: [asterisk-users] Asterisk PRI hangup

2011-10-05 Thread Claudio Prono
 reset YYY
 Protocol Discriminator: Q.931 (8)  len=7
 Call Ref: len= 1 (reference 93/0x5D) (Terminator)
 Message type: STATUS (125)
 [14 01 00]
 Call State (len= 3) [ Ext: 0  Coding: CCITT (ITU) standard (0)  Call
state: Null (0)
 Protocol Discriminator: Q.931 (8)  len=8
 Call Ref: len= 1 (reference 93/0x5D) (Originator)
 Message type: DISCONNECT (69)
 [08 02 82 a9]
 Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0 
Location: Public network serving the local user (2)
  Ext: 1  Cause: Temporary failure (41), class =
Network Congestion (resource unavailable) (2) ]
-- Processing IE 8 (cs0, Cause)

At this point the call interrupts. And the log continues:

q931.c:3826 q931_receive: call 93 on channel 1 enters state 12
(Disconnect Indication)
-- Channel 0/1, span 1 got hangup request, cause 41
-- Executing [h@macro-dial:1] Macro(DAHDI/1-1, hangupcall) in
new stack
-- Executing [s@macro-hangupcall:1] GotoIf(DAHDI/1-1, 1?skiprg)
in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf(DAHDI/1-1,
0?skipblkvm) in new stack
-- Executing [s@macro-hangupcall:5] NoOp(DAHDI/1-1, Cleaning Up
Block VM Flag: BLKVM/600/DAHDI/1-1) in new stack
-- Executing [s@macro-hangupcall:6] NoOp(DAHDI/1-1, Deleting:
BLKVM/600/DAHDI/1-1 ) in new stack
-- Executing [s@macro-hangupcall:7] GotoIf(DAHDI/1-1, 1?theend)
in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup(DAHDI/1-1, ) in new stack
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on
'DAHDI/1-1' in macro 'hangupcall'
  == Extension Changed 201[ext-local] new state Idle for Notify User 202
  == Extension Changed 201[ext-local] new state Idle for Notify User 215
  == Spawn extension (macro-dial, s, 7) exited non-zero on 'DAHDI/1-1'
in macro 'dial'
  == Spawn extension (ext-group, 600, 17) exited non-zero on 'DAHDI/1-1'
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication,
peerstate Disconnect Request
q931.c:2967 q931_release: call 93 on channel 1 enters state 19 (Release
Request)
 Protocol Discriminator: Q.931 (8)  len=8
 Call Ref: len= 1 (reference 93/0x5D) (Terminator)
 Message type: RELEASE (77)
 [08 02 81 a9]
 Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0 
Location: Private network serving the local user (1)
  Ext: 1  Cause: Temporary failure (41), class =
Network Congestion (resource unavailable) (2) ]
-- Hungup 'DAHDI/1-1'
Timed out looking for release complete
 Protocol Discriminator: Q.931 (8)  len=8
 Call Ref: len= 1 (reference 93/0x5D) (Terminator)
 Message type: RELEASE (77)
 [08 02 81 a9]
 Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0 
Location: Private network serving the local user (1)
  Ext: 1  Cause: Temporary failure (41), class =
Network Congestion (resource unavailable) (2) ]

What can be the cause of that problem?

My config is: OpenSuSE with this packages:

asterisk162-devel-1.6.2.17-83.1.i586
asterisk162-dahdi-1.6.2.17-83.1.i586
asterisk162-debuginfo-1.6.2.17-83.1.i586
asterisk162-addons-1.6.2.3-38.2.i586
asterisk162-1.6.2.17-83.1.i586
dahdi-tools-devel-2.4.1-34.1.i586
asterisk162-dahdi-1.6.2.17-83.1.i586
dahdi-linux-kmp-default-2.4.1_2.6.31.14_0.6-14.1.i586
dahdi-linux-2.4.1-14.1.i586
dahdi-tools-2.4.1-34.1.i586
free-pbx 2.7.0.10
My dahdi-channels.conf is the following:

group=0,11
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel = 1-2
context = default
group = 63

my chan_dahdi.conf is the following:

[trunkgroups]

[channels]
context=incoming
internationalprefix = 00
nationalprefix = 0
unknownprefix =
usecallerid=yes
mwisendtype=rpas,lrev
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
group=1
callgroup=1
pickupgroup=1

If more configuration details are needed, just ask.

Thanks for any help.

Cordialy,

Claudio Prono.















-

-- 

Claudio Prono OPST
System Developer   
  Gsm: +39-349-54.33.258
@PSS Srl  Tel: +39-011-32.72.100
Via San Bernardino, 17Fax: +39-011-32.46.497
10141 Torino - ITALY  http://atpss.net/disclaimer

PGP Key - http://keys.atpss.net/c_prono.asc









--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Asterisk PRI hangup

2011-09-15 Thread Claudio Prono
) (Terminator)
 Message type: STATUS (125)
 [14 01 00]
 Call State (len= 3) [ Ext: 0  Coding: CCITT (ITU) standard (0)  Call
state: Null (0)
 Protocol Discriminator: Q.931 (8)  len=8
 Call Ref: len= 1 (reference 93/0x5D) (Originator)
 Message type: DISCONNECT (69)
 [08 02 82 a9]
 Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0 
Location: Public network serving the local user (2)
  Ext: 1  Cause: Temporary failure (41), class =
Network Congestion (resource unavailable) (2) ]
-- Processing IE 8 (cs0, Cause)

At this point the call interrupts. And the log continues:

q931.c:3826 q931_receive: call 93 on channel 1 enters state 12
(Disconnect Indication)
-- Channel 0/1, span 1 got hangup request, cause 41
-- Executing [h@macro-dial:1] Macro(DAHDI/1-1, hangupcall) in
new stack
-- Executing [s@macro-hangupcall:1] GotoIf(DAHDI/1-1, 1?skiprg)
in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf(DAHDI/1-1,
0?skipblkvm) in new stack
-- Executing [s@macro-hangupcall:5] NoOp(DAHDI/1-1, Cleaning Up
Block VM Flag: BLKVM/600/DAHDI/1-1) in new stack
-- Executing [s@macro-hangupcall:6] NoOp(DAHDI/1-1, Deleting:
BLKVM/600/DAHDI/1-1 ) in new stack
-- Executing [s@macro-hangupcall:7] GotoIf(DAHDI/1-1, 1?theend)
in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup(DAHDI/1-1, ) in new stack
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on
'DAHDI/1-1' in macro 'hangupcall'
  == Extension Changed 201[ext-local] new state Idle for Notify User 202
  == Extension Changed 201[ext-local] new state Idle for Notify User 215
  == Spawn extension (macro-dial, s, 7) exited non-zero on 'DAHDI/1-1'
in macro 'dial'
  == Spawn extension (ext-group, 600, 17) exited non-zero on 'DAHDI/1-1'
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication,
peerstate Disconnect Request
q931.c:2967 q931_release: call 93 on channel 1 enters state 19 (Release
Request)
 Protocol Discriminator: Q.931 (8)  len=8
 Call Ref: len= 1 (reference 93/0x5D) (Terminator)
 Message type: RELEASE (77)
 [08 02 81 a9]
 Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0 
Location: Private network serving the local user (1)
  Ext: 1  Cause: Temporary failure (41), class =
Network Congestion (resource unavailable) (2) ]
-- Hungup 'DAHDI/1-1'
Timed out looking for release complete
 Protocol Discriminator: Q.931 (8)  len=8
 Call Ref: len= 1 (reference 93/0x5D) (Terminator)
 Message type: RELEASE (77)
 [08 02 81 a9]
 Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0 
Location: Private network serving the local user (1)
  Ext: 1  Cause: Temporary failure (41), class =
Network Congestion (resource unavailable) (2) ]

What can be the cause of that problem?

My config is: OpenSuSE with this packages:

asterisk162-devel-1.6.2.17-83.1.i586
asterisk162-dahdi-1.6.2.17-83.1.i586
asterisk162-debuginfo-1.6.2.17-83.1.i586
asterisk162-addons-1.6.2.3-38.2.i586
asterisk162-1.6.2.17-83.1.i586
dahdi-tools-devel-2.4.1-34.1.i586
asterisk162-dahdi-1.6.2.17-83.1.i586
dahdi-linux-kmp-default-2.4.1_2.6.31.14_0.6-14.1.i586
dahdi-linux-2.4.1-14.1.i586
dahdi-tools-2.4.1-34.1.i586
free-pbx 2.7.0.10
My dahdi-channels.conf is the following:

group=0,11
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel = 1-2
context = default
group = 63

my chan_dahdi.conf is the following:

[trunkgroups]

[channels]
context=incoming
internationalprefix = 00
nationalprefix = 0
unknownprefix =
usecallerid=yes
mwisendtype=rpas,lrev
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
group=1
callgroup=1
pickupgroup=1

If more configuration details are needed, just ask.

Thanks for any help.

Cordialy,

Claudio Prono.















-

-- 

Claudio Prono OPST
System Developer   
  Gsm: +39-349-54.33.258
@PSS Srl  Tel: +39-011-32.72.100
Via San Bernardino, 17Fax: +39-011-32.46.497
10141 Torino - ITALY  http://atpss.net/disclaimer

PGP Key - http://keys.atpss.net/c_prono.asc





--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Problem with dahdi and with freepbx

2010-06-16 Thread Claudio Prono
Hi to all,

I use FreePBX version 2.7.0.2 with dahdi. The first problem is with
dahdi: At the system startup i can't find a way to start correctly
Asterisk with Dahdi.

My boot configuration is the following:

/etc/rc.d/after.local

/usr/sbin/rcdahdi start 

sleep 15

/usr/local/sbin/amportal start 

/sbin/route add -host 85.38.234.9 gw 192.168.2.1 

/usr/bin/python /usr/local/bin/alice-client.py --enable-all 

But, in this way, dahdi don't work with asterisk... I have to manually
stop amportal, stop dahdi and then restart dahdi and amportal to have it
to work. I don't figure why, seems a timing problem, but with the sleep
15 no resolution at all... Any Hint? My OS is OpenSuSE 11.2.

The second problem is with the web interface. I have a CallerID Lookup
Source it uses a mysql query to give the name from the callerID, and
this works perfectly. The only thing, most annoying, is the cache
results box. If i flag it, hit Submit changes and then apply changes if
is necessary, i return to that page and the chace result box is not
checked... no conf saved! I have looked at the webserver logs, activated
php DisplayErrors, but no hit of what can be. The only method i have
found is to connect to the mysql database where are stored the
configurations, ad make manually an update of the field cache with an
entry of 1. But, in any case, this value returns to 0, i don't know why...

Any hint also for this?

Thank you to all, have a nice day!

Cordially,

Claudio.

-- 

Claudio Prono OPST
System Developer   
  Gsm: +39-349-54.33.258
@PSS Srl  Tel: +39-011-32.72.100
Via San Bernardino, 17Fax: +39-011-32.46.497
10141 Torino - ITALY  http://atpss.net/disclaimer

PGP Key - http://keys.atpss.net/c_prono.asc





-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users