Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv19366/apps

Modified Files:
        app_dial.c 
Log Message:
return CHANUNAVAIL for unregistered peers, not CONGESTION (bug #4276)


Index: app_dial.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -d -r1.152 -r1.153
--- app_dial.c  29 Apr 2005 17:00:33 -0000      1.152
+++ app_dial.c  16 May 2005 00:09:09 -0000      1.153
@@ -189,11 +189,15 @@
                numbusy++; \
                break; \
        case AST_CAUSE_CONGESTION: \
-       case AST_CAUSE_UNREGISTERED: \
                if (chan->cdr) \
                        ast_cdr_busy(chan->cdr); \
                numcongestion++; \
                break; \
+       case AST_CAUSE_UNREGISTERED: \
+               if (chan->cdr) \
+                       ast_cdr_busy(chan->cdr); \
+               numnochan++; \
+               break; \
        default: \
                numnochan++; \
                break; \

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to