[Asterisk-Dev] Asterisk,zaphfc,libpri-1.0.6/Q.921
Clive Nicolson
clive at baby.bedroom.gen.nz
Sun Jul 3 07:33:16 MST 2005
Hi,
TEI Assignment Procedure:
I have been using POTS phones via a ISDN router into a hcf isdn card running
in NT mode without problems. Recently I aquired a Philips Sopho Ergoline D330
ISDN phone. Pluging this in in place of the ISDN router caused the phone to
indicated that its TEI Assignment Request was being denied. Looking at
libpri-1.0.6/q921.c I discovered that the code could only handle dynamic TEI
requests, while the D330 was requesting a fixed TEI. I fixed q921.c to cope
with this but now the phone is issuing a TEI Verify which q921.c is not
handling.
It appears to me that q921.c is missing quite a bit of TEI assignment
functionality, so I'm asking if anyone has new code for this or any guidance
for me if I attempt to enhance the code?
This is how my hacked code behaves:
zaphfc: Sitecom Isdn 128 PCI configured at mem 0xc899c400 fifo 0xc5e48000(0x5e48000) IRQ 10 HZ 1000
zaphfc: Card 0 configured for NT mode
zaphfc: Card 0 configured for master mode
zaphfc: 1 hfc-pci card(s) in this box.
Registered tone zone 10 (New Zealand)
zaphfc[0]: card layer 1 state = G2
zaphfc[0]: card layer 1 state = G3
==== SAPI TEI CTRL MEI REFNUMBER TYPE Ai
zaphfc[0]: card RX [ 0xfc 0xff 0x03 0x0f 0x7e 0x4a 0x01 0x01 ] 8 bytes REQUEST
zaphfc[0]: card RX [ 0xfc 0xff 0x03 0x0f 0xfc 0x95 0x01 0x01 ] 8 bytes REQUEST
asterisk: safe_asterisk startup succeeded
zaphfc[0]: card RX [ 0xfc 0xff 0x03 0x0f 0xf9 0x2a 0x01 0x01 ] 8 bytes REQUEST
zaphfc[0]: card TX [ 0xfe 0xff 0x03 0x0f 0xf8 0xca 0x06 0xff ] 8 bytes REMOVE
zaphfc[0]: card TX [ 0xfe 0xff 0x03 0x0f 0xd8 0x4f 0x06 0x81 ] 8 bytes REMOVE
zaphfc[0]: card TX [ 0xfe 0xff 0x03 0x0f 0xf6 0xdb 0x06 0x83 ] 8 bytes REMOVE
zaphfc[0]: card TX [ 0xfe 0xff 0x03 0x0f 0x64 0x3d 0x06 0x85 ] 8 bytes REMOVE
zaphfc[0]: card TX [ 0xfe 0xff 0x03 0x0f 0x43 0x8c 0x06 0x87 ] 8 bytes REMOVE
zaphfc[0]: card TX [ 0xfe 0xff 0x03 0x0f 0x23 0x4a 0x06 0x89 ] 8 bytes REMOVE
zaphfc[0]: card TX [ 0xfe 0xff 0x03 0x0f 0x12 0xc4 0x06 0x8b ] 8 bytes REMOVE
zaphfc[0]: card TX [ 0xfe 0xff 0x03 0x0f 0x9c 0x3b 0x06 0x8d ] 8 bytes REMOVE
zaphfc[0]: card TX [ 0xfe 0xff 0x03 0x0f 0x04 0xaf 0x06 0x8f ] 8 bytes REMOVE
zaphfc[0]: card TX [ 0xfe 0xff 0x03 0x0f 0x32 0x6b 0x06 0x91 ] 8 bytes REMOVE
zaphfc[0]: card TX [ 0xfe 0xff 0x03 0x0f 0x8d 0x62 0x06 0x93 ] 8 bytes REMOVE
zaphfc[0]: card TX [ 0xfe 0xff 0x03 0x0f 0x3b 0xc8 0x06 0x95 ] 8 bytes REMOVE
zaphfc[0]: card TX [ 0xfe 0xff 0x03 0x0f 0x2a 0xe6 0x06 0x97 ] 8 bytes REMOVE
zaphfc[0]: card TX [ 0xfe 0xff 0x03 0x0f 0xb2 0x86 0x06 0x99 ] 8 bytes REMOVE
zaphfc[0]: card TX [ 0xfe 0xff 0x03 0x0f 0xa8 0xc4 0x06 0x9b ] 8 bytes REMOVE
zaphfc[0]: card TX [ 0xfe 0xff 0x03 0x0f 0xbf 0x71 0x06 0x9d ] 8 bytes REMOVE
zaphfc[0]: card TX [ 0xfe 0xff 0x03 0x0f 0x5b 0xe4 0x06 0x9f ] 8 bytes REMOVE
zaphfc[0]: card RX [ 0xfc 0xff 0x03 0x0f 0xf2 0x55 0x01 0x01 ] 8 bytes REQUEST
zaphfc[0]: card TX [ 0xfe 0xff 0x03 0x0f 0xf2 0x55 0x02 0x01 ] 8 bytes ASSIGNED
zaphfc[0]: card RX [ 0x00 0x01 0x7f ] 3 bytes
last message repeated 3 times
zaphfc[0]: card RX [ 0xfc 0xff 0x03 0x0f 0x00 0x00 0x07 0x01 ] 8 bytes VERIFY
zaphfc[0]: card RX [ 0xfc 0xff 0x03 0x0f 0x00 0x00 0x07 0x01 ] 8 bytes VERIFY
Thanks
Clive
More information about the asterisk-dev
mailing list