[asterisk-users] Bristuffed Asterisk: Hangup problems

2006-07-17 Thread Jeroen Zwarts



Hello list,

I have just tested the new Bristuff-0.3.0-Pre-1r 
(released this morning) but it seems that the hangup bug isn't resolved yet. I 
installed Bristuff the normal way (just run install.sh) but Asterisk still 
doesn't hangup properly. Investigation of the sourcecode revealed that the 
peercallstate/ourcallstate in q931.c is still wrong. But, for some reason I 
accidentally got it to work (hanging up correctly AND running the hangup 
context). Here's how:

Install Bristuff the normal way 
(install.sh)
Go into the libpri directory in the installation 
dir. 
edit q931.c with the proposed patch we discussed 
here on the board. 
run make clean all in the libpri dir.
run make install in the libpri dir. 

For what I've tested this morning Asterisk now 
seems to hang up correctly AND runs the h-context (including DeadAgi scripts 
which we need).
Maybe there is an easier way yo do this, but this 
seems to work for me. I will investigate this further, but first i'm going to 
test Asterisk 1.2.9.1 to see if it fits my needs. 


Regards,

Jeroen Zwarts

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Bristuffed Asterisk: Hangup problems

2006-05-15 Thread picciuX
have you tried EXPLICITLY disabling busydetect? It could cause confusion on digital (BRI  PRI) lines...If you have busydetect=yes in previuos channel definitions, it will be inherited by your BRI channels also.
Just a thing to try...2006/5/12, stoffell [EMAIL PROTECTED]:
On 5/11/06, Tim Robinson [EMAIL PROTECTED] wrote: There is a lot of junk in your zapata.conf that you do not need, as it relates to analogue lines.This might be causing confusion?
I have tried a similary config to yours, doesn't helps. I haven't gotthis problem on an E1, just on the newer bristuff'd packages.I have sent an email to junghanns.net
 about this, but haven't receivedan answer yet. If I do receive anything, I'll post it back to thethread.If there are any other things I might check, please let me know..cheers___
--Bandwidth and Colocation provided by Easynews.com --Asterisk-Users mailing listTo UNSUBSCRIBE or update options visit: 
http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Bristuffed Asterisk: Hangup problems

2006-05-15 Thread stoffell

On 5/15/06, picciuX [EMAIL PROTECTED] wrote:

have you tried EXPLICITLY disabling busydetect? It could cause confusion
on digital (BRI  PRI) lines...
If you have busydetect=yes in previuos channel definitions, it will be
inherited by your BRI channels also.


hi, thanks for the tip, but busydetect is set to no already, for the
same reason as you're suggesting. still, thanks for reminding.

I have contacted junghanns.net, hope to get some solution soon now.

cheers
___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [Asterisk-Users] Bristuffed Asterisk: Hangup problems

2006-05-14 Thread Koopmann, Jan-Peter
On Friday, May 12, 2006 12:38 PM stoffell wrote:

 I have sent an email to junghanns.net about this, but haven't
 received an answer yet. If I do receive anything, I'll post it back
 to the thread.  


Friendly piece of advice: Call them! :-) Mail is most of the times not 
answered...

Regards,
  JP
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Bristuffed Asterisk: Hangup problems

2006-05-12 Thread stoffell

On 5/11/06, Tim Robinson [EMAIL PROTECTED] wrote:

There is a lot of junk in your zapata.conf that you do not need, as it
relates to analogue lines.  This might be causing confusion?


I have tried a similary config to yours, doesn't helps. I haven't got
this problem on an E1, just on the newer bristuff'd packages.

I have sent an email to junghanns.net about this, but haven't received
an answer yet. If I do receive anything, I'll post it back to the
thread.

If there are any other things I might check, please let me know..

cheers
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Bristuffed Asterisk: Hangup problems

2006-05-12 Thread Steve Davies

On 5/12/06, stoffell [EMAIL PROTECTED] wrote:

On 5/11/06, Tim Robinson [EMAIL PROTECTED] wrote:
 There is a lot of junk in your zapata.conf that you do not need, as it
 relates to analogue lines.  This might be causing confusion?

I have tried a similary config to yours, doesn't helps. I haven't got
this problem on an E1, just on the newer bristuff'd packages.

I have sent an email to junghanns.net about this, but haven't received
an answer yet. If I do receive anything, I'll post it back to the
thread.

If there are any other things I might check, please let me know..


