Set(CALLERID(number)=XXXXXXXXXX) works here.
Also check with your VoIP provider what format they want for the number. (I
believe) most accept a 10-digit number, but I seem to remember reading
about the odd provider that wanted a leading "1".
On Thu, Jun 18, 2015 at 11:47 AM, D'Arcy J.M. Cain <darcy at vex.net>
wrote:
> On Thu, 18 Jun 2015 13:45:10 EDT
> kenner at gnat.com (Richard Kenner) wrote:
>
> > > CALLERID is a read only variable.
> >
> > That's not correct. I set it all over the place in my dialplan.
>
> Then someone needs to fix this page.
>
>
>
https://wiki.asterisk.org/wiki/display/AST/Asterisk+Standard+Channel+Variables
>
> --
> D'Arcy J.M. Cain
> System Administrator, Vex.Net
> http://www.Vex.Net/ IM:darcy at Vex.Net
> VoIP: sip:darcy at Vex.Net
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20150618/d45f7f09/attachment.html>