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.
Flash Operator Panel Mailing List
To unsubscribe send an empty message to:
<operator_panel-unsubscribe@xxxxxxxxxxxxxxxxxx>
To get help send an empty message to:
<operator_panel-help@xxxxxxxxxxxxxxxxxx>
The archives can be found at:
http://www.asternic.org/archives/maillist.html