Hi List,

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.

Looking at app_parkandannounce.c

/* Now place the call to the extention */

        snprintf(buf, sizeof(buf), "%d", lot);
        memset(&oh, 0, sizeof(oh));
        oh.parent_channel = chan;
        oh.vars = ast_variable_new("_PARKEDAT", buf);
        dchan = __ast_request_and_dial(dialtech, AST_FORMAT_SLINEAR,
dialstr,30000, &outstate, chan->cid.cid_num, chan->cid.cid_name, &oh);

I assume (I hope not incorrectly) that I have to modify the
variable chan->cid.cid_name


Could one of the Asterisk gurus point me in the right direction as to how to
do this?

Thanks in advance
Brian
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to