On Mon, Jan 15, 2018 at 10:41:27PM +0000, David Klaverstyn wrote:
> port1 < Calling Number (len=12) [ Ext: 0  TON: National Number (2)  NPI: 
> ISDN/Telephony Numbering Plan (E.164/E.163) (1)
> port1 <                           Presentation: Presentation allowed of 
> network provided number (3)  '21xxxxxx' ]
> port1 < [70 0a c1 30 34 39 31 34 31 32 31 34]
> port1 < Called Number (len=12) [ Ext: 1  TON: Subscriber Number (4)  NPI: 
> ISDN/Telephony Numbering Plan (E.164/E.163) (1)  '049xxxxxx' ]
> 
> -- Accepting call from '21xxxxxx' to '049xxxxxx' on channel 0/5, span 1

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.

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to