I have an issue making 2 or more calls within a short space of time between two phones, one native IP behind a CME running 184.108.40.206 and the other behind a 2811 router with a basic H323 voice gateway configuration. The (edited) configs for each end are attached.
The first call from one phone to the other (or using csim) goes through fine.
However, once the call is ended, if a subsequent call is made within a minute or two afterwards to the same phone (or a phone via the same destination gateway), the call fails and I get the following debug output from h225/h245.
*Jul 16 09:01:49.052: h323chan_chn_process_read_socket: fd=2 of type CONNECTED has data
*Jul 16 09:01:49.052: h323chan_recvdata: recv failure on fd=2: errno=254 errstr=Connection reset by peerh323chan_chn_close: Calls Exist on socketfd=2 Owner
*Jul 16 09:01:49.052: h323chan_close: TCP connection from fd=2 closed
Anybody have any ideas? I've run out and as I write this am seconds away from banging my head against my desk.
You may want to try this command on the routers:
voice service voip
no h245 simultaneous-connection-handle
It sounds like there is a device in your network (read: firewall) that may be incorrectly handling the TCP requests between your routers.
My suspicion is if you put 'session protocol sip' on the dial peers this would work, since it would be UDP by default.
You may also want to try lowering the TCP timeouts for H323 and try taking the firewall out of the equation for testing purposes.