Avaya IPOffice PRI outbound and ooh323 Q931
I had a problem which I've just solved which doesn't seem to be very well documented. I recently upgraded my Avaya IP403 to the latest firmware and, at the same time, upgraded Asterisk (there's a lesson to be learned from doing too many things at once!). Anyway, all outbound calls over ISDN refused to work. The logs showed that the Avaya PBX was refusing the calls due to the bearer capabilities presented by the ooh323 driver in Asterisk. The ooh323 driver was presenting the calls as 'unrestricted digital' in Q931 whereas the Avaya box wanted 'speech'. Unfortuantely, I don't know whether this was a change in the Avaya firmware or just I was using old ooh323 code.
Anyway, if you are using the latest (3.2.61) Avaya IPOffice firmware and the latest ooh323 code, you need to make a modification to 'ooq931.c' before you compile it.
In the code, there is a line like:
if(OO_OK != ooSetBearerCapabilityIE(q931msg, Q931CCITTStd,
Q931TransferUnrestrictedDigital, Q931TransferPacketMode,
Q931TransferRatePacketMode, Q931UserInfoLayer1G722G725))
// Q931TransferSpeech, Q931TransferCircuitMode,
// Q931TransferRate64Kbps, Q931UserInfoLayer1G711ULaw))
You need to change it to:
if(OO_OK != ooSetBearerCapabilityIE(q931msg, Q931CCITTStd,
// Q931TransferUnrestrictedDigital, Q931TransferPacketMode,
// Q931TransferRatePacketMode, Q931UserInfoLayer1G722G725))
Q931TransferSpeech, Q931TransferCircuitMode,
Q931TransferRate64Kbps, Q931UserInfoLayer1G711ULaw))
Similarly, further down, there is a line like:
if(OO_OK != ooSetBearerCapabilityIE(q931msg, Q931CCITTStd,
Q931TransferUnrestrictedDigital, Q931TransferPacketMode,
Q931TransferRatePacketMode, Q931UserInfoLayer1G722G725))
// Q931TransferRate64Kbps, Q931UserInfoLayer1G711ULaw))
It needs to be changed to:
if(OO_OK != ooSetBearerCapabilityIE(q931msg, Q931CCITTStd,
// Q931TransferUnrestrictedDigital, Q931TransferPacketMode,
// Q931TransferRatePacketMode, Q931UserInfoLayer1G722G725))
Q931TransferSpeech, Q931TransferCircuitMode,
Q931TransferRate64Kbps, Q931UserInfoLayer1G711ULaw))
It's a bit of a pain that this isn't configurable through some options somewhere, and it's taken me a while to figure it out. If you're using an Avaya IPOffice PBX with ooh323 and you get errors in the Avaya logs about 'Bearer capability not implemented' and then dropped calls, this may help.
Al
Thanks for the help.
ooh323 has actually sent the "wrong" bearer capability for some years now, but the previous Avaya S/W handled that and sent out the correct bearer capability on the ISDN anyway.
I still have some problems with not receiving any ringback tones when calling mobile phones, but otherwise it's working good.
For some reason the Avaya never sends the "alert" message when calling a mobile phone in the Swedish network.
Ulf

Member Since:
2008-04-02