Hi List,<div><br></div><div>I need to modify the callerID name of the call coming back when a parked call returns to the extension that parked it when it times out.</div><div><br></div><div>Looking at app_parkandannounce.c</div>
<div><br></div><div><div>/* Now place the call to the extention */</div><div><br></div><div> snprintf(buf, sizeof(buf), "%d", lot);</div><div> memset(&oh, 0, sizeof(oh));</div><div> oh.parent_channel = chan;</div>
<div> oh.vars = ast_variable_new("_PARKEDAT", buf);</div><div> dchan = __ast_request_and_dial(dialtech, AST_FORMAT_SLINEAR, dialstr,30000, &outstate, chan->cid.cid_num, chan->cid.cid_name, &oh);</div>
</div><div><br></div><div>I assume (I hope not incorrectly) that I have to modify the variable chan->cid.cid_name</div><div><br></div><div><br></div><div>Could one of the Asterisk gurus point me in the right direction as to how to do this?</div>
<div><br></div><div>Thanks in advance</div><div>Brian</div>