cause code 47 errors in CDR -- Resource unavailable, unspecified

Cause code 47 typically indicates a problem with negotiating media.  Some scenarios where this can arise:

- Allocation of transcoder due to regions/codec.
- Allocation of CFB when attempting to conference.
- Allocation of MTP for DTMF (won fail a call unless Service Parameter is set to fail call if MTP allocation fails).

If CM is sending the disconnect w/ cause 47, it typically means that CM could not allocate a media resource that is required in order for the call to connect.  Or, the media negotiation for the call might have timed out, ie. MxTimeout.

Detailed CM traces for a call which disconnects with cause 47 would help confirm what is happening

 

on H323 trunks you can use the following command to check the codes:

#show h323 gateway cause-codes

 

CAUSE CODE STATISTICS AT 9w0d

 

DISC CAUSE CODE        FROM OTHER PEER    FROM H323 PEER
0                                      1                 0
1 unassigned number (1)               20               483
3 no route to destinatio             126                31
16 normal call clearing (            5590             24979
17 user busy (17)                      32               858
18 no user response (18)                0                 5
19 no user answer (19)               1249                55
21 call rejected (21)                   1                39
27 destination out of ord               1               283
28 invalid number (28)                  0               193
31 normal, unspecified (3              42               553
34 no circuit (34)                      0               187
38 network out of order (              14                13
41 temporary failure (41)              30                29
42 switch congestion (42)               1                 4
44 no requested circuit (               0                13
47 no resource (47)                    65                 2
63 service or option not                0                 8
79 service not implemente               0                 4
88 incompatible destinati               0                 2
99 ie not implemented (99               0               294
102 recovery on timer expi              14                14
111 protocol error (111)                 3                 2
127 interworking (127)                   0                 4

 

thnx to: http://www.routerdiscussions.com/viewtopic.php?f=4&t=17072