Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Mar 2003 18:26:30 +0100 (CET)
From:      Andreas Prass <ajp.2003.lists@this.net>
To:        freebsd-isdn@freebsd.org
Subject:   Message Wating Indicator (mwi)?
Message-ID:  <20030309182440.Q36058-100000@erasmus.vhs.de>

next in thread | raw e-mail | index | archive | help

Hi. Did anybody look into adding MWI support to i4b yet? Would it be
possible to have i4b call some external program every time it receives an
mwi? Unfortunately, I neither have the full mwi spec nor feel skilled
enough to hack i4b myself...

I've included two examples for the mailbox 08003302424 (aka t-netbox)
telling 972454 that there is one message waiting (first example) and that
there is no message waiting (second example). The string "200303091619" is
the time the message was received.

Thanks in advance.

-- NT->TE - unit:0 - frame:000120 - time:09.03 16:16:58.672050 - length:79 -----
Dump:000  02 ff 03                                              ...
Q921: SAP=0 (Call Control), C, TEI=127, U-Frame: UI PF 0
Dump:003  08 00 62 1c 3e 91 a1 3b 02 02 3d 67 06 06 04 00       ..b.>..;..=g....
Dump:019  85 69 01 03 30 2d a1 11 a1 0f 0a 01 02 12 0a 38       .i..0-.........8
Dump:035  30 30 33 33 30 32 34 32 34 a2 03 0a 01 00 a3 03       003302424.......
Dump:051  02 01 01 a5 0e 18 0c 32 30 30 33 30 33 30 39 31       .......200303091
Dump:067  36 31 39 70 07 c1 39 37 32 34 35 34                   619p..972454
Q931: pd=Q.931/I.451, cr=Dummy, message=FACILITY (Q.932):
     [facility (Q.932): Protocol=Remote Operations Protocol
        0xa1 Tag: Context-spec, Constructor, code = 1
        0x3b Len: 59 (short form)
                  invokeComponent
        0x02 Tag: Universal, Primitive, INTEGER (2)
        0x02 Len: 2 (short form)
        0x3d
        0x67 Val: 419
                  InvokeIdentifier = 419
        0x06 Tag: Universal, Primitive, OBJECT IDENTIFIER (6)
        0x06 Len: 6 (short form)
        0x04 = 4 ccitt/itu-t (0) identified-organization (4)
        0x00 = 0 etsi (0)
        0x85 = 133
        0x69 = 105
        0x01 = 1
        0x03 = 3
        0x30 Tag: Universal, Constructor, SEQUENCE (16)
        0x2d Len: 45 (short form)
        0xa1 Tag: Context-spec, Constructor, code = 1
        0x11 Len: 17 (short form)
        0xa1 Tag: Context-spec, Constructor, code = 1
        0x0f Len: 15 (short form)
        0x0a Tag: Universal, Primitive, ENUMERATED (10)
        0x01 Len: 1 (short form)
        0x02 Val: 2
        0x12 Tag: Universal, Primitive, NUMERIC STRING (18)
        0x0a Len: 10 (short form)
        0x38 = 56 = '8'
        0x30 = 48 = '0'
        0x30 = 48 = '0'
        0x33 = 51 = '3'
        0x33 = 51 = '3'
        0x30 = 48 = '0'
        0x32 = 50 = '2'
        0x34 = 52 = '4'
        0x32 = 50 = '2'
        0x34 = 52 = '4' 0xa2 Tag: Context-spec, Constructor, code = 2
        0x03 Len: 3 (short form)
        0x0a Tag: Universal, Primitive, ENUMERATED (10)
        0x01 Len: 1 (short form)
        0x00 Val: 0
        0xa3 Tag: Context-spec, Constructor, code = 3
        0x03 Len: 3 (short form)
        0x02 Tag: Universal, Primitive, INTEGER (2)
        0x01 Len: 1 (short form)
        0x01 Val: 1
                  Operation Value = uUs (1)
        0xa5 Tag: Context-spec, Constructor, code = 5
        0x0e Len: 14 (short form)
        0x18 Tag: Universal, Primitive, GENERAL STRING (24)
        0x0c Len: 12 (short form)
        0x32 = 50 = '2'
        0x30 = 48 = '0'
        0x30 = 48 = '0'
        0x33 = 51 = '3'
        0x30 = 48 = '0'
        0x33 = 51 = '3'
        0x30 = 48 = '0'
        0x39 = 57 = '9'
        0x31 = 49 = '1'
        0x36 = 54 = '6'
        0x31 = 49 = '1'
        0x39 = 57 = '9]
     [called party number: 972454 (type=subscriber, plan=ISDN)]

-- NT->TE - unit:0 - frame:000169 - time:09.03 16:19:48.145773 - length:63 -----
Dump:000  02 ff 03                                              ...
Q921: SAP=0 (Call Control), C, TEI=127, U-Frame: UI PF 0
Dump:003  08 00 62 1c 2e 91 a1 2b 02 02 3d 6a 06 06 04 00       ..b....+..=j....
Dump:019  85 69 01 03 30 1d a1 11 a1 0f 0a 01 02 12 0a 38       .i..0..........8
Dump:035  30 30 33 33 30 32 34 32 34 a2 03 0a 01 00 a3 03       003302424.......
Dump:051  02 01 00 70 07 c1 39 37 32 34 35 34                   ...p..972454
Q931: pd=Q.931/I.451, cr=Dummy, message=FACILITY (Q.932):
     [facility (Q.932): Protocol=Remote Operations Protocol
        0xa1 Tag: Context-spec, Constructor, code = 1
        0x2b Len: 43 (short form)
                  invokeComponent
        0x02 Tag: Universal, Primitive, INTEGER (2)
        0x02 Len: 2 (short form)
        0x3d
        0x6a Val: 422
                  InvokeIdentifier = 422
        0x06 Tag: Universal, Primitive, OBJECT IDENTIFIER (6)
        0x06 Len: 6 (short form)
        0x04 = 4 ccitt/itu-t (0) identified-organization (4)
        0x00 = 0 etsi (0)
        0x85 = 133
        0x69 = 105
        0x01 = 1
        0x03 = 3
        0x30 Tag: Universal, Constructor, SEQUENCE (16)
        0x1d Len: 29 (short form)
        0xa1 Tag: Context-spec, Constructor, code = 1
        0x11 Len: 17 (short form)
        0xa1 Tag: Context-spec, Constructor, code = 1
        0x0f Len: 15 (short form)
        0x0a Tag: Universal, Primitive, ENUMERATED (10)
        0x01 Len: 1 (short form)
        0x02 Val: 2
        0x12 Tag: Universal, Primitive, NUMERIC STRING (18)
        0x0a Len: 10 (short form)
        0x38 = 56 = '8'
        0x30 = 48 = '0'
        0x30 = 48 = '0'
        0x33 = 51 = '3'
        0x33 = 51 = '3'
        0x30 = 48 = '0'
        0x32 = 50 = '2'
        0x34 = 52 = '4'
        0x32 = 50 = '2'
        0x34 = 52 = '4' 0xa2 Tag: Context-spec, Constructor, code = 2
        0x03 Len: 3 (short form)
        0x0a Tag: Universal, Primitive, ENUMERATED (10)
        0x01 Len: 1 (short form)
        0x00 Val: 0
        0xa3 Tag: Context-spec, Constructor, code = 3
        0x03 Len: 3 (short form)
        0x02 Tag: Universal, Primitive, INTEGER (2)
        0x01 Len: 1 (short form)
        0x00 Val: 0
                  Operation Value = unknown operation value 0! (0)]
     [called party number: 972454 (type=subscriber, plan=ISDN)]




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030309182440.Q36058-100000>