- set caller number plan on outgoing interface too.

This commit is contained in:
MelwareDE 2007-05-26 19:46:24 +00:00
parent ce8bda8195
commit 4d614104eb
1 changed files with 2 additions and 0 deletions

View File

@ -1201,6 +1201,8 @@ static int pbx_capi_call(struct ast_channel *c, char *idest, int timeout)
if ((ton = pbx_builtin_getvar_helper(c, "CALLERTON"))) {
callernplan = atoi(ton) & 0x7f;
}
i->cid_ton = callernplan;
cc_verbose(1, 1, VERBOSE_PREFIX_2 "%s: Call %s %s%s (pres=0x%02x, ton=0x%02x)\n",
i->vname, c->name, i->doB3 ? "with B3 ":" ",
i->doOverlap ? "overlap":"", CLIR, callernplan);