Alastair:
At least in some European countries and southamerican environments, you
can't send your own ANI.
For example: if you have a PRI with the number: 52880000 to 52880099, you
could send as ANI any number between 000 and 099. The fixed part will be
transmitted by your PSTN switch to the network attaching the last 2 number
that you send. Generally, if you send a differente qty of numbers that the
switch needs, the ANI transmited by the PSTN switch will be the DID number
(generally, 52880000).
If you could send you own ANI, the carriers will be charge the calls to that
ANI... think about it. It's a fraude principle.
You could set "Presentation Indicator" in setup message. If you set to
"Allow" your ANI will be shown in the other side, and if you set as
"Not
allow" the PSTN will hide your ANI. This is valid only to show the data in
the B subscriber FSK demodulator (callerid receiver).
Regards,
Gus
----- Original Message -----
From: "Alastair Maw" <asterisk@almaw.com>
To: <asterisk-users@lists.digium.com>
Sent: Tuesday, October 14, 2003 10:57 PM
Subject: [Asterisk-Users] outbound caller ID problem on PRI
> I can't seem to hide and/or set my caller ID from *.
>
> I'm using a quite recent (three weeks or so) CVS with an E400P card.
> I have pridialplan=unknown in zapata.conf and I'm based in the UK.
>
> The relevant bit of pri debug looks like this (reformatted to fit 80
> char width):
>
> > Calling Number (len= 4) [ Ext: 0
> > TON: Unknown Number Type (0)
> > NPI: Unknown Number Plan (0)
> > Presentation: Unknown (67) '' ]
>
> I'm dialing in from SIP outbound to Zap with a context like this:
>
> exten => _X.,1,SetCallerID("mxtelecom" <0845123456>)
> exten => _X.,2,Dial(Zap/1/${EXTEN})
>
> Although:
> exten => _X.,1,SetCallerID(0845123456|a)
> exten => _X.,2,Dial(Zap/1/${EXTEN})
>
> Equally doesn't work.
>
> I've tried setting these in zapata.conf:
> callerid="foo" <0845123456>
> hidecallerid=yes
>
> No matter what I do, I get a default caller ID provided by my telco. If
> I prefix the number dialed with 141 (standard UK hide caller ID) the
> caller ID isn't presented to the end user, but this is an ugly kludge
> that I don't want to have to do. Ideally, I'd like to be able to
set my
> callerID to an arbitrary number.
>
> If I set pridialplan=national/international I can't work out what
format
> the outbound calls numbers should take and get denied messages back.
>
> Anyone have any ideas?
>
> --
> Alastair Maw
> MX Telecom - Systems Analyst
> www.mxtelecom.com
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users