Status von CAPI-Ports

Bug #449355 reported by free-x
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gemeinschaft (by Amooma)
Triaged
Wishlist
Unassigned
Gemeinschaft (ph.)
Triaged
Wishlist
Unassigned

Bug Description

Zur Zeit zeigt Gemeinschaft nur Status von mISDN channels. Falls in System die Karten via CAPI angebunden sind, gibt es kein Status.
Status konnte man folgend abfragen
-----------------------------------------------------------------------
gemeinschaft*CLI> capi show channels
CAPI B-channel information:
Line-Name NTmode state i/o bproto isdnstate ton number
----------------------------------------------------------------
isdn_gw_16_briport1#02 no ----- - trans 0x00 ''->''
isdn_gw_16_briport1#01 no ----- - trans 0x00 ''->''
-----------------------------------------------------------------------

Oder konnte man noch andere infos sehen
-------------------------------------------------------------------------
gemeinschaft*CLI> capi info
Common ISDN API Driver (1.1.4) www.chan-capi.org
Contr1: 2 B channels total, 2 B channels free.
-------------------------------------------------------------------------

Regards

Oleg Roitburd

Tags: capi gui patch
free-x (free-x)
tags: added: capi
Revision history for this message
Sebastian Ertz (swastel) wrote :

Das zu prorgrammieren habe ich letzte Woche angefangen. Werde bald hier einen patch einstellen.

Revision history for this message
Sebastian Ertz (swastel) wrote :

Hier der Patch. Ausgewertet wird der asterisk Befehel "capi show channels"

tags: added: gui patch
Revision history for this message
Philipp Kempgen (philipp-kempgen) wrote :

Gibt es einen "capi ..."-Befehl auf dem Asterisk-CLI der die Ports
anzeigt?
"capi show channels" zeigt doch die aktiven Kanäle/Anrufe an oder?
Das ist zwar auch eine interessante Information, gehört aber wahr-
scheinlich nicht auf System->ISDN-Ports.
Wird da für mISDN auch nicht angezeigt. Nur "misdn show stacks".
Kann aber auch sein daß es bei capi keine separate Ausgabe der
Ports gibt.

Revision history for this message
free-x (free-x) wrote :

Danke. Patch eigespielt auf Gemeinschaft 2.3. Keine Rejects. Funktioniert prächtig

Revision history for this message
Sebastian Ertz (swastel) wrote :

Es gibt zwei Befehle:

amrum # asterisk -rx 'capi show channels'
CAPI B-channel information:
Line-Name NTmode state i/o bproto isdnstate ton number
----------------------------------------------------------------
isdn_gw_21_avm#02 no ----- - trans 0x00 ''->''
isdn_gw_21_avm#01 no ----- - trans 0x00 ''->''

amrum # asterisk -rx 'capi info'
Common ISDN API Driver (1.1.4) www.chan-capi.org
Contr1: 2 B channels total, 2 B channels free.

amrum # asterisk -rx 'help capi'
            capi chatinfo Show CAPI chat info
               capi debug Enable CAPI debugging
                capi info Show CAPI info
            capi no debug Disable CAPI debugging
          capi qsig debug Enable QSIG debugging
       capi qsig no debug Disable QSIG debugging
       capi show channels Show B-channel info

Revision history for this message
Philipp Kempgen (philipp-kempgen) wrote :

OK, schade, dann gibt es wohl keinen Befehl der nur die Ports
anzeigt. "capi info" paßt in dem Zusammenhang ja noch weniger.
Also muß man wohl oder übel "capi show channels" nehmen.

Changed in gemeinschaft-amooma:
importance: Undecided → Wishlist
status: New → Triaged
Changed in gemeinschaft:
importance: Undecided → Wishlist
status: New → Triaged
summary: - Status von CAPI channels
+ Status von CAPI-Ports
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.