On Thu, Mar 4, 2010 at 5:45 PM, Scott Lawrence <[email protected]> wrote: > On Thu, 2010-03-04 at 17:24 -0500, M. Ranganathan wrote: >> What is the set of codecs that is supported by MOH ? (i.e if I send an >> offer to MOH what can I expect to see in the answer?) >> >> Used to be G711 only but I now see : >> >> m=audio 12048 RTP/AVP 9 127 >> >> Which is G722 >> >> >> Reason I need to know this a-priori is I need to be able to take a >> default action and not drop the call in case the caller gets placed on >> hold, the bridge is configured for MOH and the caller's offer does not >> include something that the park server supports. >> >> I have a hidden field in sipxbridge.xml for this purpose. > > I don't understand the question.... you can always count on the MoH > being able to support G.711 - what more do you need to know? >
Well, what would you do if the SDP offer from the phone where you want to play MOH does not contain a codec that you can expect in the SDP answer from the MOH server ( yes this can happen mid call ). The flow is Sipxbridge sends INVITE(no sdp) to phone where it wants to play MOH Phone answers with supported codecs sipXbrige sends ACK with moh codecs. If the phone does not support a codec that would be returned by MOH in the answer from MOH, then I simply recycle the last answer to the phone. Hence, MOH does not play but the call is not dropped. That's the reason I need this information. Not being able to support MOH is not sufficient reason to drop the call. Regards Ranga > > -- M. Ranganathan _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev sipXecs IP PBX -- http://www.sipfoundry.org/
