[asterisk-users] append CID label

C F shmaltz at gmail.com
Sat Jun 26 21:31:07 CDT 2010


exten => s,n,Set(CALLERID(name)=label${CALLERID(name)})
put this before the dial command.

On Sat, Jun 26, 2010 at 10:09 PM, Thomas Perron <thomas.perron at gmail.com> wrote:
> I want a call to connect via my DID to my dialplan.
> Then, I want to attach a label to the incoming call
>
> call arrives
> starts to dive through the dial plan
> then rings a trunk/channel via SIP (see below)
> Question: before answering my 12121111111 endpoint I want to see a
> flag CID that correlates to the DID number that was called.  And, then
> change it to something like the characters "blue"
> How??? please.
>
> exten => s,1,Answer()
> exten => s,n,Dial(SIP/callwithus/12121111111,120,A,(test))
>
> --
> _____________________________________________________________________
> -- 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
>



More information about the asterisk-users mailing list