Displaying 1 result from an estimated 1 matches for "_parkedat".
Did you mean:
parkedat
2010 Oct 10
1
Modifying cid.cid_name in app_parkandannounce.c
...o 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...