[asterisk-users] Type of number in outgoing SETUP frame

Захаров Антон instnt at mail.ru
Tue May 17 08:45:05 CDT 2011


Hello, all.

Could you tell me how to set the type of number in the outgoing SETUP 
message sent over PRI trunk?
I need to have:
Called Number (len=18) [ Ext: 1  TON: Unknown Number Type (0)  NPI: 
ISDN/Telephony Numbering Plan (E.164/E.163) (1)  '318989263037666' ]
But always have:
Called Number (len=18) [ Ext: 1  TON: Subscriber Number (4)  NPI: 
ISDN/Telephony Numbering Plan (E.164/E.163) (1)  '318989263037666' ]

NPI should be ISDN/Telephony Numbering Plan (E.164/E.163) and TON: 
Unknown Number Type (0).

My current chan_dahdi settings:

switchtype=euroisdn
pridialplan=dynamic
prilocaldialplan=unknown
unknownprefix = 3189
internationalprefix = +8
nationalprefix = +7
;localprefix = +7495
;privateprefix = +7499

Seems that 'unknownprefix' do not affect.

I don't know how to influence on TON correctly and couldn't  find this 
information in Internet.

Thanks for your attention!



More information about the asterisk-users mailing list