Asterisk Qsig PBX MWI

Hi

I wanted to send MWI message from asterisk to old PBX,and use Asterisk as voicemail box… the old pbx does not support SIP.

so it looks like these

Asterisk—sip trunk–Cisco2821—QSig—PBX–End points

I thought of two options, first I have media gateway, CISCO 2821 router in-between the PBX and the asterisk BOX, voicemail calls are sent from PBX to asterisk box which is the voicemail bank for pbx users…the problem is sending MWI notication to PBX end points

SIP MWI notify is sent to Cisco gateway, which is translated to QSIG, I had it working, but now facility info is missing? and before could get mwi activate/deactivate(80,81) message, but now the facility info is missing…

this is isdn debug output on the gateway for the MWI notification…

*Oct 15 01:15:38.759: ISDN Se0/1/0:15 Q931: TX -> RELEASE pd = 8 callref = 0xAE1B
*Oct 15 01:15:38.775: ISDN Se0/1/0:15 Q931: RX <- RELEASE_COMP pd = 8 callref = 0x2E1B
*Oct 15 01:15:38.811: ISDN Se0/1/0:15 Q931: Sending SETUP callref = 0x0083 callID = 0x8004 switch = primary-qsig interface = User
*Oct 15 01:15:38.811: ISDN Se0/1/0:15 Q931: TX -> SETUP pd = 8 callref = 0x0083
Bearer Capability i = 0xA880
Standard = ISO/IEC
Transfer Capability = Unrestricted Digital
Transfer Mode = Circuit
Transfer Rate = Packet - not specified
Channel ID i = 0xAC
Exclusive, Channel 9
Called Party Number i = 0x80, 'xxxxxxxx’
Plan:Unknown, Type:Unknown
*Oct 15 01:15:38.827: ISDN Se0/1/0:15 Q931: RX <- RELEASE_COMP pd = 8 callref = 0x8083
Cause i = 0x82E49804 - Invalid information element contents
*Oct 15 01:15:41.595: ISDN Se0/1/0:15 Q931: Sending SETUP callref = 0x0084 callID = 0x8005 switch = primary-qsig interface = User
*Oct 15 01:15:41.595: ISDN Se0/1/0:15 Q931: TX -> SETUP pd = 8 callref = 0x0084
Bearer Capability i = 0xA880
Standard = ISO/IEC
Transfer Capability = Unrestricted Digital
Transfer Mode = Circuit
Transfer Rate = Packet - not specified
Channel ID i = 0xAC
Exclusive, Channel 9
Called Party Number i = 0x80, 'xxxxxxxx’
Plan:Unknown, Type:Unknown
*Oct 15 01:15:41.611: ISDN Se0/1/0:15 Q931: RX <- RELEASE_COMP pd = 8 callref = 0x8084

The second option i thought about was to connect PBX directly to Asterisk using diguim E1 cards.

Regards
Ali