cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5317
Views
0
Helpful
3
Replies

504 Gateway Timeout after about 20 sec of ringing

gaborpaller
Level 1
Level 1

I have a Cisco 2811 (IOS: 12.4(3g)) on which I do some SIP application development. The device is set up as an ISDN-SIP gateway.

The issue is that if I let the outgoing call to ring for more than about 20 sec, the gateway responds with 504 Gateway Timeout and disconnects the call. The call is triggered by a SIP INVITE that I generate and everything works fine if I answer the call earlier than this timeout. I checked the logs and there is no ISDN or SIP event that triggers the 504 Gateway Timeout - it seemingly comes out of nowhere.

Do you have any idea what can cause this timeout? Do you have any advice how I can obtain more information about the cause (e.g. more logging?)

3 Replies 3

gaborpaller
Level 1
Level 1

Eventually I solved it.

The INVITE triggering the call was slightly erroneous. It contained a Supported: 100rel header when actually there was no such support. The PRACK timeout is 500 msec and after 11 retries, the gateway terminated the call.

The

debug ccsip error

log provided the clue.

*Mar 5 00:25:28.964: //1435/453DA1E084A5/SIP/Error/act_sentrel1xx_wait_prack: O

ut of retries state:11

sean7
Level 1
Level 1

how to config voice sercice voip ?

The solution is to add the following configuration to the CUBE.

voice service voip
 sip
  rel1xx disable