## Differentiate CalledID + DDI

### Differentiate CalledID + DDI

Hi all,

In case of per-block-dialing, where number is 123456 and DDI is 789. I
am getting Called Party Number as 123456789 in CONNECT_IND. How can i
separate  this DDI(789) from the actual number(123456).

Ankur

### Differentiate CalledID + DDI

Quote:> Hi all,

> In case of per-block-dialing, where number is 123456 and DDI is 789. I
> am getting Called Party Number as 123456789 in CONNECT_IND. How can i
> separate  this DDI(789) from the actual number(123456).

There is no way to do so, as the switch transmits this number just
this way - you really have to know yourselves what the main part
of the Called Party Num is.

Tobias

### Differentiate CalledID + DDI

> > Hi all,

> > In case of per-block-dialing, where number is 123456 and DDI is 789. I
> > am getting Called Party Number as 123456789 in CONNECT_IND. How can i
> > separate  this DDI(789) from the actual number(123456).

> There is no way to do so, as the switch transmits this number just
> this way - you really have to know yourselves what the main part
> of the Called Party Num is.

Ok.
Lets us suppose, I know my ISDN number is 123456.
In case i am getting CalledPartyNumber as 123456789 in CONNECT_IND. I
can easily tell that 789 is DDI.
But if i get 3456789 in CONNECT_IND. What will i do? It happens on my
ISDN line, i get partial called party number.
Is there no other way to do this ?
I feel there should be something for this.

Ankur

### Differentiate CalledID + DDI

Quote:> Lets us suppose, I know my ISDN number is 123456.
> In case i am getting CalledPartyNumber as 123456789 in CONNECT_IND. I
> can easily tell that 789 is DDI.
> But if i get 3456789 in CONNECT_IND. What will i do? It happens on my
> ISDN line, i get partial called party number.

If so it's likely "12" is your local area prefix or country
prefix. You should look at byte 0 of Called Party Number struct
(byte 3 of ETSI 300-102-1 info element, same name) to check
if prefix or escape digits may be included or not.

In Italy, given a 01234567-89 we could get:
- "123456789" (en-block)
- "1234567" connect_ind...."8" info_ind...."9" info_ind
- "1234567" connect_ind...."89" info_ind
- "12345678" connect_ind...."9" info_ind

"0" prefix is always missing in connect_ind.

Bye,

--
Virgilio Lattanzi        HARPAX srl
Tel: +39 0733 818863     via Fontanella, 38
Fax: +39 0733 819133     62012 Civitanova Marche MC
WWW: www.harpax.com      ITALY