Calling from SIP to H.323 and IAX2

While such calls the speech is delayed for 1-2 seconds or even there is silence in the SIP-phone. The chan_sip module sends warning:

Don’t know how to respond via ‘SIP/2.0/TCP’

Actually, in the sources of the chan_sip only the responding via UDP is supported.

Also the chan_h323 (OOH323) send this warning:

Don’t know how to deal with mode 0x40 (slin)

Asterisk 1.4.0, SIP-phone - PhonerLite.
What is the reason of this problem? What configurations should I change to make it work?

The same question.

PhonerLite seems to support both UDP and TCP. You probably have configured it to use TCP or TCP might be the default.

Ok, this is solved, but I still have problems:

chan_h323.c:977 ooh323_indicate: Don’t know how to indicate condition 17 on ooh323c_o_1

This message is caused by the request of indication of the state 17:
frame.h: AST_CONTROL_UNHOLD = 17, /*!< Indicate call is left from hold*/
while calling from SIP to H323.

While calling from H323 to SIP the sound os absent at the H323 side. Instaed I get the message by chan_h323 module:
Don’t know how to deal with mode 0x40 (slin).
And after this anothe one by the same module:
Don’t know how to indicate condition -1 on ooh323c_2

Can someone help me?

If you have just an idea about my problem - write it, please.