add some debug for testing
authorJeremy McNamara <jj@nufone.net>
Fri, 11 Apr 2003 03:28:31 +0000 (03:28 +0000)
committerJeremy McNamara <jj@nufone.net>
Fri, 11 Apr 2003 03:28:31 +0000 (03:28 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@818 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/h323/chan_h323.c

index c7d8217..0f86802 100755 (executable)
@@ -983,8 +983,11 @@ int setup_incoming_call(call_details_t cd)
 
                        if (strlen(user->accountcode)) {
                                strncpy(p->accountcode, user->accountcode, sizeof(p->accountcode)-1);
 
                        if (strlen(user->accountcode)) {
                                strncpy(p->accountcode, user->accountcode, sizeof(p->accountcode)-1);
+                               printf("ACCOUNT CODE: %s", p->accountcode);
+                       } else {
+                               printf("NO ACCOUNT CODE IN USERS");
                        }
                        }
-       
+
                        /* Increment the usage counter */
                        user->inUse++;
                } 
                        /* Increment the usage counter */
                        user->inUse++;
                }