comment out two lines from PCadach's patch, they blow things up.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1879 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jeremy McNamara
2003-12-24 03:02:17 +00:00
parent a8d8f70335
commit 91ef46755f

View File

@@ -1260,8 +1260,8 @@ call_options_t *setup_incoming_call(call_details_t cd)
/* I know this is horrid, don't kill me saddam */
exit:
if(strlen(p->cd.call_redir_e164))
strncpy(p->rdnis, cd.call_redir_e164, sizeof(p->rdnis)-1);
// if(strlen(p->cd.call_redir_e164))
// strncpy(p->rdnis, cd.call_redir_e164, sizeof(p->rdnis)-1);
/* allocate a channel and tell asterisk about it */
c = oh323_new(p, AST_STATE_RINGING, cd.call_token);
if (!c) {