[Asterisk-Users] Caller ID - TE405P - Telstra Onramp 10
- Australia
Craig Guy
cguy at bigpond.net.au
Mon Dec 20 06:59:28 MST 2004
Telstra Onramp use a 9 digit callerid. I use the following macro to
'correct' incoming callerid so that numbers are in the proper format to
callback from the callerid memory of the phone:
exten => s,1,GotoIf($["${ARG1}" = ""]?100:2) ;Check for
null callerid and jump to 100 if so, else 2
exten => s,2,GotoIf($[${ARG1:0:1} : 2|3|4|7]?110:3) ;Match a known
state or mobile prefix and jump to 110, else 3
exten => s,3,SetCIDNum(${ARG1:1}) ;Else
assume local (8 prefix), strip area code to present 8 digit local no.
exten => s,100,SetCIDNum(00000000) ;If null
callerid then set '00000000'
exten => s,110,SetCIDNum(0${ARG1}) ;Prefix
leading '0' so that number presents as needed to callback
Craig
----- Original Message -----
From: "Nathan Alberti" <na at nathanalberti.com>
To: <matt at hyne.com>; "Asterisk Users Mailing List - Non-Commercial
Discussion" <asterisk-users at lists.digium.com>
Sent: Tuesday, December 21, 2004 5:16 PM
Subject: Re: [Asterisk-Users] Caller ID - TE405P - Telstra Onramp 10 -
Australia
> Matt Hyne wrote:
>
> >Hi Nathan,
> >
> >You shouldn't have to change the CIDRINGS - as this is for analogue CID.
> >Also, Telstra don't provide CID by default on OnRamp10 lines, I think
think
> >they charge an additional $11/mth.
> >
> >
> Ahh, good to know.. I will change it back.
>
> >I am going to play around with Asterisk connected to an OnRamp10 during
the
> >Christmas break. If you get this working can you drop me a line. I'd
like
> >to leverage some of your good work if possible. I'd really love to
replace
> >our old PABX with Asterisk. I've also got a couple of Cisco phones to
try
> >with so if I get the CID going I will let you know.
> >
> >
> >Lastly, for the indial number (ie: destination) - how many digits does
the
> >OnRamp pass you ?
> >
> >
> That I cannot say for sure, although from memory, when I had
> immediate=no in my zaptel.conf it was looking for the full number as an
> extension. I was not able to see this information in the intense span
> debug, I am using immediate=yes now for my IVR but I may change it and
> do some testing now I understand it a little better.
>
> Regards,
>
> Nathan.
>
>
More information about the asterisk-users
mailing list