Revert CPC patch for now, until I decide whether or not it all should be merged into...
authorMatthew Fredrickson <creslin@digium.com>
Tue, 5 May 2009 17:33:42 +0000 (17:33 +0000)
committerMatthew Fredrickson <creslin@digium.com>
Tue, 5 May 2009 17:33:42 +0000 (17:33 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@192427 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_dahdi.c

index a301b0c..3306b55 100644 (file)
@@ -3434,7 +3434,6 @@ static int dahdi_call(struct ast_channel *ast, char *rdest, int timeout)
                const char *call_ref_id = NULL;
                const char *call_ref_pc = NULL;
                const char *send_far = NULL;
-               const char *calling_party_category = NULL;
 
                c = strchr(dest, '/');
                if (c) {
@@ -3544,10 +3543,6 @@ static int dahdi_call(struct ast_channel *ast, char *rdest, int timeout)
                                         call_ref_pc ? atoi(call_ref_pc) : 0);
                }
 
-                calling_party_category = pbx_builtin_getvar_helper(ast, "SS7_CALLING_PARTY_CATEGORY");
-                if (calling_party_category)  
-                       isup_set_calling_party_category(p->ss7call, atoi(calling_party_category)); 
-
                send_far = pbx_builtin_getvar_helper(ast, "SS7_SEND_FAR");
                if ((send_far) && ((strncmp("NO", send_far, strlen(send_far))) != 0 ))
                        (isup_far(p->ss7->ss7, p->ss7call));