I am still using the older 0.2.0 bristuff packages, and found that the
April RC8r release causes more issues than it solves. Particularly in
the 'qozap' driver, which has become unusable on a quad card that does
not have all 4 lines connected... The patches to core asterisk on the
other hand are pretty good. Some of the backported snom/SIP patches in
particular.

I have similarly never had a response to an email on the subject even
though we resell a reasonable number of their quad and single port
cards.

My current favourite version is RC8r with the qozap source rolled back
to RC8n, but that is only helpful to 1.0.x systems - Perhaps there is
some mileage in you doing a similar thing with the 0.3.0-pre branch.
Roll back as far as necessary in the pre branch so that the hangup
problem is solved, and then do a diff and see if the change that
causes the issue is obvious?

Cheers,
Steve
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Bristuffed Asterisk: Hangup problems

2006-05-11 Thread Tim Robinson
There is a lot of junk in your zapata.conf that you do not need, as it 
relates to analogue lines.  This might be causing confusion?


Here is my config for a BT ISDN2e line here in UK.  I don't think I have 
the problems you report.


;TE mode - for ISDN line
nocid=Unavailable
withheldcid=Withheld
Language=en
usecallerid=yes
pridialplan=unknown
prilocaldialplan=unknown
nationalprefix=0
internationalprefix=00
switchtype = euroisdn
signalling = bri_cpe_ptmp
echocancel=yes
echocancelwhenbridged=no
immediate=no
overlapdial=yes
group = 1
context=isdn-in
callgroup=1
channel = 1-2


Rgds
Tim

Jeroen Zwarts wrote:


Hello,

I have a problem with the Bristuffed version of Asterisk. I have tried
Bristuff-0.3.0-pre-1m,n,o,p (Asterisk 1.2.6 to 1.2.7.1) but they all have
the same problem it seems:

The setup:

A machine with a single hfc-s PCI BRI adapter running Gentoo 2.6.15.
Asterisk 1.2.0 (BRIstuffed-0.3.0-PRE-1) installed and working perfectly.
Grandstream gxp-2000 as a SIP phone, and a normal mobile phoneaccount to
test the ISDN connection to the outside world.


I try to upgrade the above setup to a newer version of Bristuff (to test if
the CDR problem is solved) so I download a new bristuff and install it. The
installation seems to go OK, the zaptel and zaphfc modules load with no
problems at all. But when I hang up a call, the line is not totally
disconnected. For instance: When I call from my internal SIP phone to the
mobile, and I hangup the SIP phone while the other side hasn't picked up,
the mobile phone keeps on ringing. Or if I call from the outside to the SIP
phone, and hang up the mobile phone after a conversation, the SIP connection
to Asterisk is still there. Or the other way around: When I have a
conversation from the SIP phone to the mobile phone, and I hang up the SIP
phone, the connection to the mobile phone is still there.

I have tried a clean install of Asterisk+Bristuff as well as an upgrade from
the working Asterisk 1.2.0, but it gives me the same problem.

The only really strange thing I find in the logs that might have to do
something with this is the following line on the verbosed console:
chan_zap.c:8498 zt_pri_error: 1 updating callstate, peercallstate 2 to 1


my zaptel.conf:
-
loadzone = nl
defaultzone=nl

span=1,1,3,ccs,ami
bchan=1-2
dchan=3
---


and my zapata.conf:
---
[channels]
language=nl
context=inbound
switchtype=euroisdn
pridialplan=dynamic
prilocaldialplan=local
internationalprefix = 00
nationalprefix = 0
signalling=bri_cpe_ptmp

rxwink=300
usecallerid=yes
cidsignalling=dtmf
cidstart=ring
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes

echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
rxgain=4.0
txgain=0.0

group=1
callgroup=1
pickupgroup=1
immediate=no

callerid=asreceived
busydetect=yes
busycount=8
busypattern=500,500

channel = 1-2
---


I also made a full log and a console log of this problem. They can be found
at:

http://www.borndgtl.cistron.nl/consolelog.txt

http://www.borndgtl.cistron.nl/fulllog.txt



Anyone has an idea where to look for a solution for this problem?

Thanks!

Jeroen Zwarts
Born Digital
the Netherlands

___
--Bandwidth and Colocation provided by Easynews.com --

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



___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Bristuffed Asterisk: Hangup problems

2006-05-10 Thread stoffell

On 5/9/06, Jeroen Zwarts [EMAIL PROTECTED] wrote:

I have a problem with the Bristuffed version of Asterisk. I have tried
Bristuff-0.3.0-pre-1m,n,o,p (Asterisk 1.2.6 to 1.2.7.1) but they all have
the same problem it seems:


