This: exten => s,1,Set(CALLERID(num)=${cid})
seems to be prefered over: exten => s,1,Set(${CALLERID(number)=${cid})
I guess the change is because of Asterisk 1.6.
-Bruce
> From: [email protected]
> Date: Thu, 11 Mar 2010 16:29:03 -0500
> CC: [email protected]
> To: [email protected]
> Subject: Re: [on-asterisk] Spool call file and variable setting - Dialplan
> Gurus
>
> exten => s,1,Set(${CALLERID(number)=$cid)
>
> should be
>
> exten => s,1,Set(${CALLERID(number)=${cid})
>
>
> ---
>
> Andre Courchesne - Consultant
>
> http://www.net-forces.com
>
> MSN: [email protected]
>
> Skype: VoipForces
>
>
>
> L'information contenue dans le présent document est la propriété de Andre
> Courchesne. Et est divulguée en toute confidentialité. Cette information ne
> doit pas être utilisée, divulguée à d'autres personnes ou reproduite sans le
> consentement écrit explicite de Andre Courchesne.
>
> The information contained in this document is confidential and property of
> Andre Courchesne. It shall not be used, disclosed to others or reproduced
> without the express written consent of Andre Courchesne.
>
>
>
>
>
> On 2010-03-11, at 4:12 PM, Bruce N wrote:
>
> >
> > Hi Guys,
> >
> >
> >
> > What is the proper format for dialplan to set Caller ID when using spool
> > outgoing call feature of Asterisk 1.6.
> >
> >
> >
> > This is my call file:
> >
> > Channel: SIP/SIP_Provider/4164445555
> > CallerID: "My Number" <4167778888>
> > MaxRetries: 1
> > RetryTime: 10
> > WaitTime: 45
> > Context: hello-world
> > Extension: s
> > Priority: 1
> > Set: cid=4164445555
> > Archive: Yes
> >
> >
> >
> > This is my context:
> >
> > [hello-world]
> > exten => s,1,Set(${CALLERID(number)=$cid)
> > exten => s,n,Answer
> >
> > exten => s,n,NoOp(${CALLERID(number))
> > exten => s,n,Playback(hello-world)
> >
> >
> >
> > I want the hello-world context to see the call as coming into this context
> > as 4164445555 since I passed the $cid variable but it doesn't happen. What
> > is the proper format to this dialplan?
> >
> >
> >
> > Thanks,
> >
> > Bruce
> >
> > _________________________________________________________________
> > Live connected with Messenger on your phone
> > http://go.microsoft.com/?linkid=9712958
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
_________________________________________________________________
Stay in touch.
http://go.microsoft.com/?linkid=9712959