Re: [Opalvoip-devel] Q.931 Progress Indicator
Brought to you by:
csoutheren,
rjongbloed
From: Robert J. <ro...@vo...> - 2010-03-25 23:03:34
|
It is left up to the application for what happens when the remote side is "ringing", that is Alerting. It is difficult for the library to know what the application wants to do there. The only exception to this is the OpalLineConnection, where it is assumed that a dumb POTS phone is attached, so that class does generate a local ringback tone to be played down the line to the handset. I suppose you could consider adding a similar piece of functionality to OpalPCSSConnection, if that is fact what you are using. I can probably give you some pointers on how to do so. Robert Jongbloed OPAL/OpenH323/PTLib Architect and Co-founder. > -----Original Message----- > From: dca...@ma... [mailto:dca...@ma...] > Sent: Friday, 26 March 2010 6:37 AM > To: opa...@li... > Subject: [Opalvoip-devel] Q.931 Progress Indicator > > I am using a Cisco 3745 with IOS Version 12.4(11)T4 with latest opal, but we > have a small problem when there is no Progress-Indicator present in the Q.931 > field. Without a progress-indicator, we get no ringback tone, and we can't > force the 3745 to provide a ringback tone only when PI is missing (it would > always generate a local RBT, overriding any PI settings in Q.931). > > Is there a way to have opal play a local ringback tone (like a .wav or .mp3), > when the Q.931 field of Alerting OLC PDU comes back without a Progress- > Indicator? > > Heres an example without PI in Q.931 > 2010/03/25 19:21:30.936 46:21.841 H225 Caller:24476 > 02AF5768 h323pdu.cxx(80) H225 Receiving PDU: > { > q931pdu = { > protocolDiscriminator = 8 > callReference = 433 > from = destination > messageType = Alerting > IE: Display = { > 66 61 6b 65 5f 44 69 73 70 6c 61 79 fake_Display > } > IE: Signal = { > 01 . > } > IE: User-User = { > 23 80 06 00 08 91 4a 00 04 28 c0 b5 00 00 12 0b #.....J..(...... > 43 69 73 63 6f 47 61 74 65 77 61 79 00 32 40 02 CiscoGateway.2@. > ... > } > } > > With PI (the far end provides the ringback tone): > 2010/03/25 19:24:38.835 49:29.748 H225 Caller:23196 > 022B2EF0 h323pdu.cxx(80) H225 Receiving PDU: > { > q931pdu = { > protocolDiscriminator = 8 > callReference = 434 > from = destination > messageType = Alerting > IE: Progress-Indicator = { > 80 81 .. > } > IE: Display = { > 66 61 6b 65 5f 44 69 73 70 6c 61 79 fake_Display > } > IE: Signal = { > 01 . > } > IE: User-User = { > 23 80 06 00 08 91 4a 00 04 28 c0 b5 00 00 12 0b #.....J..(...... > 43 69 73 63 6f 47 61 74 65 77 61 79 00 32 40 02 CiscoGateway.2@. > ... > } > } > > > -- > Regards, > -Demetrius Cassidy > > ---------------------------------------------------------------------------- - > - > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Opalvoip-devel mailing list > Opa...@li... > https://lists.sourceforge.net/lists/listinfo/opalvoip-devel |