[asterisk-users] Setting outgoing callerid on when using a PRI

Jon Moore supermegatron at gmail.com
Tue Nov 10 11:01:28 CST 2009


On Tue, Nov 10, 2009 at 10:39 AM, Klaus Darilion
<klaus.mailinglists at pernau.at> wrote:
> use pri debugging (pri debug span 1) to verify if the data sent on the
> PRI line is correct! (e.g. type on number, ...)
>
> verify with an incoming call and set the same format on outgoing calls.

This is what I see on an incomming call (hopefully, this is right part
of the pri debug

< Calling Number (len=14) [ Ext: 0  TON: National Number (2)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
<                           Presentation: Presentation allowed of
network provided number (3)  '8124307660' ]

And on my outgoing call..

> Calling Number (len=15) [ Ext: 0  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>                           Presentation: Presentation permitted, user number not screened (0)  '2703653903' ]

I changed the line in extensions.conf to be SET(CALLERID(ALL)="Corner
Homecare" <2703653903>)
To match what it appears I'm getting from ATT, only the 10 digit number.

Not sure if it's relevant here, but in /etc/asterisk/chan_dahdi.conf I
have the following:

> pridialplan=unknown
> prilocaldialplan=national


-jonathan



More information about the asterisk-users mailing list