On 29/06/04 15:13, McInnis, JP wrote:
The monitor shows that the CallerID is being set to the specified number, but yet when the call is received on the user end the ID is always the base number of our DID. [...]
There are many things to try that others haven't touched on.
- Make sure your pridialplan setting is correct for both dialled *and* presented number.
- Make sure you're sending the right number of digits. You can ask your telco how many to send if they're clueful and you can find the right techie to talk to.
- Some things are misleading. For example, we discovered we could set our presentation TON (pridialplan) to be international, and that this would work for most lines, but that for for some calls routed over least-cost routing to mobile operators and the like the caller ID wasn't appearing on the remote party's 'phone. We discovered that the telco only properly supports the TON being national on their switch.
One of our telcos requires a different pridialplan (type of number, or TON) for the presented number than for the dialled number, which Asterisk doesn't natively support. We realised this must be the case because we tried everything else and when you do a "pri debug span x" (where x should be replaced by a span number, obviously) in the call setup it keeps claiming you have an invalid number being presented (I don't have the precise log to hand, I'm afraid). If you discover this is the case, e-mail me and I can send you a patch. I ought to get around to adding a bug report/feature request about that, too. :)
You may also want to check out the Callingpres() app. For example, to hide caller ID on many PRI switches, first you have to set it to something, then you have to specify that you want it hidden. Otherwise Asterisk doesn't know what TON to set (because there isn't a number), so it sets the TON to unknown (0), and it doesn't work:
[dialZapHideCli]
exten => _X.,1,SetCallerID(1234567890)
exten => _X.,2,Callingpres(35)
exten => _X.,3,Dial(Zap/g1/${EXTEN})Regards,
Alastair
-- Alastair Maw Systems Analyst http://www.mxtelecom.com _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
