On Thu, May 15, 2014 at 11:56 AM, Alberto Rinaudo <[email protected] > wrote:
> If I'm right CALLINGTON is populated from a variable > "caller.id.number.plan" that is equals to "p->cid_ton" > > I was comparing sig_pri.c and sig_ss7.c using asterisk 11.9 > > > in sig_pri.c > 279 caller.id.number.plan = p->cid_ton; > 4210 pri->pvts[chanpos]->cid_ton = ast_connected.id.number.plan; > 6263 pri->pvts[chanpos]->cid_ton = e->ring.callingplan; /* this > is the callingplan (TON/NPI), e->ring.callingplan>>4 would be the TON > */ > > this variable cid_ton is set equals to the number plan or the calling > plan, depends on the flow. > > > while in sig_ss7.c > 192 caller.id.number.plan = p->cid_ton; > 1071 p->cid_ton = 0; > You want to use e->iam.calling_nai to assign to p->cid_ton. However, SS7 uses different code values so you will have to convert to the ISDN equivalent value that gets put there. Richard
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
