[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]

ISDN buttons


  • From: Ian <vk4kij@xxxxxxxxx>
  • Date: Thu, 8 Nov 2007 15:31:48 +1000
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=Law8745PO4S34qpdH2mTXjFi25Owl2AGqv58HGsq584=; b=KX+tMr544r/bTDkAuVHly9qq30hr1dKsSKFjMZCw1a7Ynx0kXyrDF0EY59TNM2FY6OxA7CNOw+IOIH7VN4fcbtLDXivton5kYFA6agyUi+ABHhWcoyXzZqkoay+tSoH4dweA5Bu6r2MyONAcEFvPyuik4IJA0m1Ii0nu9kOQ43s=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=E4RFfUT+xz4BhxdPSiJYz7dUM0YG1rcAoLpVrEpFFH1rr3kv2cldparA3c4+9ZgUtnDRTTCBFZbk7uALCQRUhtxxeoTlPWvgGUSk91vehoVQGcASPuUrvL7Oab4X9ryqAvmF9xzJERECUAswhsSqnMGmyFOyTeq4R/u3tuf1CdM=
  • Mailing-list: contact operator_panel-help@lists.house.com.ar; run by ezmlm

G'day,

I have 4 ISDN lines I wish to monitor, but I have been unsuccessful.

I'm unsure of what to put into the op_buttons.cfg file.

#[CAPI[contr1/NNNNNNNNN]] ; where NNNN is the ISDN number.

Do I need only the ISDN number, or do I need something for contr1 as well?

I've played with various combinations, tried making out the source,
but I'm no programmer.

There is a 100 number range going to these ISDN lines for in-dials.

Part of my capi.conf file:

[ISDN1]
mode=immediate
isdnmode=msn
incomingmsn=*
controller=1
softdtmf=0
accountcode=
context=isdn-in
group=1          ;dialout group
callgroup=1      ;PBX call group
echocancel=yes   ;EICON DIVA SERVER (CAPI) echo cancelation (yes=g165)
devices=2

Under debug I get this from op_server.pl, and a whole lot more if needed:

192.168.xx.xx   <- Event: Newstate
192.168.xx.xx   <- Privilege: call,all
192.168.xx.xx   <- Channel: CAPI/ISDN1#02/87654321-244
192.168.xx.xx   <- State: Down
192.168.xx.xx   <- CallerID: 0712345678
192.168.xx.xx   <- CallerIDName: <unknown>
192.168.xx.xx   <- Uniqueid: 1194496282.1149
192.168.xx.xx   <- Server: 1

** MAIN AST event received...
** MAIN There's an 'Event' in the event block
** MAIN Event detected block_count = 0
** MAIN There are 0 blocks for processing
** MAIN Answer block cleared

                ** PROCESA_BLOQUE canalid CAPI/ISDN1#02/87654321-244
unico_id 1194496282.1149-1 evento Newstate enlazado
                ** PROCESA_BLOQUE LLENANDO el global datos 1194496282.1149-1
                ** PROCESA_BLOQUE POPULATES datos(1194496282.1149-1){
Server } = 1
                ** PROCESA_BLOQUE POPULATES datos(1194496282.1149-1){
CallerID } = 0712345678
                ** PROCESA_BLOQUE POPULATES datos(1194496282.1149-1){
Event } = Newstate
                ** PROCESA_BLOQUE POPULATES datos(1194496282.1149-1){
Privilege } = call,all
                ** PROCESA_BLOQUE POPULATES datos(1194496282.1149-1){
Channel } = CAPI/ISDN1#02/87654321-244
                ** PROCESA_BLOQUE POPULATES datos(1194496282.1149-1){
State } = Down
                ** PROCESA_BLOQUE POPULATES datos(1194496282.1149-1){
CallerIDName } = <unknown>
                ** PROCESA_BLOQUE POPULATES datos(1194496282.1149-1){
Uniqueid } = 1194496282.1149-1
                ** PROCESA_BLOQUE Event newstate, canal '', estadofinal

                ** SEPARATE_SESSION_FROM_CHAN elemento1
CAPI/ISDN1#02/87654321-244
                ** SEPARATE_SESSION_FROM_CHAN elemento2 CAPI/ISDN1#02   244
                ** SEPARATE_SESSION_FROM_CHAN canal CAPI/ISDN1#02 sesion 244

                ** PROCESA_BLOQUE canal CAPI/ISDN1#02 sesion 244
                ** PROCESA_BLOQUE EXISTE datos(1194496282.1149-1)
                ** PROCESA_BLOQUE returns 1
                ** PROCESA_BLOQUE END SUB returns
CAPI/ISDN1#02|||1194496282.1149-1|CAPI/ISDN1#02/87654321-244

** MAIN End of block from 192.168.xx.xx

I've changed the phone numbers, but the phone number lengths and area
codes, if any, are correct.

Thanks.

Ian.

Follow-Ups from:
Nicolás Gudiño

[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]