Digium G100 And CID Dropping First Digit.
Hi All,
I have installed a number of Digium G100 devices in many countries like South Korea, Japan, Singapore and Australia. I have just installed two in New Zealand and both sites are having a problem with Caller ID. Incoming calls are dropping the first digit 0 from the caller ID. I was previously using DAHDI and a TE121 device which may have been adding the 0, I’m not too sure about that.
Anyhow, is it possible the Digium G100 is causing the problem or would it be the Telco not passing the full CID number? I have the latest firmware on the G100, the same with all my other locations. I am using the latest Asterisk 13.19.0.
The Telco is blaming the PBX for the problem so I’m hoping someone here can shed some light. Below is a debug extract which I hope will help.
The 21 number should be 021.
Jan 16 10:53:16 G100-59-c4-ca asterisk[4674]: VERBOSE[4786]: chan_gtw/chan.c:4803 in dgm_pri_message: port1 < Calling Number (len=12) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) Jan 16 10:53:16 G100-59-c4-ca asterisk[4674]: VERBOSE[4786]: chan_gtw/chan.c:4803 in dgm_pri_message: port1 < Presentation: Presentation allowed of network provided number (3) '21xxxxxx' ] Jan 16 10:53:16 G100-59-c4-ca asterisk[4674]: VERBOSE[4786]: chan_gtw/chan.c:4803 in dgm_pri_message: port1 < [70 0a c1 30 34 39 31 34 31 32 31 34] Jan 16 10:53:16 G100-59-c4-ca asterisk[4674]: VERBOSE[4786]: chan_gtw/chan.c:4803 in dgm_pri_message: port1 < Called Number (len=12) [ Ext: 1 TON: Subscriber Number (4) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '049xxxxxx' ] Jan 16 10:53:16 G100-59-c4-ca asterisk[4674]: VERBOSE[4786]: chan_gtw/sig_pri_new.c:5383 in pri_dchannel: — Accepting call from ’21xxxxxx’ to ‘049xxxxxx’ on channel 0/5, span 1 Thanks David.
2 thoughts on - Digium G100 And CID Dropping First Digit.
Don’t know anything about the card you are using, but seeing ISDN
signaling that the type of number (TON) is national and that means overhere that leading zeros are stripped, I see nothing wrong with it. Looking at my old chan_dadhi configs there are options to prefix something based on TON. So over here I have configured:
nationalprefix = 0
to prefix the leading 0 for national numbers that callees expect. The G100 manual contains the phrase “national prefix”, but no info about it, so look into those prefix options.
Don’t know anything about the card you are using, but seeing ISDN signaling that the type of number (TON) is national and that means overhere that leading zeros are stripped, I see nothing wrong with it. Looking at my old chan_dadhi configs there are options to prefix something based on TON. So over here I have configured:
nationalprefix = 0
to prefix the leading 0 for national numbers that callees expect. The G100 manual contains the phrase “national prefix”, but no info about it, so look into those prefix options.