Thorsten Göllner
2013-Apr-11 08:56 UTC
[asterisk-users] Asterisk 11.2.1 / dahdi destroy channel / asterisk crashes
Hi, I have the following setup: Ubuntu 12.04.02 LTS (64 bit) Asterisk 11.2.1 Sangoma 4-Port-Card (A104d) with firmware 43 (german e1-ports connected) WANPIPE Release: 3.5.28 DAHDI Version: 2.6.1 Echo Canceller: HWEC libpri version: 1.4.12 I call via sip into the dialplan. Then I do a "Dial(DAHDI/g1/voicenumber,r)". The call is bridged and everything is fine. "dahdi show channels" shows me, that channel 1 is used for the outcall. Then I try to hangup the outcall via "dahdi destroy channel 1". Asterisk crahes immediatly. No message is logged (verbose is 10 and debug is 10). I get disconnected from the atserisk cli at this moment: vlr-3*CLI> dahdi destroy channel 1 vlr-3*CLI> Disconnected from Asterisk server Asterisk cleanly ending (0). Executing last minute cleanups voxi at vlr-3:/tmp$ Is this a bug or is this my fault? Best regards -Thorsten-
Alec Davis
2013-Apr-11 10:14 UTC
[asterisk-users] Asterisk 11.2.1 / dahdi destroy channel / asteriskcrashes
CLI>channel request hangup DAHDI/1-1 Would work. But 'dahdi destroy channel 1' shouldn't segfault asterisk. Alec> -----Original Message----- > From: asterisk-users-bounces at lists.digium.com > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of > Thorsten G?llner > Sent: Thursday, 11 April 2013 8:57 p.m. > To: asterisk-users at lists.digium.com > Subject: [asterisk-users] Asterisk 11.2.1 / dahdi destroy > channel / asteriskcrashes > > Hi, > > I have the following setup: > > Ubuntu 12.04.02 LTS (64 bit) > Asterisk 11.2.1 > Sangoma 4-Port-Card (A104d) with firmware 43 (german e1-ports > connected) WANPIPE Release: 3.5.28 DAHDI Version: 2.6.1 Echo > Canceller: HWEC libpri version: 1.4.12 > > I call via sip into the dialplan. Then I do a > "Dial(DAHDI/g1/voicenumber,r)". The call is bridged and > everything is fine. "dahdi show channels" shows me, that > channel 1 is used for the outcall. Then I try to hangup the > outcall via "dahdi destroy channel 1". > Asterisk crahes immediatly. No message is logged (verbose is > 10 and debug is 10). > > I get disconnected from the atserisk cli at this moment: > > vlr-3*CLI> dahdi destroy channel 1 > vlr-3*CLI> > Disconnected from Asterisk server > Asterisk cleanly ending (0). > Executing last minute cleanups > voxi at vlr-3:/tmp$ > > Is this a bug or is this my fault? > > Best regards > -Thorsten- > > -- > _____________________________________________________________________ > -- 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
hi,
strange behaviour while trying to use pri debugging on asterisk 11.x ...
please take a look:
bas1104*CLI> pri show version
libpri version: 1.4.13
bas1104*CLI> dahdi show version
DAHDI Version: 2.6.1 Echo Canceller: HWEC
bas1104*CLI> help pri
*pri intense debug span*<no description available>
pri service disable channel Remove a channel from service
pri service enable channel Return a channel to service
*pri set debug {on|off*|hex|inte Enables PRI debugging on a span
pri set debug file Sends PRI debug output to the specified file
pri show channels Displays PRI channel information
*pri show debug*Displays current PRI debug settings
pri show spans Displays PRI span information
pri show span Displays PRI span information
pri show version Displays libpri version
bas1104*CLI> help dahdi
dahdi destroy channel Destroy a channel
dahdi restart Fully restart DAHDI channels
dahdi set dnd Sets/resets DND (Do Not Disturb) mode on
a channel
dahdi set hwgain Set hardware gain on a channel
dahdi set swgain Set software gain on a channel
dahdi show cadences List cadences
dahdi show channels [group|con Show active DAHDI channels
dahdi show channel Show information on a channel
dahdi show status Show all DAHDI cards status
dahdi show version Show the DAHDI version in use
/
//currently all debug off:/
bas1104*CLI> pri show debug
Span 1: Debug: No Intense: No
Span 2: Debug: No Intense: No
Span 3: Debug: No Intense: No
Span 4: Debug: No Intense: No
/
//switching it on (which currently works as expected)/
bas1104*CLI> pri intense debug span 1
Enabled debugging on span 1
/
//
//oops, still shows no debug.... but it IS activated.../
bas1104*CLI> pri show debug
Span 1: Debug: No Intense: No
Span 2: Debug: No Intense: No
Span 3: Debug: No Intense: No
Span 4: Debug: No Intense: No
/
//huh... how to disable it again? on some machines I can do so with "pri
no debug span <nr>" but not here... gives same result (no//
//such command) and debug is still enabled.../
bas1104*CLI> pri set debug off
No such command 'pri set debug off' (type 'core show help pri
set' for
other possible commands)
bas1104*CLI>
so... whats the right way to disable pri debugging?
thx,
yves
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20130411/91d1f4d3/attachment.htm>
Yves A.
2013-Apr-11 10:23 UTC
[asterisk-users] Asterisk 11.2.1 / dahdi destroy channel / asterisk crashes
Hi, I can reproduce your report (11.0.1, libpri 1.4.13, dahdi 2.6.1) and would say it is a bug... To remotely hang up a call use * **hangup request <channel>* where channel is the exact id of your channel as you would receive it via *core show channels* yves Am 11.04.2013 10:56, schrieb Thorsten G?llner:> Hi, > > I have the following setup: > > Ubuntu 12.04.02 LTS (64 bit) > Asterisk 11.2.1 > Sangoma 4-Port-Card (A104d) with firmware 43 (german e1-ports connected) > WANPIPE Release: 3.5.28 > DAHDI Version: 2.6.1 Echo Canceller: HWEC > libpri version: 1.4.12 > > I call via sip into the dialplan. Then I do a > "Dial(DAHDI/g1/voicenumber,r)". The call is bridged and everything is > fine. "dahdi show channels" shows me, that channel 1 is used for the > outcall. Then I try to hangup the outcall via "dahdi destroy channel > 1". Asterisk crahes immediatly. No message is logged (verbose is 10 > and debug is 10). > > I get disconnected from the atserisk cli at this moment: > > vlr-3*CLI> dahdi destroy channel 1 > vlr-3*CLI> > Disconnected from Asterisk server > Asterisk cleanly ending (0). > Executing last minute cleanups > voxi at vlr-3:/tmp$ > > Is this a bug or is this my fault? > > Best regards > -Thorsten- > > -- > _____________________________________________________________________ > -- 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130411/405fd76f/attachment.htm>
Thorsten Göllner
2013-Apr-11 12:19 UTC
[asterisk-users] Asterisk 11.2.1 / dahdi destroy channel / asterisk crashes
Thanks! I do not have experience with bug reporting. Is that neccessary in that case? Where can I open a ticket for it (if neccessary)? Am 11.04.2013 12:23, schrieb Yves A.:> Hi, > > I can reproduce your report (11.0.1, libpri 1.4.13, dahdi 2.6.1) and > would say it is a bug... > To remotely hang up a call use > * > **hangup request <channel>* > > where channel is the exact id of your channel as you would receive it via > > *core show channels* > > yves > > Am 11.04.2013 10:56, schrieb Thorsten G?llner: >> Hi, >> >> I have the following setup: >> >> Ubuntu 12.04.02 LTS (64 bit) >> Asterisk 11.2.1 >> Sangoma 4-Port-Card (A104d) with firmware 43 (german e1-ports connected) >> WANPIPE Release: 3.5.28 >> DAHDI Version: 2.6.1 Echo Canceller: HWEC >> libpri version: 1.4.12 >> >> I call via sip into the dialplan. Then I do a >> "Dial(DAHDI/g1/voicenumber,r)". The call is bridged and everything is >> fine. "dahdi show channels" shows me, that channel 1 is used for the >> outcall. Then I try to hangup the outcall via "dahdi destroy channel >> 1". Asterisk crahes immediatly. No message is logged (verbose is 10 >> and debug is 10). >> >> I get disconnected from the atserisk cli at this moment: >> >> vlr-3*CLI> dahdi destroy channel 1 >> vlr-3*CLI> >> Disconnected from Asterisk server >> Asterisk cleanly ending (0). >> Executing last minute cleanups >> voxi at vlr-3:/tmp$ >> >> Is this a bug or is this my fault? >> >> Best regards >> -Thorsten- >> >> ---------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130411/81db44d2/attachment.htm>