Hi Jeroen, any progress made yet? I noticed I'm experiencing the same
problem. I wonder if every bristuff user has this issue or it has
something to do with the zapata configuration..

cheers
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Bristuffed Asterisk: Hangup problems

2006-05-10 Thread Jeroen Zwarts
- Original Message - 
From: stoffell [EMAIL PROTECTED]
To: Jeroen Zwarts [EMAIL PROTECTED]; Asterisk Users Mailing List -
Non-Commercial Discussion asterisk-users@lists.digium.com
Sent: Wednesday, May 10, 2006 3:37 PM
Subject: Re: [Asterisk-Users] Bristuffed Asterisk: Hangup problems


 On 5/9/06, Jeroen Zwarts [EMAIL PROTECTED] wrote:
  I have a problem with the Bristuffed version of Asterisk. I have tried
  Bristuff-0.3.0-pre-1m,n,o,p (Asterisk 1.2.6 to 1.2.7.1) but they all
have
  the same problem it seems:

 Hi Jeroen, any progress made yet? I noticed I'm experiencing the same
 problem. I wonder if every bristuff user has this issue or it has
 something to do with the zapata configuration..

 cheers

No, I haven't found a solution yet. However, I also posted this question on
the Asterisk forums @ Digium, and there was a user who seems to have had the
same problem. He found out it is related to Q.931 signalling on the BRI
interface, but he didn't get the chance to further troubleshoot the matter.
I also send a mail to Kapejod (the bristuff dev) but I haven't received a
reply yet.

You could check out these threads on the forums:
http://forums.digium.com/viewtopic.php?t=6467

http://forums.digium.com/viewtopic.php?t=5589


___
--Bandwidth and Colocation provided by Easynews.com --

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


[Asterisk-Users] Bristuffed Asterisk: Hangup problems

2006-05-09 Thread Jeroen Zwarts
Hello,

I have a problem with the Bristuffed version of Asterisk. I have tried
Bristuff-0.3.0-pre-1m,n,o,p (Asterisk 1.2.6 to 1.2.7.1) but they all have
the same problem it seems:

The setup:

A machine with a single hfc-s PCI BRI adapter running Gentoo 2.6.15.
Asterisk 1.2.0 (BRIstuffed-0.3.0-PRE-1) installed and working perfectly.
Grandstream gxp-2000 as a SIP phone, and a normal mobile phoneaccount to
test the ISDN connection to the outside world.


I try to upgrade the above setup to a newer version of Bristuff (to test if
the CDR problem is solved) so I download a new bristuff and install it. The
installation seems to go OK, the zaptel and zaphfc modules load with no
problems at all. But when I hang up a call, the line is not totally
disconnected. For instance: When I call from my internal SIP phone to the
mobile, and I hangup the SIP phone while the other side hasn't picked up,
the mobile phone keeps on ringing. Or if I call from the outside to the SIP
phone, and hang up the mobile phone after a conversation, the SIP connection
to Asterisk is still there. Or the other way around: When I have a
conversation from the SIP phone to the mobile phone, and I hang up the SIP
phone, the connection to the mobile phone is still there.

I have tried a clean install of Asterisk+Bristuff as well as an upgrade from
the working Asterisk 1.2.0, but it gives me the same problem.

The only really strange thing I find in the logs that might have to do
something with this is the following line on the verbosed console:
chan_zap.c:8498 zt_pri_error: 1 updating callstate, peercallstate 2 to 1


my zaptel.conf:
-
loadzone = nl
defaultzone=nl

span=1,1,3,ccs,ami
bchan=1-2
dchan=3
---


and my zapata.conf:
---
[channels]
language=nl
context=inbound
switchtype=euroisdn
pridialplan=dynamic
prilocaldialplan=local
internationalprefix = 00
nationalprefix = 0
signalling=bri_cpe_ptmp

rxwink=300
usecallerid=yes
cidsignalling=dtmf
cidstart=ring
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes

echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
rxgain=4.0
txgain=0.0

group=1
callgroup=1
pickupgroup=1
immediate=no

callerid=asreceived
busydetect=yes
busycount=8
busypattern=500,500

channel = 1-2
---


I also made a full log and a console log of this problem. They can be found
at:

http://www.borndgtl.cistron.nl/consolelog.txt

http://www.borndgtl.cistron.nl/fulllog.txt



Anyone has an idea where to look for a solution for this problem?

Thanks!

Jeroen Zwarts
Born Digital
the Netherlands

___
--Bandwidth and Colocation provided by Easynews.com --

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